ruạṛ
a N��f�? � @ 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 @ sh e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zd.d/� Zd0d1� Zd2d3� Zd4S )5�CreateDataAssetDetailsz: Properties used in data asset update operations. �ORACLE_DATA_ASSET� ORACLE_OBJECT_STORAGE_DATA_ASSET�ORACLE_ATP_DATA_ASSET�ORACLE_ADWC_DATA_ASSET�MYSQL_DATA_ASSET�GENERIC_JDBC_DATA_ASSET�FUSION_APP_DATA_ASSET�AMAZON_S3_DATA_ASSET�LAKE_HOUSE_DATA_ASSET�REST_DATA_ASSETc K sx ddddddddddd� | _ dddd d ddd ddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )a� Initializes a new CreateDataAssetDetails 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.CreateDataAssetFromJdbc` * :class:`~oci.data_integration.models.CreateDataAssetFromMySQL` * :class:`~oci.data_integration.models.CreateDataAssetFromOracle` * :class:`~oci.data_integration.models.CreateDataAssetFromAdwc` * :class:`~oci.data_integration.models.CreateDataAssetFromAmazonS3` * :class:`~oci.data_integration.models.CreateDataAssetFromRest` * :class:`~oci.data_integration.models.CreateDataAssetFromFusionApp` * :class:`~oci.data_integration.models.CreateDataAssetFromLakehouse` * :class:`~oci.data_integration.models.CreateDataAssetFromAtp` * :class:`~oci.data_integration.models.CreateDataAssetFromObjectStorage` 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 CreateDataAssetDetails. Allowed values for this property are: "ORACLE_DATA_ASSET", "ORACLE_OBJECT_STORAGE_DATA_ASSET", "ORACLE_ATP_DATA_ASSET", "ORACLE_ADWC_DATA_ASSET", "MYSQL_DATA_ASSET", "GENERIC_JDBC_DATA_ASSET", "FUSION_APP_DATA_ASSET", "AMAZON_S3_DATA_ASSET", "LAKE_HOUSE_DATA_ASSET", "REST_DATA_ASSET" :type model_type: str :param key: The value to assign to the key property of this CreateDataAssetDetails. :type key: str :param model_version: The value to assign to the model_version property of this CreateDataAssetDetails. :type model_version: str :param name: The value to assign to the name property of this CreateDataAssetDetails. :type name: str :param description: The value to assign to the description property of this CreateDataAssetDetails. :type description: str :param object_status: The value to assign to the object_status property of this CreateDataAssetDetails. :type object_status: int :param identifier: The value to assign to the identifier property of this CreateDataAssetDetails. :type identifier: str :param external_key: The value to assign to the external_key property of this CreateDataAssetDetails. :type external_key: str :param asset_properties: The value to assign to the asset_properties property of this CreateDataAssetDetails. :type asset_properties: dict(str, str) :param registry_metadata: The value to assign to the registry_metadata property of this CreateDataAssetDetails. :type registry_metadata: oci.data_integration.models.RegistryMetadata �str�intzdict(str, str)�RegistryMetadata) � model_type�key� model_version�name�description� object_status� identifier�external_key�asset_properties�registry_metadata� modelTyper �modelVersionr r �objectStatusr �externalKey�assetProperties�registryMetadataN)� swagger_types� attribute_map�_model_type�_key�_model_version�_name�_description�_object_status�_identifier� _external_key�_asset_properties�_registry_metadata)�self�kwargs� r2 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/create_data_asset_details.py�__init__8 s@ =�� zCreateDataAssetDetails.__init__c C s� | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS |dkr�dS dS dS )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 r �CreateDataAssetFromJdbcr �CreateDataAssetFromMySQLr �CreateDataAssetFromOracler �CreateDataAssetFromAdwcr �CreateDataAssetFromAmazonS3r �CreateDataAssetFromRestr �CreateDataAssetFromFusionAppr �CreateDataAssetFromLakehouser �CreateDataAssetFromAtpr � CreateDataAssetFromObjectStorager Nr2 )�object_dictionary�typer2 r2 r3 �get_subtype� s, z"CreateDataAssetDetails.get_subtypec C s | j S )a� **[Required]** Gets the model_type of this CreateDataAssetDetails. The type of the data asset. Allowed values for this property are: "ORACLE_DATA_ASSET", "ORACLE_OBJECT_STORAGE_DATA_ASSET", "ORACLE_ATP_DATA_ASSET", "ORACLE_ADWC_DATA_ASSET", "MYSQL_DATA_ASSET", "GENERIC_JDBC_DATA_ASSET", "FUSION_APP_DATA_ASSET", "AMAZON_S3_DATA_ASSET", "LAKE_HOUSE_DATA_ASSET", "REST_DATA_ASSET" :return: The model_type of this CreateDataAssetDetails. :rtype: str )r&