gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_event.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 // 列出仓库的所有公开动态 13 type Event struct { 14 Id int32 `json:"id,omitempty"` 15 Type_ string `json:"type,omitempty"` 16 Actor string `json:"actor,omitempty"` 17 Repo string `json:"repo,omitempty"` 18 Org string `json:"org,omitempty"` 19 Public string `json:"public,omitempty"` 20 CreatedAt string `json:"created_at,omitempty"` 21 // 不同类型动态的内容 22 Payload *interface{} `json:"payload,omitempty"` 23 }