ruạṛ
a ���f^n � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Z e jd3d2� �Z ed4d5� �Z!e!jd6d5� �Z!ed7d8� �Z"e"jd9d8� �Z"ed:d;� �Z#e#jd<d;� �Z#ed=d>� �Z$e$jd?d>� �Z$ed@dA� �Z%e%jdBdA� �Z%edCdD� �Z&e&jdEdD� �Z&edFdG� �Z'e'jdHdG� �Z'edIdJ� �Z(e(jdKdJ� �Z(edLdM� �Z)e)jdNdM� �Z)edOdP� �Z*e*jdQdP� �Z*dRdS� Z+dTdU� Z,dVdW� Z-dXS )Y�AnalyticsInstancez& Analytics Instance metadata. �ACTIVE�CREATING�DELETED�DELETING�FAILED�INACTIVE�UPDATING�SELF_SERVICE_ANALYTICS�ENTERPRISE_ANALYTICS�LICENSE_INCLUDED�BRING_YOUR_OWN_LICENSE�FAW_PAID�FAW_FREE�EE_EMBEDDED�SE_EMBEDDEDc K s� dddddddddddddddddddddd �| _ d ddd dddddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _dS ) 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 system_tags: The value to assign to the system_tags property of this AnalyticsInstance. :type system_tags: dict(str, dict(str, object)) :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 :param feature_bundle: The value to assign to the feature_bundle property of this AnalyticsInstance. Allowed values for this property are: "FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type feature_bundle: str :param domain_id: The value to assign to the domain_id property of this AnalyticsInstance. :type domain_id: str �strZCapacityZNetworkEndpointDetailszdict(str, PrivateAccessChannel)zdict(str, VanityUrlDetails)zdict(str, dict(str, object))zdict(str, str)Zdatetime)�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�system_tags� kms_key_id�time_created�time_updated�feature_bundle� domain_idr r r Z compartmentIdZlifecycleStateZ featureSetr ZlicenseTypeZemailNotificationZnetworkEndpointDetailsZprivateAccessChannelsZvanityUrlDetailsZ serviceUrlZdefinedTagsZfreeformTagsZ systemTagsZkmsKeyIdZtimeCreatedZtimeUpdatedZ featureBundleZdomainIdN)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�_system_tags�_kms_key_id� _time_created� _time_updated�_feature_bundle� _domain_id)�self�kwargs� rC �K/usr/lib/python3.9/site-packages/oci/analytics/models/analytics_instance.py�__init__N s� c��zAnalyticsInstance.__init__c C s | j S )z� **[Required]** Gets the id of this AnalyticsInstance. The resource OCID. :return: The id of this AnalyticsInstance. :rtype: str �r, �rA rC rC rD r � s zAnalyticsInstance.idc C s || _ dS )z� Sets the id of this AnalyticsInstance. The resource OCID. :param id: The id of this AnalyticsInstance. :type: str NrF )rA r rC rC rD r s c C s | j S )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- rG rC rC rD r s zAnalyticsInstance.namec C s || _ dS )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 NrH )rA r rC rC rD r s c C s | j S )z� Gets the description of this AnalyticsInstance. Optional description. :return: The description of this AnalyticsInstance. :rtype: str �r. rG rC rC rD r & s zAnalyticsInstance.descriptionc C s || _ dS )z� Sets the description of this AnalyticsInstance. Optional description. :param description: The description of this AnalyticsInstance. :type: str NrI )rA r rC rC rD r 2 s c C s | j S )z� **[Required]** Gets the compartment_id of this AnalyticsInstance. The OCID of the compartment. :return: The compartment_id of this AnalyticsInstance. :rtype: str �r/ rG rC rC rD r > s z AnalyticsInstance.compartment_idc C s || _ dS )z� Sets the compartment_id of this AnalyticsInstance. The OCID of the compartment. :param compartment_id: The compartment_id of this AnalyticsInstance. :type: str NrJ )rA r rC rC rD r J s c C s | j S )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 )r0 rG rC rC rD r V s z!AnalyticsInstance.lifecycle_statec C s g d�}t ||�sd}|| _dS )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 r0 )rA r �allowed_valuesrC rC rD r e s c C s | j S )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 )r1 rG rC rC rD r t s zAnalyticsInstance.feature_setc C s ddg}t ||�sd}|| _dS )z� Sets the feature_set of this AnalyticsInstance. Analytics feature set. :param feature_set: The feature_set of this AnalyticsInstance. :type: str r r rK N)r r1 )rA r rL rC rC rD r � s c C s | j S )z� **[Required]** Gets the capacity of this AnalyticsInstance. :return: The capacity of this AnalyticsInstance. :rtype: oci.analytics.models.Capacity �r2 rG rC rC rD r � s zAnalyticsInstance.capacityc C s || _ dS )z� Sets the capacity of this AnalyticsInstance. :param capacity: The capacity of this AnalyticsInstance. :type: oci.analytics.models.Capacity NrM )rA r rC rC rD r � s c C s | j S )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 )r3 rG rC rC rD r � s zAnalyticsInstance.license_typec C s ddg}t ||�sd}|| _dS )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 rK N)r r3 )rA r rL rC rC rD r � s c C s | j S )z� Gets the email_notification of this AnalyticsInstance. Email address receiving notifications. :return: The email_notification of this AnalyticsInstance. :rtype: str �r4 rG rC rC rD r � s z$AnalyticsInstance.email_notificationc C s || _ dS )z� Sets the email_notification of this AnalyticsInstance. Email address receiving notifications. :param email_notification: The email_notification of this AnalyticsInstance. :type: str NrN )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the network_endpoint_details of this AnalyticsInstance. :return: The network_endpoint_details of this AnalyticsInstance. :rtype: oci.analytics.models.NetworkEndpointDetails �r5 rG rC rC rD r � s z*AnalyticsInstance.network_endpoint_detailsc C s || _ dS )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 )rA r rC rC rD r � s c C s | j S )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) �r6 rG rC rC rD r! � s z)AnalyticsInstance.private_access_channelsc C s || _ dS )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 )rA r! rC rC rD r! � s c C s | j S )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) �r7 rG rC rC rD r"