gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_new_file_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  type NewFileParam struct {
    13  	// 用户授权码
    14  	AccessToken string `json:"access_token,omitempty"`
    15  	// 文件内容, 要用 base64 编码
    16  	Content string `json:"content,omitempty"`
    17  	// 提交信息
    18  	Message string `json:"message,omitempty"`
    19  	// 分支名称。默认为仓库对默认分支
    20  	Branch string `json:"branch,omitempty"`
    21  	// Committer的名字,默认为当前用户的名字
    22  	CommitterName string `json:"committer[name],omitempty"`
    23  	// Committer的邮箱,默认为当前用户的邮箱
    24  	CommitterEmail string `json:"committer[email],omitempty"`
    25  	// Author的名字,默认为当前用户的名字
    26  	AuthorName string `json:"author[name],omitempty"`
    27  	// Author的邮箱,默认为当前用户的邮箱
    28  	AuthorEmail string `json:"author[email],omitempty"`
    29  }