BuildStageRunStep

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

Bases: object

The details about each step in a Build stage.

Attributes

STATE_FAILED A constant which can be used with the state property of a BuildStageRunStep.
STATE_IN_PROGRESS A constant which can be used with the state property of a BuildStageRunStep.
STATE_SUCCEEDED A constant which can be used with the state property of a BuildStageRunStep.
STATE_WAITING A constant which can be used with the state property of a BuildStageRunStep.
name Gets the name of this BuildStageRunStep.
state Gets the state of this BuildStageRunStep.
time_finished Gets the time_finished of this BuildStageRunStep.
time_started Gets the time_started of this BuildStageRunStep.

Methods

__init__(**kwargs) Initializes a new BuildStageRunStep object with values from keyword arguments.
STATE_FAILED = 'FAILED'

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

STATE_IN_PROGRESS = 'IN_PROGRESS'

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

STATE_SUCCEEDED = 'SUCCEEDED'

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

STATE_WAITING = 'WAITING'

A constant which can be used with the state property of a BuildStageRunStep. This constant has a value of “WAITING”

__init__(**kwargs)

Initializes a new BuildStageRunStep object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this BuildStageRunStep.
  • state (str) – The value to assign to the state property of this BuildStageRunStep. Allowed values for this property are: “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_started (datetime) – The value to assign to the time_started property of this BuildStageRunStep.
  • time_finished (datetime) – The value to assign to the time_finished property of this BuildStageRunStep.
name

Gets the name of this BuildStageRunStep. Name of the step.

Returns:The name of this BuildStageRunStep.
Return type:str
state

Gets the state of this BuildStageRunStep. State of the step.

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

Returns:The state of this BuildStageRunStep.
Return type:str
time_finished

Gets the time_finished of this BuildStageRunStep. Time when the step finished.

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

Gets the time_started of this BuildStageRunStep. Time when the step started.

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