o
    ɶdH                     @   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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 )Configurationz9
    Cloud Guard configuration details of a tenancy.
    ENABLEDDISABLEDc                 K   s2   dddd| _ dddd| _d| _d| _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 reporting_region:
            The value to assign to the reporting_region property of this Configuration.
        :type reporting_region: str

        :param status:
            The value to assign to the status property of this Configuration.
            Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type status: str

        :param self_manage_resources:
            The value to assign to the self_manage_resources property of this Configuration.
        :type self_manage_resources: bool

        strbool)reporting_regionstatusself_manage_resourcesZreportingRegionr   ZselfManageResourcesN)Zswagger_typesZattribute_map_reporting_region_status_self_manage_resources)selfkwargs r   Husr/lib/python3.10/site-packages/oci/cloud_guard/models/configuration.py__init__   s   
zConfiguration.__init__c                 C      | j S )z
        **[Required]** Gets the reporting_region of this Configuration.
        The reporting region value


        :return: The reporting_region of this Configuration.
        :rtype: str
        r   r   r   r   r   r   >      
zConfiguration.reporting_regionc                 C   
   || _ dS )z
        Sets the reporting_region of this Configuration.
        The reporting region value


        :param reporting_region: The reporting_region of this Configuration.
        :type: str
        Nr   )r   r   r   r   r   r   J      

c                 C   r   )a`  
        Gets the status of this Configuration.
        Status of Cloud Guard Tenant

        Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The status of this Configuration.
        :rtype: str
        )r   r   r   r   r   r   V   s   zConfiguration.statusc                 C   s    ddg}t ||sd}|| _dS )z
        Sets the status of this Configuration.
        Status of Cloud Guard Tenant


        :param status: The status of this Configuration.
        :type: str
        r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   e   s   


c                 C   r   )z
        Gets the self_manage_resources of this Configuration.
        Identifies if Oracle managed resources were created by customers


        :return: The self_manage_resources of this Configuration.
        :rtype: bool
        r   r   r   r   r   r   t   r   z#Configuration.self_manage_resourcesc                 C   r   )z
        Sets the self_manage_resources of this Configuration.
        Identifies if Oracle managed resources were created by customers


        :param self_manage_resources: The self_manage_resources of this Configuration.
        :type: bool
        Nr   )r   r   r   r   r   r      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zConfiguration.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   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__ZSTATUS_ENABLEDZSTATUS_DISABLEDr   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   