1 | <?php declare(strict_types = 1); |
||
9 | class Character |
||
10 | { |
||
11 | /** |
||
12 | * The unique ID of the character resource. |
||
13 | * |
||
14 | * @var int |
||
15 | */ |
||
16 | private $id; |
||
17 | |||
18 | /** |
||
19 | * The name of the character. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | private $name; |
||
24 | |||
25 | /** |
||
26 | * A short bio or description of the character. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | private $description; |
||
31 | |||
32 | /** |
||
33 | * The date the resource was most recently modified. |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | private $modified; |
||
38 | |||
39 | /** |
||
40 | * The canonical URL identifier for this resource. |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | private $resourceURI; |
||
45 | |||
46 | /** |
||
47 | * A set of public web site URLs for the resource. |
||
48 | * |
||
49 | * @var array |
||
50 | */ |
||
51 | private $urls; |
||
52 | |||
53 | /** |
||
54 | * The representative image for this character. |
||
55 | * |
||
56 | * @var Image |
||
57 | */ |
||
58 | private $thumbnail; |
||
59 | |||
60 | /** |
||
61 | * A resource list containing comics which feature this character. |
||
62 | * |
||
63 | * @var ComicList |
||
64 | */ |
||
65 | private $comics; |
||
66 | |||
67 | /** |
||
68 | * A resource list of stories in which this character appears. |
||
69 | * |
||
70 | * @var StoryList |
||
71 | */ |
||
72 | private $stories; |
||
73 | |||
74 | /** |
||
75 | * A resource list of events in which this character appears. |
||
76 | * |
||
77 | * @var EventList |
||
78 | */ |
||
79 | private $events; |
||
80 | |||
81 | /** |
||
82 | * A resource list of series in which this character appears. |
||
83 | * |
||
84 | * @var SeriesList |
||
85 | */ |
||
86 | private $series; |
||
87 | |||
88 | /** |
||
89 | * @return int |
||
90 | */ |
||
91 | public function getId() |
||
95 | |||
96 | /** |
||
97 | * @param int $id |
||
98 | */ |
||
99 | public function setId(int $id) |
||
103 | |||
104 | /** |
||
105 | * @return string |
||
106 | */ |
||
107 | public function getName() |
||
111 | |||
112 | /** |
||
113 | * @param string $name |
||
114 | */ |
||
115 | public function setName(string $name) |
||
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | public function getDescription() |
||
127 | |||
128 | /** |
||
129 | * @param string $description |
||
130 | */ |
||
131 | public function setDescription(string $description) |
||
135 | |||
136 | /** |
||
137 | * @return string |
||
138 | */ |
||
139 | public function getModified() |
||
143 | |||
144 | /** |
||
145 | * @param string $modified |
||
146 | */ |
||
147 | public function setModified(string $modified) |
||
151 | |||
152 | /** |
||
153 | * @return string |
||
154 | */ |
||
155 | public function getResourceURI() |
||
159 | |||
160 | /** |
||
161 | * @param string $resourceURI |
||
162 | */ |
||
163 | public function setResourceURI(string $resourceURI) |
||
167 | |||
168 | /** |
||
169 | * @return array |
||
170 | */ |
||
171 | public function getUrls() |
||
175 | |||
176 | /** |
||
177 | * @param array $urls |
||
178 | */ |
||
179 | public function setUrls(array $urls) |
||
183 | |||
184 | /** |
||
185 | * @return Image |
||
186 | */ |
||
187 | public function getThumbnail() |
||
191 | |||
192 | /** |
||
193 | * @param Image $thumbnail |
||
194 | */ |
||
195 | public function setThumbnail(Image $thumbnail) |
||
199 | |||
200 | /** |
||
201 | * @return ComicList |
||
202 | */ |
||
203 | public function getComics() |
||
207 | |||
208 | /** |
||
209 | * @param ComicList $comics |
||
210 | */ |
||
211 | public function setComics(ComicList $comics) |
||
215 | |||
216 | /** |
||
217 | * @return StoryList |
||
218 | */ |
||
219 | public function getStories() |
||
223 | |||
224 | /** |
||
225 | * @param StoryList $stories |
||
226 | */ |
||
227 | public function setStories(StoryList $stories) |
||
231 | |||
232 | /** |
||
233 | * @return EventList |
||
234 | */ |
||
235 | public function getEvents() |
||
239 | |||
240 | /** |
||
241 | * @param EventList $events |
||
242 | */ |
||
243 | public function setEvents(EventList $events) |
||
247 | |||
248 | /** |
||
249 | * @return SeriesList |
||
250 | */ |
||
251 | public function getSeries() |
||
255 | |||
256 | /** |
||
257 | * @param SeriesList $series |
||
258 | */ |
||
259 | public function setSeries(SeriesList $series) |
||
263 | } |
||
264 |