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                   @   sV   e Zd ZdZd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 )AvailabilityDomainz
    Availability Domains
    AD1AD2AD3c                 K   s   ddi| _ ddi| _d| _dS )a  
        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 ads:
            The value to assign to the ads property of this AvailabilityDomain.
            Allowed values for this property are: "AD1", "AD2", "AD3"
        :type ads: str

        adsstrN)Zswagger_typesZattribute_map_ads)selfkwargs r   Musr/lib/python3.10/site-packages/oci/blockchain/models/availability_domain.py__init__   s
   
zAvailabilityDomain.__init__c                 C   s   | j S )z
        Gets the ads of this AvailabilityDomain.
        Availability Domain Identifiers

        Allowed values for this property are: "AD1", "AD2", "AD3"


        :return: The ads of this AvailabilityDomain.
        :rtype: str
        )r   r   r   r   r   r
   3   s   zAvailabilityDomain.adsc                 C   s*   g d}t ||std||| _dS )z
        Sets the ads of this AvailabilityDomain.
        Availability Domain Identifiers


        :param ads: The ads of this AvailabilityDomain.
        :type: str
        )r   r   r	   z3Invalid value for `ads`, must be None or one of {0}N)r   
ValueErrorformatr   )r   r
   Zallowed_valuesr   r   r   r
   A   s   


c                 C   s   t | S N)r   r   r   r   r   __repr__S   s   zAvailabilityDomain.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__V   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__ZADS_AD1ZADS_AD2ZADS_AD3r   propertyr
   setterr   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   