ruạṛ
a O��f3 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�UnifiedAgentParser� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�UnifiedJSONParserz JSON parser. �FLOAT�UNIXTIME�STRINGc K s~ ddddddddddd� | _ dddd d ddd ddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new UnifiedJSONParser object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedJSONParser.parser_type` attribute of this class is ``JSON`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param parser_type: The value to assign to the parser_type property of this UnifiedJSONParser. Allowed values for this property are: "AUDITD", "JSON", "TSV", "CSV", "NONE", "SYSLOG", "APACHE2", "APACHE_ERROR", "MSGPACK", "REGEXP", "MULTILINE", "GROK", "MULTILINE_GROK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type parser_type: str :param field_time_key: The value to assign to the field_time_key property of this UnifiedJSONParser. :type field_time_key: str :param types: The value to assign to the types property of this UnifiedJSONParser. :type types: dict(str, str) :param null_value_pattern: The value to assign to the null_value_pattern property of this UnifiedJSONParser. :type null_value_pattern: str :param is_null_empty_string: The value to assign to the is_null_empty_string property of this UnifiedJSONParser. :type is_null_empty_string: bool :param is_estimate_current_event: The value to assign to the is_estimate_current_event property of this UnifiedJSONParser. :type is_estimate_current_event: bool :param is_keep_time_key: The value to assign to the is_keep_time_key property of this UnifiedJSONParser. :type is_keep_time_key: bool :param timeout_in_milliseconds: The value to assign to the timeout_in_milliseconds property of this UnifiedJSONParser. :type timeout_in_milliseconds: int :param time_type: The value to assign to the time_type property of this UnifiedJSONParser. Allowed values for this property are: "FLOAT", "UNIXTIME", "STRING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type time_type: str :param time_format: The value to assign to the time_format property of this UnifiedJSONParser. :type time_format: str �strzdict(str, str)�bool�int) �parser_type�field_time_key�types�null_value_pattern�is_null_empty_string�is_estimate_current_event�is_keep_time_key�timeout_in_milliseconds� time_type�time_format� parserType�fieldTimeKeyr �nullValuePattern�isNullEmptyString�isEstimateCurrentEvent� isKeepTimeKey�timeoutInMilliseconds�timeType� timeFormatN�JSON)� swagger_types� attribute_map�_parser_type�_field_time_key�_types�_null_value_pattern�_is_null_empty_string�_is_estimate_current_event�_is_keep_time_key�_timeout_in_milliseconds� _time_type�_time_format)�self�kwargs� r1 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/logging/models/unified_json_parser.py�__init__ sB 4�� zUnifiedJSONParser.__init__c C s | j S )aP Gets the time_type of this UnifiedJSONParser. Allowed values for this property are: "FLOAT", "UNIXTIME", "STRING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The time_type of this UnifiedJSONParser. :rtype: str )r- �r/ r1 r1 r2 r u s zUnifiedJSONParser.time_typec C s g d�}t ||�sd}|| _dS )z� Sets the time_type of this UnifiedJSONParser. :param time_type: The time_type of this UnifiedJSONParser. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r- )r/ r �allowed_valuesr1 r1 r2 r � s c C s | j S )z� Gets the time_format of this UnifiedJSONParser. :return: The time_format of this UnifiedJSONParser. :rtype: str �r. r4 r1 r1 r2 r � s zUnifiedJSONParser.time_formatc C s || _ dS )z� Sets the time_format of this UnifiedJSONParser. :param time_format: The time_format of this UnifiedJSONParser. :type: str Nr7 )r/ r r1 r1 r2 r � s c C s t | �S �N)r r4 r1 r1 r2 �__repr__� s zUnifiedJSONParser.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r/ �otherr1 r1 r2 �__eq__� s zUnifiedJSONParser.__eq__c C s | |k S r8 r1 r; r1 r1 r2 �__ne__� s zUnifiedJSONParser.__ne__N)�__name__� __module__�__qualname__�__doc__�TIME_TYPE_FLOAT�TIME_TYPE_UNIXTIME�TIME_TYPE_STRINGr3 �propertyr �setterr r9 r= r>