File: //lib/python3.9/site-packages/oci/devops/models/__pycache__/build_run_summary.cpython-39.pyc
a
���f!G � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z ed
d� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�BuildRunSummaryz#
Summary of the build run.
c K s� ddddddddddddddddd �| _ d
ddd
ddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _d| _dS )a(
Initializes a new BuildRunSummary 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 BuildRunSummary.
:type id: str
:param compartment_id:
The value to assign to the compartment_id property of this BuildRunSummary.
:type compartment_id: str
:param display_name:
The value to assign to the display_name property of this BuildRunSummary.
:type display_name: str
:param project_id:
The value to assign to the project_id property of this BuildRunSummary.
:type project_id: str
:param build_pipeline_id:
The value to assign to the build_pipeline_id property of this BuildRunSummary.
:type build_pipeline_id: str
:param build_run_source:
The value to assign to the build_run_source property of this BuildRunSummary.
:type build_run_source: oci.devops.models.BuildRunSource
:param build_run_arguments:
The value to assign to the build_run_arguments property of this BuildRunSummary.
:type build_run_arguments: oci.devops.models.BuildRunArgumentCollection
:param build_run_progress_summary:
The value to assign to the build_run_progress_summary property of this BuildRunSummary.
:type build_run_progress_summary: oci.devops.models.BuildRunProgressSummary
:param time_created:
The value to assign to the time_created property of this BuildRunSummary.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this BuildRunSummary.
:type time_updated: datetime
:param lifecycle_state:
The value to assign to the lifecycle_state property of this BuildRunSummary.
:type lifecycle_state: str
:param lifecycle_details:
The value to assign to the lifecycle_details property of this BuildRunSummary.
:type lifecycle_details: str
:param commit_info:
The value to assign to the commit_info property of this BuildRunSummary.
:type commit_info: oci.devops.models.CommitInfo
:param freeform_tags:
The value to assign to the freeform_tags property of this BuildRunSummary.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this BuildRunSummary.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this BuildRunSummary.
:type system_tags: dict(str, dict(str, object))
�strZBuildRunSourceZBuildRunArgumentCollectionZBuildRunProgressSummaryZdatetimeZ
CommitInfozdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�
project_id�build_pipeline_id�build_run_source�build_run_arguments�build_run_progress_summary�time_created�time_updated�lifecycle_state�lifecycle_details�commit_info�
freeform_tags�defined_tags�system_tagsr Z
compartmentIdZdisplayNameZ projectIdZbuildPipelineIdZbuildRunSourceZbuildRunArgumentsZbuildRunProgressSummaryZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZ
commitInfoZfreeformTagsZdefinedTagsZ
systemTagsN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�
_display_name�_project_id�_build_pipeline_id�_build_run_source�_build_run_arguments�_build_run_progress_summary�
_time_created�
_time_updated�_lifecycle_state�_lifecycle_details�_commit_info�_freeform_tags�
_defined_tags�_system_tags)�self�kwargs� r* �G/usr/lib/python3.9/site-packages/oci/devops/models/build_run_summary.py�__init__ sd G��zBuildRunSummary.__init__c C s | j S )z�
**[Required]** Gets the id of this BuildRunSummary.
Unique identifier that is immutable on creation.
:return: The id of this BuildRunSummary.
:rtype: str
�r �r( r* r* r+ r � s
zBuildRunSummary.idc C s
|| _ dS )z�
Sets the id of this BuildRunSummary.
Unique identifier that is immutable on creation.
:param id: The id of this BuildRunSummary.
:type: str
Nr- )r( r r* r* r+ r � s
c C s | j S )z�
**[Required]** Gets the compartment_id of this BuildRunSummary.
The OCID of the compartment where the build is running.
:return: The compartment_id of this BuildRunSummary.
:rtype: str
�r r. r* r* r+ r � s
zBuildRunSummary.compartment_idc C s
|| _ dS )z�
Sets the compartment_id of this BuildRunSummary.
The OCID of the compartment where the build is running.
:param compartment_id: The compartment_id of this BuildRunSummary.
:type: str
Nr/ )r( r r* r* r+ r � s
c C s | j S )a
Gets the display_name of this BuildRunSummary.
Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
:return: The display_name of this BuildRunSummary.
:rtype: str
�r r. r* r* r+ r
� s
zBuildRunSummary.display_namec C s
|| _ dS )a
Sets the display_name of this BuildRunSummary.
Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
:param display_name: The display_name of this BuildRunSummary.
:type: str
Nr0 )r( r
r* r* r+ r
� s
c C s | j S )z�
**[Required]** Gets the project_id of this BuildRunSummary.
The OCID of the DevOps project.
:return: The project_id of this BuildRunSummary.
:rtype: str
�r r. r* r* r+ r � s
zBuildRunSummary.project_idc C s
|| _ dS )z�
Sets the project_id of this BuildRunSummary.
The OCID of the DevOps project.
:param project_id: The project_id of this BuildRunSummary.
:type: str
Nr1 )r( r r* r* r+ r � s
c C s | j S )z�
**[Required]** Gets the build_pipeline_id of this BuildRunSummary.
The OCID of the build pipeline.
:return: The build_pipeline_id of this BuildRunSummary.
:rtype: str
�r r. r* r* r+ r � s
z!BuildRunSummary.build_pipeline_idc C s
|| _ dS )z�
Sets the build_pipeline_id of this BuildRunSummary.
The OCID of the build pipeline.
:param build_pipeline_id: The build_pipeline_id of this BuildRunSummary.
:type: str
Nr2 )r( r r* r* r+ r � s
c C s | j S )z�
**[Required]** Gets the build_run_source of this BuildRunSummary.
:return: The build_run_source of this BuildRunSummary.
:rtype: oci.devops.models.BuildRunSource
�r r. r* r* r+ r
s z BuildRunSummary.build_run_sourcec C s
|| _ dS )z�
Sets the build_run_source of this BuildRunSummary.
:param build_run_source: The build_run_source of this BuildRunSummary.
:type: oci.devops.models.BuildRunSource
Nr3 )r( r
r* r* r+ r
s c C s | j S )z�
Gets the build_run_arguments of this BuildRunSummary.
:return: The build_run_arguments of this BuildRunSummary.
:rtype: oci.devops.models.BuildRunArgumentCollection
�r r. r* r* r+ r s z#BuildRunSummary.build_run_argumentsc C s
|| _ dS )z�
Sets the build_run_arguments of this BuildRunSummary.
:param build_run_arguments: The build_run_arguments of this BuildRunSummary.
:type: oci.devops.models.BuildRunArgumentCollection
Nr4 )r( r r* r* r+ r % s c C s | j S )z�
Gets the build_run_progress_summary of this BuildRunSummary.
:return: The build_run_progress_summary of this BuildRunSummary.
:rtype: oci.devops.models.BuildRunProgressSummary
�r r. r* r* r+ r / s z*BuildRunSummary.build_run_progress_summaryc C s
|| _ dS )z�
Sets the build_run_progress_summary of this BuildRunSummary.
:param build_run_progress_summary: The build_run_progress_summary of this BuildRunSummary.
:type: oci.devops.models.BuildRunProgressSummary
Nr5 )r( r r* r* r+ r 9 s c C s | j S )a
Gets the time_created of this BuildRunSummary.
The time the build run was created. Format defined by `RFC3339`__.
__ https://datatracker.ietf.org/doc/html/rfc3339
:return: The time_created of this BuildRunSummary.
:rtype: datetime
�r r. r* r* r+ r C s zBuildRunSummary.time_createdc C s
|| _ dS )a&
Sets the time_created of this BuildRunSummary.
The time the build run was created. Format defined by `RFC3339`__.
__ https://datatracker.ietf.org/doc/html/rfc3339
:param time_created: The time_created of this BuildRunSummary.
:type: datetime
Nr6 )r( r r* r* r+ r Q s c C s | j S )a
Gets the time_updated of this BuildRunSummary.
The time the build run was updated. Format defined by `RFC3339`__.
__ https://datatracker.ietf.org/doc/html/rfc3339
:return: The time_updated of this BuildRunSummary.
:rtype: datetime
�r! r. r* r* r+ r _ s zBuildRunSummary.time_updatedc C s
|| _ dS )a&
Sets the time_updated of this BuildRunSummary.
The time the build run was updated. Format defined by `RFC3339`__.
__ https://datatracker.ietf.org/doc/html/rfc3339
:param time_updated: The time_updated of this BuildRunSummary.
:type: datetime
Nr7 )r( r r* r* r+ r m s c C s | j S )z�
Gets the lifecycle_state of this BuildRunSummary.
The current state of the build run.
:return: The lifecycle_state of this BuildRunSummary.
:rtype: str
�r"