gitlab_push.go 811 B

1234567891011121314151617181920
  1. package model
  2. // HookPush def
  3. type HookPush struct {
  4. ObjectKind string `json:"object_kind"`
  5. Before string `json:"before"`
  6. After string `json:"after"`
  7. Ref string `json:"ref"`
  8. CheckoutSHA string `json:"checkout_sha"`
  9. UserID int64 `json:"user_id"`
  10. UserName string `json:"user_name"`
  11. UserUserName string `json:"user_username"`
  12. UserEmail string `json:"user_email"`
  13. UserAvatar string `json:"user_avatar"`
  14. ProjectID int64 `json:"project_id"`
  15. Project *Project `json:"project"`
  16. Repository *Repository `json:"repository"`
  17. Commits []*Commit `json:"commits"`
  18. TotalCommitsCount int64 `json:"total_commits_count"`
  19. }