ruạṛ
a ���f8( � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Connection� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�ConnectionFromAdwczM The connection details for an Autonomous Data Warehouse data asset. c K s� dddddddddddddddd ddd d�| _ dd dddddddddddddddddd�| _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 ConnectionFromAdwc object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ConnectionFromAdwc.model_type` attribute of this class is ``ORACLE_ADWC_CONNECTION`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this ConnectionFromAdwc. Allowed values for this property are: "ORACLE_ADWC_CONNECTION", "ORACLE_ATP_CONNECTION", "ORACLE_OBJECT_STORAGE_CONNECTION", "ORACLEDB_CONNECTION", "MYSQL_CONNECTION", "GENERIC_JDBC_CONNECTION", "BICC_CONNECTION", "AMAZON_S3_CONNECTION", "BIP_CONNECTION", "LAKE_CONNECTION", "ORACLE_PEOPLESOFT_CONNECTION", "ORACLE_EBS_CONNECTION", "ORACLE_SIEBEL_CONNECTION", "HDFS_CONNECTION", "MYSQL_HEATWAVE_CONNECTION", "REST_NO_AUTH_CONNECTION", "REST_BASIC_AUTH_CONNECTION", "OAUTH2_CONNECTION" :type model_type: str :param key: The value to assign to the key property of this ConnectionFromAdwc. :type key: str :param model_version: The value to assign to the model_version property of this ConnectionFromAdwc. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ConnectionFromAdwc. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this ConnectionFromAdwc. :type name: str :param description: The value to assign to the description property of this ConnectionFromAdwc. :type description: str :param object_version: The value to assign to the object_version property of this ConnectionFromAdwc. :type object_version: int :param object_status: The value to assign to the object_status property of this ConnectionFromAdwc. :type object_status: int :param identifier: The value to assign to the identifier property of this ConnectionFromAdwc. :type identifier: str :param primary_schema: The value to assign to the primary_schema property of this ConnectionFromAdwc. :type primary_schema: oci.data_integration.models.Schema :param connection_properties: The value to assign to the connection_properties property of this ConnectionFromAdwc. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param is_default: The value to assign to the is_default property of this ConnectionFromAdwc. :type is_default: bool :param metadata: The value to assign to the metadata property of this ConnectionFromAdwc. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this ConnectionFromAdwc. :type key_map: dict(str, str) :param tns_alias: The value to assign to the tns_alias property of this ConnectionFromAdwc. :type tns_alias: str :param tns_names: The value to assign to the tns_names property of this ConnectionFromAdwc. :type tns_names: list[str] :param username: The value to assign to the username property of this ConnectionFromAdwc. :type username: str :param password: The value to assign to the password property of this ConnectionFromAdwc. :type password: str :param password_secret: The value to assign to the password_secret property of this ConnectionFromAdwc. :type password_secret: oci.data_integration.models.SensitiveAttribute �strZParentReference�intZSchemazlist[ConnectionProperty]�boolZObjectMetadatazdict(str, str)z list[str]ZSensitiveAttribute)Z model_type�keyZ model_versionZ parent_ref�name�descriptionZobject_versionZ object_status� identifierZprimary_schemaZconnection_propertiesZ is_default�metadataZkey_map� tns_alias� tns_names�username�password�password_secretZ modelTyper ZmodelVersionZ parentRefr r Z objectVersionZobjectStatusr Z primarySchemaZconnectionPropertiesZ isDefaultr ZkeyMapZtnsAliasZtnsNamesr r ZpasswordSecretNZORACLE_ADWC_CONNECTION)Z swagger_typesZ attribute_mapZ_model_typeZ_keyZ_model_versionZ_parent_ref�_nameZ_descriptionZ_object_versionZ_object_statusZ_identifierZ_primary_schemaZ_connection_propertiesZ_is_defaultZ _metadataZ_key_map� _tns_alias� _tns_names� _username� _password�_password_secret)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/data_integration/models/connection_from_adwc.py�__init__ sx U��zConnectionFromAdwc.__init__c C s | j S )z� Gets the tns_alias of this ConnectionFromAdwc. The Autonomous Data Warehouse instance service name. :return: The tns_alias of this ConnectionFromAdwc. :rtype: str �r �r r r r r � s zConnectionFromAdwc.tns_aliasc C s || _ dS )z� Sets the tns_alias of this ConnectionFromAdwc. The Autonomous Data Warehouse instance service name. :param tns_alias: The tns_alias of this ConnectionFromAdwc. :type: str Nr! )r r r r r r � s c C s | j S )z� Gets the tns_names of this ConnectionFromAdwc. Array of service names that are available for selection in the tnsAlias property. :return: The tns_names of this ConnectionFromAdwc. :rtype: list[str] �r r"