BuildPipelineStageRunProgress

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

Bases: object

The details about the run progress of a stage in a build run.

Attributes

STATUS_ACCEPTED A constant which can be used with the status property of a BuildPipelineStageRunProgress.
STATUS_CANCELED A constant which can be used with the status property of a BuildPipelineStageRunProgress.
STATUS_CANCELING A constant which can be used with the status property of a BuildPipelineStageRunProgress.
STATUS_FAILED A constant which can be used with the status property of a BuildPipelineStageRunProgress.
STATUS_IN_PROGRESS A constant which can be used with the status property of a BuildPipelineStageRunProgress.
STATUS_SUCCEEDED A constant which can be used with the status property of a BuildPipelineStageRunProgress.
build_pipeline_stage_id Gets the build_pipeline_stage_id of this BuildPipelineStageRunProgress.
build_pipeline_stage_predecessors Gets the build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress.
build_pipeline_stage_type Gets the build_pipeline_stage_type of this BuildPipelineStageRunProgress.
stage_display_name Gets the stage_display_name of this BuildPipelineStageRunProgress.
status Gets the status of this BuildPipelineStageRunProgress.
time_finished Gets the time_finished of this BuildPipelineStageRunProgress.
time_started Gets the time_started of this BuildPipelineStageRunProgress.

Methods

__init__(**kwargs) Initializes a new BuildPipelineStageRunProgress object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
STATUS_ACCEPTED = 'ACCEPTED'

A constant which can be used with the status property of a BuildPipelineStageRunProgress. This constant has a value of “ACCEPTED”

STATUS_CANCELED = 'CANCELED'

A constant which can be used with the status property of a BuildPipelineStageRunProgress. This constant has a value of “CANCELED”

STATUS_CANCELING = 'CANCELING'

A constant which can be used with the status property of a BuildPipelineStageRunProgress. This constant has a value of “CANCELING”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a BuildPipelineStageRunProgress. This constant has a value of “FAILED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a BuildPipelineStageRunProgress. This constant has a value of “IN_PROGRESS”

STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the status property of a BuildPipelineStageRunProgress. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

Initializes a new BuildPipelineStageRunProgress object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • stage_display_name (str) – The value to assign to the stage_display_name property of this BuildPipelineStageRunProgress.
  • build_pipeline_stage_type (str) – The value to assign to the build_pipeline_stage_type property of this BuildPipelineStageRunProgress.
  • build_pipeline_stage_id (str) – The value to assign to the build_pipeline_stage_id property of this BuildPipelineStageRunProgress.
  • time_started (datetime) – The value to assign to the time_started property of this BuildPipelineStageRunProgress.
  • time_finished (datetime) – The value to assign to the time_finished property of this BuildPipelineStageRunProgress.
  • status (str) – The value to assign to the status property of this BuildPipelineStageRunProgress. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • build_pipeline_stage_predecessors (oci.devops.models.BuildPipelineStagePredecessorCollection) – The value to assign to the build_pipeline_stage_predecessors property of this BuildPipelineStageRunProgress.
build_pipeline_stage_id

Gets the build_pipeline_stage_id of this BuildPipelineStageRunProgress. The stage OCID.

Returns:The build_pipeline_stage_id of this BuildPipelineStageRunProgress.
Return type:str
build_pipeline_stage_predecessors

Gets the build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress.

Returns:The build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress.
Return type:oci.devops.models.BuildPipelineStagePredecessorCollection
build_pipeline_stage_type

Gets the build_pipeline_stage_type of this BuildPipelineStageRunProgress. Stage types.

Returns:The build_pipeline_stage_type of this BuildPipelineStageRunProgress.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

stage_display_name

Gets the stage_display_name of this BuildPipelineStageRunProgress. Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.

Returns:The stage_display_name of this BuildPipelineStageRunProgress.
Return type:str
status

Gets the status of this BuildPipelineStageRunProgress. The current status of the stage.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this BuildPipelineStageRunProgress.
Return type:str
time_finished

Gets the time_finished of this BuildPipelineStageRunProgress. The time the stage finished executing. Format defined by RFC3339.

Returns:The time_finished of this BuildPipelineStageRunProgress.
Return type:datetime
time_started

Gets the time_started of this BuildPipelineStageRunProgress. The time the stage started executing. Format defined by RFC3339.

Returns:The time_started of this BuildPipelineStageRunProgress.
Return type:datetime