o
    ëÉ¶dMC  ã                   @   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                   @   sž  e Zd 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ed,d-„ ƒZejd.d-„ ƒZed/d0„ ƒZejd1d0„ ƒZd2d3„ Zd4d5„ Zd6d7„ Zd8S )9ÚBuildPipelinezZ
    A set of stages forming a directed acyclic graph that defines the build process.
    ÚCREATINGÚUPDATINGÚACTIVEÚINACTIVEÚ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| _	d| _
d| _d| _d| _d| _dS )aÀ	  
        Initializes a new BuildPipeline 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 BuildPipeline.
        :type id: str

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

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

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

        :param project_id:
            The value to assign to the project_id property of this BuildPipeline.
        :type project_id: str

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

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

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

        :param build_pipeline_parameters:
            The value to assign to the build_pipeline_parameters property of this BuildPipeline.
        :type build_pipeline_parameters: oci.devops.models.BuildPipelineParameterCollection

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

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

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

        ÚstrÚdatetimeZ BuildPipelineParameterCollectionzdict(str, str)zdict(str, dict(str, object)))ÚidÚdescriptionÚdisplay_nameÚcompartment_idÚ
project_idÚtime_createdÚtime_updatedÚlifecycle_stateÚlifecycle_detailsÚbuild_pipeline_parametersÚfreeform_tagsÚdefined_tagsÚsystem_tagsr   r   ZdisplayNameZcompartmentIdZ	projectIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZbuildPipelineParametersZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_idÚ_descriptionÚ_display_nameÚ_compartment_idÚ_project_idÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_lifecycle_detailsÚ_build_pipeline_parametersÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© r,   úDusr/lib/python3.10/site-packages/oci/devops/models/build_pipeline.pyÚ__init__.   sR   =óó
zBuildPipeline.__init__c                 C   ó   | j S )zÁ
        **[Required]** Gets the id of this BuildPipeline.
        Unique identifier that is immutable on creation.


        :return: The id of this BuildPipeline.
        :rtype: str
        ©r   ©r*   r,   r,   r-   r   ˜   ó   
zBuildPipeline.idc                 C   ó
   || _ dS )z³
        Sets the id of this BuildPipeline.
        Unique identifier that is immutable on creation.


        :param id: The id of this BuildPipeline.
        :type: str
        Nr0   )r*   r   r,   r,   r-   r   ¤   ó   

c                 C   r/   )zÂ
        Gets the description of this BuildPipeline.
        Optional description about the build pipeline.


        :return: The description of this BuildPipeline.
        :rtype: str
        ©r   r1   r,   r,   r-   r   °   r2   zBuildPipeline.descriptionc                 C   r3   )zÌ
        Sets the description of this BuildPipeline.
        Optional description about the build pipeline.


        :param description: The description of this BuildPipeline.
        :type: str
        Nr5   )r*   r   r,   r,   r-   r   ¼   r4   c                 C   r/   )a  
        Gets the display_name of this BuildPipeline.
        Build pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.


        :return: The display_name of this BuildPipeline.
        :rtype: str
        ©r   r1   r,   r,   r-   r   È   r2   zBuildPipeline.display_namec                 C   r3   )a  
        Sets the display_name of this BuildPipeline.
        Build pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.


        :param display_name: The display_name of this BuildPipeline.
        :type: str
        Nr6   )r*   r   r,   r,   r-   r   Ô   r4   c                 C   r/   )zé
        **[Required]** Gets the compartment_id of this BuildPipeline.
        The OCID of the compartment where the build pipeline is created.


        :return: The compartment_id of this BuildPipeline.
        :rtype: str
        ©r    r1   r,   r,   r-   r   à   r2   zBuildPipeline.compartment_idc                 C   r3   )zç
        Sets the compartment_id of this BuildPipeline.
        The OCID of the compartment where the build pipeline is created.


        :param compartment_id: The compartment_id of this BuildPipeline.
        :type: str
        Nr7   )r*   r   r,   r,   r-   r   ì   r4   c                 C   r/   )zÀ
        **[Required]** Gets the project_id of this BuildPipeline.
        The OCID of the DevOps project.


        :return: The project_id of this BuildPipeline.
        :rtype: str
        ©r!   r1   r,   r,   r-   r   ø   r2   zBuildPipeline.project_idc                 C   r3   )zº
        Sets the project_id of this BuildPipeline.
        The OCID of the DevOps project.


        :param project_id: The project_id of this BuildPipeline.
        :type: str
        Nr8   )r*   r   r,   r,   r-   r     r4   c                 C   r/   )a  
        Gets the time_created of this BuildPipeline.
        The time the build pipeline was created. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_created of this BuildPipeline.
        :rtype: datetime
        ©r"   r1   r,   r,   r-   r     ó   zBuildPipeline.time_createdc                 C   r3   )a'  
        Sets the time_created of this BuildPipeline.
        The time the build pipeline was created. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_created: The time_created of this BuildPipeline.
        :type: datetime
        Nr9   )r*   r   r,   r,   r-   r     ó   
c                 C   r/   )a  
        Gets the time_updated of this BuildPipeline.
        The time the build pipeline was updated. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_updated of this BuildPipeline.
        :rtype: datetime
        ©r#   r1   r,   r,   r-   r   ,  r:   zBuildPipeline.time_updatedc                 C   r3   )a'  
        Sets the time_updated of this BuildPipeline.
        The time the build pipeline was updated. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_updated: The time_updated of this BuildPipeline.
        :type: datetime
        Nr<   )r*   r   r,   r,   r-   r   :  r;   c                 C   r/   )a¶  
        Gets the lifecycle_state of this BuildPipeline.
        The current state of the build pipeline.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "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 BuildPipeline.
        :rtype: str
        )r$   r1   r,   r,   r-   r   H  s   zBuildPipeline.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zÒ
        Sets the lifecycle_state of this BuildPipeline.
        The current state of the build pipeline.


        :param lifecycle_state: The lifecycle_state of this BuildPipeline.
        :type: str
        )r   r   r	   r
   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r$   )r*   r   Zallowed_valuesr,   r,   r-   r   W  s   


c                 C   r/   )a1  
        Gets the lifecycle_details of this BuildPipeline.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :return: The lifecycle_details of this BuildPipeline.
        :rtype: str
        ©r%   r1   r,   r,   r-   r   f  r2   zBuildPipeline.lifecycle_detailsc                 C   r3   )aA  
        Sets the lifecycle_details of this BuildPipeline.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :param lifecycle_details: The lifecycle_details of this BuildPipeline.
        :type: str
        Nr=   )r*   r   r,   r,   r-   r   r  r4   c                 C   r/   )zÕ
        Gets the build_pipeline_parameters of this BuildPipeline.

        :return: The build_pipeline_parameters of this BuildPipeline.
        :rtype: oci.devops.models.BuildPipelineParameterCollection
        ©r&   r1   r,   r,   r-   r   ~  s   z'BuildPipeline.build_pipeline_parametersc                 C   r3   )zí
        Sets the build_pipeline_parameters of this BuildPipeline.

        :param build_pipeline_parameters: The build_pipeline_parameters of this BuildPipeline.
        :type: oci.devops.models.BuildPipelineParameterCollection
        Nr>   )r*   r   r,   r,   r-   r   ˆ  s   
c                 C   r/   )a¥  
        Gets the freeform_tags of this BuildPipeline.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

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


        :return: The freeform_tags of this BuildPipeline.
        :rtype: dict(str, str)
        ©r'   r1   r,   r,   r-   r   ’  r:   zBuildPipeline.freeform_tagsc                 C   r3   )a±  
        Sets the freeform_tags of this BuildPipeline.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

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


        :param freeform_tags: The freeform_tags of this BuildPipeline.
        :type: dict(str, str)
        Nr?   )r*   r   r,   r,   r-   r      r;   c                 C   r/   )až  
        Gets the defined_tags of this BuildPipeline.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

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


        :return: The defined_tags of this BuildPipeline.
        :rtype: dict(str, dict(str, object))
        ©r(   r1   r,   r,   r-   r   ®  r:   zBuildPipeline.defined_tagsc                 C   r3   )a©  
        Sets the defined_tags of this BuildPipeline.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

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


        :param defined_tags: The defined_tags of this BuildPipeline.
        :type: dict(str, dict(str, object))
        Nr@   )r*   r   r,   r,   r-   r   ¼  r;   c                 C   r/   )a›  
        Gets the system_tags of this BuildPipeline.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

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


        :return: The system_tags of this BuildPipeline.
        :rtype: dict(str, dict(str, object))
        ©r)   r1   r,   r,   r-   r   Ê  r:   zBuildPipeline.system_tagsc                 C   r3   )a¥  
        Sets the system_tags of this BuildPipeline.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

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


        :param system_tags: The system_tags of this BuildPipeline.
        :type: dict(str, dict(str, object))
        NrA   )r*   r   r,   r,   r-   r   Ø  r;   c                 C   s   t | ƒS ©N)r   r1   r,   r,   r-   Ú__repr__æ  s   zBuildPipeline.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r*   Úotherr,   r,   r-   Ú__eq__é  s   zBuildPipeline.__eq__c                 C   s
   | |k S rB   r,   rE   r,   r,   r-   Ú__ne__ï  s   
zBuildPipeline.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr.   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   rC   rG   rH   r,   r,   r,   r-   r      s‚    j


















	
	





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r,   r,   r,   r-   Ú<module>   s   