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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 )ÚConfigurationz#
    Log object configuration.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )	a™  
        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 compartment_id:
            The value to assign to the compartment_id property of this Configuration.
        :type compartment_id: str

        :param source:
            The value to assign to the source property of this Configuration.
        :type source: oci.logging.models.Source

        :param archiving:
            The value to assign to the archiving property of this Configuration.
        :type archiving: oci.logging.models.Archiving

        ÚstrZSourceZ	Archiving)Úcompartment_idÚsourceÚ	archivingZcompartmentIdr	   r
   N)Zswagger_typesZattribute_mapÚ_compartment_idÚ_sourceÚ
_archiving)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/logging/models/configuration.pyÚ__init__   s   ýý
zConfiguration.__init__c                 C   ó   | j S )zÓ
        Gets the compartment_id of this Configuration.
        The OCID of the compartment that the resource belongs to.


        :return: The compartment_id of this Configuration.
        :rtype: str
        ©r   ©r   r   r   r   r   4   s   
zConfiguration.compartment_idc                 C   ó
   || _ dS )zà
        Sets the compartment_id of this Configuration.
        The OCID of the compartment that the resource belongs to.


        :param compartment_id: The compartment_id of this Configuration.
        :type: str
        Nr   )r   r   r   r   r   r   @   s   

c                 C   r   )z¥
        **[Required]** Gets the source of this Configuration.

        :return: The source of this Configuration.
        :rtype: oci.logging.models.Source
        ©r   r   r   r   r   r	   L   ó   zConfiguration.sourcec                 C   r   )z›
        Sets the source of this Configuration.

        :param source: The source of this Configuration.
        :type: oci.logging.models.Source
        Nr   )r   r	   r   r   r   r	   V   ó   
c                 C   r   )zŸ
        Gets the archiving of this Configuration.

        :return: The archiving of this Configuration.
        :rtype: oci.logging.models.Archiving
        ©r   r   r   r   r   r
   `   r   zConfiguration.archivingc                 C   r   )z§
        Sets the archiving of this Configuration.

        :param archiving: The archiving of this Configuration.
        :type: oci.logging.models.Archiving
        Nr   )r   r
   r   r   r   r
   j   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__t   s   zConfiguration.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__w   s   zConfiguration.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__}   s   
zConfiguration.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r
   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   