gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_pull_request_update_param.go (about)

     1  /*
     2   * 码云 Open API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 5.3.2
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package gitee
    11  
    12  // update pull request information
    13  type PullRequestUpdateParam struct {
    14  	// 用户授权码
    15  	AccessToken string `json:"access_token,omitempty"`
    16  	// 可选。Pull Request 标题
    17  	Title string `json:"title,omitempty"`
    18  	// 可选。Pull Request 内容
    19  	Body string `json:"body,omitempty"`
    20  	// 可选。Pull Request 状态
    21  	State string `json:"state,omitempty"`
    22  	// 可选。里程碑序号(id)
    23  	MilestoneNumber int32 `json:"milestone_number,omitempty"`
    24  	// 用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
    25  	Labels string `json:"labels,omitempty"`
    26  	// 最少审查人数
    27  	// change the int32 to *int32 manually, in order to pass 0
    28  	AssigneesNumber *int32 `json:"assignees_number,omitempty"`
    29  	// 最少测试人员
    30  	// change the int32 to *int32 manually, in order to pass 0
    31  	TestersNumber *int32 `json:"testers_number,omitempty"`
    32  }