-
Notifications
You must be signed in to change notification settings - Fork 6
/
model_branch.go
22 lines (21 loc) · 887 Bytes
/
model_branch.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Bitbucket API
*
* Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
*
* API version: 2.0
* Contact: support@bitbucket.org
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package bitbucket
type Branch struct {
Type_ string `json:"type"`
Links *interface{} `json:"links,omitempty"`
// The name of the ref.
Name string `json:"name,omitempty"`
Target *Commit `json:"target,omitempty"`
// Available merge strategies for pull requests targeting this branch.
MergeStrategies []string `json:"merge_strategies,omitempty"`
// The default merge strategy for pull requests targeting this branch.
DefaultMergeStrategy string `json:"default_merge_strategy,omitempty"`
}