ruạṛ
a N��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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�ConnectionFromRestBasicAuthzB The connection details for a basic auth rest connection. c K s� dddddddddddddddd dd �| _ ddd ddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a0 Initializes a new ConnectionFromRestBasicAuth object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ConnectionFromRestBasicAuth.model_type` attribute of this class is ``REST_BASIC_AUTH_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 ConnectionFromRestBasicAuth. 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 ConnectionFromRestBasicAuth. :type key: str :param model_version: The value to assign to the model_version property of this ConnectionFromRestBasicAuth. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ConnectionFromRestBasicAuth. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this ConnectionFromRestBasicAuth. :type name: str :param description: The value to assign to the description property of this ConnectionFromRestBasicAuth. :type description: str :param object_version: The value to assign to the object_version property of this ConnectionFromRestBasicAuth. :type object_version: int :param object_status: The value to assign to the object_status property of this ConnectionFromRestBasicAuth. :type object_status: int :param identifier: The value to assign to the identifier property of this ConnectionFromRestBasicAuth. :type identifier: str :param primary_schema: The value to assign to the primary_schema property of this ConnectionFromRestBasicAuth. :type primary_schema: oci.data_integration.models.Schema :param connection_properties: The value to assign to the connection_properties property of this ConnectionFromRestBasicAuth. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param is_default: The value to assign to the is_default property of this ConnectionFromRestBasicAuth. :type is_default: bool :param metadata: The value to assign to the metadata property of this ConnectionFromRestBasicAuth. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this ConnectionFromRestBasicAuth. :type key_map: dict(str, str) :param username: The value to assign to the username property of this ConnectionFromRestBasicAuth. :type username: str :param password_secret: The value to assign to the password_secret property of this ConnectionFromRestBasicAuth. :type password_secret: oci.data_integration.models.SensitiveAttribute :param auth_header: The value to assign to the auth_header property of this ConnectionFromRestBasicAuth. :type auth_header: str �str�ParentReference�int�Schemazlist[ConnectionProperty]�bool�ObjectMetadatazdict(str, str)�SensitiveAttribute)� model_type�key� model_version� parent_ref�name�description�object_version� object_status� identifier�primary_schema�connection_properties� is_default�metadata�key_map�username�password_secret�auth_header� modelTyper �modelVersion� parentRefr r � objectVersion�objectStatusr � primarySchema�connectionProperties� isDefaultr �keyMapr �passwordSecret� authHeaderN�REST_BASIC_AUTH_CONNECTION)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_version�_object_status�_identifier�_primary_schema�_connection_properties�_is_default� _metadata�_key_map� _username�_password_secret�_auth_header)�self�kwargs� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/connection_from_rest_basic_auth.py�__init__ sl M��z$ConnectionFromRestBasicAuth.__init__c C s | j S )z� Gets the username of this ConnectionFromRestBasicAuth. Username for the connection. :return: The username of this ConnectionFromRestBasicAuth. :rtype: str �r= �r@ rB rB rC r � s z$ConnectionFromRestBasicAuth.usernamec C s || _ dS )z� Sets the username of this ConnectionFromRestBasicAuth. Username for the connection. :param username: The username of this ConnectionFromRestBasicAuth. :type: str NrE )r@ r rB rB rC r � s c C s | j S )z� Gets the password_secret of this ConnectionFromRestBasicAuth. :return: The password_secret of this ConnectionFromRestBasicAuth. :rtype: oci.data_integration.models.SensitiveAttribute �r>