BuildMergeCheck

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

Bases: oci.devops.models.merge_check.MergeCheck

The status of the build pipelines.

Attributes

TYPE_APPROVAL_RULE str(object=’’) -> str
TYPE_BUILD str(object=’’) -> str
TYPE_CONFLICT str(object=’’) -> str
build_run_id Gets the build_run_id of this BuildMergeCheck.
build_status Gets the build_status of this BuildMergeCheck.
pipeline_id Gets the pipeline_id of this BuildMergeCheck.
type [Required] Gets the type of this MergeCheck.

Methods

__init__(**kwargs) Initializes a new BuildMergeCheck 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.
TYPE_APPROVAL_RULE = 'APPROVAL_RULE'
TYPE_BUILD = 'BUILD'
TYPE_CONFLICT = 'CONFLICT'
__init__(**kwargs)

Initializes a new BuildMergeCheck object with values from keyword arguments. The default value of the type attribute of this class is BUILD and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this BuildMergeCheck. Allowed values for this property are: “CONFLICT”, “APPROVAL_RULE”, “BUILD”
  • pipeline_id (str) – The value to assign to the pipeline_id property of this BuildMergeCheck.
  • build_run_id (str) – The value to assign to the build_run_id property of this BuildMergeCheck.
  • build_status (str) – The value to assign to the build_status property of this BuildMergeCheck.
build_run_id

Gets the build_run_id of this BuildMergeCheck. The build run OCID.

Returns:The build_run_id of this BuildMergeCheck.
Return type:str
build_status

Gets the build_status of this BuildMergeCheck. The status of the build.

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

pipeline_id

Gets the pipeline_id of this BuildMergeCheck. The pipeline OCID.

Returns:The pipeline_id of this BuildMergeCheck.
Return type:str
type

[Required] Gets the type of this MergeCheck. the type of this merge check.

Allowed values for this property are: “CONFLICT”, “APPROVAL_RULE”, “BUILD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this MergeCheck.
Return type:str