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                   @   st   e 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dd„ Zdd„ Zdd„ ZdS )Ú	Thresholdz
    Threshold model.
    ÚGTÚGTEÚLTÚLTEc                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a„  
        Initializes a new Threshold object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param operator:
            The value to assign to the operator property of this Threshold.
            Allowed values for this property are: "GT", "GTE", "LT", "LTE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type operator: str

        :param value:
            The value to assign to the value property of this Threshold.
        :type value: int

        ÚstrÚint)ÚoperatorÚvaluer   r   N)Zswagger_typesZattribute_mapÚ	_operatorÚ_value)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/autoscaling/models/threshold.pyÚ__init__"   s   þþ
zThreshold.__init__c                 C   ó   | j S )añ  
        **[Required]** Gets the operator of this Threshold.
        The comparison operator to use. Options are greater than (`GT`), greater than or equal to
        (`GTE`), less than (`LT`), and less than or equal to (`LTE`).

        Allowed values for this property are: "GT", "GTE", "LT", "LTE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The operator of this Threshold.
        :rtype: str
        )r   ©r   r   r   r   r   ?   s   zThreshold.operatorc                 C   s    g d¢}t ||ƒsd}|| _dS )a,  
        Sets the operator of this Threshold.
        The comparison operator to use. Options are greater than (`GT`), greater than or equal to
        (`GTE`), less than (`LT`), and less than or equal to (`LTE`).


        :param operator: The operator of this Threshold.
        :type: str
        )r   r   r	   r
   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   O   s   

c                 C   r   )z…
        **[Required]** Gets the value of this Threshold.

        :return: The value of this Threshold.
        :rtype: int
        ©r   r   r   r   r   r   _   s   zThreshold.valuec                 C   s
   || _ dS )zz
        Sets the value of this Threshold.

        :param value: The value of this Threshold.
        :type: int
        Nr   )r   r   r   r   r   r   i   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__s   s   zThreshold.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__v   s   zThreshold.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__|   s   
zThreshold.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZOPERATOR_GTZOPERATOR_GTEZOPERATOR_LTZOPERATOR_LTEr   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r      s$    


	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   