ruạṛ
a O��f5. � @ 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 @ s� e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zdd� Zdd � Zd!S )"�UnifiedAgentSyslogParserz Syslog Parser. �RFC3164�RFC5424�AUTO�STRING�REGEXPc K s� ddddddddddddddd�| _ dddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new UnifiedAgentSyslogParser object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentSyslogParser.parser_type` attribute of this class is ``SYSLOG`` 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 UnifiedAgentSyslogParser. 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 UnifiedAgentSyslogParser. :type field_time_key: str :param types: The value to assign to the types property of this UnifiedAgentSyslogParser. :type types: dict(str, str) :param null_value_pattern: The value to assign to the null_value_pattern property of this UnifiedAgentSyslogParser. :type null_value_pattern: str :param is_null_empty_string: The value to assign to the is_null_empty_string property of this UnifiedAgentSyslogParser. :type is_null_empty_string: bool :param is_estimate_current_event: The value to assign to the is_estimate_current_event property of this UnifiedAgentSyslogParser. :type is_estimate_current_event: bool :param is_keep_time_key: The value to assign to the is_keep_time_key property of this UnifiedAgentSyslogParser. :type is_keep_time_key: bool :param timeout_in_milliseconds: The value to assign to the timeout_in_milliseconds property of this UnifiedAgentSyslogParser. :type timeout_in_milliseconds: int :param time_format: The value to assign to the time_format property of this UnifiedAgentSyslogParser. :type time_format: str :param rfc5424_time_format: The value to assign to the rfc5424_time_format property of this UnifiedAgentSyslogParser. :type rfc5424_time_format: str :param message_format: The value to assign to the message_format property of this UnifiedAgentSyslogParser. Allowed values for this property are: "RFC3164", "RFC5424", "AUTO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type message_format: str :param is_with_priority: The value to assign to the is_with_priority property of this UnifiedAgentSyslogParser. :type is_with_priority: bool :param is_support_colonless_ident: The value to assign to the is_support_colonless_ident property of this UnifiedAgentSyslogParser. :type is_support_colonless_ident: bool :param syslog_parser_type: The value to assign to the syslog_parser_type property of this UnifiedAgentSyslogParser. Allowed values for this property are: "STRING", "REGEXP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type syslog_parser_type: 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_format�rfc5424_time_format�message_format�is_with_priority�is_support_colonless_ident�syslog_parser_type� parserType�fieldTimeKeyr �nullValuePattern�isNullEmptyString�isEstimateCurrentEvent� isKeepTimeKey�timeoutInMilliseconds� timeFormat�rfc5424TimeFormat� messageFormat�isWithPriority�isSupportColonlessIdent�syslogParserTypeN�SYSLOG)� 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_format�_rfc5424_time_format�_message_format�_is_with_priority�_is_support_colonless_ident�_syslog_parser_type)�self�kwargs� r? ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/logging/models/unified_agent_syslog_parser.py�__init__$ sZ F��z!UnifiedAgentSyslogParser.__init__c C s | j S )z� Gets the time_format of this UnifiedAgentSyslogParser. :return: The time_format of this UnifiedAgentSyslogParser. :rtype: str �r7 �r= r? r? r@ r � s z$UnifiedAgentSyslogParser.time_formatc C s || _ dS )z� Sets the time_format of this UnifiedAgentSyslogParser. :param time_format: The time_format of this UnifiedAgentSyslogParser. :type: str NrB )r= r r? r? r@ r � s c C s | j S )z� Gets the rfc5424_time_format of this UnifiedAgentSyslogParser. :return: The rfc5424_time_format of this UnifiedAgentSyslogParser. :rtype: str �r8 rC r? r? r@ r � s z,UnifiedAgentSyslogParser.rfc5424_time_formatc C s || _ dS )z� Sets the rfc5424_time_format of this UnifiedAgentSyslogParser. :param rfc5424_time_format: The rfc5424_time_format of this UnifiedAgentSyslogParser. :type: str NrD )r= r r? r? r@ r � s c C s | j S )ag Gets the message_format of this UnifiedAgentSyslogParser. Allowed values for this property are: "RFC3164", "RFC5424", "AUTO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The message_format of this UnifiedAgentSyslogParser. :rtype: str )r9 rC r? r? r@ r � s z'UnifiedAgentSyslogParser.message_formatc C s g d�}t ||�sd}|| _dS )z� Sets the message_format of this UnifiedAgentSyslogParser. :param message_format: The message_format of this UnifiedAgentSyslogParser. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r9 )r= r �allowed_valuesr? r? r@ r � s c C s | j S )z� Gets the is_with_priority of this UnifiedAgentSyslogParser. :return: The is_with_priority of this UnifiedAgentSyslogParser. :rtype: bool �r: rC r? r? r@ r � s z)UnifiedAgentSyslogParser.is_with_priorityc C s || _ dS )z� Sets the is_with_priority of this UnifiedAgentSyslogParser. :param is_with_priority: The is_with_priority of this UnifiedAgentSyslogParser. :type: bool NrG )r= r r? r? r@ r � s c C s | j S )z� Gets the is_support_colonless_ident of this UnifiedAgentSyslogParser. :return: The is_support_colonless_ident of this UnifiedAgentSyslogParser. :rtype: bool �r; rC r? r? r@ r � s z3UnifiedAgentSyslogParser.is_support_colonless_identc C s || _ dS )z� Sets the is_support_colonless_ident of this UnifiedAgentSyslogParser. :param is_support_colonless_ident: The is_support_colonless_ident of this UnifiedAgentSyslogParser. :type: bool NrH )r= r r? r? r@ r � s c C s | j S )ae Gets the syslog_parser_type of this UnifiedAgentSyslogParser. Allowed values for this property are: "STRING", "REGEXP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The syslog_parser_type of this UnifiedAgentSyslogParser. :rtype: str )r<