This repository has been archived on 2020-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
gitea-sdk/model_branch.go
jolheiser fc382e2e9d
Initial generation
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-01-10 20:43:26 -06:00

23 lines
814 B
Go

/*
* Gitea API.
*
* This documentation describes the Gitea API.
*
* API version: 1.1.1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gitea
// Branch represents a repository branch
type Branch struct {
Commit *PayloadCommit `json:"commit,omitempty"`
EnableStatusCheck bool `json:"enable_status_check,omitempty"`
Name string `json:"name,omitempty"`
Protected bool `json:"protected,omitempty"`
RequiredApprovals int64 `json:"required_approvals,omitempty"`
StatusCheckContexts []string `json:"status_check_contexts,omitempty"`
UserCanMerge bool `json:"user_can_merge,omitempty"`
UserCanPush bool `json:"user_can_push,omitempty"`
}