ruạṛ
a ���fF � @ 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 )�UnifiedAgentCsvParserz CSV 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 UnifiedAgentCsvParser object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentCsvParser.parser_type` attribute of this class is ``CSV`` 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 UnifiedAgentCsvParser. 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 UnifiedAgentCsvParser. :type field_time_key: str :param types: The value to assign to the types property of this UnifiedAgentCsvParser. :type types: dict(str, str) :param null_value_pattern: The value to assign to the null_value_pattern property of this UnifiedAgentCsvParser. :type null_value_pattern: str :param is_null_empty_string: The value to assign to the is_null_empty_string property of this UnifiedAgentCsvParser. :type is_null_empty_string: bool :param is_estimate_current_event: The value to assign to the is_estimate_current_event property of this UnifiedAgentCsvParser. :type is_estimate_current_event: bool :param is_keep_time_key: The value to assign to the is_keep_time_key property of this UnifiedAgentCsvParser. :type is_keep_time_key: bool :param timeout_in_milliseconds: The value to assign to the timeout_in_milliseconds property of this UnifiedAgentCsvParser. :type timeout_in_milliseconds: int :param delimiter: The value to assign to the delimiter property of this UnifiedAgentCsvParser. :type delimiter: str :param keys: The value to assign to the keys property of this UnifiedAgentCsvParser. :type keys: 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� delimiter�keysZ parserTypeZfieldTimeKeyr ZnullValuePatternZisNullEmptyStringZisEstimateCurrentEventZ isKeepTimeKeyZtimeoutInMillisecondsr r NZCSV)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� _delimiter�_keys)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/logging/models/unified_agent_csv_parser.py�__init__ sB 1�� zUnifiedAgentCsvParser.__init__c C s | j S )z� Gets the delimiter of this UnifiedAgentCsvParser. CSV delimiter. :return: The delimiter of this UnifiedAgentCsvParser. :rtype: str �r �r r r r r h s zUnifiedAgentCsvParser.delimiterc C s || _ dS )z� Sets the delimiter of this UnifiedAgentCsvParser. CSV delimiter. :param delimiter: The delimiter of this UnifiedAgentCsvParser. :type: str Nr )r r r r r r t s c C s | j S )z� **[Required]** Gets the keys of this UnifiedAgentCsvParser. CSV keys. :return: The keys of this UnifiedAgentCsvParser. :rtype: list[str] �r r r r r r � s zUnifiedAgentCsvParser.keysc C s || _ dS )z� Sets the keys of this UnifiedAgentCsvParser. CSV keys. :param keys: The keys of this UnifiedAgentCsvParser. :type: list[str] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zUnifiedAgentCsvParser.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zUnifiedAgentCsvParser.__eq__c C s | |k S r r r r r r �__ne__� s zUnifiedAgentCsvParser.__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