BuildRunSnapshotSummary

class oci.devops.models.BuildRunSnapshotSummary(**kwargs)

Bases: object

Summary 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

build_pipeline_id [Required] Gets the build_pipeline_id of this BuildRunSnapshotSummary.
build_run_id [Required] Gets the build_run_id of this BuildRunSnapshotSummary.
commit_id [Required] Gets the commit_id of this BuildRunSnapshotSummary.
display_name Gets the display_name of this BuildRunSnapshotSummary.
lifecycle_details [Required] Gets the lifecycle_details of this BuildRunSnapshotSummary.
lifecycle_state [Required] Gets the lifecycle_state of this BuildRunSnapshotSummary.
time_created Gets the time_created of this BuildRunSnapshotSummary.
time_updated 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.
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
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
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
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
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
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
time_created

Gets the time_created of this BuildRunSnapshotSummary. The time the build run was created. Format defined by RFC3339.

Returns:The time_created of this BuildRunSnapshotSummary.
Return type:datetime
time_updated

Gets the time_updated of this BuildRunSnapshotSummary. The time the build run was updated. Format defined by RFC3339.

Returns:The time_updated of this BuildRunSnapshotSummary.
Return type:datetime