mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-05-28 16:04:52 -05:00
Merge pull request #13 from sanketjpatel/feat/merge
Add APIResponse type for Merge
This commit is contained in:
commit
faaa8c1e63
@ -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"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user