gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_repo_patch_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 // repo patch parameter 13 type RepoPatchParam struct { 14 // 用户授权码 15 AccessToken string `json:"access_token,omitempty"` 16 // 仓库名称 17 Name string `json:"name,omitempty"` 18 // 仓库描述 19 Description string `json:"description,omitempty"` 20 // 主页(eg: https://gitee.com) 21 Homepage string `json:"homepage,omitempty"` 22 // 允许提Issue与否。默认: 允许(true) 23 HasIssues string `json:"has_issues,omitempty"` 24 // 提供Wiki与否。默认: 提供(true) 25 HasWiki string `json:"has_wiki,omitempty"` 26 // 允许用户对仓库进行评论 27 CanComment string `json:"can_comment,omitempty"` 28 // 仓库公开或私有。 29 Private string `json:"private,omitempty"` 30 // 更新仓库路径 31 Path string `json:"path,omitempty"` 32 // 更新默认分支 33 DefaultBranch string `json:"default_branch,omitempty"` 34 }