o
    ëÉ¶dsO  ã                   @   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ZdZd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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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ed(d)„ ƒZejd*d)„ ƒZed+d,„ ƒZejd-d,„ ƒZed.d/„ ƒZejd0d/„ ƒZed1d2„ ƒZejd3d2„ ƒZed4d5„ ƒZejd6d5„ ƒZed7d8„ ƒZejd9d8„ ƒZed:d;„ ƒZejd<d;„ ƒZd=d>„ Z d?d@„ Z!dAdB„ Z"dCS )DÚDomaina  
    (For tenancies that support identity domains) Properties for an identity domain. An identity domain is used to manage users and groups, integration standards, external identities, and secure application integration through Oracle Single Sign-on (SSO) configuration.
    ÚDEFAULTÚ	SECONDARYÚCREATINGÚACTIVEÚDELETINGÚINACTIVEÚDEACTIVATINGÚ
ACTIVATINGÚUPDATINGc                 K   s0  i dd“dd“dd“dd“dd“dd“dd“d	d
“dd“dd“dd“dd“dd“dd“dd“dd“| _ i dd“dd“dd“dd“dd“dd“dd“d	d“dd“dd“dd“dd“dd“dd “dd!“dd"“| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _	d#| _
d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#S )$a&  
        Initializes a new Domain object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

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

        :param display_name:
            The value to assign to the display_name property of this Domain.
        :type display_name: str

        :param description:
            The value to assign to the description property of this Domain.
        :type description: str

        :param url:
            The value to assign to the url property of this Domain.
        :type url: str

        :param home_region_url:
            The value to assign to the home_region_url property of this Domain.
        :type home_region_url: str

        :param home_region:
            The value to assign to the home_region property of this Domain.
        :type home_region: str

        :param replica_regions:
            The value to assign to the replica_regions property of this Domain.
        :type replica_regions: list[oci.identity.models.ReplicatedRegionDetails]

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

        :param license_type:
            The value to assign to the license_type property of this Domain.
        :type license_type: str

        :param is_hidden_on_login:
            The value to assign to the is_hidden_on_login property of this Domain.
        :type is_hidden_on_login: bool

        :param time_created:
            The value to assign to the time_created property of this Domain.
        :type time_created: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Domain.
            Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Domain.
            Allowed values for this property are: "DEACTIVATING", "ACTIVATING", "UPDATING", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_details: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Domain.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Domain.
        :type defined_tags: dict(str, dict(str, object))

        ÚidÚstrÚcompartment_idÚdisplay_nameÚdescriptionÚurlÚhome_region_urlÚhome_regionÚreplica_regionszlist[ReplicatedRegionDetails]ÚtypeÚlicense_typeÚis_hidden_on_loginÚboolÚtime_createdÚdatetimeÚlifecycle_stateÚlifecycle_detailsÚfreeform_tagszdict(str, str)Údefined_tagszdict(str, dict(str, object))ZcompartmentIdZdisplayNameZhomeRegionUrlZ
homeRegionZreplicaRegionsZlicenseTypeZisHiddenOnLoginZtimeCreatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_mapÚ_idÚ_compartment_idÚ_display_nameÚ_descriptionÚ_urlÚ_home_region_urlÚ_home_regionÚ_replica_regionsÚ_typeÚ_license_typeÚ_is_hidden_on_loginÚ_time_createdÚ_lifecycle_stateÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r5   ú>usr/lib/python3.10/site-packages/oci/identity/models/domain.pyÚ__init__6   s¤   Lÿþýüûúùø	÷
öõôóòñðÿþýüûúùø	÷
öõôóòñð
zDomain.__init__c                 C   ó   | j S )z£
        **[Required]** Gets the id of this Domain.
        The OCID of the identity domain.


        :return: The id of this Domain.
        :rtype: str
        ©r#   ©r3   r5   r5   r6   r   ¹   ó   
z	Domain.idc                 C   ó
   || _ dS )z•
        Sets the id of this Domain.
        The OCID of the identity domain.


        :param id: The id of this Domain.
        :type: str
        Nr9   )r3   r   r5   r5   r6   r   Å   ó   

c                 C   r8   )zÖ
        **[Required]** Gets the compartment_id of this Domain.
        The OCID of the compartment containing the identity domain.


        :return: The compartment_id of this Domain.
        :rtype: str
        ©r$   r:   r5   r5   r6   r   Ñ   r;   zDomain.compartment_idc                 C   r<   )zÔ
        Sets the compartment_id of this Domain.
        The OCID of the compartment containing the identity domain.


        :param compartment_id: The compartment_id of this Domain.
        :type: str
        Nr>   )r3   r   r5   r5   r6   r   Ý   r=   c                 C   r8   )zÇ
        **[Required]** Gets the display_name of this Domain.
        The mutable display name of the identity domain.


        :return: The display_name of this Domain.
        :rtype: str
        ©r%   r:   r5   r5   r6   r   é   r;   zDomain.display_namec                 C   r<   )zÃ
        Sets the display_name of this Domain.
        The mutable display name of the identity domain.


        :param display_name: The display_name of this Domain.
        :type: str
        Nr?   )r3   r   r5   r5   r6   r   õ   r=   c                 C   r8   )zØ
        **[Required]** Gets the description of this Domain.
        The identity domain description. You can have an empty description.


        :return: The description of this Domain.
        :rtype: str
        ©r&   r:   r5   r5   r6   r     r;   zDomain.descriptionc                 C   r<   )zÓ
        Sets the description of this Domain.
        The identity domain description. You can have an empty description.


        :param description: The description of this Domain.
        :type: str
        Nr@   )r3   r   r5   r5   r6   r     r=   c                 C   r8   )z©
        **[Required]** Gets the url of this Domain.
        Region-agnostic identity domain URL.


        :return: The url of this Domain.
        :rtype: str
        ©r'   r:   r5   r5   r6   r     r;   z
Domain.urlc                 C   r<   )zœ
        Sets the url of this Domain.
        Region-agnostic identity domain URL.


        :param url: The url of this Domain.
        :type: str
        NrA   )r3   r   r5   r5   r6   r   %  r=   c                 C   r8   )zÁ
        **[Required]** Gets the home_region_url of this Domain.
        Region-specific identity domain URL.


        :return: The home_region_url of this Domain.
        :rtype: str
        ©r(   r:   r5   r5   r6   r   1  r;   zDomain.home_region_urlc                 C   r<   )zÀ
        Sets the home_region_url of this Domain.
        Region-specific identity domain URL.


        :param home_region_url: The home_region_url of this Domain.
        :type: str
        NrB   )r3   r   r5   r5   r6   r   =  r=   c                 C   r8   )a“  
        **[Required]** Gets the home_region of this Domain.
        The home region for the identity domain.
        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 home_region of this Domain.
        :rtype: str
        ©r)   r:   r5   r5   r6   r   I  s   zDomain.home_regionc                 C   r<   )aŽ  
        Sets the home_region of this Domain.
        The home region for the identity domain.
        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 home_region: The home_region of this Domain.
        :type: str
        NrC   )r3   r   r5   r5   r6   r   [  s   
c                 C   r8   )a  
        **[Required]** Gets the replica_regions of this Domain.
        The regions where replicas of the identity domain exist.


        :return: The replica_regions of this Domain.
        :rtype: list[oci.identity.models.ReplicatedRegionDetails]
        ©r*   r:   r5   r5   r6   r   m  r;   zDomain.replica_regionsc                 C   r<   )a  
        Sets the replica_regions of this Domain.
        The regions where replicas of the identity domain exist.


        :param replica_regions: The replica_regions of this Domain.
        :type: list[oci.identity.models.ReplicatedRegionDetails]
        NrD   )r3   r   r5   r5   r6   r   y  r=   c                 C   r8   )aY  
        **[Required]** Gets the type of this Domain.
        The type of the domain.

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


        :return: The type of this Domain.
        :rtype: str
        )r+   r:   r5   r5   r6   r   …  ó   zDomain.typec                 C   s    ddg}t ||ƒsd}|| _dS )z’
        Sets the type of this Domain.
        The type of the domain.


        :param type: The type of this Domain.
        :type: str
        r   r   ÚUNKNOWN_ENUM_VALUEN)r   r+   )r3   r   Úallowed_valuesr5   r5   r6   r   ”  ó   


c                 C   r8   )z¿
        **[Required]** Gets the license_type of this Domain.
        The license type of the identity domain.


        :return: The license_type of this Domain.
        :rtype: str
        ©r,   r:   r5   r5   r6   r   £  r;   zDomain.license_typec                 C   r<   )z»
        Sets the license_type of this Domain.
        The license type of the identity domain.


        :param license_type: The license_type of this Domain.
        :type: str
        NrI   )r3   r   r5   r5   r6   r   ¯  r=   c                 C   r8   )zñ
        **[Required]** Gets the is_hidden_on_login of this Domain.
        Indicates whether the identity domain is hidden on the sign-in screen or not.


        :return: The is_hidden_on_login of this Domain.
        :rtype: bool
        ©r-   r:   r5   r5   r6   r   »  r;   zDomain.is_hidden_on_loginc                 C   r<   )zó
        Sets the is_hidden_on_login of this Domain.
        Indicates whether the identity domain is hidden on the sign-in screen or not.


        :param is_hidden_on_login: The is_hidden_on_login of this Domain.
        :type: bool
        NrJ   )r3   r   r5   r5   r6   r   Ç  r=   c                 C   r8   )a  
        **[Required]** Gets the time_created of this Domain.
        Date and time the identity domain was created, in the format defined by RFC3339.

        Example: `2016-08-25T21:10:29.600Z`


        :return: The time_created of this Domain.
        :rtype: datetime
        ©r.   r:   r5   r5   r6   r   Ó  s   zDomain.time_createdc                 C   r<   )a  
        Sets the time_created of this Domain.
        Date and time the identity domain was created, in the format defined by RFC3339.

        Example: `2016-08-25T21:10:29.600Z`


        :param time_created: The time_created of this Domain.
        :type: datetime
        NrK   )r3   r   r5   r5   r6   r   á  s   
c                 C   r8   )a€  
        **[Required]** Gets the lifecycle_state of this Domain.
        The current state.

        Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Domain.
        :rtype: str
        )r/   r:   r5   r5   r6   r   ï  rE   zDomain.lifecycle_statec                 C   ó    g d¢}t ||ƒsd}|| _dS )z®
        Sets the lifecycle_state of this Domain.
        The current state.


        :param lifecycle_state: The lifecycle_state of this Domain.
        :type: str
        )r	   r
   r   r   rF   N)r   r/   )r3   r   rG   r5   r5   r6   r   þ  rH   c                 C   r8   )a¥  
        Gets the lifecycle_details of this Domain.
        Any additional details about the current state of the identity domain.

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


        :return: The lifecycle_details of this Domain.
        :rtype: str
        )r0   r:   r5   r5   r6   r      rE   zDomain.lifecycle_detailsc                 C   rL   )zè
        Sets the lifecycle_details of this Domain.
        Any additional details about the current state of the identity domain.


        :param lifecycle_details: The lifecycle_details of this Domain.
        :type: str
        )r   r   r   rF   N)r   r0   )r3   r    rG   r5   r5   r6   r      rH   c                 C   r8   )a½  
        Gets the freeform_tags of this Domain.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

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


        :return: The freeform_tags of this Domain.
        :rtype: dict(str, str)
        ©r1   r:   r5   r5   r6   r!   +  ó   zDomain.freeform_tagsc                 C   r<   )aÉ  
        Sets the freeform_tags of this Domain.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

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


        :param freeform_tags: The freeform_tags of this Domain.
        :type: dict(str, str)
        NrM   )r3   r!   r5   r5   r6   r!   ;  ó   
c                 C   r8   )a³  
        Gets the defined_tags of this Domain.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

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


        :return: The defined_tags of this Domain.
        :rtype: dict(str, dict(str, object))
        ©r2   r:   r5   r5   r6   r"   K  rN   zDomain.defined_tagsc                 C   r<   )a¾  
        Sets the defined_tags of this Domain.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

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


        :param defined_tags: The defined_tags of this Domain.
        :type: dict(str, dict(str, object))
        NrP   )r3   r"   r5   r5   r6   r"   [  rO   c                 C   s   t | ƒS ©N)r   r:   r5   r5   r6   Ú__repr__k  s   zDomain.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r3   Úotherr5   r5   r6   Ú__eq__n  s   zDomain.__eq__c                 C   s
   | |k S rQ   r5   rT   r5   r5   r6   Ú__ne__t  s   
zDomain.__ne__N)#Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZTYPE_DEFAULTZTYPE_SECONDARYZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_DETAILS_DEACTIVATINGZLIFECYCLE_DETAILS_ACTIVATINGZLIFECYCLE_DETAILS_UPDATINGr7   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   rR   rV   rW   r5   r5   r5   r6   r      s      































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r5   r5   r5   r6   Ú<module>   s   