ruạṛ
a ���f � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�CompartmentMetadataz$ CompartmentMetadata model. � accessible�visible�inaccessiblec K s( ddd�| _ ddd�| _d| _d| _dS )a_ Initializes a new CompartmentMetadata 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 CompartmentMetadata. :type compartment_id: str :param access_level: The value to assign to the access_level property of this CompartmentMetadata. Allowed values for this property are: "accessible", "visible", "inaccessible" :type access_level: str �str)�compartment_id�access_levelZ compartmentIdZaccessLevelN)Z swagger_typesZ attribute_map�_compartment_id� _access_level)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/identity_data_plane/models/compartment_metadata.py�__init__ s ��zCompartmentMetadata.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this CompartmentMetadata. The compartment id. :return: The compartment_id of this CompartmentMetadata. :rtype: str �r �r r r r r : s z"CompartmentMetadata.compartment_idc C s || _ dS )z� Sets the compartment_id of this CompartmentMetadata. The compartment id. :param compartment_id: The compartment_id of this CompartmentMetadata. :type: str Nr )r r r r r r F s c C s | j S )a **[Required]** Gets the access_level of this CompartmentMetadata. The access level. Allowed values for this property are: "accessible", "visible", "inaccessible" :return: The access_level of this CompartmentMetadata. :rtype: str )r r r r r r R s z CompartmentMetadata.access_levelc C s* g d�}t ||�s td|� ���|| _dS )z� Sets the access_level of this CompartmentMetadata. The access level. :param access_level: The access_level of this CompartmentMetadata. :type: str )r r r z9Invalid value for `access_level`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r ` s �c C s t | �S �N)r r r r r �__repr__q s zCompartmentMetadata.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__t s zCompartmentMetadata.__eq__c C s | |k S r r r r r r �__ne__z s zCompartmentMetadata.__ne__N)�__name__� __module__�__qualname__�__doc__ZACCESS_LEVEL_ACCESSIBLEZACCESS_LEVEL_VISIBLEZACCESS_LEVEL_INACCESSIBLEr �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn