ruạṛ
a O��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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�UnifiedAgentGrokParserz grok parser. c K s� dddddddddddd�| _ ddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _dS )ax Initializes a new UnifiedAgentGrokParser object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentGrokParser.parser_type` attribute of this class is ``GROK`` 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 UnifiedAgentGrokParser. Allowed values for this property are: "AUDITD", "JSON", "TSV", "CSV", "NONE", "SYSLOG", "APACHE2", "APACHE_ERROR", "MSGPACK", "REGEXP", "MULTILINE", "GROK", "MULTILINE_GROK" :type parser_type: str :param field_time_key: The value to assign to the field_time_key property of this UnifiedAgentGrokParser. :type field_time_key: str :param types: The value to assign to the types property of this UnifiedAgentGrokParser. :type types: dict(str, str) :param null_value_pattern: The value to assign to the null_value_pattern property of this UnifiedAgentGrokParser. :type null_value_pattern: str :param is_null_empty_string: The value to assign to the is_null_empty_string property of this UnifiedAgentGrokParser. :type is_null_empty_string: bool :param is_estimate_current_event: The value to assign to the is_estimate_current_event property of this UnifiedAgentGrokParser. :type is_estimate_current_event: bool :param is_keep_time_key: The value to assign to the is_keep_time_key property of this UnifiedAgentGrokParser. :type is_keep_time_key: bool :param timeout_in_milliseconds: The value to assign to the timeout_in_milliseconds property of this UnifiedAgentGrokParser. :type timeout_in_milliseconds: int :param grok_name_key: The value to assign to the grok_name_key property of this UnifiedAgentGrokParser. :type grok_name_key: str :param grok_failure_key: The value to assign to the grok_failure_key property of this UnifiedAgentGrokParser. :type grok_failure_key: str :param patterns: The value to assign to the patterns property of this UnifiedAgentGrokParser. :type patterns: list[oci.logging.models.GrokPattern] �strzdict(str, str)�bool�intzlist[GrokPattern])�parser_type�field_time_key�types�null_value_pattern�is_null_empty_string�is_estimate_current_event�is_keep_time_key�timeout_in_milliseconds� grok_name_key�grok_failure_key�patterns� parserType�fieldTimeKeyr �nullValuePattern�isNullEmptyString�isEstimateCurrentEvent� isKeepTimeKey�timeoutInMilliseconds�grokNameKey�grokFailureKeyr N�GROK) � 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�_grok_name_key�_grok_failure_key� _patterns)�self�kwargs� r0 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/logging/models/unified_agent_grok_parser.py�__init__ sH 5��zUnifiedAgentGrokParser.__init__c C s | j S )z� Gets the grok_name_key of this UnifiedAgentGrokParser. :return: The grok_name_key of this UnifiedAgentGrokParser. :rtype: str �r+ �r. r0 r0 r1 r m s z$UnifiedAgentGrokParser.grok_name_keyc C s || _ dS )z� Sets the grok_name_key of this UnifiedAgentGrokParser. :param grok_name_key: The grok_name_key of this UnifiedAgentGrokParser. :type: str Nr3 )r. r r0 r0 r1 r w s c C s | j S )z� Gets the grok_failure_key of this UnifiedAgentGrokParser. :return: The grok_failure_key of this UnifiedAgentGrokParser. :rtype: str �r, r4 r0 r0 r1 r � s z'UnifiedAgentGrokParser.grok_failure_keyc C s || _ dS )z� Sets the grok_failure_key of this UnifiedAgentGrokParser. :param grok_failure_key: The grok_failure_key of this UnifiedAgentGrokParser. :type: str Nr5 )r. r r0 r0 r1 r � s c C s | j S )z� Gets the patterns of this UnifiedAgentGrokParser. :return: The patterns of this UnifiedAgentGrokParser. :rtype: list[oci.logging.models.GrokPattern] �r- r4 r0 r0 r1 r � s zUnifiedAgentGrokParser.patternsc C s || _ dS )z� Sets the patterns of this UnifiedAgentGrokParser. :param patterns: The patterns of this UnifiedAgentGrokParser. :type: list[oci.logging.models.GrokPattern] Nr6 )r. r r0 r0 r1 r � s c C s t | �S �N)r r4 r0 r0 r1 �__repr__� s zUnifiedAgentGrokParser.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r. �otherr0 r0 r1 �__eq__� s zUnifiedAgentGrokParser.__eq__c C s | |k S r7 r0 r: r0 r0 r1 �__ne__� s zUnifiedAgentGrokParser.__ne__N) �__name__� __module__�__qualname__�__doc__r2 �propertyr �setterr r r8 r<