1 | <?php declare(strict_types = 1); |
||
9 | class CharacterFilter |
||
10 | { |
||
11 | /** |
||
12 | * Return only characters matching the specified full character name (e.g. Spider-Man). |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | public $name; |
||
17 | |||
18 | /** |
||
19 | * Return characters with names that begin with the specified string (e.g. Sp). |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | public $nameStartsWith; |
||
24 | |||
25 | /** |
||
26 | * Return only characters which have been modified since the specified date. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | public $modifiedSince; |
||
31 | |||
32 | /** |
||
33 | * Return only characters which appear the specified series (accepts a comma-separated list of ids). |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | public $series; |
||
38 | |||
39 | /** |
||
40 | * Return only characters which appear in the specified comics (accepts a comma-separated list of ids). |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | public $comics; |
||
45 | |||
46 | /** |
||
47 | * Return only characters which appear the specified stories (accepts a comma-separated list of ids). |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | public $stories; |
||
52 | |||
53 | /** |
||
54 | * Return only characters which appear in the specified events (accepts a comma-separated list of ids). |
||
55 | * |
||
56 | * @var string |
||
57 | */ |
||
58 | public $events; |
||
59 | |||
60 | /** |
||
61 | * Order the result set by a field or fields. Add a "-" to the value sort in descending order. |
||
62 | * Multiple values are given priority in the order in which they are passed. |
||
63 | * |
||
64 | * @var string |
||
65 | */ |
||
66 | public $orderBy; |
||
67 | |||
68 | /** |
||
69 | * Limit the result set to the specified number of resources. |
||
70 | * |
||
71 | * @var int |
||
72 | */ |
||
73 | public $limit; |
||
74 | |||
75 | /** |
||
76 | * Skip the specified number of resources in the result set. |
||
77 | * |
||
78 | * @var int |
||
79 | */ |
||
80 | public $offset; |
||
81 | |||
82 | /** |
||
83 | * @return string |
||
84 | */ |
||
85 | public function getName() |
||
89 | |||
90 | /** |
||
91 | * @param string $name |
||
92 | */ |
||
93 | public function setName(string $name) |
||
97 | |||
98 | /** |
||
99 | * @return string |
||
100 | */ |
||
101 | public function getNameStartsWith() |
||
105 | |||
106 | /** |
||
107 | * @param string $nameStartsWith |
||
108 | */ |
||
109 | public function setNameStartsWith(string $nameStartsWith) |
||
113 | |||
114 | /** |
||
115 | * @return string |
||
116 | */ |
||
117 | public function getModifiedSince() |
||
121 | |||
122 | /** |
||
123 | * @param string $modifiedSince |
||
124 | */ |
||
125 | public function setModifiedSince(string $modifiedSince) |
||
129 | |||
130 | /** |
||
131 | * @return int |
||
132 | */ |
||
133 | public function getSeries() |
||
137 | |||
138 | /** |
||
139 | * @param string $series |
||
140 | */ |
||
141 | public function setSeries(string $series) |
||
145 | |||
146 | /** |
||
147 | * @return string |
||
148 | */ |
||
149 | public function getComics() |
||
153 | |||
154 | /** |
||
155 | * @param string $comics |
||
156 | */ |
||
157 | public function setComics(string $comics) |
||
161 | |||
162 | /** |
||
163 | * @return string |
||
164 | */ |
||
165 | public function getStories() |
||
169 | |||
170 | /** |
||
171 | * @param string $stories |
||
172 | */ |
||
173 | public function setStories(string $stories) |
||
177 | |||
178 | /** |
||
179 | * @return string |
||
180 | */ |
||
181 | public function getEvents() |
||
185 | |||
186 | /** |
||
187 | * @param string $events |
||
188 | */ |
||
189 | public function setEvents(string $events) |
||
193 | |||
194 | /** |
||
195 | * @return string |
||
196 | */ |
||
197 | public function getOrderBy() |
||
201 | |||
202 | /** |
||
203 | * @param string $orderBy |
||
204 | */ |
||
205 | public function setOrderBy(string $orderBy) |
||
209 | |||
210 | /** |
||
211 | * @return int |
||
212 | */ |
||
213 | public function getLimit() |
||
217 | |||
218 | /** |
||
219 | * @param int $limit |
||
220 | */ |
||
221 | public function setLimit(int $limit) |
||
225 | |||
226 | /** |
||
227 | * @return int |
||
228 | */ |
||
229 | public function getOffset() |
||
233 | |||
234 | /** |
||
235 | * @param int $offset |
||
236 | */ |
||
237 | public function setOffset(int $offset) |
||
241 | } |
||
242 |