-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChildData.java
More file actions
559 lines (465 loc) · 21.4 KB
/
ChildData.java
File metadata and controls
559 lines (465 loc) · 21.4 KB
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
package io.quicktype;
import java.util.Map;
import com.fasterxml.jackson.annotation.*;
public class ChildData {
private Object approvedAtUTC;
private String subreddit;
private String selftext;
private Object[] userReports;
private boolean saved;
private Object modReasonTitle;
private long gilded;
private boolean clicked;
private String title;
private LinkFlairRichtext[] linkFlairRichtext;
private String subredditNamePrefixed;
private boolean hidden;
private long pwls;
private String linkFlairCSSClass;
private long downs;
private Long thumbnailHeight;
private WhitelistStatus parentWhitelistStatus;
private boolean hideScore;
private String name;
private boolean quarantine;
private LinkFlairTextColor linkFlairTextColor;
private String authorFlairBackgroundColor;
private SubredditType subredditType;
private long ups;
private String domain;
private MediaEmbed mediaEmbed;
private Long thumbnailWidth;
private Object authorFlairTemplateID;
private boolean isOriginalContent;
private Object secureMedia;
private boolean isRedditMediaDomain;
private boolean isMeta;
private Object category;
private MediaEmbed secureMediaEmbed;
private String linkFlairText;
private boolean canModPost;
private long score;
private Object approvedBy;
private String thumbnail;
private Edited edited;
private String authorFlairCSSClass;
private AuthorFlairRichtext[] authorFlairRichtext;
private PostHint postHint;
private String[] contentCategories;
private boolean isSelf;
private Object modNote;
private double created;
private FlairType linkFlairType;
private long wls;
private Object bannedBy;
private FlairType authorFlairType;
private boolean contestMode;
private String selftextHTML;
private Object likes;
private String suggestedSort;
private Object bannedAtUTC;
private Object viewCount;
private boolean archived;
private boolean noFollow;
private boolean isCrosspostable;
private boolean pinned;
private boolean over18;
private Preview preview;
private boolean mediaOnly;
private String linkFlairTemplateID;
private boolean canGild;
private boolean spoiler;
private boolean locked;
private String authorFlairText;
private boolean visited;
private Object numReports;
private Object distinguished;
private String subredditID;
private Object modReasonBy;
private Object removalReason;
private LinkFlairBackgroundColor linkFlairBackgroundColor;
private String id;
private Object reportReasons;
private String author;
private long numCrossposts;
private long numComments;
private boolean sendReplies;
private Object[] modReports;
private String authorFlairTextColor;
private String permalink;
private WhitelistStatus whitelistStatus;
private boolean stickied;
private String url;
private long subredditSubscribers;
private double createdUTC;
private Object media;
private boolean isVideo;
@JsonProperty("approved_at_utc")
public Object getApprovedAtUTC() { return approvedAtUTC; }
@JsonProperty("approved_at_utc")
public void setApprovedAtUTC(Object value) { this.approvedAtUTC = value; }
@JsonProperty("subreddit")
public String getSubreddit() { return subreddit; }
@JsonProperty("subreddit")
public void setSubreddit(String value) { this.subreddit = value; }
@JsonProperty("selftext")
public String getSelftext() { return selftext; }
@JsonProperty("selftext")
public void setSelftext(String value) { this.selftext = value; }
@JsonProperty("user_reports")
public Object[] getUserReports() { return userReports; }
@JsonProperty("user_reports")
public void setUserReports(Object[] value) { this.userReports = value; }
@JsonProperty("saved")
public boolean getSaved() { return saved; }
@JsonProperty("saved")
public void setSaved(boolean value) { this.saved = value; }
@JsonProperty("mod_reason_title")
public Object getModReasonTitle() { return modReasonTitle; }
@JsonProperty("mod_reason_title")
public void setModReasonTitle(Object value) { this.modReasonTitle = value; }
@JsonProperty("gilded")
public long getGilded() { return gilded; }
@JsonProperty("gilded")
public void setGilded(long value) { this.gilded = value; }
@JsonProperty("clicked")
public boolean getClicked() { return clicked; }
@JsonProperty("clicked")
public void setClicked(boolean value) { this.clicked = value; }
@JsonProperty("title")
public String getTitle() { return title; }
@JsonProperty("title")
public void setTitle(String value) { this.title = value; }
@JsonProperty("link_flair_richtext")
public LinkFlairRichtext[] getLinkFlairRichtext() { return linkFlairRichtext; }
@JsonProperty("link_flair_richtext")
public void setLinkFlairRichtext(LinkFlairRichtext[] value) { this.linkFlairRichtext = value; }
@JsonProperty("subreddit_name_prefixed")
public String getSubredditNamePrefixed() { return subredditNamePrefixed; }
@JsonProperty("subreddit_name_prefixed")
public void setSubredditNamePrefixed(String value) { this.subredditNamePrefixed = value; }
@JsonProperty("hidden")
public boolean getHidden() { return hidden; }
@JsonProperty("hidden")
public void setHidden(boolean value) { this.hidden = value; }
@JsonProperty("pwls")
public long getPwls() { return pwls; }
@JsonProperty("pwls")
public void setPwls(long value) { this.pwls = value; }
@JsonProperty("link_flair_css_class")
public String getLinkFlairCSSClass() { return linkFlairCSSClass; }
@JsonProperty("link_flair_css_class")
public void setLinkFlairCSSClass(String value) { this.linkFlairCSSClass = value; }
@JsonProperty("downs")
public long getDowns() { return downs; }
@JsonProperty("downs")
public void setDowns(long value) { this.downs = value; }
@JsonProperty("thumbnail_height")
public Long getThumbnailHeight() { return thumbnailHeight; }
@JsonProperty("thumbnail_height")
public void setThumbnailHeight(Long value) { this.thumbnailHeight = value; }
@JsonProperty("parent_whitelist_status")
public WhitelistStatus getParentWhitelistStatus() { return parentWhitelistStatus; }
@JsonProperty("parent_whitelist_status")
public void setParentWhitelistStatus(WhitelistStatus value) { this.parentWhitelistStatus = value; }
@JsonProperty("hide_score")
public boolean getHideScore() { return hideScore; }
@JsonProperty("hide_score")
public void setHideScore(boolean value) { this.hideScore = value; }
@JsonProperty("name")
public String getName() { return name; }
@JsonProperty("name")
public void setName(String value) { this.name = value; }
@JsonProperty("quarantine")
public boolean getQuarantine() { return quarantine; }
@JsonProperty("quarantine")
public void setQuarantine(boolean value) { this.quarantine = value; }
@JsonProperty("link_flair_text_color")
public LinkFlairTextColor getLinkFlairTextColor() { return linkFlairTextColor; }
@JsonProperty("link_flair_text_color")
public void setLinkFlairTextColor(LinkFlairTextColor value) { this.linkFlairTextColor = value; }
@JsonProperty("author_flair_background_color")
public String getAuthorFlairBackgroundColor() { return authorFlairBackgroundColor; }
@JsonProperty("author_flair_background_color")
public void setAuthorFlairBackgroundColor(String value) { this.authorFlairBackgroundColor = value; }
@JsonProperty("subreddit_type")
public SubredditType getSubredditType() { return subredditType; }
@JsonProperty("subreddit_type")
public void setSubredditType(SubredditType value) { this.subredditType = value; }
@JsonProperty("ups")
public long getUPS() { return ups; }
@JsonProperty("ups")
public void setUPS(long value) { this.ups = value; }
@JsonProperty("domain")
public String getDomain() { return domain; }
@JsonProperty("domain")
public void setDomain(String value) { this.domain = value; }
@JsonProperty("media_embed")
public MediaEmbed getMediaEmbed() { return mediaEmbed; }
@JsonProperty("media_embed")
public void setMediaEmbed(MediaEmbed value) { this.mediaEmbed = value; }
@JsonProperty("thumbnail_width")
public Long getThumbnailWidth() { return thumbnailWidth; }
@JsonProperty("thumbnail_width")
public void setThumbnailWidth(Long value) { this.thumbnailWidth = value; }
@JsonProperty("author_flair_template_id")
public Object getAuthorFlairTemplateID() { return authorFlairTemplateID; }
@JsonProperty("author_flair_template_id")
public void setAuthorFlairTemplateID(Object value) { this.authorFlairTemplateID = value; }
@JsonProperty("is_original_content")
public boolean getIsOriginalContent() { return isOriginalContent; }
@JsonProperty("is_original_content")
public void setIsOriginalContent(boolean value) { this.isOriginalContent = value; }
@JsonProperty("secure_media")
public Object getSecureMedia() { return secureMedia; }
@JsonProperty("secure_media")
public void setSecureMedia(Object value) { this.secureMedia = value; }
@JsonProperty("is_reddit_media_domain")
public boolean getIsRedditMediaDomain() { return isRedditMediaDomain; }
@JsonProperty("is_reddit_media_domain")
public void setIsRedditMediaDomain(boolean value) { this.isRedditMediaDomain = value; }
@JsonProperty("is_meta")
public boolean getIsMeta() { return isMeta; }
@JsonProperty("is_meta")
public void setIsMeta(boolean value) { this.isMeta = value; }
@JsonProperty("category")
public Object getCategory() { return category; }
@JsonProperty("category")
public void setCategory(Object value) { this.category = value; }
@JsonProperty("secure_media_embed")
public MediaEmbed getSecureMediaEmbed() { return secureMediaEmbed; }
@JsonProperty("secure_media_embed")
public void setSecureMediaEmbed(MediaEmbed value) { this.secureMediaEmbed = value; }
@JsonProperty("link_flair_text")
public String getLinkFlairText() { return linkFlairText; }
@JsonProperty("link_flair_text")
public void setLinkFlairText(String value) { this.linkFlairText = value; }
@JsonProperty("can_mod_post")
public boolean getCanModPost() { return canModPost; }
@JsonProperty("can_mod_post")
public void setCanModPost(boolean value) { this.canModPost = value; }
@JsonProperty("score")
public long getScore() { return score; }
@JsonProperty("score")
public void setScore(long value) { this.score = value; }
@JsonProperty("approved_by")
public Object getApprovedBy() { return approvedBy; }
@JsonProperty("approved_by")
public void setApprovedBy(Object value) { this.approvedBy = value; }
@JsonProperty("thumbnail")
public String getThumbnail() { return thumbnail; }
@JsonProperty("thumbnail")
public void setThumbnail(String value) { this.thumbnail = value; }
@JsonProperty("edited")
public Edited getEdited() { return edited; }
@JsonProperty("edited")
public void setEdited(Edited value) { this.edited = value; }
@JsonProperty("author_flair_css_class")
public String getAuthorFlairCSSClass() { return authorFlairCSSClass; }
@JsonProperty("author_flair_css_class")
public void setAuthorFlairCSSClass(String value) { this.authorFlairCSSClass = value; }
@JsonProperty("author_flair_richtext")
public AuthorFlairRichtext[] getAuthorFlairRichtext() { return authorFlairRichtext; }
@JsonProperty("author_flair_richtext")
public void setAuthorFlairRichtext(AuthorFlairRichtext[] value) { this.authorFlairRichtext = value; }
@JsonProperty("post_hint")
public PostHint getPostHint() { return postHint; }
@JsonProperty("post_hint")
public void setPostHint(PostHint value) { this.postHint = value; }
@JsonProperty("content_categories")
public String[] getContentCategories() { return contentCategories; }
@JsonProperty("content_categories")
public void setContentCategories(String[] value) { this.contentCategories = value; }
@JsonProperty("is_self")
public boolean getIsSelf() { return isSelf; }
@JsonProperty("is_self")
public void setIsSelf(boolean value) { this.isSelf = value; }
@JsonProperty("mod_note")
public Object getModNote() { return modNote; }
@JsonProperty("mod_note")
public void setModNote(Object value) { this.modNote = value; }
@JsonProperty("created")
public double getCreated() { return created; }
@JsonProperty("created")
public void setCreated(double value) { this.created = value; }
@JsonProperty("link_flair_type")
public FlairType getLinkFlairType() { return linkFlairType; }
@JsonProperty("link_flair_type")
public void setLinkFlairType(FlairType value) { this.linkFlairType = value; }
@JsonProperty("wls")
public long getWls() { return wls; }
@JsonProperty("wls")
public void setWls(long value) { this.wls = value; }
@JsonProperty("banned_by")
public Object getBannedBy() { return bannedBy; }
@JsonProperty("banned_by")
public void setBannedBy(Object value) { this.bannedBy = value; }
@JsonProperty("author_flair_type")
public FlairType getAuthorFlairType() { return authorFlairType; }
@JsonProperty("author_flair_type")
public void setAuthorFlairType(FlairType value) { this.authorFlairType = value; }
@JsonProperty("contest_mode")
public boolean getContestMode() { return contestMode; }
@JsonProperty("contest_mode")
public void setContestMode(boolean value) { this.contestMode = value; }
@JsonProperty("selftext_html")
public String getSelftextHTML() { return selftextHTML; }
@JsonProperty("selftext_html")
public void setSelftextHTML(String value) { this.selftextHTML = value; }
@JsonProperty("likes")
public Object getLikes() { return likes; }
@JsonProperty("likes")
public void setLikes(Object value) { this.likes = value; }
@JsonProperty("suggested_sort")
public String getSuggestedSort() { return suggestedSort; }
@JsonProperty("suggested_sort")
public void setSuggestedSort(String value) { this.suggestedSort = value; }
@JsonProperty("banned_at_utc")
public Object getBannedAtUTC() { return bannedAtUTC; }
@JsonProperty("banned_at_utc")
public void setBannedAtUTC(Object value) { this.bannedAtUTC = value; }
@JsonProperty("view_count")
public Object getViewCount() { return viewCount; }
@JsonProperty("view_count")
public void setViewCount(Object value) { this.viewCount = value; }
@JsonProperty("archived")
public boolean getArchived() { return archived; }
@JsonProperty("archived")
public void setArchived(boolean value) { this.archived = value; }
@JsonProperty("no_follow")
public boolean getNoFollow() { return noFollow; }
@JsonProperty("no_follow")
public void setNoFollow(boolean value) { this.noFollow = value; }
@JsonProperty("is_crosspostable")
public boolean getIsCrosspostable() { return isCrosspostable; }
@JsonProperty("is_crosspostable")
public void setIsCrosspostable(boolean value) { this.isCrosspostable = value; }
@JsonProperty("pinned")
public boolean getPinned() { return pinned; }
@JsonProperty("pinned")
public void setPinned(boolean value) { this.pinned = value; }
@JsonProperty("over_18")
public boolean getOver18() { return over18; }
@JsonProperty("over_18")
public void setOver18(boolean value) { this.over18 = value; }
@JsonProperty("preview")
public Preview getPreview() { return preview; }
@JsonProperty("preview")
public void setPreview(Preview value) { this.preview = value; }
@JsonProperty("media_only")
public boolean getMediaOnly() { return mediaOnly; }
@JsonProperty("media_only")
public void setMediaOnly(boolean value) { this.mediaOnly = value; }
@JsonProperty("link_flair_template_id")
public String getLinkFlairTemplateID() { return linkFlairTemplateID; }
@JsonProperty("link_flair_template_id")
public void setLinkFlairTemplateID(String value) { this.linkFlairTemplateID = value; }
@JsonProperty("can_gild")
public boolean getCanGild() { return canGild; }
@JsonProperty("can_gild")
public void setCanGild(boolean value) { this.canGild = value; }
@JsonProperty("spoiler")
public boolean getSpoiler() { return spoiler; }
@JsonProperty("spoiler")
public void setSpoiler(boolean value) { this.spoiler = value; }
@JsonProperty("locked")
public boolean getLocked() { return locked; }
@JsonProperty("locked")
public void setLocked(boolean value) { this.locked = value; }
@JsonProperty("author_flair_text")
public String getAuthorFlairText() { return authorFlairText; }
@JsonProperty("author_flair_text")
public void setAuthorFlairText(String value) { this.authorFlairText = value; }
@JsonProperty("visited")
public boolean getVisited() { return visited; }
@JsonProperty("visited")
public void setVisited(boolean value) { this.visited = value; }
@JsonProperty("num_reports")
public Object getNumReports() { return numReports; }
@JsonProperty("num_reports")
public void setNumReports(Object value) { this.numReports = value; }
@JsonProperty("distinguished")
public Object getDistinguished() { return distinguished; }
@JsonProperty("distinguished")
public void setDistinguished(Object value) { this.distinguished = value; }
@JsonProperty("subreddit_id")
public String getSubredditID() { return subredditID; }
@JsonProperty("subreddit_id")
public void setSubredditID(String value) { this.subredditID = value; }
@JsonProperty("mod_reason_by")
public Object getModReasonBy() { return modReasonBy; }
@JsonProperty("mod_reason_by")
public void setModReasonBy(Object value) { this.modReasonBy = value; }
@JsonProperty("removal_reason")
public Object getRemovalReason() { return removalReason; }
@JsonProperty("removal_reason")
public void setRemovalReason(Object value) { this.removalReason = value; }
@JsonProperty("link_flair_background_color")
public LinkFlairBackgroundColor getLinkFlairBackgroundColor() { return linkFlairBackgroundColor; }
@JsonProperty("link_flair_background_color")
public void setLinkFlairBackgroundColor(LinkFlairBackgroundColor value) { this.linkFlairBackgroundColor = value; }
@JsonProperty("id")
public String getID() { return id; }
@JsonProperty("id")
public void setID(String value) { this.id = value; }
@JsonProperty("report_reasons")
public Object getReportReasons() { return reportReasons; }
@JsonProperty("report_reasons")
public void setReportReasons(Object value) { this.reportReasons = value; }
@JsonProperty("author")
public String getAuthor() { return author; }
@JsonProperty("author")
public void setAuthor(String value) { this.author = value; }
@JsonProperty("num_crossposts")
public long getNumCrossposts() { return numCrossposts; }
@JsonProperty("num_crossposts")
public void setNumCrossposts(long value) { this.numCrossposts = value; }
@JsonProperty("num_comments")
public long getNumComments() { return numComments; }
@JsonProperty("num_comments")
public void setNumComments(long value) { this.numComments = value; }
@JsonProperty("send_replies")
public boolean getSendReplies() { return sendReplies; }
@JsonProperty("send_replies")
public void setSendReplies(boolean value) { this.sendReplies = value; }
@JsonProperty("mod_reports")
public Object[] getModReports() { return modReports; }
@JsonProperty("mod_reports")
public void setModReports(Object[] value) { this.modReports = value; }
@JsonProperty("author_flair_text_color")
public String getAuthorFlairTextColor() { return authorFlairTextColor; }
@JsonProperty("author_flair_text_color")
public void setAuthorFlairTextColor(String value) { this.authorFlairTextColor = value; }
@JsonProperty("permalink")
public String getPermalink() { return permalink; }
@JsonProperty("permalink")
public void setPermalink(String value) { this.permalink = value; }
@JsonProperty("whitelist_status")
public WhitelistStatus getWhitelistStatus() { return whitelistStatus; }
@JsonProperty("whitelist_status")
public void setWhitelistStatus(WhitelistStatus value) { this.whitelistStatus = value; }
@JsonProperty("stickied")
public boolean getStickied() { return stickied; }
@JsonProperty("stickied")
public void setStickied(boolean value) { this.stickied = value; }
@JsonProperty("url")
public String getURL() { return url; }
@JsonProperty("url")
public void setURL(String value) { this.url = value; }
@JsonProperty("subreddit_subscribers")
public long getSubredditSubscribers() { return subredditSubscribers; }
@JsonProperty("subreddit_subscribers")
public void setSubredditSubscribers(long value) { this.subredditSubscribers = value; }
@JsonProperty("created_utc")
public double getCreatedUTC() { return createdUTC; }
@JsonProperty("created_utc")
public void setCreatedUTC(double value) { this.createdUTC = value; }
@JsonProperty("media")
public Object getMedia() { return media; }
@JsonProperty("media")
public void setMedia(Object value) { this.media = value; }
@JsonProperty("is_video")
public boolean getIsVideo() { return isVideo; }
@JsonProperty("is_video")
public void setIsVideo(boolean value) { this.isVideo = value; }
}