Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
golden_gate
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: update_connection_details.cpython-39.opt-1.pyc
a ���f�a � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdd� Ze dd � �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-d?d@� Z.dAdB� Z/dCdD� Z0dES )F�UpdateConnectionDetailsz1 The information to update a Connection. � GOLDENGATE�KAFKA�KAFKA_SCHEMA_REGISTRY�MYSQL�JAVA_MESSAGE_SERVICE�MICROSOFT_SQLSERVER�OCI_OBJECT_STORAGE�ORACLE�AZURE_DATA_LAKE_STORAGE� POSTGRESQL�AZURE_SYNAPSE_ANALYTICS� SNOWFLAKE� AMAZON_S3�HDFS�ORACLE_NOSQL�MONGODB�AMAZON_KINESIS�AMAZON_REDSHIFT�DB2�REDIS� ELASTICSEARCH�GENERIC�GOOGLE_CLOUD_STORAGE�GOOGLE_BIGQUERY�SHARED_SERVICE_ENDPOINT�SHARED_DEPLOYMENT_ENDPOINT�DEDICATED_ENDPOINTc K sx ddddddddddd� | _ dddd d ddd ddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )a$ Initializes a new UpdateConnectionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.golden_gate.models.UpdateElasticsearchConnectionDetails` * :class:`~oci.golden_gate.models.UpdateGoogleBigQueryConnectionDetails` * :class:`~oci.golden_gate.models.UpdateOracleConnectionDetails` * :class:`~oci.golden_gate.models.UpdateAmazonRedshiftConnectionDetails` * :class:`~oci.golden_gate.models.UpdateOciObjectStorageConnectionDetails` * :class:`~oci.golden_gate.models.UpdateRedisConnectionDetails` * :class:`~oci.golden_gate.models.UpdateMongoDbConnectionDetails` * :class:`~oci.golden_gate.models.UpdateGoogleCloudStorageConnectionDetails` * :class:`~oci.golden_gate.models.UpdateAzureDataLakeStorageConnectionDetails` * :class:`~oci.golden_gate.models.UpdateAmazonKinesisConnectionDetails` * :class:`~oci.golden_gate.models.UpdateJavaMessageServiceConnectionDetails` * :class:`~oci.golden_gate.models.UpdateGoldenGateConnectionDetails` * :class:`~oci.golden_gate.models.UpdatePostgresqlConnectionDetails` * :class:`~oci.golden_gate.models.UpdateMicrosoftSqlserverConnectionDetails` * :class:`~oci.golden_gate.models.UpdateOracleNosqlConnectionDetails` * :class:`~oci.golden_gate.models.UpdateKafkaSchemaRegistryConnectionDetails` * :class:`~oci.golden_gate.models.UpdateAmazonS3ConnectionDetails` * :class:`~oci.golden_gate.models.UpdateSnowflakeConnectionDetails` * :class:`~oci.golden_gate.models.UpdateHdfsConnectionDetails` * :class:`~oci.golden_gate.models.UpdateMysqlConnectionDetails` * :class:`~oci.golden_gate.models.UpdateKafkaConnectionDetails` * :class:`~oci.golden_gate.models.UpdateDb2ConnectionDetails` * :class:`~oci.golden_gate.models.UpdateGenericConnectionDetails` * :class:`~oci.golden_gate.models.UpdateAzureSynapseConnectionDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param connection_type: The value to assign to the connection_type property of this UpdateConnectionDetails. Allowed values for this property are: "GOLDENGATE", "KAFKA", "KAFKA_SCHEMA_REGISTRY", "MYSQL", "JAVA_MESSAGE_SERVICE", "MICROSOFT_SQLSERVER", "OCI_OBJECT_STORAGE", "ORACLE", "AZURE_DATA_LAKE_STORAGE", "POSTGRESQL", "AZURE_SYNAPSE_ANALYTICS", "SNOWFLAKE", "AMAZON_S3", "HDFS", "ORACLE_NOSQL", "MONGODB", "AMAZON_KINESIS", "AMAZON_REDSHIFT", "DB2", "REDIS", "ELASTICSEARCH", "GENERIC", "GOOGLE_CLOUD_STORAGE", "GOOGLE_BIGQUERY" :type connection_type: str :param display_name: The value to assign to the display_name property of this UpdateConnectionDetails. :type display_name: str :param description: The value to assign to the description property of this UpdateConnectionDetails. :type description: str :param freeform_tags: The value to assign to the freeform_tags property of this UpdateConnectionDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateConnectionDetails. :type defined_tags: dict(str, dict(str, object)) :param vault_id: The value to assign to the vault_id property of this UpdateConnectionDetails. :type vault_id: str :param key_id: The value to assign to the key_id property of this UpdateConnectionDetails. :type key_id: str :param nsg_ids: The value to assign to the nsg_ids property of this UpdateConnectionDetails. :type nsg_ids: list[str] :param subnet_id: The value to assign to the subnet_id property of this UpdateConnectionDetails. :type subnet_id: str :param routing_method: The value to assign to the routing_method property of this UpdateConnectionDetails. Allowed values for this property are: "SHARED_SERVICE_ENDPOINT", "SHARED_DEPLOYMENT_ENDPOINT", "DEDICATED_ENDPOINT" :type routing_method: str �strzdict(str, str)zdict(str, dict(str, object))z list[str]) �connection_type�display_name�description� freeform_tags�defined_tags�vault_id�key_id�nsg_ids� subnet_id�routing_method�connectionTypeZdisplayNamer% ZfreeformTagsZdefinedTagsZvaultIdZkeyIdZnsgIdsZsubnetIdZ routingMethodN)Z swagger_typesZ attribute_map�_connection_type� _display_name�_description�_freeform_tags� _defined_tags� _vault_id�_key_id�_nsg_ids� _subnet_id�_routing_method)�self�kwargs� r: �T/usr/lib/python3.9/site-packages/oci/golden_gate/models/update_connection_details.py�__init__~ s@ L�� z UpdateConnectionDetails.__init__c C s8 | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS |dkr�dS |dkr�dS |dkr�dS |dkr�dS |dkr�dS |dkr�dS |d kr�d!S |d"kr�d#S |d$kr�d%S |d&kr�d'S |d(kr�d)S |d*k�rd+S |d,k�rd-S |d.k�r"d/S |d0k�r0d1S d2S d3S )4z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r- r Z$UpdateElasticsearchConnectionDetailsr Z%UpdateGoogleBigQueryConnectionDetailsr ZUpdateOracleConnectionDetailsr Z%UpdateAmazonRedshiftConnectionDetailsr Z'UpdateOciObjectStorageConnectionDetailsr ZUpdateRedisConnectionDetailsr ZUpdateMongoDbConnectionDetailsr Z)UpdateGoogleCloudStorageConnectionDetailsr Z+UpdateAzureDataLakeStorageConnectionDetailsr Z$UpdateAmazonKinesisConnectionDetailsr Z)UpdateJavaMessageServiceConnectionDetailsr Z!UpdateGoldenGateConnectionDetailsr Z!UpdatePostgresqlConnectionDetailsr Z)UpdateMicrosoftSqlserverConnectionDetailsr Z"UpdateOracleNosqlConnectionDetailsr Z*UpdateKafkaSchemaRegistryConnectionDetailsr ZUpdateAmazonS3ConnectionDetailsr Z UpdateSnowflakeConnectionDetailsr ZUpdateHdfsConnectionDetailsr ZUpdateMysqlConnectionDetailsr ZUpdateKafkaConnectionDetailsr ZUpdateDb2ConnectionDetailsr ZUpdateGenericConnectionDetailsr Z#UpdateAzureSynapseConnectionDetailsr Nr: )Zobject_dictionary�typer: r: r; �get_subtype� sd z#UpdateConnectionDetails.get_subtypec C s | j S )aw Gets the connection_type of this UpdateConnectionDetails. The connection type. Allowed values for this property are: "GOLDENGATE", "KAFKA", "KAFKA_SCHEMA_REGISTRY", "MYSQL", "JAVA_MESSAGE_SERVICE", "MICROSOFT_SQLSERVER", "OCI_OBJECT_STORAGE", "ORACLE", "AZURE_DATA_LAKE_STORAGE", "POSTGRESQL", "AZURE_SYNAPSE_ANALYTICS", "SNOWFLAKE", "AMAZON_S3", "HDFS", "ORACLE_NOSQL", "MONGODB", "AMAZON_KINESIS", "AMAZON_REDSHIFT", "DB2", "REDIS", "ELASTICSEARCH", "GENERIC", "GOOGLE_CLOUD_STORAGE", "GOOGLE_BIGQUERY" :return: The connection_type of this UpdateConnectionDetails. :rtype: str )r. �r8 r: r: r; r# @ s z'UpdateConnectionDetails.connection_typec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the connection_type of this UpdateConnectionDetails. The connection type. :param connection_type: The connection_type of this UpdateConnectionDetails. :type: str )r r r r r r r r r r r r r r r r r r r r r r r r z<Invalid value for `connection_type`, must be None or one of N)r � ValueErrorr. )r8 r# �allowed_valuesr: r: r; r# N s �c C s | j S )z� Gets the display_name of this UpdateConnectionDetails. An object's Display Name. :return: The display_name of this UpdateConnectionDetails. :rtype: str �r/ r? r: r: r; r$ _ s z$UpdateConnectionDetails.display_namec C s || _ dS )z� Sets the display_name of this UpdateConnectionDetails. An object's Display Name. :param display_name: The display_name of this UpdateConnectionDetails. :type: str NrB )r8 r$ r: r: r; r$ k s c C s | j S )z� Gets the description of this UpdateConnectionDetails. Metadata about this specific object. :return: The description of this UpdateConnectionDetails. :rtype: str �r0 r? r: r: r; r% w s z#UpdateConnectionDetails.descriptionc C s || _ dS )z� Sets the description of this UpdateConnectionDetails. Metadata about this specific object. :param description: The description of this UpdateConnectionDetails. :type: str NrC )r8 r% r: r: r; r% � s c C s | j S )aa Gets the freeform_tags of this UpdateConnectionDetails. A 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 UpdateConnectionDetails. :rtype: dict(str, str) �r1 r? r: r: r; r&