TestReportOutput

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

Bases: oci.devops.models.stage_output.StageOutput

Details of test report generated via pipeline run

Attributes

OUTPUT_TYPE_ARTIFACT str(object=’’) -> str
OUTPUT_TYPE_TEST_REPORT str(object=’’) -> str
id [Required] Gets the id of this TestReportOutput.
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 TestReportOutput 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'
OUTPUT_TYPE_TEST_REPORT = 'TEST_REPORT'
__init__(**kwargs)

Initializes a new TestReportOutput object with values from keyword arguments. The default value of the output_type attribute of this class is TEST_REPORT and it should not be changed. 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 TestReportOutput. Allowed values for this property are: “ARTIFACT”, “TEST_REPORT”
  • step_name (str) – The value to assign to the step_name property of this TestReportOutput.
  • id (str) – The value to assign to the id property of this TestReportOutput.
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.

id

[Required] Gets the id of this TestReportOutput. The OCID of the test report.

Returns:The id of this TestReportOutput.
Return type:str
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