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                   @   s0  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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d0d1 Zejd2d1 Zed3d4 Zejd5d4 Zed6d7 Zejd8d7 Zed9d: Z e jd;d: Z ed<d= Z!e!jd>d= Z!ed?d@ Z"e"jdAd@ Z"edBdC Z#e#jdDdC Z#dEdF Z$dGdH Z%dIdJ Z&dKS )LAnalyticsInstancez&
    Analytics Instance metadata.
    ACTIVECREATINGDELETEDDELETINGFAILEDINACTIVEUPDATINGSELF_SERVICE_ANALYTICSENTERPRISE_ANALYTICSLICENSE_INCLUDEDBRING_YOUR_OWN_LICENSEc                 K   sX  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i| _ 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(i| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _	d)| _
d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)S )*a  
        Initializes a new AnalyticsInstance 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 AnalyticsInstance.
        :type id: str

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

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

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

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

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

        :param capacity:
            The value to assign to the capacity property of this AnalyticsInstance.
        :type capacity: oci.analytics.models.Capacity

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

        :param email_notification:
            The value to assign to the email_notification property of this AnalyticsInstance.
        :type email_notification: str

        :param network_endpoint_details:
            The value to assign to the network_endpoint_details property of this AnalyticsInstance.
        :type network_endpoint_details: oci.analytics.models.NetworkEndpointDetails

        :param private_access_channels:
            The value to assign to the private_access_channels property of this AnalyticsInstance.
        :type private_access_channels: dict(str, PrivateAccessChannel)

        :param vanity_url_details:
            The value to assign to the vanity_url_details property of this AnalyticsInstance.
        :type vanity_url_details: dict(str, VanityUrlDetails)

        :param service_url:
            The value to assign to the service_url property of this AnalyticsInstance.
        :type service_url: str

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

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

        :param kms_key_id:
            The value to assign to the kms_key_id property of this AnalyticsInstance.
        :type kms_key_id: str

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

        :param time_updated:
            The value to assign to the time_updated property of this AnalyticsInstance.
        :type time_updated: datetime

        idstrnamedescriptioncompartment_idlifecycle_statefeature_setcapacityZCapacitylicense_typeemail_notificationnetwork_endpoint_detailsZNetworkEndpointDetailsprivate_access_channelszdict(str, PrivateAccessChannel)vanity_url_detailszdict(str, VanityUrlDetails)service_urldefined_tagszdict(str, dict(str, object))freeform_tagszdict(str, str)
kms_key_idtime_createddatetimetime_updatedZcompartmentIdZlifecycleStateZ
featureSetZlicenseTypeZemailNotificationZnetworkEndpointDetailsZprivateAccessChannelsZvanityUrlDetailsZ
serviceUrlZdefinedTagsZfreeformTagsZkmsKeyIdZtimeCreatedZtimeUpdatedN)Zswagger_typesZattribute_map_id_name_description_compartment_id_lifecycle_state_feature_set	_capacity_license_type_email_notification_network_endpoint_details_private_access_channels_vanity_url_details_service_url_defined_tags_freeform_tags_kms_key_id_time_created_time_updated)selfkwargs r:   Kusr/lib/python3.10/site-packages/oci/analytics/models/analytics_instance.py__init__>   s   T	
	

zAnalyticsInstance.__init__c                 C      | j S )z
        **[Required]** Gets the id of this AnalyticsInstance.
        The resource OCID.


        :return: The id of this AnalyticsInstance.
        :rtype: str
        r&   r8   r:   r:   r;   r         
zAnalyticsInstance.idc                 C   
   || _ dS )z
        Sets the id of this AnalyticsInstance.
        The resource OCID.


        :param id: The id of this AnalyticsInstance.
        :type: str
        Nr>   )r8   r   r:   r:   r;   r         

c                 C   r=   )z
        **[Required]** Gets the name of this AnalyticsInstance.
        The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.


        :return: The name of this AnalyticsInstance.
        :rtype: str
        r'   r?   r:   r:   r;   r      r@   zAnalyticsInstance.namec                 C   rA   )z
        Sets the name of this AnalyticsInstance.
        The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.


        :param name: The name of this AnalyticsInstance.
        :type: str
        NrC   )r8   r   r:   r:   r;   r      rB   c                 C   r=   )z
        Gets the description of this AnalyticsInstance.
        Optional description.


        :return: The description of this AnalyticsInstance.
        :rtype: str
        r(   r?   r:   r:   r;   r      r@   zAnalyticsInstance.descriptionc                 C   rA   )z
        Sets the description of this AnalyticsInstance.
        Optional description.


        :param description: The description of this AnalyticsInstance.
        :type: str
        NrD   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )z
        **[Required]** Gets the compartment_id of this AnalyticsInstance.
        The OCID of the compartment.


        :return: The compartment_id of this AnalyticsInstance.
        :rtype: str
        r)   r?   r:   r:   r;   r     r@   z AnalyticsInstance.compartment_idc                 C   rA   )z
        Sets the compartment_id of this AnalyticsInstance.
        The OCID of the compartment.


        :param compartment_id: The compartment_id of this AnalyticsInstance.
        :type: str
        NrE   )r8   r   r:   r:   r;   r   #  rB   c                 C   r=   )a  
        **[Required]** Gets the lifecycle_state of this AnalyticsInstance.
        The current state of an instance.

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


        :return: The lifecycle_state of this AnalyticsInstance.
        :rtype: str
        )r*   r?   r:   r:   r;   r   /     z!AnalyticsInstance.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this AnalyticsInstance.
        The current state of an instance.


        :param lifecycle_state: The lifecycle_state of this AnalyticsInstance.
        :type: str
        )r   r   r	   r
   r   r   r   UNKNOWN_ENUM_VALUEN)r   r*   )r8   r   allowed_valuesr:   r:   r;   r   >     


c                 C   r=   )a  
        **[Required]** Gets the feature_set of this AnalyticsInstance.
        Analytics feature set.

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


        :return: The feature_set of this AnalyticsInstance.
        :rtype: str
        )r+   r?   r:   r:   r;   r   M  rF   zAnalyticsInstance.feature_setc                 C       ddg}t ||sd}|| _dS )z
        Sets the feature_set of this AnalyticsInstance.
        Analytics feature set.


        :param feature_set: The feature_set of this AnalyticsInstance.
        :type: str
        r   r   rG   N)r   r+   )r8   r   rH   r:   r:   r;   r   \  rI   c                 C   r=   )z
        **[Required]** Gets the capacity of this AnalyticsInstance.

        :return: The capacity of this AnalyticsInstance.
        :rtype: oci.analytics.models.Capacity
        r,   r?   r:   r:   r;   r   k     zAnalyticsInstance.capacityc                 C   rA   )z
        Sets the capacity of this AnalyticsInstance.

        :param capacity: The capacity of this AnalyticsInstance.
        :type: oci.analytics.models.Capacity
        NrK   )r8   r   r:   r:   r;   r   u     
c                 C   r=   )a  
        Gets the license_type of this AnalyticsInstance.
        The license used for the service.

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


        :return: The license_type of this AnalyticsInstance.
        :rtype: str
        )r-   r?   r:   r:   r;   r     rF   zAnalyticsInstance.license_typec                 C   rJ   )z
        Sets the license_type of this AnalyticsInstance.
        The license used for the service.


        :param license_type: The license_type of this AnalyticsInstance.
        :type: str
        r   r   rG   N)r   r-   )r8   r   rH   r:   r:   r;   r     rI   c                 C   r=   )z
        Gets the email_notification of this AnalyticsInstance.
        Email address receiving notifications.


        :return: The email_notification of this AnalyticsInstance.
        :rtype: str
        r.   r?   r:   r:   r;   r     r@   z$AnalyticsInstance.email_notificationc                 C   rA   )z
        Sets the email_notification of this AnalyticsInstance.
        Email address receiving notifications.


        :param email_notification: The email_notification of this AnalyticsInstance.
        :type: str
        NrN   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )z
        **[Required]** Gets the network_endpoint_details of this AnalyticsInstance.

        :return: The network_endpoint_details of this AnalyticsInstance.
        :rtype: oci.analytics.models.NetworkEndpointDetails
        r/   r?   r:   r:   r;   r     rL   z*AnalyticsInstance.network_endpoint_detailsc                 C   rA   )z
        Sets the network_endpoint_details of this AnalyticsInstance.

        :param network_endpoint_details: The network_endpoint_details of this AnalyticsInstance.
        :type: oci.analytics.models.NetworkEndpointDetails
        NrO   )r8   r   r:   r:   r;   r     rM   c                 C   r=   )a2  
        Gets the private_access_channels of this AnalyticsInstance.
        Map of PrivateAccessChannel unique identifier key as KEY and PrivateAccessChannel Object as VALUE.


        :return: The private_access_channels of this AnalyticsInstance.
        :rtype: dict(str, PrivateAccessChannel)
        r0   r?   r:   r:   r;   r     r@   z)AnalyticsInstance.private_access_channelsc                 C   rA   )aH  
        Sets the private_access_channels of this AnalyticsInstance.
        Map of PrivateAccessChannel unique identifier key as KEY and PrivateAccessChannel Object as VALUE.


        :param private_access_channels: The private_access_channels of this AnalyticsInstance.
        :type: dict(str, PrivateAccessChannel)
        NrP   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )a  
        Gets the vanity_url_details of this AnalyticsInstance.
        Map of VanityUrl unique identifier key as KEY and VanityUrl Object as VALUE.


        :return: The vanity_url_details of this AnalyticsInstance.
        :rtype: dict(str, VanityUrlDetails)
        r1   r?   r:   r:   r;   r     r@   z$AnalyticsInstance.vanity_url_detailsc                 C   rA   )a  
        Sets the vanity_url_details of this AnalyticsInstance.
        Map of VanityUrl unique identifier key as KEY and VanityUrl Object as VALUE.


        :param vanity_url_details: The vanity_url_details of this AnalyticsInstance.
        :type: dict(str, VanityUrlDetails)
        NrQ   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )z
        Gets the service_url of this AnalyticsInstance.
        URL of the Analytics service.


        :return: The service_url of this AnalyticsInstance.
        :rtype: str
        r2   r?   r:   r:   r;   r     r@   zAnalyticsInstance.service_urlc                 C   rA   )z
        Sets the service_url of this AnalyticsInstance.
        URL of the Analytics service.


        :param service_url: The service_url of this AnalyticsInstance.
        :type: str
        NrR   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )a  
        Gets the defined_tags of this AnalyticsInstance.
        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 AnalyticsInstance.
        :rtype: dict(str, dict(str, object))
        r3   r?   r:   r:   r;   r         zAnalyticsInstance.defined_tagsc                 C   rA   )a  
        Sets the defined_tags of this AnalyticsInstance.
        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 AnalyticsInstance.
        :type: dict(str, dict(str, object))
        NrS   )r8   r    r:   r:   r;   r    "     
c                 C   r=   )a  
        Gets the freeform_tags of this AnalyticsInstance.
        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 AnalyticsInstance.
        :rtype: dict(str, str)
        r4   r?   r:   r:   r;   r!   3  rT   zAnalyticsInstance.freeform_tagsc                 C   rA   )a  
        Sets the freeform_tags of this AnalyticsInstance.
        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 AnalyticsInstance.
        :type: dict(str, str)
        NrV   )r8   r!   r:   r:   r;   r!   D  rU   c                 C   r=   )a  
        Gets the kms_key_id of this AnalyticsInstance.
        The `OCID`__ of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.

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


        :return: The kms_key_id of this AnalyticsInstance.
        :rtype: str
        r5   r?   r:   r:   r;   r"   U     zAnalyticsInstance.kms_key_idc                 C   rA   )a  
        Sets the kms_key_id of this AnalyticsInstance.
        The `OCID`__ of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.

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


        :param kms_key_id: The kms_key_id of this AnalyticsInstance.
        :type: str
        NrW   )r8   r"   r:   r:   r;   r"   c     
c                 C   r=   )a,  
        **[Required]** Gets the time_created of this AnalyticsInstance.
        The date and time the instance was created, in the format defined by RFC3339.

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


        :return: The time_created of this AnalyticsInstance.
        :rtype: datetime
        r6   r?   r:   r:   r;   r#   q  rX   zAnalyticsInstance.time_createdc                 C   rA   )a(  
        Sets the time_created of this AnalyticsInstance.
        The date and time the instance was created, in the format defined by RFC3339.

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


        :param time_created: The time_created of this AnalyticsInstance.
        :type: datetime
        NrZ   )r8   r#   r:   r:   r;   r#     rY   c                 C   r=   )ad  
        Gets the time_updated of this AnalyticsInstance.
        The date and time the instance was last updated (in the format defined by RFC3339).
        This timestamp represents updates made through this API. External events do not
        influence it.


        :return: The time_updated of this AnalyticsInstance.
        :rtype: datetime
        r7   r?   r:   r:   r;   r%     rX   zAnalyticsInstance.time_updatedc                 C   rA   )ao  
        Sets the time_updated of this AnalyticsInstance.
        The date and time the instance was last updated (in the format defined by RFC3339).
        This timestamp represents updates made through this API. External events do not
        influence it.


        :param time_updated: The time_updated of this AnalyticsInstance.
        :type: datetime
        Nr[   )r8   r%   r:   r:   r;   r%     rY   c                 C   s   t | S N)r   r?   r:   r:   r;   __repr__  s   zAnalyticsInstance.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r8   otherr:   r:   r;   __eq__  s   zAnalyticsInstance.__eq__c                 C   s
   | |k S r\   r:   r_   r:   r:   r;   __ne__  s   
zAnalyticsInstance.__ne__N)'__name__
__module____qualname____doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_UPDATINGZ"FEATURE_SET_SELF_SERVICE_ANALYTICSZ FEATURE_SET_ENTERPRISE_ANALYTICSZLICENSE_TYPE_LICENSE_INCLUDEDZ#LICENSE_TYPE_BRING_YOUR_OWN_LICENSEr<   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r%   r]   ra   rb   r:   r:   r:   r;   r      s     












	
	




	
	















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r:   r:   r:   r;   <module>   s   