ruạṛ
a ���f_n � @ 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 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*dXdY� Z+dZd[� Z,d\d]� Z-d^S )_�Foldera� A generic term used in the data catalog for an external organization concept used for a collection of data entities or processes within a data asset. This term is an internal term which models multiple external types of folder, such as file directories, database schemas, and so on. Some data assets, such as Object Store containers, may contain many levels of folders. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�MOVING�COMPLETE�ERROR�IN_PROGRESS�DEFERREDc K s ddddddddddddddddddddddddd�| _ ddd d ddd dddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS ) a\ Initializes a new Folder 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 Folder. :type key: str :param display_name: The value to assign to the display_name property of this Folder. :type display_name: str :param business_name: The value to assign to the business_name property of this Folder. :type business_name: str :param description: The value to assign to the description property of this Folder. :type description: str :param parent_folder_key: The value to assign to the parent_folder_key property of this Folder. :type parent_folder_key: str :param type_key: The value to assign to the type_key property of this Folder. :type type_key: str :param time_harvested: The value to assign to the time_harvested property of this Folder. :type time_harvested: datetime :param object_relationships: The value to assign to the object_relationships property of this Folder. :type object_relationships: list[oci.data_catalog.models.ObjectRelationship] :param path: The value to assign to the path property of this Folder. :type path: str :param data_asset_key: The value to assign to the data_asset_key property of this Folder. :type data_asset_key: str :param custom_property_members: The value to assign to the custom_property_members property of this Folder. :type custom_property_members: list[oci.data_catalog.models.CustomPropertyGetUsage] :param properties: The value to assign to the properties property of this Folder. :type properties: dict(str, dict(str, str)) :param external_key: The value to assign to the external_key property of this Folder. :type external_key: str :param time_created: The value to assign to the time_created property of this Folder. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Folder. :type time_updated: datetime :param created_by_id: The value to assign to the created_by_id property of this Folder. :type created_by_id: str :param updated_by_id: The value to assign to the updated_by_id property of this Folder. :type updated_by_id: str :param time_external: The value to assign to the time_external property of this Folder. :type time_external: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Folder. 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 Folder. :type lifecycle_details: str :param harvest_status: The value to assign to the harvest_status property of this Folder. 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 Folder. :type last_job_key: str :param uri: The value to assign to the uri property of this Folder. :type uri: str :param object_storage_url: The value to assign to the object_storage_url property of this Folder. :type object_storage_url: str �strZdatetimezlist[ObjectRelationship]zlist[CustomPropertyGetUsage]zdict(str, dict(str, str)))�key�display_name� business_name�description�parent_folder_key�type_key�time_harvested�object_relationships�path�data_asset_key�custom_property_members� properties�external_key�time_created�time_updated� created_by_id� updated_by_id� time_external�lifecycle_state�lifecycle_details�harvest_status�last_job_key�uri�object_storage_urlr ZdisplayNameZbusinessNamer ZparentFolderKeyZtypeKeyZ timeHarvestedZobjectRelationshipsr ZdataAssetKeyZcustomPropertyMembersr ZexternalKeyZtimeCreatedZtimeUpdatedZcreatedByIdZupdatedByIdZtimeExternalZlifecycleStateZlifecycleDetailsZ harvestStatusZ lastJobKeyr* ZobjectStorageUrlN)Z swagger_typesZ attribute_map�_key� _display_name�_business_name�_description�_parent_folder_key� _type_key�_time_harvested�_object_relationships�_path�_data_asset_key�_custom_property_members�_properties� _external_key� _time_created� _time_updated�_created_by_id�_updated_by_id�_time_external�_lifecycle_state�_lifecycle_details�_harvest_status� _last_job_key�_uri�_object_storage_url)�self�kwargs� rF �B/usr/lib/python3.9/site-packages/oci/data_catalog/models/folder.py�__init__E s� k��zFolder.__init__c C s | j S )z� **[Required]** Gets the key of this Folder. Unique folder key that is immutable. :return: The key of this Folder. :rtype: str �r, �rD rF rF rG r � s z Folder.keyc C s || _ dS )z� Sets the key of this Folder. Unique folder key that is immutable. :param key: The key of this Folder. :type: str NrI )rD r rF rF rG r s c C s | j S )a Gets the display_name of this Folder. 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 Folder. :rtype: str �r- rJ rF rF rG r s zFolder.display_namec C s || _ dS )a Sets the display_name of this Folder. 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 Folder. :type: str NrK )rD r rF rF rG r # s c C s | j S )a Gets the business_name of this Folder. Optional user friendly business name of the folder. If set, this supplements the harvested display name of the object. :return: The business_name of this Folder. :rtype: str �r. rJ rF rF rG r 0 s zFolder.business_namec C s || _ dS )a Sets the business_name of this Folder. Optional user friendly business name of the folder. If set, this supplements the harvested display name of the object. :param business_name: The business_name of this Folder. :type: str NrL )rD r rF rF rG r < s c C s | j S )z� Gets the description of this Folder. Detailed description of a folder. :return: The description of this Folder. :rtype: str �r/ rJ rF rF rG r H s zFolder.descriptionc C s || _ dS )z� Sets the description of this Folder. Detailed description of a folder. :param description: The description of this Folder. :type: str NrM )rD r rF rF rG r T s c C s | j S )z� Gets the parent_folder_key of this Folder. The unique key of the containing folder or null if there is no parent folder. :return: The parent_folder_key of this Folder. :rtype: str �r0 rJ rF rF rG r ` s zFolder.parent_folder_keyc C s || _ dS )z� Sets the parent_folder_key of this Folder. The unique key of the containing folder or null if there is no parent folder. :param parent_folder_key: The parent_folder_key of this Folder. :type: str NrN )rD r rF rF rG r l s c C s | j S )z� Gets the type_key of this Folder. The type of folder object. Type keys can be found via the '/types' endpoint. :return: The type_key of this Folder. :rtype: str �r1 rJ rF rF rG r x s zFolder.type_keyc C s || _ dS )z� Sets the type_key of this Folder. The type of folder object. Type keys can be found via the '/types' endpoint. :param type_key: The type_key of this Folder. :type: str NrO )rD r rF rF rG r � s c C s | j S )a Gets the time_harvested of this Folder. The date and time the folder was harvested, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_harvested of this Folder. :rtype: datetime �r2 rJ rF rF rG r � s zFolder.time_harvestedc C s || _ dS )a Sets the time_harvested of this Folder. The date and time the folder was harvested, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_harvested: The time_harvested of this Folder. :type: datetime NrP )rD r rF rF rG r � s c C s | j S )z� Gets the object_relationships of this Folder. List of objects and their relationships to this folder. :return: The object_relationships of this Folder. :rtype: list[oci.data_catalog.models.ObjectRelationship] �r3 rJ rF rF rG r � s zFolder.object_relationshipsc C s || _ dS )a Sets the object_relationships of this Folder. List of objects and their relationships to this folder. :param object_relationships: The object_relationships of this Folder. :type: list[oci.data_catalog.models.ObjectRelationship] NrQ )rD r rF rF rG r � s c C s | j S )z� Gets the path of this Folder. Full path of the folder. :return: The path of this Folder. :rtype: str �r4 rJ rF rF rG r � s zFolder.pathc C s || _ dS )z� Sets the path of this Folder. Full path of the folder. :param path: The path of this Folder. :type: str NrR )rD r rF rF rG r � s c C s | j S )z� Gets the data_asset_key of this Folder. The key of the associated data asset. :return: The data_asset_key of this Folder. :rtype: str �r5 rJ rF rF rG r � s zFolder.data_asset_keyc C s || _ dS )z� Sets the data_asset_key of this Folder. The key of the associated data asset. :param data_asset_key: The data_asset_key of this Folder. :type: str NrS )rD r rF rF rG r � s c C s | j S )a Gets the custom_property_members of this Folder. The list of customized properties along with the values for this object :return: The custom_property_members of this Folder. :rtype: list[oci.data_catalog.models.CustomPropertyGetUsage] �r6 rJ rF rF rG r � s zFolder.custom_property_membersc C s || _ dS )a, Sets the custom_property_members of this Folder. The list of customized properties along with the values for this object :param custom_property_members: The custom_property_members of this Folder. :type: list[oci.data_catalog.models.CustomPropertyGetUsage] NrT )rD r rF rF rG r s c C s | j S )am Gets the properties of this Folder. A map of maps that contains the properties which are specific to the folder type. Each folder type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most folders have required properties within the "default" category. Example: `{"properties": { "default": { "key1": "value1"}}}` :return: The properties of this Folder. :rtype: dict(str, dict(str, str)) �r7 rJ rF rF rG r s zFolder.propertiesc C s || _ dS )av Sets the properties of this Folder. A map of maps that contains the properties which are specific to the folder type. Each folder type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most folders have required properties within the "default" category. Example: `{"properties": { "default": { "key1": "value1"}}}` :param properties: The properties of this Folder. :type: dict(str, dict(str, str)) NrU )rD r rF rF rG r s c C s | j S )z� Gets the external_key of this Folder. Unique external key of this object in the source system. :return: The external_key of this Folder. :rtype: str �r8 rJ rF rF rG r , s zFolder.external_keyc C s || _ dS )z� Sets the external_key of this Folder. Unique external key of this object in the source system. :param external_key: The external_key of this Folder. :type: str NrV )rD r rF rF rG r 8 s c C s | j S )a8 Gets the time_created of this Folder. The date and time the folder 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 Folder. :rtype: datetime �r9 rJ rF rF rG r! D s zFolder.time_createdc C s || _ dS )aC Sets the time_created of this Folder. The date and time the folder 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 Folder. :type: datetime NrW )rD r! rF rF rG r! S s c C s | j S )a Gets the time_updated of this Folder. The last time that any change was made to the folder. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this Folder. :rtype: datetime �r: rJ rF rF rG r"