Merge pull request #13 from sanketjpatel/feat/merge

Add APIResponse type for Merge
This commit is contained in:
Sanket Patel
2018-06-05 16:18:21 -05:00
committed by GitHub

View File

@ -109,6 +109,13 @@ type MergeResult struct {
Current bool `json:"current"`
}
type MergeGetResponse struct {
CanMerge bool `json:"canMerge"`
Conflicted bool `json:"conflicted"`
Outcome string `json:"outcome"`
Vetoes []map[string]interface{} `json:"vetoes"`
}
type PullRequestRef struct {
ID string `json:"id"`
DisplayID string `json:"displayId"`