BuildRunSnapshotSummary¶
- class oci.devops.models.BuildRunSnapshotSummary(**kwargs)¶
Bases:
objectSummary of a single build run snapshot. Contains information including pipelineId, commitId.
Methods:
__init__(**kwargs)Initializes a new BuildRunSnapshotSummary object with values from keyword arguments.
Attributes:
[Required] Gets the build_pipeline_id of this BuildRunSnapshotSummary.
[Required] Gets the build_run_id of this BuildRunSnapshotSummary.
[Required] Gets the commit_id of this BuildRunSnapshotSummary.
Gets the display_name of this BuildRunSnapshotSummary.
[Required] Gets the lifecycle_details of this BuildRunSnapshotSummary.
[Required] Gets the lifecycle_state of this BuildRunSnapshotSummary.
Gets the time_created of this BuildRunSnapshotSummary.
Gets the time_updated of this BuildRunSnapshotSummary.
- __init__(**kwargs)¶
Initializes a new BuildRunSnapshotSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
build_pipeline_id (str) – The value to assign to the build_pipeline_id property of this BuildRunSnapshotSummary.
commit_id (str) – The value to assign to the commit_id property of this BuildRunSnapshotSummary.
build_run_id (str) – The value to assign to the build_run_id property of this BuildRunSnapshotSummary.
display_name (str) – The value to assign to the display_name property of this BuildRunSnapshotSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this BuildRunSnapshotSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this BuildRunSnapshotSummary.
time_created (datetime) – The value to assign to the time_created property of this BuildRunSnapshotSummary.
time_updated (datetime) – The value to assign to the time_updated property of this BuildRunSnapshotSummary.
- property build_pipeline_id¶
[Required] Gets the build_pipeline_id of this BuildRunSnapshotSummary. The OCID of the build pipeline where the build was triggered.
- Returns
The build_pipeline_id of this BuildRunSnapshotSummary.
- Return type
str
- property build_run_id¶
[Required] Gets the build_run_id of this BuildRunSnapshotSummary. The OCID of the build run.
- Returns
The build_run_id of this BuildRunSnapshotSummary.
- Return type
str
- property commit_id¶
[Required] Gets the commit_id of this BuildRunSnapshotSummary. The commit id which the build was triggered from.
- Returns
The commit_id of this BuildRunSnapshotSummary.
- Return type
str
- property display_name¶
Gets the display_name of this BuildRunSnapshotSummary. The display name of the build run.
- Returns
The display_name of this BuildRunSnapshotSummary.
- Return type
str
- property lifecycle_details¶
[Required] Gets the lifecycle_details of this BuildRunSnapshotSummary. A message describing the current state in more detail.
- Returns
The lifecycle_details of this BuildRunSnapshotSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this BuildRunSnapshotSummary. The current status of the build run.
- Returns
The lifecycle_state of this BuildRunSnapshotSummary.
- Return type
str