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                   @   sN  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d%d& Zd'd( Zd)d* Zd+S ),Projectzd
    The project type contains the audit summary information and the definition of the project.
    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S )a  
        Initializes a new Project 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 Project.
        :type key: str

        :param model_type:
            The value to assign to the model_type property of this Project.
        :type model_type: str

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

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

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

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

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

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

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

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

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

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


        :return: The key of this Project.
        :rtype: str
        r   r   r!   r!   r"   r	   l      
zProject.keyc                 C   
   || _ dS )z
        Sets the key of this Project.
        Generated key that can be used in API calls to identify project.


        :param key: The key of this Project.
        :type: str
        Nr%   )r   r	   r!   r!   r"   r	   x      

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


        :return: The model_type of this Project.
        :rtype: str
        r   r&   r!   r!   r"   r
      r'   zProject.model_typec                 C   r(   )z
        Sets the model_type of this Project.
        The type of the object.


        :param model_type: The model_type of this Project.
        :type: str
        Nr*   )r   r
   r!   r!   r"   r
      r)   c                 C   r$   )z
        Gets the model_version of this Project.
        The model version of an object.


        :return: The model_version of this Project.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zProject.model_versionc                 C   r(   )z
        Sets the model_version of this Project.
        The model version of an object.


        :param model_version: The model_version of this Project.
        :type: str
        Nr+   )r   r   r!   r!   r"   r      r)   c                 C   r$   )a-  
        Gets the name of this Project.
        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 Project.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zProject.namec                 C   r(   )a0  
        Sets the name of this Project.
        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 Project.
        :type: str
        Nr,   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        Gets the description of this Project.
        A user defined description for the project.


        :return: The description of this Project.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zProject.descriptionc                 C   r(   )z
        Sets the description of this Project.
        A user defined description for the project.


        :param description: The description of this Project.
        :type: str
        Nr-   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        Gets the object_status of this Project.
        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 Project.
        :rtype: int
        r   r&   r!   r!   r"   r      r'   zProject.object_statusc                 C   r(   )a  
        Sets the object_status of this Project.
        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 Project.
        :type: int
        Nr.   )r   r   r!   r!   r"   r      r)   c                 C   r$   )a  
        Gets the identifier of this Project.
        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 Project.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zProject.identifierc                 C   r(   )a#  
        Sets the identifier of this Project.
        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 Project.
        :type: str
        Nr/   )r   r   r!   r!   r"   r     r)   c                 C   r$   )z
        Gets the object_version of this Project.
        The version of the object that is used to track changes in the object instance.


        :return: The object_version of this Project.
        :rtype: int
        r   r&   r!   r!   r"   r     r'   zProject.object_versionc                 C   r(   )z
        Sets the object_version of this Project.
        The version of the object that is used to track changes in the object instance.


        :param object_version: The object_version of this Project.
        :type: int
        Nr0   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        Gets the parent_ref of this Project.

        :return: The parent_ref of this Project.
        :rtype: oci.data_integration.models.ParentReference
        r   r&   r!   r!   r"   r   ,     zProject.parent_refc                 C   r(   )z
        Sets the parent_ref of this Project.

        :param parent_ref: The parent_ref of this Project.
        :type: oci.data_integration.models.ParentReference
        Nr1   )r   r   r!   r!   r"   r   6     
c                 C   r$   )z
        Gets the metadata of this Project.

        :return: The metadata of this Project.
        :rtype: oci.data_integration.models.ObjectMetadata
        r   r&   r!   r!   r"   r   @  r2   zProject.metadatac                 C   r(   )z
        Sets the metadata of this Project.

        :param metadata: The metadata of this Project.
        :type: oci.data_integration.models.ObjectMetadata
        Nr4   )r   r   r!   r!   r"   r   J  r3   c                 C   r$   )a  
        Gets the key_map of this Project.
        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 Project.
        :rtype: dict(str, str)
        r   r&   r!   r!   r"   r   T  r'   zProject.key_mapc                 C   r(   )a  
        Sets the key_map of this Project.
        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 Project.
        :type: dict(str, str)
        Nr5   )r   r   r!   r!   r"   r   `  r)   c                 C   s   t | S N)r   r&   r!   r!   r"   __repr__l  s   zProject.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr!   r!   r"   __eq__o  s   zProject.__eq__c                 C   s
   | |k S r6   r!   r9   r!   r!   r"   __ne__u  s   
zProject.__ne__N)__name__
__module____qualname____doc__r#   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r7   r;   r<   r!   r!   r!   r"   r      sd    Z
















	
	
	
	

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r!   r!   r!   r"   <module>   s   