o
    ëÉ¶dZ  ã                   @   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                   @   sJ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZdd„ Zd	d
„ Z	dd„ Z
dS )Ú
PitrPolicyz,
    The PITR policy for the DB System.
    c                 K   s   ddi| _ ddi| _d| _dS )aP  
        Initializes a new PitrPolicy object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param is_enabled:
            The value to assign to the is_enabled property of this PitrPolicy.
        :type is_enabled: bool

        Ú
is_enabledÚboolZ	isEnabledN)Zswagger_typesZattribute_mapÚ_is_enabled)ÚselfÚkwargs© r   ú@usr/lib/python3.10/site-packages/oci/mysql/models/pitr_policy.pyÚ__init__   s
   ÿÿ
zPitrPolicy.__init__c                 C   s   | j S )zÅ
        **[Required]** Gets the is_enabled of this PitrPolicy.
        Specifies if PITR is enabled or disabled.


        :return: The is_enabled of this PitrPolicy.
        :rtype: bool
        ©r	   ©r
   r   r   r   r   &   s   
zPitrPolicy.is_enabledc                 C   s
   || _ dS )z¿
        Sets the is_enabled of this PitrPolicy.
        Specifies if PITR is enabled or disabled.


        :param is_enabled: The is_enabled of this PitrPolicy.
        :type: bool
        Nr   )r
   r   r   r   r   r   2   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__>   s   zPitrPolicy.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r
   Úotherr   r   r   Ú__eq__A   s   zPitrPolicy.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__G   s   
zPitrPolicy.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   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   