o
    ɶdO                     @   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DomainSummaryz
    (For tenancies that support identity domains) As the name suggests, a `DomainSummary` object contains information about a `Domain`.
    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 DomainSummary 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 DomainSummary.
        :type id: str

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

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

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

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

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

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

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

        :param type:
            The value to assign to the type property of this DomainSummary.
            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 DomainSummary.
        :type license_type: str

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this DomainSummary.
            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 DomainSummary.
            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 DomainSummary.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this DomainSummary.
        :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   Fusr/lib/python3.10/site-packages/oci/identity/models/domain_summary.py__init__6   s   L	
	

zDomainSummary.__init__c                 C      | j S )z
        **[Required]** Gets the id of this DomainSummary.
        The OCID of the identity domain.


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


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

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


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


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


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


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


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


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


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


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


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


        :param home_region_url: The home_region_url of this DomainSummary.
        :type: str
        NrB   )r3   r   r5   r5   r6   r   =  r=   c                 C   r8   )z
        **[Required]** Gets the home_region of this DomainSummary.
        The home region for the identity domain.


        :return: The home_region of this DomainSummary.
        :rtype: str
        r)   r:   r5   r5   r6   r   I  r;   zDomainSummary.home_regionc                 C   r<   )z
        Sets the home_region of this DomainSummary.
        The home region for the identity domain.


        :param home_region: The home_region of this DomainSummary.
        :type: str
        NrC   )r3   r   r5   r5   r6   r   U  r=   c                 C   r8   )a  
        **[Required]** Gets the replica_regions of this DomainSummary.
        The regions where replicas of the identity domain exist.


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


        :param replica_regions: The replica_regions of this DomainSummary.
        :type: list[oci.identity.models.ReplicatedRegionDetails]
        NrD   )r3   r   r5   r5   r6   r   m  r=   c                 C   r8   )ap  
        **[Required]** Gets the type of this DomainSummary.
        The type of the identity 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 DomainSummary.
        :rtype: str
        )r+   r:   r5   r5   r6   r   y     zDomainSummary.typec                 C   s    ddg}t ||sd}|| _dS )z
        Sets the type of this DomainSummary.
        The type of the identity domain.


        :param type: The type of this DomainSummary.
        :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 DomainSummary.
        The license type of the identity domain.


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


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


        :return: The is_hidden_on_login of this DomainSummary.
        :rtype: bool
        r-   r:   r5   r5   r6   r     r;   z DomainSummary.is_hidden_on_loginc                 C   r<   )a  
        Sets the is_hidden_on_login of this DomainSummary.
        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 DomainSummary.
        :type: bool
        NrJ   )r3   r   r5   r5   r6   r     r=   c                 C   r8   )a'  
        **[Required]** Gets the time_created of this DomainSummary.
        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 DomainSummary.
        :rtype: datetime
        r.   r:   r5   r5   r6   r     s   zDomainSummary.time_createdc                 C   r<   )a#  
        Sets the time_created of this DomainSummary.
        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 DomainSummary.
        :type: datetime
        NrK   )r3   r   r5   r5   r6   r     s   
c                 C   r8   )a  
        **[Required]** Gets the lifecycle_state of this DomainSummary.
        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 DomainSummary.
        :rtype: str
        )r/   r:   r5   r5   r6   r     rE   zDomainSummary.lifecycle_statec                 C       g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this DomainSummary.
        The current state.


        :param lifecycle_state: The lifecycle_state of this DomainSummary.
        :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 DomainSummary.
        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 DomainSummary.
        :rtype: str
        )r0   r:   r5   r5   r6   r      rE   zDomainSummary.lifecycle_detailsc                 C   rL   )z
        Sets the lifecycle_details of this DomainSummary.
        Any additional details about the current state of the identity domain.


        :param lifecycle_details: The lifecycle_details of this DomainSummary.
        :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 DomainSummary.
        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 DomainSummary.
        :rtype: dict(str, str)
        r1   r:   r5   r5   r6   r!        zDomainSummary.freeform_tagsc                 C   r<   )a  
        Sets the freeform_tags of this DomainSummary.
        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 DomainSummary.
        :type: dict(str, str)
        NrM   )r3   r!   r5   r5   r6   r!   /     
c                 C   r8   )a  
        Gets the defined_tags of this DomainSummary.
        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 DomainSummary.
        :rtype: dict(str, dict(str, object))
        r2   r:   r5   r5   r6   r"   ?  rN   zDomainSummary.defined_tagsc                 C   r<   )a  
        Sets the defined_tags of this DomainSummary.
        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 DomainSummary.
        :type: dict(str, dict(str, object))
        NrP   )r3   r"   r5   r5   r6   r"   O  rO   c                 C   s   t | S N)r   r:   r5   r5   r6   __repr___  s   zDomainSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r3   otherr5   r5   r6   __eq__b  s   zDomainSummary.__eq__c                 C   s
   | |k S rQ   r5   rT   r5   r5   r6   __ne__h  s   
zDomainSummary.__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   