diff options
author | amine <hilalyamine@gmail.com> | 2019-10-24 20:45:02 +0200 |
---|---|---|
committer | amine <hilalyamine@gmail.com> | 2019-10-24 20:45:02 +0200 |
commit | a3a431edac978e20ab1887b902ee7240683f7d95 (patch) | |
tree | 79cc256c3e7cb2349174e77a33a6eb74c235b9f9 /vendor/github.com/xanzy/go-gitlab/event_types.go | |
parent | 683040dd7a26878a05902a98378c2ed0d5bf23ee (diff) | |
download | git-bug-a3a431edac978e20ab1887b902ee7240683f7d95.tar.gz |
vendors: upgrade github.com/xanzy/go-gitlab dependencies to 0.21.0
Diffstat (limited to 'vendor/github.com/xanzy/go-gitlab/event_types.go')
-rw-r--r-- | vendor/github.com/xanzy/go-gitlab/event_types.go | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/vendor/github.com/xanzy/go-gitlab/event_types.go b/vendor/github.com/xanzy/go-gitlab/event_types.go index dd1cc901..b4f48631 100644 --- a/vendor/github.com/xanzy/go-gitlab/event_types.go +++ b/vendor/github.com/xanzy/go-gitlab/event_types.go @@ -28,17 +28,18 @@ import ( // GitLab API docs: // https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#push-events type PushEvent struct { - ObjectKind string `json:"object_kind"` - Before string `json:"before"` - After string `json:"after"` - Ref string `json:"ref"` - CheckoutSHA string `json:"checkout_sha"` - UserID int `json:"user_id"` - UserName string `json:"user_name"` - UserEmail string `json:"user_email"` - UserAvatar string `json:"user_avatar"` - ProjectID int `json:"project_id"` - Project struct { + ObjectKind string `json:"object_kind"` + Before string `json:"before"` + After string `json:"after"` + Ref string `json:"ref"` + CheckoutSHA string `json:"checkout_sha"` + UserID int `json:"user_id"` + UserName string `json:"user_name"` + UserUsername string `json:"user_username"` + UserEmail string `json:"user_email"` + UserAvatar string `json:"user_avatar"` + ProjectID int `json:"project_id"` + Project struct { Name string `json:"name"` Description string `json:"description"` AvatarURL string `json:"avatar_url"` @@ -311,6 +312,7 @@ type MergeCommentEvent struct { } `json:"project"` ObjectAttributes struct { ID int `json:"id"` + DiscussionID string `json:"discussion_id"` Note string `json:"note"` NoteableType string `json:"noteable_type"` AuthorID int `json:"author_id"` @@ -375,6 +377,7 @@ type MergeCommentEvent struct { } `json:"last_commit"` WorkInProgress bool `json:"work_in_progress"` TotalTimeSpent int `json:"total_time_spent"` + HeadPipelineID int `json:"head_pipeline_id"` } `json:"merge_request"` } @@ -592,6 +595,10 @@ type MergeEvent struct { Previous int `json:"previous"` Current int `json:"current"` } `json:"updated_by_id"` + Title struct { + Previous string `json:"previous"` + Current string `json:"current"` + } `json:"title"` } `json:"changes"` } |