@@ -147,7 +147,7 @@ type PullRequestCommentAddedPayload struct {
147
147
Actor User `json:"actor"`
148
148
PullRequest PullRequest `json:"pullRequest"`
149
149
Comment Comment `json:"comment"`
150
- CommentParentId uint64 `json:"commentParentId,omitempty"`
150
+ CommentParentID uint64 `json:"commentParentId,omitempty"`
151
151
}
152
152
153
153
type PullRequestCommentEditedPayload struct {
@@ -156,7 +156,7 @@ type PullRequestCommentEditedPayload struct {
156
156
Actor User `json:"actor"`
157
157
PullRequest PullRequest `json:"pullRequest"`
158
158
Comment Comment `json:"comment"`
159
- CommentParentId string `json:"commentParentId,omitempty"`
159
+ CommentParentID string `json:"commentParentId,omitempty"`
160
160
PreviousComment string `json:"previousComment"`
161
161
}
162
162
@@ -166,7 +166,7 @@ type PullRequestCommentDeletedPayload struct {
166
166
Actor User `json:"actor"`
167
167
PullRequest PullRequest `json:"pullRequest"`
168
168
Comment Comment `json:"comment"`
169
- CommentParentId uint64 `json:"commentParentId,omitempty"`
169
+ CommentParentID uint64 `json:"commentParentId,omitempty"`
170
170
}
171
171
172
172
// -----------------------
@@ -186,7 +186,7 @@ type Repository struct {
186
186
ID uint64 `json:"id"`
187
187
Slug string `json:"slug"`
188
188
Name string `json:"name"`
189
- ScmId string `json:"scmId"`
189
+ ScmID string `json:"scmId"`
190
190
State string `json:"state"`
191
191
StatusMessage string `json:"statusMessage"`
192
192
Forkable bool `json:"forkable"`
@@ -229,15 +229,15 @@ type PullRequest struct {
229
229
230
230
type RepositoryChange struct {
231
231
Reference RepositoryReference `json:"ref"`
232
- ReferenceId string `json:"refId"`
232
+ ReferenceID string `json:"refId"`
233
233
FromHash string `json:"fromHash"`
234
234
ToHash string `json:"toHash"`
235
235
Type string `json:"type"`
236
236
}
237
237
238
238
type RepositoryReference struct {
239
239
ID string `json:"id"`
240
- DisplayId string `json:"displayId"`
240
+ DisplayID string `json:"displayId"`
241
241
Type string `json:"type,omitempty"`
242
242
LatestCommit string `json:"latestCommit,omitempty"`
243
243
Repository Repository `json:"repository,omitempty"`
0 commit comments