WaitStageRunProgress

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

Bases: oci.devops.models.build_pipeline_stage_run_progress.BuildPipelineStageRunProgress

Specifies Wait stage specific run details.

Attributes

STATUS_ACCEPTED str(object=’’) -> str
STATUS_CANCELED str(object=’’) -> str
STATUS_CANCELING str(object=’’) -> str
STATUS_FAILED str(object=’’) -> str
STATUS_IN_PROGRESS str(object=’’) -> str
STATUS_SUCCEEDED str(object=’’) -> str
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 WaitStageRunProgress 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'
STATUS_CANCELED = 'CANCELED'
STATUS_CANCELING = 'CANCELING'
STATUS_FAILED = 'FAILED'
STATUS_IN_PROGRESS = 'IN_PROGRESS'
STATUS_SUCCEEDED = 'SUCCEEDED'
__init__(**kwargs)

Initializes a new WaitStageRunProgress object with values from keyword arguments. The default value of the build_pipeline_stage_type attribute of this class is WAIT and it should not be changed. 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 WaitStageRunProgress.
  • build_pipeline_stage_type (str) – The value to assign to the build_pipeline_stage_type property of this WaitStageRunProgress.
  • build_pipeline_stage_id (str) – The value to assign to the build_pipeline_stage_id property of this WaitStageRunProgress.
  • time_started (datetime) – The value to assign to the time_started property of this WaitStageRunProgress.
  • time_finished (datetime) – The value to assign to the time_finished property of this WaitStageRunProgress.
  • status (str) – The value to assign to the status property of this WaitStageRunProgress. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”
  • build_pipeline_stage_predecessors (oci.devops.models.BuildPipelineStagePredecessorCollection) – The value to assign to the build_pipeline_stage_predecessors property of this WaitStageRunProgress.
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