BuildPipelineStagePredecessor

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

Bases: object

Metadata for defining a stage’s predecessor.

Methods

__init__(**kwargs) Initializes a new BuildPipelineStagePredecessor object with values from keyword arguments.

Attributes

id [Required] Gets the id of this BuildPipelineStagePredecessor.
__init__(**kwargs)

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

Parameters:id (str) – The value to assign to the id property of this BuildPipelineStagePredecessor.
id

[Required] Gets the id of this BuildPipelineStagePredecessor. The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline’s OCID.

Returns:The id of this BuildPipelineStagePredecessor.
Return type:str