o
    ëÉ¶dW  ã                   @   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 )ÚAvailabilityDomainaH  
    One or more isolated, fault-tolerant Oracle data centers that host cloud resources such as instances, volumes,
    and subnets. A region contains several Availability Domains. For more information, see
    `Regions and Availability Domains`__.

    __ https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )ac  
        Initializes a new AvailabilityDomain object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param name:
            The value to assign to the name property of this AvailabilityDomain.
        :type name: str

        :param id:
            The value to assign to the id property of this AvailabilityDomain.
        :type id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this AvailabilityDomain.
        :type compartment_id: str

        Ústr)ÚnameÚidÚcompartment_idr   r	   ZcompartmentIdN)Zswagger_typesZattribute_mapÚ_nameÚ_idÚ_compartment_id)ÚselfÚkwargs© r   úKusr/lib/python3.10/site-packages/oci/identity/models/availability_domain.pyÚ__init__   s   ýý
zAvailabilityDomain.__init__c                 C   ó   | j S )z´
        Gets the name of this AvailabilityDomain.
        The name of the Availability Domain.


        :return: The name of this AvailabilityDomain.
        :rtype: str
        ©r   ©r   r   r   r   r   8   ó   
zAvailabilityDomain.namec                 C   ó
   || _ dS )z·
        Sets the name of this AvailabilityDomain.
        The name of the Availability Domain.


        :param name: The name of this AvailabilityDomain.
        :type: str
        Nr   )r   r   r   r   r   r   D   ó   

c                 C   r   )z°
        Gets the id of this AvailabilityDomain.
        The OCID of the Availability Domain.


        :return: The id of this AvailabilityDomain.
        :rtype: str
        ©r   r   r   r   r   r	   P   r   zAvailabilityDomain.idc                 C   r   )z±
        Sets the id of this AvailabilityDomain.
        The OCID of the Availability Domain.


        :param id: The id of this AvailabilityDomain.
        :type: str
        Nr   )r   r	   r   r   r   r	   \   r   c                 C   r   )z¼
        Gets the compartment_id of this AvailabilityDomain.
        The OCID of the tenancy.


        :return: The compartment_id of this AvailabilityDomain.
        :rtype: str
        ©r   r   r   r   r   r
   h   r   z!AvailabilityDomain.compartment_idc                 C   r   )zÉ
        Sets the compartment_id of this AvailabilityDomain.
        The OCID of the tenancy.


        :param compartment_id: The compartment_id of this AvailabilityDomain.
        :type: str
        Nr   )r   r
   r   r   r   r
   t   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__€   s   zAvailabilityDomain.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__ƒ   s   zAvailabilityDomain.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__‰   s   
zAvailabilityDomain.__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   