1 | <?php declare(strict_types = 1); |
||
9 | class EventFilter |
||
10 | { |
||
11 | /** |
||
12 | * Return only events which match the specified name. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | public $name; |
||
17 | |||
18 | /** |
||
19 | * Return events with names that begin with the specified string (e.g. Sp). |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | public $nameStartsWith; |
||
24 | |||
25 | /** |
||
26 | * Return only events which have been modified since the specified date. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | public $modifiedSince; |
||
31 | |||
32 | /** |
||
33 | * Return only events which feature work by the specified creators |
||
34 | * (accepts a comma-separated list of ids). |
||
35 | * |
||
36 | * @var string |
||
37 | */ |
||
38 | public $creators; |
||
39 | |||
40 | /** |
||
41 | * Return only events which feature the specified characters |
||
42 | * (accepts a comma-separated list of ids). |
||
43 | * |
||
44 | * @var string |
||
45 | */ |
||
46 | public $characters; |
||
47 | |||
48 | /** |
||
49 | * Return only events which are part of the specified series |
||
50 | * (accepts a comma-separated list of ids). |
||
51 | * |
||
52 | * @var string |
||
53 | */ |
||
54 | public $series; |
||
55 | |||
56 | /** |
||
57 | * Return only events which take place in the specified comics |
||
58 | * (accepts a comma-separated list of ids). |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | public $comics; |
||
63 | |||
64 | /** |
||
65 | * Return only events which take place in the specified stories |
||
66 | * (accepts a comma-separated list of ids). |
||
67 | * |
||
68 | * @var string |
||
69 | */ |
||
70 | public $stories; |
||
71 | |||
72 | /** |
||
73 | * Order the result set by a field or fields. |
||
74 | * Add a "-" to the value sort in descending order. |
||
75 | * Multiple values are given priority in the order in which they are passed. |
||
76 | * |
||
77 | * @var string |
||
78 | */ |
||
79 | public $orderBy; |
||
80 | |||
81 | /** |
||
82 | * Limit the result set to the specified number of resources. |
||
83 | * |
||
84 | * @var int |
||
85 | */ |
||
86 | public $limit; |
||
87 | |||
88 | /** |
||
89 | * Skip the specified number of resources in the result set. |
||
90 | * |
||
91 | * @var int |
||
92 | */ |
||
93 | public $offset; |
||
94 | |||
95 | /** |
||
96 | * @return string |
||
97 | */ |
||
98 | public function getName() |
||
102 | |||
103 | /** |
||
104 | * @param string $name |
||
105 | */ |
||
106 | public function setName(string $name) |
||
110 | |||
111 | /** |
||
112 | * @return string |
||
113 | */ |
||
114 | public function getNameStartsWith() |
||
118 | |||
119 | /** |
||
120 | * @param string $nameStartsWith |
||
121 | */ |
||
122 | public function setNameStartsWith(string $nameStartsWith) |
||
126 | |||
127 | /** |
||
128 | * @return string |
||
129 | */ |
||
130 | public function getModifiedSince() |
||
134 | |||
135 | /** |
||
136 | * @param string $modifiedSince |
||
137 | */ |
||
138 | public function setModifiedSince(string $modifiedSince) |
||
142 | |||
143 | /** |
||
144 | * @return string |
||
145 | */ |
||
146 | public function getCreators() |
||
150 | |||
151 | /** |
||
152 | * @param string $creators |
||
153 | */ |
||
154 | public function setCreators(string $creators) |
||
158 | |||
159 | /** |
||
160 | * @return string |
||
161 | */ |
||
162 | public function getCharacters() |
||
166 | |||
167 | /** |
||
168 | * @param string $characters |
||
169 | */ |
||
170 | public function setCharacters(string $characters) |
||
174 | |||
175 | /** |
||
176 | * @return string |
||
177 | */ |
||
178 | public function getSeries() |
||
182 | |||
183 | /** |
||
184 | * @param string $series |
||
185 | */ |
||
186 | public function setSeries(string $series) |
||
190 | |||
191 | /** |
||
192 | * @return string |
||
193 | */ |
||
194 | public function getComics() |
||
198 | |||
199 | /** |
||
200 | * @param string $comics |
||
201 | */ |
||
202 | public function setComics(string $comics) |
||
206 | |||
207 | /** |
||
208 | * @return string |
||
209 | */ |
||
210 | public function getStories() |
||
214 | |||
215 | /** |
||
216 | * @param string $stories |
||
217 | */ |
||
218 | public function setStories(string $stories) |
||
222 | |||
223 | /** |
||
224 | * @return string |
||
225 | */ |
||
226 | public function getOrderBy() |
||
230 | |||
231 | /** |
||
232 | * @param string $orderBy |
||
233 | */ |
||
234 | public function setOrderBy(string $orderBy) |
||
238 | |||
239 | /** |
||
240 | * @return int |
||
241 | */ |
||
242 | public function getLimit() |
||
246 | |||
247 | /** |
||
248 | * @param int $limit |
||
249 | */ |
||
250 | public function setLimit(int $limit) |
||
254 | |||
255 | /** |
||
256 | * @return int |
||
257 | */ |
||
258 | public function getOffset() |
||
262 | |||
263 | /** |
||
264 | * @param int $offset |
||
265 | */ |
||
266 | public function setOffset(int $offset) |
||
270 | } |
||
271 |