1 | <?php declare(strict_types = 1); |
||
9 | class Story |
||
10 | { |
||
11 | /** |
||
12 | * The unique ID of the story resource. |
||
13 | * |
||
14 | * @var int |
||
15 | */ |
||
16 | private $id; |
||
17 | |||
18 | /** |
||
19 | * The story title. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | private $title; |
||
24 | |||
25 | /** |
||
26 | * A short description of the story. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | private $description; |
||
31 | |||
32 | /** |
||
33 | * The canonical URL identifier for this resource. |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | private $resourceURI; |
||
38 | |||
39 | /** |
||
40 | * The story type e.g. interior story, cover, text story. |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | private $type; |
||
45 | |||
46 | /** |
||
47 | * The date the resource was most recently modified. |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | private $modified; |
||
52 | |||
53 | /** |
||
54 | * The representative image for this story. |
||
55 | * |
||
56 | * @var Image |
||
57 | */ |
||
58 | private $thumbnail; |
||
59 | |||
60 | /** |
||
61 | * A resource list containing comics in which this story takes place. |
||
62 | * |
||
63 | * @var ComicList |
||
64 | */ |
||
65 | private $comics; |
||
66 | |||
67 | /** |
||
68 | * A resource list containing series in which this story appears. |
||
69 | * |
||
70 | * @var SeriesList |
||
71 | */ |
||
72 | private $series; |
||
73 | |||
74 | /** |
||
75 | * A resource list of the events in which this story appears. |
||
76 | * |
||
77 | * @var EventList |
||
78 | */ |
||
79 | private $events; |
||
80 | |||
81 | /** |
||
82 | * A resource list of characters which appear in this story. |
||
83 | * |
||
84 | * @var CharacterList |
||
85 | */ |
||
86 | private $characters; |
||
87 | |||
88 | /** |
||
89 | * A resource list of creators who worked on this story. |
||
90 | * |
||
91 | * @var CreatorList |
||
92 | */ |
||
93 | private $creators; |
||
94 | |||
95 | /** |
||
96 | * A summary representation of the issue in which this story was originally published. |
||
97 | * |
||
98 | * @var ComicSummary |
||
99 | */ |
||
100 | private $originalissue; |
||
101 | |||
102 | /** |
||
103 | * @return int |
||
104 | */ |
||
105 | public function getId() |
||
109 | |||
110 | /** |
||
111 | * @param int $id |
||
112 | */ |
||
113 | public function setId(int $id) |
||
117 | |||
118 | /** |
||
119 | * @return string |
||
120 | */ |
||
121 | public function getTitle() |
||
125 | |||
126 | /** |
||
127 | * @param string $title |
||
128 | */ |
||
129 | public function setTitle(string $title) |
||
133 | |||
134 | /** |
||
135 | * @return string |
||
136 | */ |
||
137 | public function getDescription() |
||
141 | |||
142 | /** |
||
143 | * @param string $description |
||
144 | */ |
||
145 | public function setDescription(string $description) |
||
149 | |||
150 | /** |
||
151 | * @return string |
||
152 | */ |
||
153 | public function getResourceURI() |
||
157 | |||
158 | /** |
||
159 | * @param string $resourceURI |
||
160 | */ |
||
161 | public function setResourceURI(string $resourceURI) |
||
165 | |||
166 | /** |
||
167 | * @return string |
||
168 | */ |
||
169 | public function getType() |
||
173 | |||
174 | /** |
||
175 | * @param string $type |
||
176 | */ |
||
177 | public function setType(string $type) |
||
181 | |||
182 | /** |
||
183 | * @return string |
||
184 | */ |
||
185 | public function getModified() |
||
189 | |||
190 | /** |
||
191 | * @param string $modified |
||
192 | */ |
||
193 | public function setModified(string $modified) |
||
197 | |||
198 | /** |
||
199 | * @return Image |
||
200 | */ |
||
201 | public function getThumbnail() |
||
205 | |||
206 | /** |
||
207 | * @param Image $thumbnail |
||
208 | */ |
||
209 | public function setThumbnail(Image $thumbnail) |
||
213 | |||
214 | /** |
||
215 | * @return ComicList |
||
216 | */ |
||
217 | public function getComics() |
||
221 | |||
222 | /** |
||
223 | * @param ComicList $comics |
||
224 | */ |
||
225 | public function setComics(ComicList $comics) |
||
229 | |||
230 | /** |
||
231 | * @return SeriesList |
||
232 | */ |
||
233 | public function getSeries() |
||
237 | |||
238 | /** |
||
239 | * @param SeriesList $series |
||
240 | */ |
||
241 | public function setSeries(SeriesList $series) |
||
245 | |||
246 | /** |
||
247 | * @return EventList |
||
248 | */ |
||
249 | public function getEvents() |
||
253 | |||
254 | /** |
||
255 | * @param EventList $events |
||
256 | */ |
||
257 | public function setEvents(EventList $events) |
||
261 | |||
262 | /** |
||
263 | * @return CharacterList |
||
264 | */ |
||
265 | public function getCharacters() |
||
269 | |||
270 | /** |
||
271 | * @param CharacterList $characters |
||
272 | */ |
||
273 | public function setCharacters(CharacterList $characters) |
||
277 | |||
278 | /** |
||
279 | * @return CreatorList |
||
280 | */ |
||
281 | public function getCreators() |
||
285 | |||
286 | /** |
||
287 | * @param CreatorList $creators |
||
288 | */ |
||
289 | public function setCreators(CreatorList $creators) |
||
293 | |||
294 | /** |
||
295 | * @return ComicSummary |
||
296 | */ |
||
297 | public function getOriginalissue() |
||
301 | |||
302 | /** |
||
303 | * @param ComicSummary $originalissue |
||
304 | */ |
||
305 | public function setOriginalissue(ComicSummary $originalissue) |
||
309 | } |
||
310 |