1 | <?php |
||
13 | class Video |
||
14 | { |
||
15 | /** |
||
16 | * @Type("string") |
||
17 | */ |
||
18 | private $id; |
||
19 | |||
20 | /** |
||
21 | * @Type("string") |
||
22 | */ |
||
23 | private $title; |
||
24 | |||
25 | /** |
||
26 | * @Type("string") |
||
27 | */ |
||
28 | private $description; |
||
29 | |||
30 | /** |
||
31 | * @Type("string") |
||
32 | */ |
||
33 | private $thumbnail; |
||
34 | |||
35 | /** |
||
36 | * @Type("integer") |
||
37 | */ |
||
38 | private $length; |
||
39 | |||
40 | /** |
||
41 | * @Type("integer") |
||
42 | * @SerializedName("createdDate") |
||
43 | */ |
||
44 | private $createdDate; |
||
45 | |||
46 | /** |
||
47 | * @Type("integer") |
||
48 | * @SerializedName("modifiedDate") |
||
49 | */ |
||
50 | private $modifiedDate; |
||
51 | |||
52 | /** |
||
53 | * @Type("integer") |
||
54 | * @SerializedName("uploadDate") |
||
55 | */ |
||
56 | private $uploadDate; |
||
57 | |||
58 | /** |
||
59 | * @Type("integer") |
||
60 | */ |
||
61 | private $generation; |
||
62 | |||
63 | /** |
||
64 | * @Type("integer") |
||
65 | */ |
||
66 | private $plays; |
||
67 | |||
68 | /** |
||
69 | * @Type("integer") |
||
70 | */ |
||
71 | private $views; |
||
72 | |||
73 | /** |
||
74 | * @Type("boolean") |
||
75 | * @SerializedName("allFormatsAvailable") |
||
76 | */ |
||
77 | private $allFormatsAvailable; |
||
78 | |||
79 | /** |
||
80 | * @TODO replace it with array collection |
||
81 | * |
||
82 | * @Type("array") |
||
83 | * @SerializedName("customMetadata") |
||
84 | */ |
||
85 | private $customMetadata; |
||
86 | |||
87 | /** |
||
88 | * @TODO replace it with array collection |
||
89 | * |
||
90 | * @Type("array") |
||
91 | */ |
||
92 | private $keywords; |
||
93 | |||
94 | /** |
||
95 | * @TODO replace it with array collection |
||
96 | * |
||
97 | * @Type("array") |
||
98 | */ |
||
99 | private $stills; |
||
100 | |||
101 | /** |
||
102 | * @Type("boolean") |
||
103 | */ |
||
104 | private $published; |
||
105 | |||
106 | /** |
||
107 | * @param string $id |
||
108 | * |
||
109 | * @return Video |
||
110 | */ |
||
111 | public function setId($id) |
||
117 | |||
118 | /** |
||
119 | * @return string |
||
120 | */ |
||
121 | public function getId() |
||
125 | |||
126 | /** |
||
127 | * @return string |
||
128 | */ |
||
129 | public function getTitle() |
||
133 | |||
134 | /** |
||
135 | * @param string $title |
||
136 | * |
||
137 | * @return Video |
||
138 | */ |
||
139 | public function setTitle($title) |
||
145 | |||
146 | /** |
||
147 | * @return string |
||
148 | */ |
||
149 | public function getDescription() |
||
153 | |||
154 | /** |
||
155 | * @param string $description |
||
156 | * |
||
157 | * @return Video |
||
158 | */ |
||
159 | public function setDescription($description) |
||
165 | |||
166 | /** |
||
167 | * @return string |
||
168 | */ |
||
169 | public function getThumbnail() |
||
173 | |||
174 | /** |
||
175 | * @param string $thumbnail |
||
176 | * |
||
177 | * @return Video |
||
178 | */ |
||
179 | public function setThumbnail($thumbnail) |
||
185 | |||
186 | /** |
||
187 | * @return int |
||
188 | */ |
||
189 | public function getLength() |
||
193 | |||
194 | /** |
||
195 | * @param int $length |
||
196 | * |
||
197 | * @return Video |
||
198 | */ |
||
199 | public function setLength($length) |
||
205 | |||
206 | /** |
||
207 | * @return int |
||
208 | */ |
||
209 | public function getCreatedDate() |
||
213 | |||
214 | /** |
||
215 | * @param int $createdDate |
||
216 | * |
||
217 | * @return Video |
||
218 | */ |
||
219 | public function setCreatedDate($createdDate) |
||
225 | |||
226 | /** |
||
227 | * @return int |
||
228 | */ |
||
229 | public function getModifiedDate() |
||
233 | |||
234 | /** |
||
235 | * @param int $modifiedDate |
||
236 | * |
||
237 | * @return Video |
||
238 | */ |
||
239 | public function setModifiedDate($modifiedDate) |
||
245 | |||
246 | /** |
||
247 | * @return int |
||
248 | */ |
||
249 | public function getUploadDate() |
||
253 | |||
254 | /** |
||
255 | * @param int $uploadDate |
||
256 | * |
||
257 | * @return Video |
||
258 | */ |
||
259 | public function setUploadDate($uploadDate) |
||
265 | |||
266 | /** |
||
267 | * @return int |
||
268 | */ |
||
269 | public function getGeneration() |
||
273 | |||
274 | /** |
||
275 | * @param int $generation |
||
276 | * |
||
277 | * @return Video |
||
278 | */ |
||
279 | public function setGeneration($generation) |
||
285 | |||
286 | /** |
||
287 | * @return int |
||
288 | */ |
||
289 | public function getPlays() |
||
293 | |||
294 | /** |
||
295 | * @param int $plays |
||
296 | * |
||
297 | * @return Video |
||
298 | */ |
||
299 | public function setPlays($plays) |
||
305 | |||
306 | /** |
||
307 | * @return int |
||
308 | */ |
||
309 | public function getViews() |
||
313 | |||
314 | /** |
||
315 | * @param int $views |
||
316 | * |
||
317 | * @return Video |
||
318 | */ |
||
319 | public function setViews($views) |
||
325 | |||
326 | /** |
||
327 | * @return bool |
||
328 | */ |
||
329 | public function getAllFormatsAvailable() |
||
333 | |||
334 | /** |
||
335 | * @param bool $allFormatsAvailable |
||
336 | * |
||
337 | * @return Video |
||
338 | */ |
||
339 | public function setAllFormatsAvailable($allFormatsAvailable) |
||
345 | |||
346 | /** |
||
347 | * @return array |
||
348 | */ |
||
349 | public function getCustomMetadata() |
||
353 | |||
354 | /** |
||
355 | * @param array $customMetadata |
||
356 | * |
||
357 | * @return Video |
||
358 | */ |
||
359 | public function setCustomMetadata($customMetadata) |
||
365 | |||
366 | /** |
||
367 | * @return array |
||
368 | */ |
||
369 | public function getKeywords() |
||
373 | |||
374 | /** |
||
375 | * @param array $keywords |
||
376 | * |
||
377 | * @return Video |
||
378 | */ |
||
379 | public function setKeywords($keywords) |
||
385 | |||
386 | /** |
||
387 | * @return array |
||
388 | */ |
||
389 | public function getStills() |
||
393 | |||
394 | /** |
||
395 | * @param array $stills |
||
396 | * |
||
397 | * @return Video |
||
398 | */ |
||
399 | public function setStills($stills) |
||
405 | |||
406 | /** |
||
407 | * @return mixed |
||
408 | */ |
||
409 | public function getPublished() |
||
413 | |||
414 | /** |
||
415 | * @param mixed $published |
||
416 | * |
||
417 | * @return Video |
||
418 | */ |
||
419 | public function setPublished($published) |
||
425 | } |
||
426 |