ruạṛ
a N��f- � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�UpdateConnectionDetails� )�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 )�UpdateConnectionFromMySQLz> The details to update a MYSQL data asset connection. c K s� ddddddddddddddd�| _ dd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a Initializes a new UpdateConnectionFromMySQL object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.UpdateConnectionFromMySQL.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 UpdateConnectionFromMySQL. 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 UpdateConnectionFromMySQL. :type key: str :param model_version: The value to assign to the model_version property of this UpdateConnectionFromMySQL. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this UpdateConnectionFromMySQL. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this UpdateConnectionFromMySQL. :type name: str :param description: The value to assign to the description property of this UpdateConnectionFromMySQL. :type description: str :param object_status: The value to assign to the object_status property of this UpdateConnectionFromMySQL. :type object_status: int :param object_version: The value to assign to the object_version property of this UpdateConnectionFromMySQL. :type object_version: int :param identifier: The value to assign to the identifier property of this UpdateConnectionFromMySQL. :type identifier: str :param connection_properties: The value to assign to the connection_properties property of this UpdateConnectionFromMySQL. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param registry_metadata: The value to assign to the registry_metadata property of this UpdateConnectionFromMySQL. :type registry_metadata: oci.data_integration.models.RegistryMetadata :param username: The value to assign to the username property of this UpdateConnectionFromMySQL. :type username: str :param password: The value to assign to the password property of this UpdateConnectionFromMySQL. :type password: str :param password_secret: The value to assign to the password_secret property of this UpdateConnectionFromMySQL. :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�object_version� identifier�connection_properties�registry_metadata�username�password�password_secret� modelTyper �modelVersion� parentRefr r �objectStatus� objectVersionr �connectionProperties�registryMetadatar r �passwordSecretN�MYSQL_CONNECTION)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_status�_object_version�_identifier�_connection_properties�_registry_metadata� _username� _password�_password_secret)�self�kwargs� r7 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/update_connection_from_my_sql.py�__init__ sZ A��z"UpdateConnectionFromMySQL.__init__c C s | j S )z� Gets the username of this UpdateConnectionFromMySQL. The user name for the connection. :return: The username of this UpdateConnectionFromMySQL. :rtype: str �r2 �r5 r7 r7 r8 r � s z"UpdateConnectionFromMySQL.usernamec C s || _ dS )z� Sets the username of this UpdateConnectionFromMySQL. The user name for the connection. :param username: The username of this UpdateConnectionFromMySQL. :type: str Nr: )r5 r r7 r7 r8 r � s c C s | j S )z� Gets the password of this UpdateConnectionFromMySQL. The password for the connection. :return: The password of this UpdateConnectionFromMySQL. :rtype: str �r3 r; r7 r7 r8 r � s z"UpdateConnectionFromMySQL.passwordc C s || _ dS )z� Sets the password of this UpdateConnectionFromMySQL. The password for the connection. :param password: The password of this UpdateConnectionFromMySQL. :type: str Nr<