GenericArtifacts

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

Bases: oci.devops.models.stage_output.StageOutput

Details of artifact generated via pipeline run

Attributes

OUTPUT_TYPE_ARTIFACT str(object=’’) -> str
OUTPUT_TYPE_TEST_REPORT str(object=’’) -> str
location_details [Required] Gets the location_details of this GenericArtifacts.
name [Required] Gets the name of this GenericArtifacts.
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 GenericArtifacts 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 GenericArtifacts object with values from keyword arguments. The default value of the output_type attribute of this class is ARTIFACT 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 GenericArtifacts. Allowed values for this property are: “ARTIFACT”, “TEST_REPORT”
  • step_name (str) – The value to assign to the step_name property of this GenericArtifacts.
  • name (str) – The value to assign to the name property of this GenericArtifacts.
  • location_details (oci.devops.models.GenericArtifactLocationDetails) – The value to assign to the location_details property of this GenericArtifacts.
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.

location_details

[Required] Gets the location_details of this GenericArtifacts.

Returns:The location_details of this GenericArtifacts.
Return type:oci.devops.models.GenericArtifactLocationDetails
name

[Required] Gets the name of this GenericArtifacts. Name of artifact.

Returns:The name of this GenericArtifacts.
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