gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_commit.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 import ( 13 "time" 14 ) 15 16 type Commit struct { 17 Id string `json:"id,omitempty"` 18 TreeId string `json:"tree_id,omitempty"` 19 ParentIds []string `json:"parent_ids,omitempty"` 20 Message string `json:"message,omitempty"` 21 Timestamp time.Time `json:"timestamp,omitempty"` 22 Url string `json:"url,omitempty"` 23 Author *UserBasic `json:"author,omitempty"` 24 Committer *UserBasic `json:"committer,omitempty"` 25 Distinct bool `json:"distinct,omitempty"` 26 Added []string `json:"added,omitempty"` 27 Removed []string `json:"removed,omitempty"` 28 Modified []string `json:"modified,omitempty"` 29 }