ruạṛ
a ���f�T � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdd� Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Z e jd)d(� �Z ed*d+� �Z!e!jd,d+� �Z!ed-d.� �Z"e"jd/d.� �Z"ed0d1� �Z#e#jd2d1� �Z#ed3d4� �Z$e$jd5d4� �Z$ed6d7� �Z%e%jd8d7� �Z%d9d:� Z&d;d<� Z'd=d>� Z(d?S )@�UpdateConnectionDetailsz: Properties used in connection update operations. �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_CONNECTIONc K s� dddddddddddd�| _ ddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new UpdateConnectionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.data_integration.models.UpdateConnectionFromLake` * :class:`~oci.data_integration.models.UpdateConnectionFromOracleEbs` * :class:`~oci.data_integration.models.UpdateConnectionFromObjectStorage` * :class:`~oci.data_integration.models.UpdateConnectionFromBICC` * :class:`~oci.data_integration.models.UpdateConnectionFromRestNoAuth` * :class:`~oci.data_integration.models.UpdateConnectionFromHdfs` * :class:`~oci.data_integration.models.UpdateConnectionFromOAuth2` * :class:`~oci.data_integration.models.UpdateConnectionFromRestBasicAuth` * :class:`~oci.data_integration.models.UpdateConnectionFromOracleSiebel` * :class:`~oci.data_integration.models.UpdateConnectionFromMySqlHeatWave` * :class:`~oci.data_integration.models.UpdateConnectionFromBIP` * :class:`~oci.data_integration.models.UpdateConnectionFromMySQL` * :class:`~oci.data_integration.models.UpdateConnectionFromJdbc` * :class:`~oci.data_integration.models.UpdateConnectionFromAmazonS3` * :class:`~oci.data_integration.models.UpdateConnectionFromAtp` * :class:`~oci.data_integration.models.UpdateConnectionFromOracle` * :class:`~oci.data_integration.models.UpdateConnectionFromAdwc` * :class:`~oci.data_integration.models.UpdateConnectionFromOraclePeopleSoft` 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 UpdateConnectionDetails. 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 UpdateConnectionDetails. :type key: str :param model_version: The value to assign to the model_version property of this UpdateConnectionDetails. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this UpdateConnectionDetails. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this UpdateConnectionDetails. :type name: str :param description: The value to assign to the description property of this UpdateConnectionDetails. :type description: str :param object_status: The value to assign to the object_status property of this UpdateConnectionDetails. :type object_status: int :param object_version: The value to assign to the object_version property of this UpdateConnectionDetails. :type object_version: int :param identifier: The value to assign to the identifier property of this UpdateConnectionDetails. :type identifier: str :param connection_properties: The value to assign to the connection_properties property of this UpdateConnectionDetails. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param registry_metadata: The value to assign to the registry_metadata property of this UpdateConnectionDetails. :type registry_metadata: oci.data_integration.models.RegistryMetadata �strZParentReference�intzlist[ConnectionProperty]ZRegistryMetadata)� model_type�key� model_version� parent_ref�name�description� object_status�object_version� identifier�connection_properties�registry_metadata� modelTyper ZmodelVersionZ parentRefr r ZobjectStatusZ objectVersionr# ZconnectionPropertiesZregistryMetadataN) Z swagger_typesZ attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_status�_object_version�_identifier�_connection_properties�_registry_metadata)�self�kwargs� r4 �Y/usr/lib/python3.9/site-packages/oci/data_integration/models/update_connection_details.py�__init__Z sF I��z UpdateConnectionDetails.__init__c C s� | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS |dkr�dS |dkr�dS |dkr�dS |dkr�dS |dkr�dS |dkr�dS |d kr�d!S |d"kr�d#S |d$kr�d%S d&S d'S )(z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r&