You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
811 B
20 lines
811 B
package model |
|
|
|
// HookPush def |
|
type HookPush struct { |
|
ObjectKind string `json:"object_kind"` |
|
Before string `json:"before"` |
|
After string `json:"after"` |
|
Ref string `json:"ref"` |
|
CheckoutSHA string `json:"checkout_sha"` |
|
UserID int64 `json:"user_id"` |
|
UserName string `json:"user_name"` |
|
UserUserName string `json:"user_username"` |
|
UserEmail string `json:"user_email"` |
|
UserAvatar string `json:"user_avatar"` |
|
ProjectID int64 `json:"project_id"` |
|
Project *Project `json:"project"` |
|
Repository *Repository `json:"repository"` |
|
Commits []*Commit `json:"commits"` |
|
TotalCommitsCount int64 `json:"total_commits_count"` |
|
}
|
|
|