ruạṛ
a N��f�M � @ 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 d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Zd<d=� Zd>d?� Z d@dA� Z!dBS )C� DataAsseta: Data asset representation. A physical store, or stream, of data known to the data catalog and containing one or many data entities, possibly in an organized structure of folders. A data asset is often synonymous with a 'System', such as a database, or may be a file container or a message stream. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�MOVINGc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a* Initializes a new DataAsset object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this DataAsset. :type key: str :param display_name: The value to assign to the display_name property of this DataAsset. :type display_name: str :param description: The value to assign to the description property of this DataAsset. :type description: str :param catalog_id: The value to assign to the catalog_id property of this DataAsset. :type catalog_id: str :param external_key: The value to assign to the external_key property of this DataAsset. :type external_key: str :param type_key: The value to assign to the type_key property of this DataAsset. :type type_key: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DataAsset. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "MOVING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this DataAsset. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DataAsset. :type time_updated: datetime :param time_harvested: The value to assign to the time_harvested property of this DataAsset. :type time_harvested: datetime :param created_by_id: The value to assign to the created_by_id property of this DataAsset. :type created_by_id: str :param updated_by_id: The value to assign to the updated_by_id property of this DataAsset. :type updated_by_id: str :param uri: The value to assign to the uri property of this DataAsset. :type uri: str :param custom_property_members: The value to assign to the custom_property_members property of this DataAsset. :type custom_property_members: list[oci.data_catalog.models.CustomPropertyGetUsage] :param data_selector_patterns: The value to assign to the data_selector_patterns property of this DataAsset. :type data_selector_patterns: list[oci.data_catalog.models.PatternSummary] :param properties: The value to assign to the properties property of this DataAsset. :type properties: dict(str, dict(str, str)) �str�datetimezlist[CustomPropertyGetUsage]zlist[PatternSummary]zdict(str, dict(str, str)))�key�display_name�description� catalog_id�external_key�type_key�lifecycle_state�time_created�time_updated�time_harvested� created_by_id� updated_by_id�uri�custom_property_members�data_selector_patterns� propertiesr �displayNamer � catalogId�externalKey�typeKey�lifecycleState�timeCreated�timeUpdated� timeHarvested�createdById�updatedByIdr �customPropertyMembers�dataSelectorPatternsr N)� swagger_types� attribute_map�_key� _display_name�_description�_catalog_id� _external_key� _type_key�_lifecycle_state� _time_created� _time_updated�_time_harvested�_created_by_id�_updated_by_id�_uri�_custom_property_members�_data_selector_patterns�_properties)�self�kwargs� rA ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_catalog/models/data_asset.py�__init__2 sd I��zDataAsset.__init__c C s | j S )z� **[Required]** Gets the key of this DataAsset. Unique data asset key that is immutable. :return: The key of this DataAsset. :rtype: str �r/ �r? rA rA rB r � s z DataAsset.keyc C s || _ dS )z� Sets the key of this DataAsset. Unique data asset key that is immutable. :param key: The key of this DataAsset. :type: str NrD )r? r rA rA rB r � s c C s | j S )a Gets the display_name of this DataAsset. A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this DataAsset. :rtype: str �r0 rE rA rA rB r � s zDataAsset.display_namec C s || _ dS )a Sets the display_name of this DataAsset. A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this DataAsset. :type: str NrF )r? r rA rA rB r � s c C s | j S )z� Gets the description of this DataAsset. Detailed description of the data asset. :return: The description of this DataAsset. :rtype: str �r1 rE rA rA rB r � s zDataAsset.descriptionc C s || _ dS )z� Sets the description of this DataAsset. Detailed description of the data asset. :param description: The description of this DataAsset. :type: str NrG )r? r rA rA rB r � s c C s | j S )z� Gets the catalog_id of this DataAsset. The data catalog's OCID. :return: The catalog_id of this DataAsset. :rtype: str �r2 rE rA rA rB r � s zDataAsset.catalog_idc C s || _ dS )z� Sets the catalog_id of this DataAsset. The data catalog's OCID. :param catalog_id: The catalog_id of this DataAsset. :type: str NrH )r? r rA rA rB r s c C s | j S )z� Gets the external_key of this DataAsset. External URI that can be used to reference the object. Format will differ based on the type of object. :return: The external_key of this DataAsset. :rtype: str �r3 rE rA rA rB r s zDataAsset.external_keyc C s || _ dS )z� Sets the external_key of this DataAsset. External URI that can be used to reference the object. Format will differ based on the type of object. :param external_key: The external_key of this DataAsset. :type: str NrI )r? r rA rA rB r s c C s | j S )z� Gets the type_key of this DataAsset. The key of the object type. Type key's can be found via the '/types' endpoint. :return: The type_key of this DataAsset. :rtype: str �r4 rE rA rA rB r + s zDataAsset.type_keyc C s || _ dS )z� Sets the type_key of this DataAsset. The key of the object type. Type key's can be found via the '/types' endpoint. :param type_key: The type_key of this DataAsset. :type: str NrJ )r? r rA rA rB r 7 s c C s | j S )a� Gets the lifecycle_state of this DataAsset. The current state of the data asset. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "MOVING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this DataAsset. :rtype: str )r5 rE rA rA rB r C s zDataAsset.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this DataAsset. The current state of the data asset. :param lifecycle_state: The lifecycle_state of this DataAsset. :type: str )r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r5 )r? r �allowed_valuesrA rA rB r R s c C s | j S )aB Gets the time_created of this DataAsset. The date and time the data asset was created, in the format defined by `RFC3339`__. Example: `2019-03-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this DataAsset. :rtype: datetime �r6 rE rA rA rB r a s zDataAsset.time_createdc C s || _ dS )aM Sets the time_created of this DataAsset. The date and time the data asset was created, in the format defined by `RFC3339`__. Example: `2019-03-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this DataAsset. :type: datetime NrM )r? r rA rA rB r p s c C s | j S )a& Gets the time_updated of this DataAsset. The last time that any change was made to the data asset. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this DataAsset. :rtype: datetime �r7 rE rA rA rB r s zDataAsset.time_updatedc C s || _ dS )a1 Sets the time_updated of this DataAsset. The last time that any change was made to the data asset. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this DataAsset. :type: datetime NrN )r? r rA rA rB r � s c C s | j S )a. Gets the time_harvested of this DataAsset. The last time that a harvest was performed on the data asset. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :return: The time_harvested of this DataAsset. :rtype: datetime �r8 rE rA rA rB r � s zDataAsset.time_harvestedc C s || _ dS )a; Sets the time_harvested of this DataAsset. The last time that a harvest was performed on the data asset. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :param time_harvested: The time_harvested of this DataAsset. :type: datetime NrO )r? r rA rA rB r � s c C s | j S )z� Gets the created_by_id of this DataAsset. OCID of the user who created the data asset. :return: The created_by_id of this DataAsset. :rtype: str �r9 rE rA rA rB r � s zDataAsset.created_by_idc C s || _ dS )z� Sets the created_by_id of this DataAsset. OCID of the user who created the data asset. :param created_by_id: The created_by_id of this DataAsset. :type: str NrP )r? r rA rA rB r � s c C s | j S )z� Gets the updated_by_id of this DataAsset. OCID of the user who last modified the data asset. :return: The updated_by_id of this DataAsset. :rtype: str �r: rE rA rA rB r � s zDataAsset.updated_by_idc C s || _ dS )z� Sets the updated_by_id of this DataAsset. OCID of the user who last modified the data asset. :param updated_by_id: The updated_by_id of this DataAsset. :type: str NrQ )r? r rA rA rB r � s c C s | j S )z� Gets the uri of this DataAsset. URI to the data asset instance in the API. :return: The uri of this DataAsset. :rtype: str �r; rE rA rA rB r � s z DataAsset.uric C s || _ dS )z� Sets the uri of this DataAsset. URI to the data asset instance in the API. :param uri: The uri of this DataAsset. :type: str NrR )r? r rA rA rB r � s c C s | j S )a Gets the custom_property_members of this DataAsset. The list of customized properties along with the values for this object :return: The custom_property_members of this DataAsset. :rtype: list[oci.data_catalog.models.CustomPropertyGetUsage] �r<