o
    ɶd-                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   sh  e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd  Zejd!d  Zed"d# Zejd$d# Zed%d& Zejd'd& Zd(d) Zd*d+ Zd,d- Zd.S )/Folderzb
    The folder type contains the audit summary information and the definition of the folder.
    c                 K   s   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| _d| _dS )aL  
        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 model_type:
            The value to assign to the model_type property of this Folder.
        :type model_type: str

        :param model_version:
            The value to assign to the model_version property of this Folder.
        :type model_version: str

        :param name:
            The value to assign to the name property of this Folder.
        :type name: str

        :param description:
            The value to assign to the description property of this Folder.
        :type description: str

        :param category_name:
            The value to assign to the category_name property of this Folder.
        :type category_name: str

        :param object_status:
            The value to assign to the object_status property of this Folder.
        :type object_status: int

        :param identifier:
            The value to assign to the identifier property of this Folder.
        :type identifier: str

        :param parent_ref:
            The value to assign to the parent_ref property of this Folder.
        :type parent_ref: oci.data_integration.models.ParentReference

        :param object_version:
            The value to assign to the object_version property of this Folder.
        :type object_version: int

        :param metadata:
            The value to assign to the metadata property of this Folder.
        :type metadata: oci.data_integration.models.ObjectMetadata

        :param key_map:
            The value to assign to the key_map property of this Folder.
        :type key_map: dict(str, str)

        strintZParentReferenceZObjectMetadatazdict(str, str))key
model_typemodel_versionnamedescriptioncategory_nameobject_status
identifier
parent_refobject_versionmetadatakey_mapr	   Z	modelTypeZmodelVersionr   r   ZcategoryNameZobjectStatusr   Z	parentRefZobjectVersionr   ZkeyMapN)Zswagger_typesZattribute_map_key_model_type_model_version_name_description_category_name_object_status_identifier_parent_ref_object_version	_metadata_key_map)selfkwargs r#   Fusr/lib/python3.10/site-packages/oci/data_integration/models/folder.py__init__   sL   7
zFolder.__init__c                 C      | j S )z
        Gets the key of this Folder.
        Generated key that can be used in API calls to identify folder.


        :return: The key of this Folder.
        :rtype: str
        r   r!   r#   r#   r$   r	   s      
z
Folder.keyc                 C   
   || _ dS )z
        Sets the key of this Folder.
        Generated key that can be used in API calls to identify folder.


        :param key: The key of this Folder.
        :type: str
        Nr'   )r!   r	   r#   r#   r$   r	         

c                 C   r&   )z
        Gets the model_type of this Folder.
        The type of the object.


        :return: The model_type of this Folder.
        :rtype: str
        r   r(   r#   r#   r$   r
      r)   zFolder.model_typec                 C   r*   )z
        Sets the model_type of this Folder.
        The type of the object.


        :param model_type: The model_type of this Folder.
        :type: str
        Nr,   )r!   r
   r#   r#   r$   r
      r+   c                 C   r&   )z
        Gets the model_version of this Folder.
        The model version of an object.


        :return: The model_version of this Folder.
        :rtype: str
        r   r(   r#   r#   r$   r      r)   zFolder.model_versionc                 C   r*   )z
        Sets the model_version of this Folder.
        The model version of an object.


        :param model_version: The model_version of this Folder.
        :type: str
        Nr-   )r!   r   r#   r#   r$   r      r+   c                 C   r&   )a+  
        Gets the name of this Folder.
        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 Folder.
        :rtype: str
        r   r(   r#   r#   r$   r      r)   zFolder.namec                 C   r*   )a.  
        Sets the name of this Folder.
        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 Folder.
        :type: str
        Nr.   )r!   r   r#   r#   r$   r      r+   c                 C   r&   )z
        Gets the description of this Folder.
        A user defined description for the folder.


        :return: The description of this Folder.
        :rtype: str
        r   r(   r#   r#   r$   r      r)   zFolder.descriptionc                 C   r*   )z
        Sets the description of this Folder.
        A user defined description for the folder.


        :param description: The description of this Folder.
        :type: str
        Nr/   )r!   r   r#   r#   r$   r      r+   c                 C   r&   )z
        Gets the category_name of this Folder.
        The category name.


        :return: The category_name of this Folder.
        :rtype: str
        r   r(   r#   r#   r$   r      r)   zFolder.category_namec                 C   r*   )z
        Sets the category_name of this Folder.
        The category name.


        :param category_name: The category_name of this Folder.
        :type: str
        Nr0   )r!   r   r#   r#   r$   r      r+   c                 C   r&   )z
        Gets the object_status of this Folder.
        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 Folder.
        :rtype: int
        r   r(   r#   r#   r$   r     r)   zFolder.object_statusc                 C   r*   )a  
        Sets the object_status of this Folder.
        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 Folder.
        :type: int
        Nr1   )r!   r   r#   r#   r$   r     r+   c                 C   r&   )a  
        Gets the identifier of this Folder.
        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 Folder.
        :rtype: str
        r   r(   r#   r#   r$   r     r)   zFolder.identifierc                 C   r*   )a!  
        Sets the identifier of this Folder.
        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 Folder.
        :type: str
        Nr2   )r!   r   r#   r#   r$   r   '  r+   c                 C   r&   )z
        Gets the parent_ref of this Folder.

        :return: The parent_ref of this Folder.
        :rtype: oci.data_integration.models.ParentReference
        r   r(   r#   r#   r$   r   3     zFolder.parent_refc                 C   r*   )z
        Sets the parent_ref of this Folder.

        :param parent_ref: The parent_ref of this Folder.
        :type: oci.data_integration.models.ParentReference
        Nr3   )r!   r   r#   r#   r$   r   =     
c                 C   r&   )z
        Gets the object_version of this Folder.
        The version of the object that is used to track changes in the object instance.


        :return: The object_version of this Folder.
        :rtype: int
        r   r(   r#   r#   r$   r   G  r)   zFolder.object_versionc                 C   r*   )z
        Sets the object_version of this Folder.
        The version of the object that is used to track changes in the object instance.


        :param object_version: The object_version of this Folder.
        :type: int
        Nr6   )r!   r   r#   r#   r$   r   S  r+   c                 C   r&   )z
        Gets the metadata of this Folder.

        :return: The metadata of this Folder.
        :rtype: oci.data_integration.models.ObjectMetadata
        r   r(   r#   r#   r$   r   _  r4   zFolder.metadatac                 C   r*   )z
        Sets the metadata of this Folder.

        :param metadata: The metadata of this Folder.
        :type: oci.data_integration.models.ObjectMetadata
        Nr7   )r!   r   r#   r#   r$   r   i  r5   c                 C   r&   )a  
        Gets the key_map of this Folder.
        A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.


        :return: The key_map of this Folder.
        :rtype: dict(str, str)
        r    r(   r#   r#   r$   r   s  r)   zFolder.key_mapc                 C   r*   )a  
        Sets the key_map of this Folder.
        A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.


        :param key_map: The key_map of this Folder.
        :type: dict(str, str)
        Nr8   )r!   r   r#   r#   r$   r     r+   c                 C   s   t | S N)r   r(   r#   r#   r$   __repr__  s   zFolder.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r!   otherr#   r#   r$   __eq__  s   zFolder.__eq__c                 C   s
   | |k S r9   r#   r<   r#   r#   r$   __ne__  s   
zFolder.__ne__N)__name__
__module____qualname____doc__r%   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r   r:   r>   r?   r#   r#   r#   r$   r      sl    a
















	
	


	
	

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r#   r#   r#   r$   <module>   s   