ruạṛ
a N��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateDataAssetDetails� )�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 )�CreateDataAssetFromRestz1 Details to create Rest data asset type. c K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a Initializes a new CreateDataAssetFromRest object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.CreateDataAssetFromRest.model_type` attribute of this class is ``REST_DATA_ASSET`` 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 CreateDataAssetFromRest. 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 CreateDataAssetFromRest. :type key: str :param model_version: The value to assign to the model_version property of this CreateDataAssetFromRest. :type model_version: str :param name: The value to assign to the name property of this CreateDataAssetFromRest. :type name: str :param description: The value to assign to the description property of this CreateDataAssetFromRest. :type description: str :param object_status: The value to assign to the object_status property of this CreateDataAssetFromRest. :type object_status: int :param identifier: The value to assign to the identifier property of this CreateDataAssetFromRest. :type identifier: str :param external_key: The value to assign to the external_key property of this CreateDataAssetFromRest. :type external_key: str :param asset_properties: The value to assign to the asset_properties property of this CreateDataAssetFromRest. :type asset_properties: dict(str, str) :param registry_metadata: The value to assign to the registry_metadata property of this CreateDataAssetFromRest. :type registry_metadata: oci.data_integration.models.RegistryMetadata :param base_url: The value to assign to the base_url property of this CreateDataAssetFromRest. :type base_url: str :param manifest_file_content: The value to assign to the manifest_file_content property of this CreateDataAssetFromRest. :type manifest_file_content: str :param default_connection: The value to assign to the default_connection property of this CreateDataAssetFromRest. :type default_connection: oci.data_integration.models.CreateConnectionDetails �str�intzdict(str, str)�RegistryMetadata�CreateConnectionDetails) � model_type�key� model_version�name�description� object_status� identifier�external_key�asset_properties�registry_metadata�base_url�manifest_file_content�default_connection� modelTyper �modelVersionr r �objectStatusr �externalKey�assetProperties�registryMetadata�baseUrl�manifestFileContent�defaultConnectionN�REST_DATA_ASSET)� swagger_types� attribute_map�_model_type�_key�_model_version�_name�_description�_object_status�_identifier� _external_key�_asset_properties�_registry_metadata� _base_url�_manifest_file_content�_default_connection)�self�kwargs� r5 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/create_data_asset_from_rest.py�__init__ sT =��z CreateDataAssetFromRest.__init__c C s | j S )z� **[Required]** Gets the base_url of this CreateDataAssetFromRest. The base url of the rest server. :return: The base_url of this CreateDataAssetFromRest. :rtype: str �r0 �r3 r5 r5 r6 r { s z CreateDataAssetFromRest.base_urlc C s || _ dS )z� Sets the base_url of this CreateDataAssetFromRest. The base url of the rest server. :param base_url: The base_url of this CreateDataAssetFromRest. :type: str Nr8 )r3 r r5 r5 r6 r � s c C s | j S )z� **[Required]** Gets the manifest_file_content of this CreateDataAssetFromRest. The manifest file content of the rest APIs. :return: The manifest_file_content of this CreateDataAssetFromRest. :rtype: str �r1 r9 r5 r5 r6 r � s z-CreateDataAssetFromRest.manifest_file_contentc C s || _ dS )z� Sets the manifest_file_content of this CreateDataAssetFromRest. The manifest file content of the rest APIs. :param manifest_file_content: The manifest_file_content of this CreateDataAssetFromRest. :type: str Nr: )r3 r r5 r5 r6 r � s c C s | j S )z� **[Required]** Gets the default_connection of this CreateDataAssetFromRest. :return: The default_connection of this CreateDataAssetFromRest. :rtype: oci.data_integration.models.CreateConnectionDetails �r2 r9 r5 r5 r6 r � s z*CreateDataAssetFromRest.default_connectionc C s || _ dS )z� Sets the default_connection of this CreateDataAssetFromRest. :param default_connection: The default_connection of this CreateDataAssetFromRest. :type: oci.data_integration.models.CreateConnectionDetails Nr; )r3 r r5 r5 r6 r � s c C s t | �S �N)r r9 r5 r5 r6 �__repr__� s z CreateDataAssetFromRest.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r3 �otherr5 r5 r6 �__eq__� s zCreateDataAssetFromRest.__eq__c C s | |k S r<