ruạṛ
a ���f� � @ 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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�UnifiedAgentMultilineParserz Multiline parser. c K s~ ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a Initializes a new UnifiedAgentMultilineParser object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentMultilineParser.parser_type` attribute of this class is ``MULTILINE`` 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 UnifiedAgentMultilineParser. Allowed values for this property are: "AUDITD", "CRI", "JSON", "TSV", "CSV", "NONE", "SYSLOG", "APACHE2", "APACHE_ERROR", "MSGPACK", "REGEXP", "MULTILINE", "GROK", "MULTILINE_GROK", "OPENMETRICS" :type parser_type: str :param field_time_key: The value to assign to the field_time_key property of this UnifiedAgentMultilineParser. :type field_time_key: str :param types: The value to assign to the types property of this UnifiedAgentMultilineParser. :type types: dict(str, str) :param null_value_pattern: The value to assign to the null_value_pattern property of this UnifiedAgentMultilineParser. :type null_value_pattern: str :param is_null_empty_string: The value to assign to the is_null_empty_string property of this UnifiedAgentMultilineParser. :type is_null_empty_string: bool :param is_estimate_current_event: The value to assign to the is_estimate_current_event property of this UnifiedAgentMultilineParser. :type is_estimate_current_event: bool :param is_keep_time_key: The value to assign to the is_keep_time_key property of this UnifiedAgentMultilineParser. :type is_keep_time_key: bool :param timeout_in_milliseconds: The value to assign to the timeout_in_milliseconds property of this UnifiedAgentMultilineParser. :type timeout_in_milliseconds: int :param format_firstline: The value to assign to the format_firstline property of this UnifiedAgentMultilineParser. :type format_firstline: str :param format: The value to assign to the format property of this UnifiedAgentMultilineParser. :type format: list[str] �strzdict(str, str)�bool�intz list[str]) Zparser_typeZfield_time_key�typesZnull_value_patternZis_null_empty_stringZis_estimate_current_eventZis_keep_time_keyZtimeout_in_milliseconds�format_firstline�formatZ parserTypeZfieldTimeKeyr ZnullValuePatternZisNullEmptyStringZisEstimateCurrentEventZ isKeepTimeKeyZtimeoutInMillisecondsZformatFirstliner N� MULTILINE)Z swagger_typesZ attribute_mapZ_parser_typeZ_field_time_keyZ_typesZ_null_value_patternZ_is_null_empty_stringZ_is_estimate_current_eventZ_is_keep_time_keyZ_timeout_in_milliseconds�_format_firstline�_format)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/logging/models/unified_agent_multiline_parser.py�__init__ sB 1�� z$UnifiedAgentMultilineParser.__init__c C s | j S )z� Gets the format_firstline of this UnifiedAgentMultilineParser. First line pattern format. :return: The format_firstline of this UnifiedAgentMultilineParser. :rtype: str �r �r r r r r h s z,UnifiedAgentMultilineParser.format_firstlinec C s || _ dS )z� Sets the format_firstline of this UnifiedAgentMultilineParser. First line pattern format. :param format_firstline: The format_firstline of this UnifiedAgentMultilineParser. :type: str Nr )r r r r r r t s c C s | j S )z� **[Required]** Gets the format of this UnifiedAgentMultilineParser. Mutiline pattern format. :return: The format of this UnifiedAgentMultilineParser. :rtype: list[str] �r r r r r r � s z"UnifiedAgentMultilineParser.formatc C s || _ dS )z� Sets the format of this UnifiedAgentMultilineParser. Mutiline pattern format. :param format: The format of this UnifiedAgentMultilineParser. :type: list[str] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z$UnifiedAgentMultilineParser.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"UnifiedAgentMultilineParser.__eq__c C s | |k S r r r r r r �__ne__� s z"UnifiedAgentMultilineParser.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s V r N) Zunified_agent_parserr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn