ruạṛ
a N��fv � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateServiceAttachmentDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�AttachExistingInstanceDetailsz3 Information about the service attachment. �INTEGRATION_CLOUD�ANALYTICS_WAREHOUSEc K sL dddddd�| _ ddddd d�| _d | _d | _d | _d | _d | _d| _d S )a� Initializes a new AttachExistingInstanceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.fusion_apps.models.AttachExistingInstanceDetails.action` attribute of this class is ``ATTACH_EXISTING_INSTANCE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param action: The value to assign to the action property of this AttachExistingInstanceDetails. Allowed values for this property are: "CREATE_NEW_INSTANCE", "ATTACH_EXISTING_INSTANCE" :type action: str :param service_instance_type: The value to assign to the service_instance_type property of this AttachExistingInstanceDetails. Allowed values for this property are: "INTEGRATION_CLOUD", "ANALYTICS_WAREHOUSE" :type service_instance_type: str :param instance_id: The value to assign to the instance_id property of this AttachExistingInstanceDetails. :type instance_id: str :param freeform_tags: The value to assign to the freeform_tags property of this AttachExistingInstanceDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AttachExistingInstanceDetails. :type defined_tags: dict(str, dict(str, object)) �strzdict(str, str)zdict(str, dict(str, object)))�action�service_instance_type�instance_id� freeform_tags�defined_tagsr �serviceInstanceType� instanceId�freeformTags�definedTagsN�ATTACH_EXISTING_INSTANCE)� swagger_types� attribute_map�_action�_service_instance_type�_instance_id�_freeform_tags� _defined_tags)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/fusion_apps/models/attach_existing_instance_details.py�__init__ s$ � �z&AttachExistingInstanceDetails.__init__c C s | j S )a\ **[Required]** Gets the service_instance_type of this AttachExistingInstanceDetails. Type of the ServiceInstance being attached. Allowed values for this property are: "INTEGRATION_CLOUD", "ANALYTICS_WAREHOUSE" :return: The service_instance_type of this AttachExistingInstanceDetails. :rtype: str )r �r r r r r L s z3AttachExistingInstanceDetails.service_instance_typec C s* ddg}t ||�s td�|���|| _dS )a Sets the service_instance_type of this AttachExistingInstanceDetails. Type of the ServiceInstance being attached. :param service_instance_type: The service_instance_type of this AttachExistingInstanceDetails. :type: str r r zEInvalid value for `service_instance_type`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r Z s ��c C s | j S )z� **[Required]** Gets the instance_id of this AttachExistingInstanceDetails. The service instance OCID of the instance being attached :return: The instance_id of this AttachExistingInstanceDetails. :rtype: str �r r"