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 )�UnifiedAgentRegexParserz Regexp parser. c K s~ ddddddddddd� | _ dddd d ddd ddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new UnifiedAgentRegexParser object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentRegexParser.parser_type` attribute of this class is ``REGEXP`` 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 UnifiedAgentRegexParser. 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 UnifiedAgentRegexParser. :type field_time_key: str :param types: The value to assign to the types property of this UnifiedAgentRegexParser. :type types: dict(str, str) :param null_value_pattern: The value to assign to the null_value_pattern property of this UnifiedAgentRegexParser. :type null_value_pattern: str :param is_null_empty_string: The value to assign to the is_null_empty_string property of this UnifiedAgentRegexParser. :type is_null_empty_string: bool :param is_estimate_current_event: The value to assign to the is_estimate_current_event property of this UnifiedAgentRegexParser. :type is_estimate_current_event: bool :param is_keep_time_key: The value to assign to the is_keep_time_key property of this UnifiedAgentRegexParser. :type is_keep_time_key: bool :param timeout_in_milliseconds: The value to assign to the timeout_in_milliseconds property of this UnifiedAgentRegexParser. :type timeout_in_milliseconds: int :param expression: The value to assign to the expression property of this UnifiedAgentRegexParser. :type expression: str :param time_format: The value to assign to the time_format property of this UnifiedAgentRegexParser. :type time_format: str �strzdict(str, str)�bool�int) Zparser_typeZfield_time_key�typesZnull_value_patternZis_null_empty_stringZis_estimate_current_eventZis_keep_time_keyZtimeout_in_milliseconds� expression�time_formatZ parserTypeZfieldTimeKeyr ZnullValuePatternZisNullEmptyStringZisEstimateCurrentEventZ isKeepTimeKeyZtimeoutInMillisecondsr Z timeFormatN�REGEXP)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�_expression�_time_format)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/logging/models/unified_agent_regex_parser.py�__init__ sB 1�� z UnifiedAgentRegexParser.__init__c C s | j S )z� **[Required]** Gets the expression of this UnifiedAgentRegexParser. Regex pattern. :return: The expression of this UnifiedAgentRegexParser. :rtype: str �r �r r r r r h s z"UnifiedAgentRegexParser.expressionc C s || _ dS )z� Sets the expression of this UnifiedAgentRegexParser. Regex pattern. :param expression: The expression of this UnifiedAgentRegexParser. :type: str Nr )r r r r r r t s c C s | j S )z� Gets the time_format of this UnifiedAgentRegexParser. Time format. :return: The time_format of this UnifiedAgentRegexParser. :rtype: str �r r r r r r � s z#UnifiedAgentRegexParser.time_formatc C s || _ dS )z� Sets the time_format of this UnifiedAgentRegexParser. Time format. :param time_format: The time_format of this UnifiedAgentRegexParser. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z UnifiedAgentRegexParser.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zUnifiedAgentRegexParser.__eq__c C s | |k S r r r r r r �__ne__� s zUnifiedAgentRegexParser.__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