ruạṛ
a ���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 @ sl e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd Zdd� 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/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Z e jd9d8� �Z ed:d;� �Z!e!jd<d;� �Z!ed=d>� �Z"e"jd?d>� �Z"ed@dA� �Z#e#jdBdA� �Z#edCdD� �Z$e$jdEdD� �Z$edFdG� �Z%e%jdHdG� �Z%edIdJ� �Z&e&jdKdJ� �Z&edLdM� �Z'e'jdNdM� �Z'edOdP� �Z(e(jdQdP� �Z(edRdS� �Z)e)jdTdS� �Z)edUdV� �Z*e*jdWdV� �Z*edXdY� �Z+e+jdZdY� �Z+ed[d\� �Z,e,jd]d\� �Z,ed^d_� �Z-e-jd`d_� �Z-edadb� �Z.e.jdcdb� �Z.eddde� �Z/e/jdfde� �Z/edgdh� �Z0e0jdidh� �Z0djdk� Z1dldm� Z2dndo� Z3dpS )q�Entityz� Data entity details. A representation of data with a set of attributes, normally representing a single business entity. Synonymous with 'table' or 'view' in a database, or a single logical file structure that one or many files may match. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�MOVING�COMPLETE�ERROR�IN_PROGRESS�DEFERREDc K s@ ddddddddddddddddddddddddddddddd�| _ dd d ddd ddddddddddddddddddd d!d"d#d$d%d�| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _ d&| _ d&| _d&| _d&| _ d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&S )'a� Initializes a new Entity 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 Entity. :type key: str :param display_name: The value to assign to the display_name property of this Entity. :type display_name: str :param business_name: The value to assign to the business_name property of this Entity. :type business_name: str :param description: The value to assign to the description property of this Entity. :type description: str :param time_created: The value to assign to the time_created property of this Entity. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Entity. :type time_updated: datetime :param created_by_id: The value to assign to the created_by_id property of this Entity. :type created_by_id: str :param updated_by_id: The value to assign to the updated_by_id property of this Entity. :type updated_by_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Entity. 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 lifecycle_details: The value to assign to the lifecycle_details property of this Entity. :type lifecycle_details: str :param external_key: The value to assign to the external_key property of this Entity. :type external_key: str :param pattern_key: The value to assign to the pattern_key property of this Entity. :type pattern_key: str :param realized_expression: The value to assign to the realized_expression property of this Entity. :type realized_expression: str :param time_external: The value to assign to the time_external property of this Entity. :type time_external: datetime :param time_harvested: The value to assign to the time_harvested property of this Entity. :type time_harvested: datetime :param object_relationships: The value to assign to the object_relationships property of this Entity. :type object_relationships: list[oci.data_catalog.models.ObjectRelationship] :param time_status_updated: The value to assign to the time_status_updated property of this Entity. :type time_status_updated: datetime :param is_logical: The value to assign to the is_logical property of this Entity. :type is_logical: bool :param is_partition: The value to assign to the is_partition property of this Entity. :type is_partition: bool :param data_asset_key: The value to assign to the data_asset_key property of this Entity. :type data_asset_key: str :param folder_key: The value to assign to the folder_key property of this Entity. :type folder_key: str :param folder_name: The value to assign to the folder_name property of this Entity. :type folder_name: str :param path: The value to assign to the path property of this Entity. :type path: str :param harvest_status: The value to assign to the harvest_status property of this Entity. Allowed values for this property are: "COMPLETE", "ERROR", "IN_PROGRESS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type harvest_status: str :param last_job_key: The value to assign to the last_job_key property of this Entity. :type last_job_key: str :param type_key: The value to assign to the type_key property of this Entity. :type type_key: str :param uri: The value to assign to the uri property of this Entity. :type uri: str :param object_storage_url: The value to assign to the object_storage_url property of this Entity. :type object_storage_url: str :param custom_property_members: The value to assign to the custom_property_members property of this Entity. :type custom_property_members: list[oci.data_catalog.models.CustomPropertyGetUsage] :param properties: The value to assign to the properties property of this Entity. :type properties: dict(str, dict(str, str)) �strZdatetimezlist[ObjectRelationship]�boolzlist[CustomPropertyGetUsage]zdict(str, dict(str, str)))�key�display_name� business_name�description�time_created�time_updated� created_by_id� updated_by_id�lifecycle_state�lifecycle_details�external_key�pattern_key�realized_expression� time_external�time_harvested�object_relationships�time_status_updated� is_logical�is_partition�data_asset_key� folder_key�folder_name�path�harvest_status�last_job_key�type_key�uri�object_storage_url�custom_property_members� propertiesr ZdisplayNameZbusinessNamer ZtimeCreatedZtimeUpdatedZcreatedByIdZupdatedByIdZlifecycleStateZlifecycleDetailsZexternalKeyZ patternKeyZrealizedExpressionZtimeExternalZ timeHarvestedZobjectRelationshipsZtimeStatusUpdatedZ isLogicalZisPartitionZdataAssetKeyZ folderKeyZ folderNamer+ Z harvestStatusZ lastJobKeyZtypeKeyr/ ZobjectStorageUrlZcustomPropertyMembersr2 N) Z swagger_typesZ attribute_map�_key� _display_name�_business_name�_description� _time_created� _time_updated�_created_by_id�_updated_by_id�_lifecycle_state�_lifecycle_details� _external_key�_pattern_key�_realized_expression�_time_external�_time_harvested�_object_relationships�_time_status_updated�_is_logical� _is_partition�_data_asset_key�_folder_key�_folder_name�_path�_harvest_status� _last_job_key� _type_key�_uri�_object_storage_url�_custom_property_members�_properties)�self�kwargs� rS �B/usr/lib/python3.9/site-packages/oci/data_catalog/models/entity.py�__init__D s� �"�!zEntity.__init__c C s | j S )z� **[Required]** Gets the key of this Entity. Unique data entity key that is immutable. :return: The key of this Entity. :rtype: str �r3 �rQ rS rS rT r ' s z Entity.keyc C s || _ dS )z� Sets the key of this Entity. Unique data entity key that is immutable. :param key: The key of this Entity. :type: str NrV )rQ r rS rS rT r 3 s c C s | j S )a Gets the display_name of this Entity. 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 Entity. :rtype: str �r4 rW rS rS rT r ? s zEntity.display_namec C s || _ dS )a Sets the display_name of this Entity. 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 Entity. :type: str NrX )rQ r rS rS rT r L s c C s | j S )a Gets the business_name of this Entity. Optional user friendly business name of the data entity. If set, this supplements the harvested display name of the object. :return: The business_name of this Entity. :rtype: str �r5 rW rS rS rT r Y s zEntity.business_namec C s || _ dS )a Sets the business_name of this Entity. Optional user friendly business name of the data entity. If set, this supplements the harvested display name of the object. :param business_name: The business_name of this Entity. :type: str NrY )rQ r rS rS rT r e s c C s | j S )z� Gets the description of this Entity. Detailed description of a data entity. :return: The description of this Entity. :rtype: str �r6 rW rS rS rT r q s zEntity.descriptionc C s || _ dS )z� Sets the description of this Entity. Detailed description of a data entity. :param description: The description of this Entity. :type: str NrZ )rQ r rS rS rT r } s c C s | j S )a= Gets the time_created of this Entity. The date and time the data entity 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 Entity. :rtype: datetime �r7 rW rS rS rT r � s zEntity.time_createdc C s || _ dS )aH Sets the time_created of this Entity. The date and time the data entity 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 Entity. :type: datetime Nr[ )rQ r rS rS rT r � s c C s | j S )a! Gets the time_updated of this Entity. The last time that any change was made to the data entity. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this Entity. :rtype: datetime �r8 rW rS rS rT r � s zEntity.time_updatedc C s || _ dS )a, Sets the time_updated of this Entity. The last time that any change was made to the data entity. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this Entity. :type: datetime Nr\ )rQ r rS rS rT r � s c C s | j S )z� Gets the created_by_id of this Entity. OCID of the user who created this object in the data catalog. :return: The created_by_id of this Entity. :rtype: str �r9 rW rS rS rT r � s zEntity.created_by_idc C s || _ dS )z� Sets the created_by_id of this Entity. OCID of the user who created this object in the data catalog. :param created_by_id: The created_by_id of this Entity. :type: str Nr] )rQ r rS rS rT r � s c C s | j S )z� Gets the updated_by_id of this Entity. OCID of the user who updated this object in the data catalog. :return: The updated_by_id of this Entity. :rtype: str �r: rW rS rS rT r � s zEntity.updated_by_idc C s || _ dS )z� Sets the updated_by_id of this Entity. OCID of the user who updated this object in the data catalog. :param updated_by_id: The updated_by_id of this Entity. :type: str Nr^ )rQ r rS rS rT r � s c C s | j S )a� Gets the lifecycle_state of this Entity. The current state of the data entity. 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 Entity. :rtype: str )r; rW rS rS rT r � s zEntity.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Entity. The current state of the data entity. :param lifecycle_state: The lifecycle_state of this Entity. :type: str )r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r; )rQ r �allowed_valuesrS rS rT r s c C s | j S )a6 Gets the lifecycle_details of this Entity. A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. :return: The lifecycle_details of this Entity. :rtype: str �r<