gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_pull_request_file_path.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  // 单个文件的patch信息
    13  type PullRequestFilePath struct {
    14  	Diff        string `json:"diff,omitempty"`
    15  	NewPath     string `json:"new_path,omitempty"`
    16  	OldPath     string `json:"old_path,omitempty"`
    17  	AMode       string `json:"a_mode,omitempty"`
    18  	BMode       string `json:"b_mode,omitempty"`
    19  	NewFile     bool   `json:"new_file,omitempty"`
    20  	RenamedFile bool   `json:"renamed_file,omitempty"`
    21  	DeletedFile bool   `json:"deleted_file,omitempty"`
    22  	TooLarge    bool   `json:"too_large,omitempty"`
    23  }