StageOutput

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

Bases: object

Details of the generated artifact or report.

Attributes

OUTPUT_TYPE_ARTIFACT A constant which can be used with the output_type property of a StageOutput.
OUTPUT_TYPE_TEST_REPORT A constant which can be used with the output_type property of a StageOutput.
output_type [Required] Gets the output_type of this StageOutput.
step_name [Required] Gets the step_name of this StageOutput.

Methods

__init__(**kwargs) Initializes a new StageOutput 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.
OUTPUT_TYPE_ARTIFACT = 'ARTIFACT'

A constant which can be used with the output_type property of a StageOutput. This constant has a value of “ARTIFACT”

OUTPUT_TYPE_TEST_REPORT = 'TEST_REPORT'

A constant which can be used with the output_type property of a StageOutput. This constant has a value of “TEST_REPORT”

__init__(**kwargs)

Initializes a new StageOutput 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:
  • output_type (str) – The value to assign to the output_type property of this StageOutput. Allowed values for this property are: “ARTIFACT”, “TEST_REPORT”
  • step_name (str) – The value to assign to the step_name property of this StageOutput.
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.

output_type

[Required] Gets the output_type of this StageOutput. Type of output generated.

Allowed values for this property are: “ARTIFACT”, “TEST_REPORT”

Returns:The output_type of this StageOutput.
Return type:str
step_name

[Required] Gets the step_name of this StageOutput. Name of stage step at which this output is generated.

Returns:The step_name of this StageOutput.
Return type:str