@@ -147,7 +147,7 @@ type PullRequestCommentAddedPayload struct {
147147 Actor User `json:"actor"`
148148 PullRequest PullRequest `json:"pullRequest"`
149149 Comment Comment `json:"comment"`
150- CommentParentId uint64 `json:"commentParentId,omitempty"`
150+ CommentParentID uint64 `json:"commentParentId,omitempty"`
151151}
152152
153153type PullRequestCommentEditedPayload struct {
@@ -156,7 +156,7 @@ type PullRequestCommentEditedPayload struct {
156156 Actor User `json:"actor"`
157157 PullRequest PullRequest `json:"pullRequest"`
158158 Comment Comment `json:"comment"`
159- CommentParentId string `json:"commentParentId,omitempty"`
159+ CommentParentID string `json:"commentParentId,omitempty"`
160160 PreviousComment string `json:"previousComment"`
161161}
162162
@@ -166,7 +166,7 @@ type PullRequestCommentDeletedPayload struct {
166166 Actor User `json:"actor"`
167167 PullRequest PullRequest `json:"pullRequest"`
168168 Comment Comment `json:"comment"`
169- CommentParentId uint64 `json:"commentParentId,omitempty"`
169+ CommentParentID uint64 `json:"commentParentId,omitempty"`
170170}
171171
172172// -----------------------
@@ -186,7 +186,7 @@ type Repository struct {
186186 ID uint64 `json:"id"`
187187 Slug string `json:"slug"`
188188 Name string `json:"name"`
189- ScmId string `json:"scmId"`
189+ ScmID string `json:"scmId"`
190190 State string `json:"state"`
191191 StatusMessage string `json:"statusMessage"`
192192 Forkable bool `json:"forkable"`
@@ -229,15 +229,15 @@ type PullRequest struct {
229229
230230type RepositoryChange struct {
231231 Reference RepositoryReference `json:"ref"`
232- ReferenceId string `json:"refId"`
232+ ReferenceID string `json:"refId"`
233233 FromHash string `json:"fromHash"`
234234 ToHash string `json:"toHash"`
235235 Type string `json:"type"`
236236}
237237
238238type RepositoryReference struct {
239239 ID string `json:"id"`
240- DisplayId string `json:"displayId"`
240+ DisplayID string `json:"displayId"`
241241 Type string `json:"type,omitempty"`
242242 LatestCommit string `json:"latestCommit,omitempty"`
243243 Repository Repository `json:"repository,omitempty"`
0 commit comments