o
    ëÉ¶d‚6  ã                   @   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                   @   sf  e Zd ZdZdZdZdZd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/d0„ Zd1S )2ÚProjectzC
    Project enable users to organize their project resources.
    ÚDELETINGÚDELETEDÚFAILEDÚCREATINGÚACTIVEÚUPDATINGc                 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 id:
            The value to assign to the id property of this Project.
        :type id: str

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

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

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

        :param time_created:
            The value to assign to the time_created property of this Project.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Project.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Project.
            Allowed values for this property are: "DELETING", "DELETED", "FAILED", "CREATING", "ACTIVE", "UPDATING", '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 Project.
        :type lifecycle_details: str

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

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

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

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object))zdict(str, object))ÚidÚdisplay_nameÚcompartment_idÚdescriptionÚtime_createdÚtime_updatedÚlifecycle_stateÚlifecycle_detailsÚfreeform_tagsÚdefined_tagsÚsystem_tagsr   ZdisplayNameZcompartmentIdr   ZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_idÚ_display_nameÚ_compartment_idÚ_descriptionÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© r'   úBusr/lib/python3.10/site-packages/oci/ai_language/models/project.pyÚ__init__*   sF   5õõ
zProject.__init__c                 C   ó   | j S )zª
        **[Required]** Gets the id of this Project.
        Unique identifier OCID of the project


        :return: The id of this Project.
        :rtype: str
        ©r   ©r%   r'   r'   r(   r   †   ó   
z
Project.idc                 C   ó
   || _ dS )zœ
        Sets the id of this Project.
        Unique identifier OCID of the project


        :param id: The id of this Project.
        :type: str
        Nr+   )r%   r   r'   r'   r(   r   ’   ó   

c                 C   r*   )a#  
        **[Required]** Gets the display_name of this Project.
        A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.


        :return: The display_name of this Project.
        :rtype: str
        ©r   r,   r'   r'   r(   r   ž   r-   zProject.display_namec                 C   r.   )a  
        Sets the display_name of this Project.
        A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.


        :param display_name: The display_name of this Project.
        :type: str
        Nr0   )r%   r   r'   r'   r(   r   ª   r/   c                 C   r*   )a  
        **[Required]** Gets the compartment_id of this Project.
        The `OCID`__  for the project's compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Project.
        :rtype: str
        ©r   r,   r'   r'   r(   r   ¶   ó   zProject.compartment_idc                 C   r.   )a  
        Sets the compartment_id of this Project.
        The `OCID`__  for the project's compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Project.
        :type: str
        Nr1   )r%   r   r'   r'   r(   r   Ä   ó   
c                 C   r*   )z©
        Gets the description of this Project.
        A short description of a 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 short description of a project.


        :param description: The description of this Project.
        :type: str
        Nr4   )r%   r   r'   r'   r(   r   Þ   r/   c                 C   r*   )a(  
        **[Required]** Gets the time_created of this Project.
        The date and time the resource was created in the timestamp format defined by `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_created of this Project.
        :rtype: datetime
        ©r   r,   r'   r'   r(   r   ê   r2   zProject.time_createdc                 C   r.   )a$  
        Sets the time_created of this Project.
        The date and time the resource was created in the timestamp format defined by `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :param time_created: The time_created of this Project.
        :type: datetime
        Nr5   )r%   r   r'   r'   r(   r   ø   r3   c                 C   r*   )a  
        Gets the time_updated of this Project.
        The date and time the resource was updated in the timestamp format defined by `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_updated of this Project.
        :rtype: datetime
        ©r   r,   r'   r'   r(   r     r2   zProject.time_updatedc                 C   r.   )a$  
        Sets the time_updated of this Project.
        The date and time the resource was updated in the timestamp format defined by `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :param time_updated: The time_updated of this Project.
        :type: datetime
        Nr6   )r%   r   r'   r'   r(   r     r3   c                 C   r*   )až  
        **[Required]** Gets the lifecycle_state of this Project.
        The state of the project.

        Allowed values for this property are: "DELETING", "DELETED", "FAILED", "CREATING", "ACTIVE", "UPDATING", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Project.
        :rtype: str
        )r    r,   r'   r'   r(   r   "  s   zProject.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )z·
        Sets the lifecycle_state of this Project.
        The state of the project.


        :param lifecycle_state: The lifecycle_state of this Project.
        :type: str
        )r   r   r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r    )r%   r   Zallowed_valuesr'   r'   r(   r   1  s   


c                 C   r*   )zÊ
        Gets the lifecycle_details of this Project.
        A message describing the current state in more detail.


        :return: The lifecycle_details of this Project.
        :rtype: str
        ©r!   r,   r'   r'   r(   r   @  r-   zProject.lifecycle_detailsc                 C   r.   )zÚ
        Sets the lifecycle_details of this Project.
        A message describing the current state in more detail.


        :param lifecycle_details: The lifecycle_details of this Project.
        :type: str
        Nr7   )r%   r   r'   r'   r(   r   L  r/   c                 C   r*   )a5  
        Gets the freeform_tags of this Project.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this Project.
        :rtype: dict(str, str)
        ©r"   r,   r'   r'   r(   r   X  ó   zProject.freeform_tagsc                 C   r.   )aA  
        Sets the freeform_tags of this Project.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this Project.
        :type: dict(str, str)
        Nr8   )r%   r   r'   r'   r(   r   e  ó   
c                 C   r*   )a/  
        Gets the defined_tags of this Project.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this Project.
        :rtype: dict(str, dict(str, object))
        ©r#   r,   r'   r'   r(   r   r  r9   zProject.defined_tagsc                 C   r.   )a:  
        Sets the defined_tags of this Project.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :param defined_tags: The defined_tags of this Project.
        :type: dict(str, dict(str, object))
        Nr;   )r%   r   r'   r'   r(   r     r:   c                 C   r*   )a%  
        Gets the system_tags of this Project.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`


        :return: The system_tags of this Project.
        :rtype: dict(str, object)
        ©r$   r,   r'   r'   r(   r   Œ  r9   zProject.system_tagsc                 C   r.   )a/  
        Sets the system_tags of this Project.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`


        :param system_tags: The system_tags of this Project.
        :type: dict(str, object)
        Nr<   )r%   r   r'   r'   r(   r   ™  r:   c                 C   s   t | ƒS ©N)r   r,   r'   r'   r(   Ú__repr__¦  s   zProject.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r%   Úotherr'   r'   r(   Ú__eq__©  s   zProject.__eq__c                 C   s
   | |k S r=   r'   r@   r'   r'   r(   Ú__ne__¯  s   
zProject.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_UPDATINGr)   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r>   rB   rC   r'   r'   r'   r(   r      sp    \





















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r'   r'   r'   r(   Ú<module>   s   