-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPullRequest.java
277 lines (230 loc) · 9.78 KB
/
PullRequest.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
package io.quicktype;
import java.util.Map;
import com.fasterxml.jackson.annotation.*;
public class PullRequest {
private String url;
private long id;
private String nodeID;
private String htmlURL;
private String diffURL;
private String patchURL;
private String issueURL;
private long number;
private String state;
private boolean locked;
private String title;
private Owner user;
private String body;
private String createdAt;
private String updatedAt;
private Object closedAt;
private Object mergedAt;
private String mergeCommitSHA;
private Object assignee;
private Object[] assignees;
private Object[] requestedReviewers;
private Object[] requestedTeams;
private Object[] labels;
private Object milestone;
private String commitsURL;
private String reviewCommentsURL;
private String reviewCommentURL;
private String commentsURL;
private String statusesURL;
private Base head;
private Base base;
private PullRequestLinks links;
private String authorAssociation;
private Boolean merged;
private Object mergeable;
private Object rebaseable;
private String mergeableState;
private Object mergedBy;
private Long comments;
private Long reviewComments;
private Boolean maintainerCanModify;
private Long commits;
private Long additions;
private Long deletions;
private Long changedFiles;
@JsonProperty("url")
public String getURL() { return url; }
@JsonProperty("url")
public void setURL(String value) { this.url = value; }
@JsonProperty("id")
public long getID() { return id; }
@JsonProperty("id")
public void setID(long value) { this.id = value; }
@JsonProperty("node_id")
public String getNodeID() { return nodeID; }
@JsonProperty("node_id")
public void setNodeID(String value) { this.nodeID = value; }
@JsonProperty("html_url")
public String getHTMLURL() { return htmlURL; }
@JsonProperty("html_url")
public void setHTMLURL(String value) { this.htmlURL = value; }
@JsonProperty("diff_url")
public String getDiffURL() { return diffURL; }
@JsonProperty("diff_url")
public void setDiffURL(String value) { this.diffURL = value; }
@JsonProperty("patch_url")
public String getPatchURL() { return patchURL; }
@JsonProperty("patch_url")
public void setPatchURL(String value) { this.patchURL = value; }
@JsonProperty("issue_url")
public String getIssueURL() { return issueURL; }
@JsonProperty("issue_url")
public void setIssueURL(String value) { this.issueURL = value; }
@JsonProperty("number")
public long getNumber() { return number; }
@JsonProperty("number")
public void setNumber(long value) { this.number = value; }
@JsonProperty("state")
public String getState() { return state; }
@JsonProperty("state")
public void setState(String value) { this.state = value; }
@JsonProperty("locked")
public boolean getLocked() { return locked; }
@JsonProperty("locked")
public void setLocked(boolean value) { this.locked = value; }
@JsonProperty("title")
public String getTitle() { return title; }
@JsonProperty("title")
public void setTitle(String value) { this.title = value; }
@JsonProperty("user")
public Owner getUser() { return user; }
@JsonProperty("user")
public void setUser(Owner value) { this.user = value; }
@JsonProperty("body")
public String getBody() { return body; }
@JsonProperty("body")
public void setBody(String value) { this.body = value; }
@JsonProperty("created_at")
public String getCreatedAt() { return createdAt; }
@JsonProperty("created_at")
public void setCreatedAt(String value) { this.createdAt = value; }
@JsonProperty("updated_at")
public String getUpdatedAt() { return updatedAt; }
@JsonProperty("updated_at")
public void setUpdatedAt(String value) { this.updatedAt = value; }
@JsonProperty("closed_at")
public Object getClosedAt() { return closedAt; }
@JsonProperty("closed_at")
public void setClosedAt(Object value) { this.closedAt = value; }
@JsonProperty("merged_at")
public Object getMergedAt() { return mergedAt; }
@JsonProperty("merged_at")
public void setMergedAt(Object value) { this.mergedAt = value; }
@JsonProperty("merge_commit_sha")
public String getMergeCommitSHA() { return mergeCommitSHA; }
@JsonProperty("merge_commit_sha")
public void setMergeCommitSHA(String value) { this.mergeCommitSHA = value; }
@JsonProperty("assignee")
public Object getAssignee() { return assignee; }
@JsonProperty("assignee")
public void setAssignee(Object value) { this.assignee = value; }
@JsonProperty("assignees")
public Object[] getAssignees() { return assignees; }
@JsonProperty("assignees")
public void setAssignees(Object[] value) { this.assignees = value; }
@JsonProperty("requested_reviewers")
public Object[] getRequestedReviewers() { return requestedReviewers; }
@JsonProperty("requested_reviewers")
public void setRequestedReviewers(Object[] value) { this.requestedReviewers = value; }
@JsonProperty("requested_teams")
public Object[] getRequestedTeams() { return requestedTeams; }
@JsonProperty("requested_teams")
public void setRequestedTeams(Object[] value) { this.requestedTeams = value; }
@JsonProperty("labels")
public Object[] getLabels() { return labels; }
@JsonProperty("labels")
public void setLabels(Object[] value) { this.labels = value; }
@JsonProperty("milestone")
public Object getMilestone() { return milestone; }
@JsonProperty("milestone")
public void setMilestone(Object value) { this.milestone = value; }
@JsonProperty("commits_url")
public String getCommitsURL() { return commitsURL; }
@JsonProperty("commits_url")
public void setCommitsURL(String value) { this.commitsURL = value; }
@JsonProperty("review_comments_url")
public String getReviewCommentsURL() { return reviewCommentsURL; }
@JsonProperty("review_comments_url")
public void setReviewCommentsURL(String value) { this.reviewCommentsURL = value; }
@JsonProperty("review_comment_url")
public String getReviewCommentURL() { return reviewCommentURL; }
@JsonProperty("review_comment_url")
public void setReviewCommentURL(String value) { this.reviewCommentURL = value; }
@JsonProperty("comments_url")
public String getCommentsURL() { return commentsURL; }
@JsonProperty("comments_url")
public void setCommentsURL(String value) { this.commentsURL = value; }
@JsonProperty("statuses_url")
public String getStatusesURL() { return statusesURL; }
@JsonProperty("statuses_url")
public void setStatusesURL(String value) { this.statusesURL = value; }
@JsonProperty("head")
public Base getHead() { return head; }
@JsonProperty("head")
public void setHead(Base value) { this.head = value; }
@JsonProperty("base")
public Base getBase() { return base; }
@JsonProperty("base")
public void setBase(Base value) { this.base = value; }
@JsonProperty("_links")
public PullRequestLinks getLinks() { return links; }
@JsonProperty("_links")
public void setLinks(PullRequestLinks value) { this.links = value; }
@JsonProperty("author_association")
public String getAuthorAssociation() { return authorAssociation; }
@JsonProperty("author_association")
public void setAuthorAssociation(String value) { this.authorAssociation = value; }
@JsonProperty("merged")
public Boolean getMerged() { return merged; }
@JsonProperty("merged")
public void setMerged(Boolean value) { this.merged = value; }
@JsonProperty("mergeable")
public Object getMergeable() { return mergeable; }
@JsonProperty("mergeable")
public void setMergeable(Object value) { this.mergeable = value; }
@JsonProperty("rebaseable")
public Object getRebaseable() { return rebaseable; }
@JsonProperty("rebaseable")
public void setRebaseable(Object value) { this.rebaseable = value; }
@JsonProperty("mergeable_state")
public String getMergeableState() { return mergeableState; }
@JsonProperty("mergeable_state")
public void setMergeableState(String value) { this.mergeableState = value; }
@JsonProperty("merged_by")
public Object getMergedBy() { return mergedBy; }
@JsonProperty("merged_by")
public void setMergedBy(Object value) { this.mergedBy = value; }
@JsonProperty("comments")
public Long getComments() { return comments; }
@JsonProperty("comments")
public void setComments(Long value) { this.comments = value; }
@JsonProperty("review_comments")
public Long getReviewComments() { return reviewComments; }
@JsonProperty("review_comments")
public void setReviewComments(Long value) { this.reviewComments = value; }
@JsonProperty("maintainer_can_modify")
public Boolean getMaintainerCanModify() { return maintainerCanModify; }
@JsonProperty("maintainer_can_modify")
public void setMaintainerCanModify(Boolean value) { this.maintainerCanModify = value; }
@JsonProperty("commits")
public Long getCommits() { return commits; }
@JsonProperty("commits")
public void setCommits(Long value) { this.commits = value; }
@JsonProperty("additions")
public Long getAdditions() { return additions; }
@JsonProperty("additions")
public void setAdditions(Long value) { this.additions = value; }
@JsonProperty("deletions")
public Long getDeletions() { return deletions; }
@JsonProperty("deletions")
public void setDeletions(Long value) { this.deletions = value; }
@JsonProperty("changed_files")
public Long getChangedFiles() { return changedFiles; }
@JsonProperty("changed_files")
public void setChangedFiles(Long value) { this.changedFiles = value; }
}