ruạṛ
a N��f�C � @ 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 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,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Z d7S )8�UpdateDataAssetDetailsz: 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 s� dddddddddddd�| _ dddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )aU Initializes a new UpdateDataAssetDetails 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.UpdateDataAssetFromRest` * :class:`~oci.data_integration.models.UpdateDataAssetFromAtp` * :class:`~oci.data_integration.models.UpdateDataAssetFromLakehouse` * :class:`~oci.data_integration.models.UpdateDataAssetFromAdwc` * :class:`~oci.data_integration.models.UpdateDataAssetFromJdbc` * :class:`~oci.data_integration.models.UpdateDataAssetFromObjectStorage` * :class:`~oci.data_integration.models.UpdateDataAssetFromAmazonS3` * :class:`~oci.data_integration.models.UpdateDataAssetFromFusionApp` * :class:`~oci.data_integration.models.UpdateDataAssetFromMySQL` * :class:`~oci.data_integration.models.UpdateDataAssetFromOracle` 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 UpdateDataAssetDetails. 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 UpdateDataAssetDetails. :type key: str :param model_version: The value to assign to the model_version property of this UpdateDataAssetDetails. :type model_version: str :param name: The value to assign to the name property of this UpdateDataAssetDetails. :type name: str :param description: The value to assign to the description property of this UpdateDataAssetDetails. :type description: str :param object_status: The value to assign to the object_status property of this UpdateDataAssetDetails. :type object_status: int :param object_version: The value to assign to the object_version property of this UpdateDataAssetDetails. :type object_version: int :param identifier: The value to assign to the identifier property of this UpdateDataAssetDetails. :type identifier: str :param external_key: The value to assign to the external_key property of this UpdateDataAssetDetails. :type external_key: str :param asset_properties: The value to assign to the asset_properties property of this UpdateDataAssetDetails. :type asset_properties: dict(str, str) :param registry_metadata: The value to assign to the registry_metadata property of this UpdateDataAssetDetails. :type registry_metadata: oci.data_integration.models.RegistryMetadata �str�intzdict(str, str)�RegistryMetadata)� model_type�key� model_version�name�description� object_status�object_version� identifier�external_key�asset_properties�registry_metadata� modelTyper �modelVersionr r �objectStatus� objectVersionr �externalKey�assetProperties�registryMetadataN) � swagger_types� attribute_map�_model_type�_key�_model_version�_name�_description�_object_status�_object_version�_identifier� _external_key�_asset_properties�_registry_metadata)�self�kwargs� r5 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/update_data_asset_details.py�__init__8 sF A��zUpdateDataAssetDetails.__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 �UpdateDataAssetFromRestr �UpdateDataAssetFromAtpr �UpdateDataAssetFromLakehouser �UpdateDataAssetFromAdwcr �UpdateDataAssetFromJdbcr � UpdateDataAssetFromObjectStorager �UpdateDataAssetFromAmazonS3r �UpdateDataAssetFromFusionAppr �UpdateDataAssetFromMySQLr �UpdateDataAssetFromOracler Nr5 )�object_dictionary�typer5 r5 r6 �get_subtype� s, z"UpdateDataAssetDetails.get_subtypec C s | j S )a� **[Required]** Gets the model_type of this UpdateDataAssetDetails. 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 UpdateDataAssetDetails. :rtype: str )r( �r3 r5 r5 r6 r � s z!UpdateDataAssetDetails.model_typec C s* g d�}t ||�s td�|���|| _dS )z� Sets the model_type of this UpdateDataAssetDetails. The type of the data asset. :param model_type: The model_type of this UpdateDataAssetDetails. :type: str ) r r r r r r r r r r z:Invalid value for `model_type`, must be None or one of {0}N)r � ValueError�formatr( )r3 r �allowed_valuesr5 r5 r6 r � s ��c C s | j S )z� **[Required]** Gets the key of this UpdateDataAssetDetails. Generated key that can be used in API calls to identify data asset. :return: The key of this UpdateDataAssetDetails. :rtype: str �r) rE r5 r5 r6 r � s zUpdateDataAssetDetails.keyc C s || _ dS )z� Sets the key of this UpdateDataAssetDetails. Generated key that can be used in API calls to identify data asset. :param key: The key of this UpdateDataAssetDetails. :type: str NrI )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the model_version of this UpdateDataAssetDetails. The model version of an object. :return: The model_version of this UpdateDataAssetDetails. :rtype: str �r* rE r5 r5 r6 r s z$UpdateDataAssetDetails.model_versionc C s || _ dS )z� Sets the model_version of this UpdateDataAssetDetails. The model version of an object. :param model_version: The model_version of this UpdateDataAssetDetails. :type: str NrJ )r3 r r5 r5 r6 r s c C s | j S )aK Gets the name of this UpdateDataAssetDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :return: The name of this UpdateDataAssetDetails. :rtype: str �r+ rE r5 r5 r6 r s zUpdateDataAssetDetails.namec C s || _ dS )aN Sets the name of this UpdateDataAssetDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param name: The name of this UpdateDataAssetDetails. :type: str NrK )r3 r r5 r5 r6 r $ s c C s | j S )z� Gets the description of this UpdateDataAssetDetails. The user-defined description of the data asset. :return: The description of this UpdateDataAssetDetails. :rtype: str �r, rE r5 r5 r6 r 0 s z"UpdateDataAssetDetails.descriptionc C s || _ dS )z� Sets the description of this UpdateDataAssetDetails. The user-defined description of the data asset. :param description: The description of this UpdateDataAssetDetails. :type: str NrL )r3 r r5 r5 r6 r < s c C s | j S )a Gets the object_status of this UpdateDataAssetDetails. The status of an object that can be set to value 1 for shallow references across objects, other values reserved. :return: The object_status of this UpdateDataAssetDetails. :rtype: int �r- rE r5 r5 r6 r H s z$UpdateDataAssetDetails.object_statusc C s || _ dS )a& Sets the object_status of this UpdateDataAssetDetails. The status of an object that can be set to value 1 for shallow references across objects, other values reserved. :param object_status: The object_status of this UpdateDataAssetDetails. :type: int NrM )r3 r r5 r5 r6 r T s c C s | j S )a **[Required]** Gets the object_version of this UpdateDataAssetDetails. The version of the object that is used to track changes in the object instance. :return: The object_version of this UpdateDataAssetDetails. :rtype: int �r. rE r5 r5 r6 r ` s z%UpdateDataAssetDetails.object_versionc C s || _ dS )a Sets the object_version of this UpdateDataAssetDetails. The version of the object that is used to track changes in the object instance. :param object_version: The object_version of this UpdateDataAssetDetails. :type: int NrN )r3 r r5 r5 r6 r l s c C s | j S )a8 Gets the identifier of this UpdateDataAssetDetails. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. :return: The identifier of this UpdateDataAssetDetails. :rtype: str �r/ rE r5 r5 r6 r x s z!UpdateDataAssetDetails.identifierc C s || _ dS )aA Sets the identifier of this UpdateDataAssetDetails. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. :param identifier: The identifier of this UpdateDataAssetDetails. :type: str NrO )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the external_key of this UpdateDataAssetDetails. The external key for the object. :return: The external_key of this UpdateDataAssetDetails. :rtype: str �r0 rE r5 r5 r6 r � s z#UpdateDataAssetDetails.external_keyc C s || _ dS )z� Sets the external_key of this UpdateDataAssetDetails. The external key for the object. :param external_key: The external_key of this UpdateDataAssetDetails. :type: str NrP )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the asset_properties of this UpdateDataAssetDetails. Additional properties for the data asset. :return: The asset_properties of this UpdateDataAssetDetails. :rtype: dict(str, str) �r1 rE r5 r5 r6 r � s z'UpdateDataAssetDetails.asset_propertiesc C s || _ dS )z� Sets the asset_properties of this UpdateDataAssetDetails. Additional properties for the data asset. :param asset_properties: The asset_properties of this UpdateDataAssetDetails. :type: dict(str, str) NrQ )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the registry_metadata of this UpdateDataAssetDetails. :return: The registry_metadata of this UpdateDataAssetDetails. :rtype: oci.data_integration.models.RegistryMetadata �r2 rE r5 r5 r6 r � s z(UpdateDataAssetDetails.registry_metadatac C s || _ dS )z� Sets the registry_metadata of this UpdateDataAssetDetails. :param registry_metadata: The registry_metadata of this UpdateDataAssetDetails. :type: oci.data_integration.models.RegistryMetadata NrR )r3 r r5 r5 r6 r � s c C s t | �S �N)r rE r5 r5 r6 �__repr__� s zUpdateDataAssetDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r3 �otherr5 r5 r6 �__eq__� s zUpdateDataAssetDetails.__eq__c C s | |k S rS r5 rV r5 r5 r6 �__ne__� s zUpdateDataAssetDetails.__ne__N)!�__name__� __module__�__qualname__�__doc__�MODEL_TYPE_ORACLE_DATA_ASSET�+MODEL_TYPE_ORACLE_OBJECT_STORAGE_DATA_ASSET� MODEL_TYPE_ORACLE_ATP_DATA_ASSET�!MODEL_TYPE_ORACLE_ADWC_DATA_ASSET�MODEL_TYPE_MYSQL_DATA_ASSET�"MODEL_TYPE_GENERIC_JDBC_DATA_ASSET� MODEL_TYPE_FUSION_APP_DATA_ASSET�MODEL_TYPE_AMAZON_S3_DATA_ASSET� MODEL_TYPE_LAKE_HOUSE_DATA_ASSET�MODEL_TYPE_REST_DATA_ASSETr7 �staticmethodrD �propertyr �setterr r r r r r r r r r rT rX rY r5 r5 r5 r6 r sz h ' r N)�oci.utilr r r �oci.decoratorsr �objectr r5 r5 r5 r6 �<module> s
cải xoăn