o
    ɶd                      @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdZdZdZdZdZdd Z	e
d	d
 Zejdd
 Ze
dd Zejdd Ze
dd Zejdd Ze
dd Zejdd Ze
dd Zejdd Zdd Zdd Zdd ZdS )	Parameterz7
    Parameters that a resource category supports.
    integerstringbooleanENUM_STRING
RQS_FILTERc                 K   sF   dddddd| _ dddddd| _d| _d| _d| _d| _d| _dS )	a'  
        Initializes a new Parameter object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param name:
            The value to assign to the name property of this Parameter.
        :type name: str

        :param display_name:
            The value to assign to the display_name property of this Parameter.
        :type display_name: str

        :param type:
            The value to assign to the type property of this Parameter.
            Allowed values for this property are: "integer", "string", "boolean", "ENUM_STRING", "RQS_FILTER", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type type: str

        :param rqs_type:
            The value to assign to the rqs_type property of this Parameter.
        :type rqs_type: str

        :param pattern:
            The value to assign to the pattern property of this Parameter.
        :type pattern: str

        str)namedisplay_nametyperqs_typepatternr   ZdisplayNamer   ZrqsTyper   N)Zswagger_typesZattribute_map_name_display_name_type	_rqs_type_pattern)selfkwargs r   @usr/lib/python3.10/site-packages/oci/logging/models/parameter.py__init__&   s"   	
zParameter.__init__c                 C      | j S )z
        **[Required]** Gets the name of this Parameter.
        Parameter name.


        :return: The name of this Parameter.
        :rtype: str
        r   r   r   r   r   r   X      
zParameter.namec                 C   
   || _ dS )z
        Sets the name of this Parameter.
        Parameter name.


        :param name: The name of this Parameter.
        :type: str
        Nr   )r   r   r   r   r   r   d      

c                 C   r   )a&  
        Gets the display_name of this Parameter.
        The user-friendly display name. This must be unique within the enclosing resource,
        and it's changeable. Avoid entering confidential information.


        :return: The display_name of this Parameter.
        :rtype: str
        r   r   r   r   r   r   p   s   zParameter.display_namec                 C   r    )a1  
        Sets the display_name of this Parameter.
        The user-friendly display name. This must be unique within the enclosing resource,
        and it's changeable. Avoid entering confidential information.


        :param display_name: The display_name of this Parameter.
        :type: str
        Nr"   )r   r   r   r   r   r   }   s   
c                 C   r   )a|  
        **[Required]** Gets the type of this Parameter.
        Parameter type.

        Allowed values for this property are: "integer", "string", "boolean", "ENUM_STRING", "RQS_FILTER", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The type of this Parameter.
        :rtype: str
        )r   r   r   r   r   r      s   zParameter.typec                 C   s    g d}t ||sd}|| _dS )z
        Sets the type of this Parameter.
        Parameter type.


        :param type: The type of this Parameter.
        :type: str
        )r   r   r	   r
   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r      s   


c                 C   r   )z
        Gets the rqs_type of this Parameter.
        Parameter rqsType if applicable.


        :return: The rqs_type of this Parameter.
        :rtype: str
        r   r   r   r   r   r      r   zParameter.rqs_typec                 C   r    )z
        Sets the rqs_type of this Parameter.
        Parameter rqsType if applicable.


        :param rqs_type: The rqs_type of this Parameter.
        :type: str
        Nr#   )r   r   r   r   r   r      r!   c                 C   r   )z
        Gets the pattern of this Parameter.
        Java regex pattern to validate a parameter value.


        :return: The pattern of this Parameter.
        :rtype: str
        r   r   r   r   r   r      r   zParameter.patternc                 C   r    )z
        Sets the pattern of this Parameter.
        Java regex pattern to validate a parameter value.


        :param pattern: The pattern of this Parameter.
        :type: str
        Nr$   )r   r   r   r   r   r      r!   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zParameter.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zParameter.__eq__c                 C   s
   | |k S r%   r   r(   r   r   r   __ne__   s   
zParameter.__ne__N)__name__
__module____qualname____doc__ZTYPE_INTEGERZTYPE_STRINGZTYPE_BOOLEANZTYPE_ENUM_STRINGZTYPE_RQS_FILTERr   propertyr   setterr   r   r   r   r&   r*   r+   r   r   r   r   r      s>    2









r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   