Ai
1 Star 0 Fork 41

naibahq/go-gitee

forked from openEuler/go-gitee 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
model_pull_request_update_param.go 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
i-robot 提交于 2021-03-24 11:46 +08:00 . fix api's parameter for update pr and get pr
/*
* 码云 Open API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: 5.3.2
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gitee
// update pull request information
type PullRequestUpdateParam struct {
// 用户授权码
AccessToken string `json:"access_token,omitempty"`
// 可选。Pull Request 标题
Title string `json:"title,omitempty"`
// 可选。Pull Request 内容
Body string `json:"body,omitempty"`
// 可选。Pull Request 状态
State string `json:"state,omitempty"`
// 可选。里程碑序号(id)
MilestoneNumber int32 `json:"milestone_number,omitempty"`
// 用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
Labels string `json:"labels,omitempty"`
// 最少审查人数
// change the int32 to *int32 manually, in order to pass 0
AssigneesNumber *int32 `json:"assignees_number,omitempty"`
// 最少测试人员
// change the int32 to *int32 manually, in order to pass 0
TestersNumber *int32 `json:"testers_number,omitempty"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/naibahq/go-gitee.git
git@gitee.com:naibahq/go-gitee.git
naibahq
go-gitee
go-gitee
bc992e4c5b2c

搜索帮助