public static class MergeCheckCollection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MergeCheckCollection |
build() |
MergeCheckCollection.Builder |
copy(MergeCheckCollection model) |
MergeCheckCollection.Builder |
items(List<MergeCheck> items)
List of pullRequest mergeCheck objects.
|
MergeCheckCollection.Builder |
timeValidated(Date timeValidated)
The time Stamp of the validation check.
|
public MergeCheckCollection.Builder items(List<MergeCheck> items)
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”:[
items
- the value to setpublic MergeCheckCollection.Builder timeValidated(Date timeValidated)
The time Stamp of the validation check.
timeValidated
- the value to setpublic MergeCheckCollection build()
public MergeCheckCollection.Builder copy(MergeCheckCollection model)
Copyright © 2016–2024. All rights reserved.