ruạṛ
a N��f � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateConnectionDetails� )�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 )�CreateConnectionFromMySQLz> The details to create a MYSQL data asset connection. c K s� dddddddddddddd� | _ dd d ddd dddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )az Initializes a new CreateConnectionFromMySQL object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.CreateConnectionFromMySQL.model_type` attribute of this class is ``MYSQL_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 CreateConnectionFromMySQL. 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_HOUSE_CONNECTION", "REST_NO_AUTH_CONNECTION", "REST_BASIC_AUTH_CONNECTION" :type model_type: str :param key: The value to assign to the key property of this CreateConnectionFromMySQL. :type key: str :param model_version: The value to assign to the model_version property of this CreateConnectionFromMySQL. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this CreateConnectionFromMySQL. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this CreateConnectionFromMySQL. :type name: str :param description: The value to assign to the description property of this CreateConnectionFromMySQL. :type description: str :param object_status: The value to assign to the object_status property of this CreateConnectionFromMySQL. :type object_status: int :param identifier: The value to assign to the identifier property of this CreateConnectionFromMySQL. :type identifier: str :param connection_properties: The value to assign to the connection_properties property of this CreateConnectionFromMySQL. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param registry_metadata: The value to assign to the registry_metadata property of this CreateConnectionFromMySQL. :type registry_metadata: oci.data_integration.models.RegistryMetadata :param username: The value to assign to the username property of this CreateConnectionFromMySQL. :type username: str :param password: The value to assign to the password property of this CreateConnectionFromMySQL. :type password: str :param password_secret: The value to assign to the password_secret property of this CreateConnectionFromMySQL. :type password_secret: oci.data_integration.models.SensitiveAttribute �str�ParentReference�intzlist[ConnectionProperty]�RegistryMetadata�SensitiveAttribute) � model_type�key� model_version� parent_ref�name�description� object_status� identifier�connection_properties�registry_metadata�username�password�password_secret� modelTyper �modelVersion� parentRefr r �objectStatusr �connectionProperties�registryMetadatar r �passwordSecretN�MYSQL_CONNECTION)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_status�_identifier�_connection_properties�_registry_metadata� _username� _password�_password_secret)�self�kwargs� r4 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/create_connection_from_my_sql.py�__init__ sT =��z"CreateConnectionFromMySQL.__init__c C s | j S )z� Gets the username of this CreateConnectionFromMySQL. The user name for the connection. :return: The username of this CreateConnectionFromMySQL. :rtype: str �r/ �r2 r4 r4 r5 r { s z"CreateConnectionFromMySQL.usernamec C s || _ dS )z� Sets the username of this CreateConnectionFromMySQL. The user name for the connection. :param username: The username of this CreateConnectionFromMySQL. :type: str Nr7 )r2 r r4 r4 r5 r � s c C s | j S )z� Gets the password of this CreateConnectionFromMySQL. The password for the connection. :return: The password of this CreateConnectionFromMySQL. :rtype: str �r0 r8 r4 r4 r5 r � s z"CreateConnectionFromMySQL.passwordc C s || _ dS )z� Sets the password of this CreateConnectionFromMySQL. The password for the connection. :param password: The password of this CreateConnectionFromMySQL. :type: str Nr9 )r2 r r4 r4 r5 r � s c C s | j S )z� Gets the password_secret of this CreateConnectionFromMySQL. :return: The password_secret of this CreateConnectionFromMySQL. :rtype: oci.data_integration.models.SensitiveAttribute �r1 r8 r4 r4 r5 r � s z)CreateConnectionFromMySQL.password_secretc C s || _ dS )z� Sets the password_secret of this CreateConnectionFromMySQL. :param password_secret: The password_secret of this CreateConnectionFromMySQL. :type: oci.data_integration.models.SensitiveAttribute Nr: )r2 r r4 r4 r5 r � s c C s t | �S �N)r r8 r4 r4 r5 �__repr__� s z"CreateConnectionFromMySQL.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r2 �otherr4 r4 r5 �__eq__� s z CreateConnectionFromMySQL.__eq__c C s | |k S r; r4 r>