ruạṛ
a ���fك � @ 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 dZdZd ZdZdZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Z e jd"d!� �Z ed#d$� �Z!e!jd%d$� �Z!ed&d'� �Z"e"jd(d'� �Z"ed)d*� �Z#e#jd+d*� �Z#ed,d-� �Z$e$jd.d-� �Z$ed/d0� �Z%e%jd1d0� �Z%ed2d3� �Z&e&jd4d3� �Z&ed5d6� �Z'e'jd7d6� �Z'ed8d9� �Z(e(jd:d9� �Z(ed;d<� �Z)e)jd=d<� �Z)ed>d?� �Z*e*jd@d?� �Z*edAdB� �Z+e+jdCdB� �Z+edDdE� �Z,e,jdFdE� �Z,edGdH� �Z-e-jdIdH� �Z-edJdK� �Z.e.jdLdK� �Z.edMdN� �Z/e/jdOdN� �Z/edPdQ� �Z0e0jdRdQ� �Z0edSdT� �Z1e1jdUdT� �Z1edVdW� �Z2e2jdXdW� �Z2edYdZ� �Z3e3jd[dZ� �Z3d\d]� Z4d^d_� Z5d`da� Z6dbS )c�OdaInstancez5 Description of `OdaServiceInstance` object. �DEVELOPMENT� PRODUCTION�CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILED�STARTING�STOPPING�CHANGING_COMPARTMENT�"ACTIVATING_CUSTOMER_ENCRYPTION_KEY� UPDATING_CUSTOMER_ENCRYPTION_KEY�$DEACTIVATING_CUSTOMER_ENCRYPTION_KEY�DELETE_PENDING� RECOVERING�PURGING�QUEUEDc K s� dddddddddddddddddddddddd�| _ d d ddd ddddddddddddddddddd�| _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 )!aB Initializes a new OdaInstance 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 OdaInstance. :type id: str :param display_name: The value to assign to the display_name property of this OdaInstance. :type display_name: str :param description: The value to assign to the description property of this OdaInstance. :type description: str :param compartment_id: The value to assign to the compartment_id property of this OdaInstance. :type compartment_id: str :param shape_name: The value to assign to the shape_name property of this OdaInstance. Allowed values for this property are: "DEVELOPMENT", "PRODUCTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type shape_name: str :param web_app_url: The value to assign to the web_app_url property of this OdaInstance. :type web_app_url: str :param connector_url: The value to assign to the connector_url property of this OdaInstance. :type connector_url: str :param time_created: The value to assign to the time_created property of this OdaInstance. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OdaInstance. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this OdaInstance. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_sub_state: The value to assign to the lifecycle_sub_state property of this OdaInstance. Allowed values for this property are: "CREATING", "STARTING", "STOPPING", "CHANGING_COMPARTMENT", "ACTIVATING_CUSTOMER_ENCRYPTION_KEY", "UPDATING_CUSTOMER_ENCRYPTION_KEY", "DEACTIVATING_CUSTOMER_ENCRYPTION_KEY", "DELETING", "DELETE_PENDING", "RECOVERING", "UPDATING", "PURGING", "QUEUED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_sub_state: str :param state_message: The value to assign to the state_message property of this OdaInstance. :type state_message: str :param freeform_tags: The value to assign to the freeform_tags property of this OdaInstance. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OdaInstance. :type defined_tags: dict(str, dict(str, object)) :param is_role_based_access: The value to assign to the is_role_based_access property of this OdaInstance. :type is_role_based_access: bool :param identity_domain: The value to assign to the identity_domain property of this OdaInstance. :type identity_domain: str :param identity_app_guid: The value to assign to the identity_app_guid property of this OdaInstance. :type identity_app_guid: str :param identity_app_console_url: The value to assign to the identity_app_console_url property of this OdaInstance. :type identity_app_console_url: str :param imported_package_names: The value to assign to the imported_package_names property of this OdaInstance. :type imported_package_names: list[str] :param imported_package_ids: The value to assign to the imported_package_ids property of this OdaInstance. :type imported_package_ids: list[str] :param attachment_types: The value to assign to the attachment_types property of this OdaInstance. :type attachment_types: list[str] :param attachment_ids: The value to assign to the attachment_ids property of this OdaInstance. :type attachment_ids: list[str] :param restricted_operations: The value to assign to the restricted_operations property of this OdaInstance. :type restricted_operations: list[oci.oda.models.RestrictedOperation] �strZdatetimezdict(str, str)zdict(str, dict(str, object))�boolz list[str]zlist[RestrictedOperation])�id�display_name�description�compartment_id� shape_name�web_app_url� connector_url�time_created�time_updated�lifecycle_state�lifecycle_sub_state� state_message� freeform_tags�defined_tags�is_role_based_access�identity_domain�identity_app_guid�identity_app_console_url�imported_package_names�imported_package_ids�attachment_types�attachment_ids�restricted_operationsr ZdisplayNamer Z compartmentIdZ shapeNameZ webAppUrlZconnectorUrlZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleSubStateZstateMessageZfreeformTagsZdefinedTagsZisRoleBasedAccessZidentityDomainZidentityAppGuidZidentityAppConsoleUrlZimportedPackageNamesZimportedPackageIdsZattachmentTypesZ attachmentIdsZrestrictedOperationsN)Z swagger_typesZ attribute_map�_id� _display_name�_description�_compartment_id�_shape_name�_web_app_url�_connector_url� _time_created� _time_updated�_lifecycle_state�_lifecycle_sub_state�_state_message�_freeform_tags� _defined_tags�_is_role_based_access�_identity_domain�_identity_app_guid�_identity_app_console_url�_imported_package_names�_imported_package_ids�_attachment_types�_attachment_ids�_restricted_operations)�self�kwargs� rL �?/usr/lib/python3.9/site-packages/oci/oda/models/oda_instance.py�__init__j s� i��zOdaInstance.__init__c C s | j S )z� **[Required]** Gets the id of this OdaInstance. Unique immutable identifier that was assigned when the instance was created. :return: The id of this OdaInstance. :rtype: str �r3 �rJ rL rL rM r s zOdaInstance.idc C s || _ dS )z� Sets the id of this OdaInstance. Unique immutable identifier that was assigned when the instance was created. :param id: The id of this OdaInstance. :type: str NrO )rJ r rL rL rM r * s c C s | j S )a Gets the display_name of this OdaInstance. User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value. :return: The display_name of this OdaInstance. :rtype: str �r4 rP rL rL rM r 6 s zOdaInstance.display_namec C s || _ dS )a Sets the display_name of this OdaInstance. User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value. :param display_name: The display_name of this OdaInstance. :type: str NrQ )rJ r rL rL rM r C s c C s | j S )z� Gets the description of this OdaInstance. Description of the Digital Assistant instance. :return: The description of this OdaInstance. :rtype: str �r5 rP rL rL rM r P s zOdaInstance.descriptionc C s || _ dS )z� Sets the description of this OdaInstance. Description of the Digital Assistant instance. :param description: The description of this OdaInstance. :type: str NrR )rJ r rL rL rM r \ s c C s | j S )z� **[Required]** Gets the compartment_id of this OdaInstance. Identifier of the compartment that the instance belongs to. :return: The compartment_id of this OdaInstance. :rtype: str �r6 rP rL rL rM r h s zOdaInstance.compartment_idc C s || _ dS )z� Sets the compartment_id of this OdaInstance. Identifier of the compartment that the instance belongs to. :param compartment_id: The compartment_id of this OdaInstance. :type: str NrS )rJ r rL rL rM r t s c C s | j S )a{ **[Required]** Gets the shape_name of this OdaInstance. Shape or size of the instance. Allowed values for this property are: "DEVELOPMENT", "PRODUCTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The shape_name of this OdaInstance. :rtype: str )r7 rP rL rL rM r � s zOdaInstance.shape_namec C s ddg}t ||�sd}|| _dS )z� Sets the shape_name of this OdaInstance. Shape or size of the instance. :param shape_name: The shape_name of this OdaInstance. :type: str r r �UNKNOWN_ENUM_VALUEN)r r7 )rJ r �allowed_valuesrL rL rM r � s c C s | j S )z� Gets the web_app_url of this OdaInstance. URL for the Digital Assistant web application that's associated with the instance. :return: The web_app_url of this OdaInstance. :rtype: str �r8 rP rL rL rM r! � s zOdaInstance.web_app_urlc C s || _ dS )z� Sets the web_app_url of this OdaInstance. URL for the Digital Assistant web application that's associated with the instance. :param web_app_url: The web_app_url of this OdaInstance. :type: str NrV )rJ r! rL rL rM r! � s c C s | j S )z� Gets the connector_url of this OdaInstance. URL for the connector's endpoint. :return: The connector_url of this OdaInstance. :rtype: str �r9 rP rL rL rM r"