📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
fusion_apps
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/fusion_apps/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: attach_existing_instance_details.cpython-39.opt-1.pyc
a ���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 ZserviceInstanceTypeZ instanceIdZfreeformTagsZdefinedTagsNZATTACH_EXISTING_INSTANCE)Z swagger_typesZ attribute_map�_action�_service_instance_type�_instance_id�_freeform_tags� _defined_tags)�self�kwargs� r �[/usr/lib/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 Zallowed_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 r r r r l s z)AttachExistingInstanceDetails.instance_idc C s || _ dS )z� Sets the instance_id of this AttachExistingInstanceDetails. The service instance OCID of the instance being attached :param instance_id: The instance_id of this AttachExistingInstanceDetails. :type: str Nr )r r r r r r x s c C s | j S )aa Gets the freeform_tags of this AttachExistingInstanceDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this AttachExistingInstanceDetails. :rtype: dict(str, str) �r r r r r r � s z+AttachExistingInstanceDetails.freeform_tagsc C s || _ dS )am Sets the freeform_tags of this AttachExistingInstanceDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this AttachExistingInstanceDetails. :type: dict(str, str) Nr )r r r r r r � s c C s | j S )a[ Gets the defined_tags of this AttachExistingInstanceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this AttachExistingInstanceDetails. :rtype: dict(str, dict(str, object)) �r r r r r r � s z*AttachExistingInstanceDetails.defined_tagsc C s || _ dS )af Sets the defined_tags of this AttachExistingInstanceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this AttachExistingInstanceDetails. :type: dict(str, dict(str, object)) Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z&AttachExistingInstanceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z$AttachExistingInstanceDetails.__eq__c C s | |k S r! r r$ r r r �__ne__� s z$AttachExistingInstanceDetails.__ne__N)�__name__� __module__�__qualname__�__doc__Z'SERVICE_INSTANCE_TYPE_INTEGRATION_CLOUDZ)SERVICE_INSTANCE_TYPE_ANALYTICS_WAREHOUSEr �propertyr �setterr r r r"