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                   @   sd   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d
d„ Z	dd„ Z
dd„ ZdS )ÚRegionaö  
    A localized geographic area, such as Phoenix, AZ. Oracle Cloud Infrastructure is hosted in regions and Availability
    Domains. A region is composed of several Availability Domains. An Availability Domain is one or more data centers
    located within a region. For more information, see `Regions and Availability Domains`__.

    To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
    talk to an administrator. If you're an administrator who needs to write policies to give users access,
    see `Get Started with Policies`__.

    __ https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm
    __ https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a¥  
        Initializes a new Region object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this Region.
        :type key: str

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

        Ústr)ÚkeyÚnamer   r	   N)Zswagger_typesZattribute_mapÚ_keyÚ_name)ÚselfÚkwargs© r   ú>usr/lib/python3.10/site-packages/oci/identity/models/region.pyÚ__init__   s   þþ
zRegion.__init__c                 C   ó   | j S )aZ  
        Gets the key of this Region.
        The key of the region. See `Regions and Availability Domains`__ for
        the full list of supported 3-letter region codes.

        Example: `PHX`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm


        :return: The key of this Region.
        :rtype: str
        ©r
   ©r   r   r   r   r   6   ó   z
Region.keyc                 C   ó
   || _ dS )a\  
        Sets the key of this Region.
        The key of the region. See `Regions and Availability Domains`__ for
        the full list of supported 3-letter region codes.

        Example: `PHX`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm


        :param key: The key of this Region.
        :type: str
        Nr   )r   r   r   r   r   r   G   ó   
c                 C   r   )a]  
        Gets the name of this Region.
        The name of the region. See `Regions and Availability Domains`__
        for the full list of supported region names.

        Example: `us-phoenix-1`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm


        :return: The name of this Region.
        :rtype: str
        ©r   r   r   r   r   r	   X   r   zRegion.namec                 C   r   )a`  
        Sets the name of this Region.
        The name of the region. See `Regions and Availability Domains`__
        for the full list of supported region names.

        Example: `us-phoenix-1`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm


        :param name: The name of this Region.
        :type: str
        Nr   )r   r	   r   r   r   r	   i   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__z   s   zRegion.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__}   s   zRegion.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__ƒ   s   
zRegion.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   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   