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                   @   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 )ÚConfigurationzÚ
    The retention period setting, specified in days. For more information, see `Setting Audit
    Log Retention Period`__.

    __ https://docs.cloud.oracle.com/iaas/Content/Audit/Tasks/settingretentionperiod.htm
    c                 K   s   ddi| _ ddi| _d| _dS )av  
        Initializes a new Configuration object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        Úretention_period_daysÚintZretentionPeriodDaysN)Zswagger_typesZattribute_mapÚ_retention_period_days)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/audit/models/configuration.pyÚ__init__   s
   ÿÿ
zConfiguration.__init__c                 C   s   | j S )a  
        Gets the retention_period_days of this Configuration.
        The retention period setting, specified in days. The minimum is 90, the maximum 365.

        Example: `90`


        :return: The retention_period_days of this Configuration.
        :rtype: int
        ©r	   ©r
   r   r   r   r   )   s   z#Configuration.retention_period_daysc                 C   s
   || _ dS )a'  
        Sets the retention_period_days of this Configuration.
        The retention period setting, specified in days. The minimum is 90, the maximum 365.

        Example: `90`


        :param retention_period_days: The retention_period_days of this Configuration.
        :type: int
        Nr   )r
   r   r   r   r   r   7   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__E   s   zConfiguration.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r
   Úotherr   r   r   Ú__eq__H   s   zConfiguration.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__N   s   
zConfiguration.__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   