1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package tv.plex.domain;
23
24 import java.util.ArrayList;
25 import java.util.Collection;
26
27 import javax.xml.bind.annotation.XmlAttribute;
28 import javax.xml.bind.annotation.XmlElement;
29 import javax.xml.bind.annotation.XmlRootElement;
30
31 @XmlRootElement
32 public class Directory {
33 private int addedAt;
34 private String agent;
35 private int allowSync;
36 private String art;
37 private String banner;
38 private int childCount;
39 private String composite;
40 private String contentRating;
41 private String count;
42 private String createdAt;
43 private int duration;
44 private String filters;
45 private int index;
46 private String key;
47 private String language;
48 private int lastViewedAt;
49 private int leafCount;
50 private int librarySectionID;
51 private String librarySectionTitle;
52 private String librarySectionUUID;
53 private String originallyAvailableAt;
54 private int parentIndex;
55 private String parentKey;
56 private int parentRatingKey;
57 private String parentThumb;
58 private String parentTitle;
59 private double rating;
60 private int ratingKey;
61 private String refreshing;
62 private String scanner;
63 private int size;
64 private String studio;
65 private String summary;
66 private String theme;
67 private String thumb;
68 private String title;
69 private String titleSort;
70 private String type;
71 private int updatedAt;
72 private String uuid;
73 private int viewedLeafCount;
74 private int year;
75 private Location location;
76
77 Collection<Genre> genres = new ArrayList<Genre>();
78 Collection<Role> roles = new ArrayList<Role>();
79
80
81
82
83 @XmlAttribute
84 public String getCount() {
85 return count;
86 }
87
88
89
90 public void setCount(String count) {
91 this.count = count;
92 }
93
94
95
96 @XmlAttribute
97 public String getKey() {
98 return key;
99 }
100
101
102
103 public void setKey(String key) {
104 this.key = key;
105 }
106
107
108
109 @XmlAttribute
110 public String getTitle() {
111 return title;
112 }
113
114
115
116 public void setTitle(String title) {
117 this.title = title;
118 }
119
120
121
122 @XmlAttribute
123 public int getAllowSync() {
124 return allowSync;
125 }
126
127
128
129 public void setAllowSync(int allowSync) {
130 this.allowSync = allowSync;
131 }
132
133
134
135 @XmlAttribute
136 public String getArt() {
137 return art;
138 }
139
140
141
142 public void setArt(String art) {
143 this.art = art;
144 }
145
146
147
148 @XmlAttribute
149 public String getFilters() {
150 return filters;
151 }
152
153
154
155 public void setFilters(String filters) {
156 this.filters = filters;
157 }
158
159
160
161 @XmlAttribute
162 public String getRefreshing() {
163 return refreshing;
164 }
165
166
167
168 public void setRefreshing(String refreshing) {
169 this.refreshing = refreshing;
170 }
171
172
173
174 @XmlAttribute
175 public String getThumb() {
176 return thumb;
177 }
178
179
180
181 public void setThumb(String thumb) {
182 this.thumb = thumb;
183 }
184
185
186
187 @XmlAttribute
188 public String getComposite() {
189 return composite;
190 }
191
192
193
194 public void setComposite(String composite) {
195 this.composite = composite;
196 }
197
198
199
200 @XmlAttribute
201 public String getAgent() {
202 return agent;
203 }
204
205
206
207 public void setAgent(String agent) {
208 this.agent = agent;
209 }
210
211
212
213 @XmlAttribute
214 public String getScanner() {
215 return scanner;
216 }
217
218
219
220 public void setScanner(String scanner) {
221 this.scanner = scanner;
222 }
223
224
225
226 @XmlAttribute
227 public int getSize() {
228 return size;
229 }
230
231
232
233 public void setSize(int size) {
234 this.size = size;
235 }
236
237
238
239 @XmlAttribute
240 public String getLanguage() {
241 return language;
242 }
243
244
245
246 public void setLanguage(String language) {
247 this.language = language;
248 }
249
250
251
252 @XmlAttribute
253 public String getUuid() {
254 return uuid;
255 }
256
257
258
259 public void setUuid(String uuid) {
260 this.uuid = uuid;
261 }
262
263
264
265 @XmlAttribute
266 public int getUpdatedAt() {
267 return updatedAt;
268 }
269
270
271
272 public void setUpdatedAt(int updatedAt) {
273 this.updatedAt = updatedAt;
274 }
275
276
277
278 @XmlAttribute
279 public String getCreatedAt() {
280 return createdAt;
281 }
282
283
284
285 public void setCreatedAt(String createdAt) {
286 this.createdAt = createdAt;
287 }
288
289
290
291 @XmlElement
292 public Location getLocation() {
293 return location;
294 }
295
296
297
298 public void setLocation(Location location) {
299 this.location = location;
300 }
301
302
303
304
305 @XmlAttribute
306 public int getAddedAt() {
307 return addedAt;
308 }
309
310
311
312 public void setAddedAt(int addedAt) {
313 this.addedAt = addedAt;
314 }
315
316
317
318 @XmlAttribute
319 public String getBanner() {
320 return banner;
321 }
322
323
324
325 public void setBanner(String banner) {
326 this.banner = banner;
327 }
328
329
330
331 @XmlAttribute
332 public int getChildCount() {
333 return childCount;
334 }
335
336
337
338 public void setChildCount(int childCount) {
339 this.childCount = childCount;
340 }
341
342
343
344 @XmlAttribute
345 public String getContentRating() {
346 return contentRating;
347 }
348
349
350
351 public void setContentRating(String contentRating) {
352 this.contentRating = contentRating;
353 }
354
355
356
357 @XmlAttribute
358 public int getDuration() {
359 return duration;
360 }
361
362
363
364 public void setDuration(int duration) {
365 this.duration = duration;
366 }
367
368
369
370 @XmlAttribute
371 public int getIndex() {
372 return index;
373 }
374
375
376
377 public void setIndex(int index) {
378 this.index = index;
379 }
380
381
382
383 @XmlAttribute
384 public int getLastViewedAt() {
385 return lastViewedAt;
386 }
387
388
389
390 public void setLastViewedAt(int lastViewedAt) {
391 this.lastViewedAt = lastViewedAt;
392 }
393
394
395
396 @XmlAttribute
397 public int getLeafCount() {
398 return leafCount;
399 }
400
401
402
403 public void setLeafCount(int leafCount) {
404 this.leafCount = leafCount;
405 }
406
407
408
409 @XmlAttribute
410 public String getOriginallyAvailableAt() {
411 return originallyAvailableAt;
412 }
413
414
415
416 public void setOriginallyAvailableAt(String originallyAvailableAt) {
417 this.originallyAvailableAt = originallyAvailableAt;
418 }
419
420
421
422 @XmlAttribute
423 public double getRating() {
424 return rating;
425 }
426
427
428
429 public void setRating(double rating) {
430 this.rating = rating;
431 }
432
433
434
435 @XmlAttribute
436 public int getRatingKey() {
437 return ratingKey;
438 }
439
440
441
442 public void setRatingKey(int ratingKey) {
443 this.ratingKey = ratingKey;
444 }
445
446
447
448 @XmlAttribute
449 public String getStudio() {
450 return studio;
451 }
452
453
454
455 public void setStudio(String studio) {
456 this.studio = studio;
457 }
458
459
460
461 @XmlAttribute
462 public String getSummary() {
463 return summary;
464 }
465
466
467
468 public void setSummary(String summary) {
469 this.summary = summary;
470 }
471
472
473
474 @XmlAttribute
475 public String getTheme() {
476 return theme;
477 }
478
479
480
481 public void setTheme(String theme) {
482 this.theme = theme;
483 }
484
485
486
487 @XmlAttribute
488 public String getTitleSort() {
489 return titleSort;
490 }
491
492
493
494 public void setTitleSort(String titleSort) {
495 this.titleSort = titleSort;
496 }
497
498
499
500 @XmlAttribute
501 public String getType() {
502 return type;
503 }
504
505
506
507 public void setType(String type) {
508 this.type = type;
509 }
510
511
512
513 @XmlAttribute
514 public int getViewedLeafCount() {
515 return viewedLeafCount;
516 }
517
518
519
520 public void setViewedLeafCount(int viewedLeafCount) {
521 this.viewedLeafCount = viewedLeafCount;
522 }
523
524
525
526 @XmlAttribute
527 public int getYear() {
528 return year;
529 }
530
531
532
533 public void setYear(int year) {
534 this.year = year;
535 }
536
537
538
539 public Collection<Genre> getGenres() {
540 return genres;
541 }
542
543
544
545 @XmlElement(name = "Genre")
546 public void setGenres(Collection<Genre> genres) {
547 this.genres = genres;
548 }
549
550
551
552 public Collection<Role> getRoles() {
553 return roles;
554 }
555
556
557
558 @XmlElement(name = "Role")
559 public void setRoles(Collection<Role> roles) {
560 this.roles = roles;
561 }
562
563
564
565 @XmlAttribute
566 public int getLibrarySectionID() {
567 return librarySectionID;
568 }
569
570
571
572 public void setLibrarySectionID(int librarySectionID) {
573 this.librarySectionID = librarySectionID;
574 }
575
576
577
578 @XmlAttribute
579 public String getLibrarySectionTitle() {
580 return librarySectionTitle;
581 }
582
583
584
585 public void setLibrarySectionTitle(String librarySectionTitle) {
586 this.librarySectionTitle = librarySectionTitle;
587 }
588
589
590
591 @XmlAttribute
592 public String getLibrarySectionUUID() {
593 return librarySectionUUID;
594 }
595
596
597
598 public void setLibrarySectionUUID(String librarySectionUUID) {
599 this.librarySectionUUID = librarySectionUUID;
600 }
601
602
603
604 @XmlAttribute
605 public int getParentIndex() {
606 return parentIndex;
607 }
608
609
610
611 public void setParentIndex(int parentIndex) {
612 this.parentIndex = parentIndex;
613 }
614
615
616
617 @XmlAttribute
618 public String getParentKey() {
619 return parentKey;
620 }
621
622
623
624 public void setParentKey(String parentKey) {
625 this.parentKey = parentKey;
626 }
627
628
629
630 @XmlAttribute
631 public int getParentRatingKey() {
632 return parentRatingKey;
633 }
634
635
636
637 public void setParentRatingKey(int parentRatingKey) {
638 this.parentRatingKey = parentRatingKey;
639 }
640
641
642
643 @XmlAttribute
644 public String getParentThumb() {
645 return parentThumb;
646 }
647
648
649
650 public void setParentThumb(String parentThumb) {
651 this.parentThumb = parentThumb;
652 }
653
654
655
656 @XmlAttribute
657 public String getParentTitle() {
658 return parentTitle;
659 }
660
661
662
663 public void setParentTitle(String parentTitle) {
664 this.parentTitle = parentTitle;
665 }
666
667
668 }