ruạṛ
a ���fb! � @ 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 d d� Z dd� Zdd� ZdS )�ConnectionFromOraclezC The connection details for an Oracle Database data asset. c K s� ddddddddddddddddd d �| _ ddd ddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a/ Initializes a new ConnectionFromOracle object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ConnectionFromOracle.model_type` attribute of this class is ``ORACLEDB_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 ConnectionFromOracle. 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 ConnectionFromOracle. :type key: str :param model_version: The value to assign to the model_version property of this ConnectionFromOracle. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ConnectionFromOracle. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this ConnectionFromOracle. :type name: str :param description: The value to assign to the description property of this ConnectionFromOracle. :type description: str :param object_version: The value to assign to the object_version property of this ConnectionFromOracle. :type object_version: int :param object_status: The value to assign to the object_status property of this ConnectionFromOracle. :type object_status: int :param identifier: The value to assign to the identifier property of this ConnectionFromOracle. :type identifier: str :param primary_schema: The value to assign to the primary_schema property of this ConnectionFromOracle. :type primary_schema: oci.data_integration.models.Schema :param connection_properties: The value to assign to the connection_properties property of this ConnectionFromOracle. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param is_default: The value to assign to the is_default property of this ConnectionFromOracle. :type is_default: bool :param metadata: The value to assign to the metadata property of this ConnectionFromOracle. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this ConnectionFromOracle. :type key_map: dict(str, str) :param username: The value to assign to the username property of this ConnectionFromOracle. :type username: str :param password: The value to assign to the password property of this ConnectionFromOracle. :type password: str :param password_secret: The value to assign to the password_secret property of this ConnectionFromOracle. :type password_secret: oci.data_integration.models.SensitiveAttribute �strZParentReference�intZSchemazlist[ConnectionProperty]�boolZObjectMetadatazdict(str, str)ZSensitiveAttribute)Z model_type�keyZ model_versionZ parent_ref�name�descriptionZobject_versionZ object_status� identifierZprimary_schemaZconnection_propertiesZ is_default�metadataZkey_map�username�password�password_secretZ modelTyper ZmodelVersionZ parentRefr r Z objectVersionZobjectStatusr Z primarySchemaZconnectionPropertiesZ isDefaultr ZkeyMapr r ZpasswordSecretNZORACLEDB_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� _username� _password�_password_secret)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/data_integration/models/connection_from_oracle.py�__init__ sl M��zConnectionFromOracle.__init__c C s | j S )z� Gets the username of this ConnectionFromOracle. The user name for the connection. :return: The username of this ConnectionFromOracle. :rtype: str �r �r r r r r � s zConnectionFromOracle.usernamec C s || _ dS )z� Sets the username of this ConnectionFromOracle. The user name for the connection. :param username: The username of this ConnectionFromOracle. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the password of this ConnectionFromOracle. The password for the connection. :return: The password of this ConnectionFromOracle. :rtype: str �r r r r r r � s zConnectionFromOracle.passwordc C s || _ dS )z� Sets the password of this ConnectionFromOracle. The password for the connection. :param password: The password of this ConnectionFromOracle. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the password_secret of this ConnectionFromOracle. :return: The password_secret of this ConnectionFromOracle. :rtype: oci.data_integration.models.SensitiveAttribute �r r r r r r � s z$ConnectionFromOracle.password_secretc C s || _ dS )z� Sets the password_secret of this ConnectionFromOracle. :param password_secret: The password_secret of this ConnectionFromOracle. :type: oci.data_integration.models.SensitiveAttribute Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zConnectionFromOracle.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zConnectionFromOracle.__eq__c C s | |k S r! r r$ r r r �__ne__� s zConnectionFromOracle.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r"