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 )ÚOpsiConfigurationsa7  
    An OPSI configuration resource is a container for storing custom values for customizable configuration items exposed by Operations Insights.

    Operations Insights exposes different sets of customizable configuration items through different OPSI configuration types.
    UX_CONFIGURATION: OPSI configuration resource of this type can be created only once in each compartment. It is a compartment level singleton resource.

    When configuration values, for an OPSI configuration type that supports compartment level singleton (e.g: UX_CONFIGURATION) resource, are queried for a compartment,
    following will be the order of preference.
    1. If the specified compartment has an OPSI configuration resource, first preference will be given to the custom values inside that.
    2. If the root compartment has an OPSI configuration resource, it will be considered as applicable to all compartments of that tenency,
    hence second preference will be given to the custom values inside that.
    3. Default configuration will be considered as a final fallback option.
    c                 K   s   ddi| _ ddi| _d| _dS )a}  
        Initializes a new OpsiConfigurations object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param opsi_configurations:
            The value to assign to the opsi_configurations property of this OpsiConfigurations.
        :type opsi_configurations: object

        Úopsi_configurationsÚobjectZopsiConfigurationsN)Zswagger_typesZattribute_mapÚ_opsi_configurations)ÚselfÚkwargs© r   úGusr/lib/python3.10/site-packages/oci/opsi/models/opsi_configurations.pyÚ__init__   s
   ÿÿ
zOpsiConfigurations.__init__c                 C   s   | j S )zË
        Gets the opsi_configurations of this OpsiConfigurations.
        OPSI Configuration Object.


        :return: The opsi_configurations of this OpsiConfigurations.
        :rtype: object
        ©r	   ©r
   r   r   r   r   0   s   
z&OpsiConfigurations.opsi_configurationsc                 C   s
   || _ dS )zÝ
        Sets the opsi_configurations of this OpsiConfigurations.
        OPSI Configuration Object.


        :param opsi_configurations: The opsi_configurations of this OpsiConfigurations.
        :type: object
        Nr   )r
   r   r   r   r   r   <   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__H   s   zOpsiConfigurations.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r
   Úotherr   r   r   Ú__eq__K   s   zOpsiConfigurations.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__Q   s   
zOpsiConfigurations.__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   r   r   r   r   r   r   Ú<module>   s   