File: //lib/python3.9/site-packages/oci/devops/models/__pycache__/build_pipeline.cpython-39.opt-1.pyc
a
���fMC � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ
d d
� Zedd� �Z
e
jd
d� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zd2d3� Zd4d5� Zd6d7� Zd8S )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� dddddddddddddd�
| _ ddd d
ddd
ddddddd�
| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _dS )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))
�strZdatetimeZ BuildPipelineParameterCollectionzdict(str, str)zdict(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 ZdisplayNameZ
compartmentIdZ projectIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZbuildPipelineParametersZfreeformTagsZdefinedTagsZ
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+ �D/usr/lib/python3.9/site-packages/oci/devops/models/build_pipeline.py�__init__. sR =��zBuildPipeline.__init__c C s | 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 � s
zBuildPipeline.idc C s
|| _ dS )z�
Sets the id of this BuildPipeline.
Unique identifier that is immutable on creation.
:param id: The id of this BuildPipeline.
:type: str
Nr. )r) r r+ r+ r, r � s
c C s | j S )z�
Gets the description of this BuildPipeline.
Optional description about the build pipeline.
:return: The description of this BuildPipeline.
:rtype: str
�r r/ r+ r+ r, r � s
zBuildPipeline.descriptionc C s
|| _ dS )z�
Sets the description of this BuildPipeline.
Optional description about the build pipeline.
:param description: The description of this BuildPipeline.
:type: str
Nr0 )r) r r+ r+ r, r � s
c C s | j S )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 r/ r+ r+ r, r � s
zBuildPipeline.display_namec C s
|| _ dS )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
Nr1 )r) r r+ r+ r, r � s
c C s | j S )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 r/ r+ r+ r, r � s
zBuildPipeline.compartment_idc C s
|| _ dS )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
Nr2 )r) r r+ r+ r, r � s
c C s | j S )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 r/ r+ r+ r, r � s
zBuildPipeline.project_idc C s
|| _ dS )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
Nr3 )r) r r+ r+ r, r s
c C s | j S )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! r/ r+ r+ r, r s zBuildPipeline.time_createdc C s
|| _ dS )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
Nr4 )r) r r+ r+ r, r s c C s | j S )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"