1 | <?php declare(strict_types = 1); |
||
9 | class Series |
||
10 | { |
||
11 | /** |
||
12 | * The unique ID of the series resource. |
||
13 | * |
||
14 | * @var int |
||
15 | */ |
||
16 | private $id; |
||
17 | |||
18 | /** |
||
19 | * The canonical title of the series. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | private $title; |
||
24 | |||
25 | /** |
||
26 | * A description of the series. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | private $description; |
||
31 | |||
32 | /** |
||
33 | * A set of public web site URLs for the resource. |
||
34 | * |
||
35 | * @var array |
||
36 | */ |
||
37 | private $urls; |
||
38 | |||
39 | /** |
||
40 | * The canonical URL identifier for this resource. |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | private $resourceURI; |
||
45 | |||
46 | /** |
||
47 | * The first year of publication for the series. |
||
48 | * |
||
49 | * @var int |
||
50 | */ |
||
51 | private $startYear; |
||
52 | |||
53 | /** |
||
54 | * The last year of publication for the series (conventionally, 2099 for ongoing series). |
||
55 | * |
||
56 | * @var int |
||
57 | */ |
||
58 | private $endYear; |
||
59 | |||
60 | /** |
||
61 | * The age-appropriateness rating for the series. |
||
62 | * |
||
63 | * @var string |
||
64 | */ |
||
65 | private $rating; |
||
66 | |||
67 | /** |
||
68 | * The date the resource was most recently modified. |
||
69 | * |
||
70 | * @var string |
||
71 | */ |
||
72 | private $modified; |
||
73 | |||
74 | /** |
||
75 | * The representative image for this series. |
||
76 | * |
||
77 | * @var Image |
||
78 | */ |
||
79 | private $thumbnail; |
||
80 | |||
81 | /** |
||
82 | * A resource list containing comics in this series. |
||
83 | * |
||
84 | * @var ComicList |
||
85 | */ |
||
86 | private $comics; |
||
87 | |||
88 | /** |
||
89 | * A resource list containing stories which occur in comics in this series. |
||
90 | * |
||
91 | * @var StoryList |
||
92 | */ |
||
93 | private $stories; |
||
94 | |||
95 | /** |
||
96 | * A resource list containing events which take place in comics in this series. |
||
97 | * |
||
98 | * @var EventList |
||
99 | */ |
||
100 | private $events; |
||
101 | |||
102 | /** |
||
103 | * A resource list containing characters which appear in comics in this series. |
||
104 | * |
||
105 | * @var CharacterList |
||
106 | */ |
||
107 | private $characters; |
||
108 | |||
109 | /** |
||
110 | * A resource list of creators whose work appears in comics in this series. |
||
111 | * |
||
112 | * @var CreatorList |
||
113 | */ |
||
114 | private $creators; |
||
115 | |||
116 | /** |
||
117 | * A summary representation of the series which preceded this series. |
||
118 | * |
||
119 | * @var SeriesSummary |
||
120 | */ |
||
121 | private $previous; |
||
122 | |||
123 | /** |
||
124 | * A summary representation of the series which follows this series. |
||
125 | * |
||
126 | * @var SeriesSummary |
||
127 | */ |
||
128 | private $next; |
||
129 | |||
130 | /** |
||
131 | * @return int |
||
132 | */ |
||
133 | public function getId() |
||
137 | |||
138 | /** |
||
139 | * @param int $id |
||
140 | */ |
||
141 | public function setId(int $id) |
||
145 | |||
146 | /** |
||
147 | * @return string |
||
148 | */ |
||
149 | public function getTitle() |
||
153 | |||
154 | /** |
||
155 | * @param string $title |
||
156 | */ |
||
157 | public function setTitle(string $title) |
||
161 | |||
162 | /** |
||
163 | * @return string |
||
164 | */ |
||
165 | public function getDescription() |
||
169 | |||
170 | /** |
||
171 | * @param string $description |
||
172 | */ |
||
173 | public function setDescription(string $description) |
||
177 | |||
178 | /** |
||
179 | * @return array |
||
180 | */ |
||
181 | public function getUrls() |
||
185 | |||
186 | /** |
||
187 | * @param array $urls |
||
188 | */ |
||
189 | public function setUrls(array $urls) |
||
193 | |||
194 | /** |
||
195 | * @return string |
||
196 | */ |
||
197 | public function getResourceURI() |
||
201 | |||
202 | /** |
||
203 | * @param string $resourceURI |
||
204 | */ |
||
205 | public function setResourceURI(string $resourceURI) |
||
209 | |||
210 | /** |
||
211 | * @return int |
||
212 | */ |
||
213 | public function getStartYear() |
||
217 | |||
218 | /** |
||
219 | * @param int $startYear |
||
220 | */ |
||
221 | public function setStartYear(int $startYear) |
||
225 | |||
226 | /** |
||
227 | * @return int |
||
228 | */ |
||
229 | public function getEndYear() |
||
233 | |||
234 | /** |
||
235 | * @param int $endYear |
||
236 | */ |
||
237 | public function setEndYear(int $endYear) |
||
241 | |||
242 | /** |
||
243 | * @return string |
||
244 | */ |
||
245 | public function getRating() |
||
249 | |||
250 | /** |
||
251 | * @param string $rating |
||
252 | */ |
||
253 | public function setRating(string $rating) |
||
257 | |||
258 | /** |
||
259 | * @return string |
||
260 | */ |
||
261 | public function getModified() |
||
265 | |||
266 | /** |
||
267 | * @param string $modified |
||
268 | */ |
||
269 | public function setModified(string $modified) |
||
273 | |||
274 | /** |
||
275 | * @return Image |
||
276 | */ |
||
277 | public function getThumbnail() |
||
281 | |||
282 | /** |
||
283 | * @param Image $thumbnail |
||
284 | */ |
||
285 | public function setThumbnail(Image $thumbnail) |
||
289 | |||
290 | /** |
||
291 | * @return ComicList |
||
292 | */ |
||
293 | public function getComics() |
||
297 | |||
298 | /** |
||
299 | * @param ComicList $comics |
||
300 | */ |
||
301 | public function setComics(ComicList $comics) |
||
305 | |||
306 | /** |
||
307 | * @return StoryList |
||
308 | */ |
||
309 | public function getStories() |
||
313 | |||
314 | /** |
||
315 | * @param StoryList $stories |
||
316 | */ |
||
317 | public function setStories(StoryList $stories) |
||
321 | |||
322 | /** |
||
323 | * @return EventList |
||
324 | */ |
||
325 | public function getEvents() |
||
329 | |||
330 | /** |
||
331 | * @param EventList $events |
||
332 | */ |
||
333 | public function setEvents(EventList $events) |
||
337 | |||
338 | /** |
||
339 | * @return CharacterList |
||
340 | */ |
||
341 | public function getCharacters() |
||
345 | |||
346 | /** |
||
347 | * @param CharacterList $characters |
||
348 | */ |
||
349 | public function setCharacters(CharacterList $characters) |
||
353 | |||
354 | /** |
||
355 | * @return CreatorList |
||
356 | */ |
||
357 | public function getCreators() |
||
361 | |||
362 | /** |
||
363 | * @param CreatorList $creators |
||
364 | */ |
||
365 | public function setCreators(CreatorList $creators) |
||
369 | |||
370 | /** |
||
371 | * @return SeriesSummary |
||
372 | */ |
||
373 | public function getPrevious() |
||
377 | |||
378 | /** |
||
379 | * @param SeriesSummary $previous |
||
380 | */ |
||
381 | public function setPrevious(SeriesSummary $previous) |
||
385 | |||
386 | /** |
||
387 | * @return SeriesSummary |
||
388 | */ |
||
389 | public function getNext() |
||
393 | |||
394 | /** |
||
395 | * @param SeriesSummary $next |
||
396 | */ |
||
397 | public function setNext(SeriesSummary $next) |
||
401 | } |
||
402 |