DeployStagePredecessor

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

Bases: object

Metadata for defining a stage’s predecessor.

Methods

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

Attributes

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

Initializes a new DeployStagePredecessor 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 DeployStagePredecessor.
id

[Required] Gets the id of this DeployStagePredecessor. 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 DeployStagePredecessor.
Return type:str