ruạṛ
a ���f& � @ 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 @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�ConnectionFromJdbcz? The connection details for a generic JDBC data asset. c K s� dddddddddddddddd �| _ d ddd dddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new ConnectionFromJdbc object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ConnectionFromJdbc.model_type` attribute of this class is ``GENERIC_JDBC_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 ConnectionFromJdbc. 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 ConnectionFromJdbc. :type key: str :param model_version: The value to assign to the model_version property of this ConnectionFromJdbc. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ConnectionFromJdbc. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this ConnectionFromJdbc. :type name: str :param description: The value to assign to the description property of this ConnectionFromJdbc. :type description: str :param object_version: The value to assign to the object_version property of this ConnectionFromJdbc. :type object_version: int :param object_status: The value to assign to the object_status property of this ConnectionFromJdbc. :type object_status: int :param identifier: The value to assign to the identifier property of this ConnectionFromJdbc. :type identifier: str :param primary_schema: The value to assign to the primary_schema property of this ConnectionFromJdbc. :type primary_schema: oci.data_integration.models.Schema :param connection_properties: The value to assign to the connection_properties property of this ConnectionFromJdbc. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param is_default: The value to assign to the is_default property of this ConnectionFromJdbc. :type is_default: bool :param metadata: The value to assign to the metadata property of this ConnectionFromJdbc. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this ConnectionFromJdbc. :type key_map: dict(str, str) :param username: The value to assign to the username property of this ConnectionFromJdbc. :type username: str �strZParentReference�intZSchemazlist[ConnectionProperty]�boolZObjectMetadatazdict(str, str))Z model_type�keyZ model_versionZ parent_ref�name�descriptionZobject_versionZ object_status� identifierZprimary_schemaZconnection_propertiesZ is_default�metadataZkey_map�usernameZ modelTyper ZmodelVersionZ parentRefr r Z objectVersionZobjectStatusr Z primarySchemaZconnectionPropertiesZ isDefaultr ZkeyMapr NZGENERIC_JDBC_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)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/data_integration/models/connection_from_jdbc.py�__init__ s` E��zConnectionFromJdbc.__init__c C s | j S )z� Gets the username of this ConnectionFromJdbc. The user name for the connection. :return: The username of this ConnectionFromJdbc. :rtype: str �r �r r r r r � s zConnectionFromJdbc.usernamec C s || _ dS )z� Sets the username of this ConnectionFromJdbc. The user name for the connection. :param username: The username of this ConnectionFromJdbc. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zConnectionFromJdbc.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zConnectionFromJdbc.__eq__c C s | |k S r r r r r r �__ne__� s zConnectionFromJdbc.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r! r r r r r s y r N) Z connectionr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn