o
    ɶd4                     @   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Projectz/
    A Document Project containing models.
    CREATINGUPDATINGACTIVEDELETINGDELETEDFAILEDc                 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 description:
            The value to assign to the description property of this Project.
        :type description: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Project.
        :type compartment_id: 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: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", '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, dict(str, object))

        strdatetimezdict(str, str)zdict(str, dict(str, object)))iddisplay_namedescriptioncompartment_idtime_createdtime_updatedlifecycle_statelifecycle_detailsfreeform_tagsdefined_tagssystem_tagsr   ZdisplayNamer   ZcompartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_map_id_display_name_description_compartment_id_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_document/models/project.py__init__*   sF   5
zProject.__init__c                 C      | j S )z
        **[Required]** Gets the id of this Project.
        A unique identifier that is immutable after creation.


        :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.
        A unique identifier that is immutable after creation.


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

c                 C   r*   )z
        Gets the display_name of this Project.
        A human-friendly name for the project, which can be changed.


        :return: The display_name of this Project.
        :rtype: str
        r   r,   r'   r'   r(   r      r-   zProject.display_namec                 C   r.   )z
        Sets the display_name of this Project.
        A human-friendly name for the project, which can be changed.


        :param display_name: The display_name of this Project.
        :type: str
        Nr0   )r%   r   r'   r'   r(   r      r/   c                 C   r*   )z
        Gets the description of this Project.
        An optional description of 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.
        An optional description of the project.


        :param description: The description of this Project.
        :type: str
        Nr1   )r%   r   r'   r'   r(   r      r/   c                 C   r*   )z
        **[Required]** Gets the compartment_id of this Project.
        The compartment identifier.


        :return: The compartment_id of this Project.
        :rtype: str
        r   r,   r'   r'   r(   r      r-   zProject.compartment_idc                 C   r.   )z
        Sets the compartment_id of this Project.
        The compartment identifier.


        :param compartment_id: The compartment_id of this Project.
        :type: str
        Nr2   )r%   r   r'   r'   r(   r      r/   c                 C   r*   )z
        **[Required]** Gets the time_created of this Project.
        When the project was created, as an RFC3339 datetime string.


        :return: The time_created of this Project.
        :rtype: datetime
        r   r,   r'   r'   r(   r      r-   zProject.time_createdc                 C   r.   )z
        Sets the time_created of this Project.
        When the project was created, as an RFC3339 datetime string.


        :param time_created: The time_created of this Project.
        :type: datetime
        Nr3   )r%   r   r'   r'   r(   r      r/   c                 C   r*   )z
        Gets the time_updated of this Project.
        When the project was updated, as an RFC3339 datetime string.


        :return: The time_updated of this Project.
        :rtype: datetime
        r   r,   r'   r'   r(   r      r-   zProject.time_updatedc                 C   r.   )z
        Sets the time_updated of this Project.
        When the project was updated, as an RFC3339 datetime string.


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

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", '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 current 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   %  s   


c                 C   r*   )a  
        Gets the lifecycle_details of this Project.
        A message describing the current state in more detail, that can provide actionable information if creation failed.


        :return: The lifecycle_details of this Project.
        :rtype: str
        r!   r,   r'   r'   r(   r   4  r-   zProject.lifecycle_detailsc                 C   r.   )a  
        Sets the lifecycle_details of this Project.
        A message describing the current state in more detail, that can provide actionable information if creation failed.


        :param lifecycle_details: The lifecycle_details of this Project.
        :type: str
        Nr5   )r%   r   r'   r'   r(   r   @  r/   c                 C   r*   )a?  
        Gets the freeform_tags of this Project.
        A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.
        For example: `{"bar-key": "value"}`


        :return: The freeform_tags of this Project.
        :rtype: dict(str, str)
        r"   r,   r'   r'   r(   r   L     zProject.freeform_tagsc                 C   r.   )aK  
        Sets the freeform_tags of this Project.
        A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.
        For example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this Project.
        :type: dict(str, str)
        Nr6   )r%   r   r'   r'   r(   r   Y     
c                 C   r*   )a3  
        Gets the defined_tags of this Project.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For 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   f  r7   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.
        For example: `{"foo-namespace": {"bar-key": "value"}}`


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


        :return: The system_tags of this Project.
        :rtype: dict(str, dict(str, object))
        r$   r,   r'   r'   r(   r     r7   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.
        For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :param system_tags: The system_tags of this Project.
        :type: dict(str, dict(str, object))
        Nr:   )r%   r   r'   r'   r(   r     r8   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_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr)   propertyr   setterr   r   r   r   r   r   r   r   r   r   r<   r@   rA   r'   r'   r'   r(   r      sp    \





















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r'   r'   r'   r(   <module>   s   