mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-04-19 06:58:06 -05:00
Add APIResponse type for Merge
This commit is contained in:
parent
01572b5eb7
commit
3cd3a0fa0c
@ -109,6 +109,13 @@ type MergeResult struct {
|
|||||||
Current bool `json:"current"`
|
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 {
|
type PullRequestRef struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
DisplayID string `json:"displayId"`
|
DisplayID string `json:"displayId"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user