Merge pull request #51 from pieterlexis/add-assignees
GitHub Payloads: Add `Assignees` where needed
This commit is contained in:
+28
-26
@@ -2757,19 +2757,20 @@ type PullRequestPayload struct {
|
|||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
SiteAdmin bool `json:"site_admin"`
|
SiteAdmin bool `json:"site_admin"`
|
||||||
} `json:"user"`
|
} `json:"user"`
|
||||||
Body string `json:"body"`
|
Body string `json:"body"`
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
ClosedAt *time.Time `json:"closed_at"`
|
ClosedAt *time.Time `json:"closed_at"`
|
||||||
MergedAt *time.Time `json:"merged_at"`
|
MergedAt *time.Time `json:"merged_at"`
|
||||||
MergeCommitSha *string `json:"merge_commit_sha"`
|
MergeCommitSha *string `json:"merge_commit_sha"`
|
||||||
Assignee *Assignee `json:"assignee"`
|
Assignee *Assignee `json:"assignee"`
|
||||||
Milestone *Milestone `json:"milestone"`
|
Assignees []*Assignee `json:"assignees"`
|
||||||
CommitsURL string `json:"commits_url"`
|
Milestone *Milestone `json:"milestone"`
|
||||||
ReviewCommentsURL string `json:"review_comments_url"`
|
CommitsURL string `json:"commits_url"`
|
||||||
ReviewCommentURL string `json:"review_comment_url"`
|
ReviewCommentsURL string `json:"review_comments_url"`
|
||||||
CommentsURL string `json:"comments_url"`
|
ReviewCommentURL string `json:"review_comment_url"`
|
||||||
StatusesURL string `json:"statuses_url"`
|
CommentsURL string `json:"comments_url"`
|
||||||
|
StatusesURL string `json:"statuses_url"`
|
||||||
RequestedReviewers []struct {
|
RequestedReviewers []struct {
|
||||||
Login string `json:"login"`
|
Login string `json:"login"`
|
||||||
ID int `json:"id"`
|
ID int `json:"id"`
|
||||||
@@ -3694,19 +3695,20 @@ type PullRequestReviewCommentPayload struct {
|
|||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
SiteAdmin bool `json:"site_admin"`
|
SiteAdmin bool `json:"site_admin"`
|
||||||
} `json:"user"`
|
} `json:"user"`
|
||||||
Body string `json:"body"`
|
Body string `json:"body"`
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
ClosedAt *time.Time `json:"closed_at"`
|
ClosedAt *time.Time `json:"closed_at"`
|
||||||
MergedAt *time.Time `json:"merged_at"`
|
MergedAt *time.Time `json:"merged_at"`
|
||||||
MergeCommitSha string `json:"merge_commit_sha"`
|
MergeCommitSha string `json:"merge_commit_sha"`
|
||||||
Assignee *Assignee `json:"assignee"`
|
Assignee *Assignee `json:"assignee"`
|
||||||
Milestone *Milestone `json:"milestone"`
|
Assignees []*Assignee `json:"assignees"`
|
||||||
CommitsURL string `json:"commits_url"`
|
Milestone *Milestone `json:"milestone"`
|
||||||
ReviewCommentsURL string `json:"review_comments_url"`
|
CommitsURL string `json:"commits_url"`
|
||||||
ReviewCommentURL string `json:"review_comment_url"`
|
ReviewCommentsURL string `json:"review_comments_url"`
|
||||||
CommentsURL string `json:"comments_url"`
|
ReviewCommentURL string `json:"review_comment_url"`
|
||||||
StatusesURL string `json:"statuses_url"`
|
CommentsURL string `json:"comments_url"`
|
||||||
|
StatusesURL string `json:"statuses_url"`
|
||||||
Head struct {
|
Head struct {
|
||||||
Label string `json:"label"`
|
Label string `json:"label"`
|
||||||
Ref string `json:"ref"`
|
Ref string `json:"ref"`
|
||||||
|
|||||||
Reference in New Issue
Block a user