MergeCheckCollection¶
-
class
oci.devops.models.
MergeCheckCollection
(**kwargs)¶ Bases:
object
list of merge checks.
Methods
__init__
(**kwargs)Initializes a new MergeCheckCollection object with values from keyword arguments. Attributes
items
Gets the items of this MergeCheckCollection. time_validated
Gets the time_validated of this MergeCheckCollection. -
__init__
(**kwargs)¶ Initializes a new MergeCheckCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - items (list[oci.devops.models.MergeCheck]) – The value to assign to the items property of this MergeCheckCollection.
- time_validated (datetime) – The value to assign to the time_validated property of this MergeCheckCollection.
-
items
¶ Gets the items of this MergeCheckCollection. List of pullRequest mergeCheck objects.
- Example: {“items”: [{ “type” : “CONFLICT(ENUM values)”,
- “status” : “FAILED(ENUM values)”},
- {“type”: “APPROVAL_RULE(ENUM VALUE)”,
- “ruleName”: “rule 1”, “status” : “NEEDS_APPROVAL(ENUM values)”, “totalApprovalCount”:”5”, “currentApprovalCount”:”1”, “reviewers”:[<Reviewer OCID>], “level”: “PROJECT/REPOSITORY(ENUM values)”},
- {“type”: “APPROVAL_RULE(ENUM VALUE)”,
- “ruleName”: “rule 2”,
“status” : “SUCCEEDED(ENUM values)”, “totalApprovalCount”:”5”, “currentApprovalCount”:”5”, “reviewers”:[<Reviewer OCID>], “level”: “PROJECT/REPOSITORY(ENUM values)”} , {“type”: “BUILD(ENUM VALUE)”,
“pipelineId”: “PipelineOCID”, “buildRunId”: “BuildRunOCID”, “status” : “SUCCEEDED/PENDING/FAIlED/IN-PROGRESS(ENUM values)”}
]}
Returns: The items of this MergeCheckCollection. Return type: list[oci.devops.models.MergeCheck]
-
time_validated
¶ Gets the time_validated of this MergeCheckCollection. The time Stamp of the validation check.
Returns: The time_validated of this MergeCheckCollection. Return type: datetime
-