gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_hook.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 // 更新一个仓库WebHook 13 type Hook struct { 14 Id string `json:"id,omitempty"` 15 Url string `json:"url,omitempty"` 16 CreatedAt string `json:"created_at,omitempty"` 17 Password string `json:"password,omitempty"` 18 ProjectId string `json:"project_id,omitempty"` 19 Result string `json:"result,omitempty"` 20 ResultCode string `json:"result_code,omitempty"` 21 PushEvents string `json:"push_events,omitempty"` 22 TagPushEvents string `json:"tag_push_events,omitempty"` 23 IssuesEvents string `json:"issues_events,omitempty"` 24 NoteEvents string `json:"note_events,omitempty"` 25 MergeRequestsEvents string `json:"merge_requests_events,omitempty"` 26 }