1 | <?php |
||
12 | class Video |
||
13 | { |
||
14 | /** |
||
15 | * @Type("string") |
||
16 | */ |
||
17 | private $id; |
||
18 | |||
19 | /** |
||
20 | * @Type("string") |
||
21 | */ |
||
22 | private $title; |
||
23 | |||
24 | /** |
||
25 | * @Type("string") |
||
26 | */ |
||
27 | private $description; |
||
28 | |||
29 | /** |
||
30 | * @Type("string") |
||
31 | */ |
||
32 | private $thumbnail; |
||
33 | |||
34 | /** |
||
35 | * @Type("integer") |
||
36 | */ |
||
37 | private $length; |
||
38 | |||
39 | /** |
||
40 | * @Type("integer") |
||
41 | */ |
||
42 | private $createdDate; |
||
43 | |||
44 | /** |
||
45 | * @Type("integer") |
||
46 | */ |
||
47 | private $modifiedDate; |
||
48 | |||
49 | /** |
||
50 | * @Type("integer") |
||
51 | */ |
||
52 | private $uploadDate; |
||
53 | |||
54 | /** |
||
55 | * @Type("integer") |
||
56 | */ |
||
57 | private $generation; |
||
58 | |||
59 | /** |
||
60 | * @Type("integer") |
||
61 | */ |
||
62 | private $plays; |
||
63 | |||
64 | /** |
||
65 | * @Type("integer") |
||
66 | */ |
||
67 | private $views; |
||
68 | |||
69 | /** |
||
70 | * @Type("boolean") |
||
71 | */ |
||
72 | private $allFormatsAvailable; |
||
73 | |||
74 | /** |
||
75 | * @TODO replace it with array collection |
||
76 | * |
||
77 | * @Type("array") |
||
78 | */ |
||
79 | private $customMetaData; |
||
80 | |||
81 | /** |
||
82 | * @TODO replace it with array collection |
||
83 | * |
||
84 | * @Type("array") |
||
85 | */ |
||
86 | private $keywords; |
||
87 | |||
88 | /** |
||
89 | * @TODO replace it with array collection |
||
90 | * |
||
91 | * @Type("array") |
||
92 | */ |
||
93 | private $stills; |
||
94 | |||
95 | /** |
||
96 | * @param string $id |
||
97 | * |
||
98 | * @return Video |
||
99 | */ |
||
100 | public function setId($id) |
||
106 | |||
107 | /** |
||
108 | * @return string |
||
109 | */ |
||
110 | public function getId() |
||
114 | |||
115 | /** |
||
116 | * @return string |
||
117 | */ |
||
118 | public function getTitle() |
||
122 | |||
123 | /** |
||
124 | * @param string $title |
||
125 | * |
||
126 | * @return Video |
||
127 | */ |
||
128 | public function setTitle($title) |
||
134 | |||
135 | /** |
||
136 | * @return string |
||
137 | */ |
||
138 | public function getDescription() |
||
142 | |||
143 | /** |
||
144 | * @param string $description |
||
145 | * |
||
146 | * @return Video |
||
147 | */ |
||
148 | public function setDescription($description) |
||
154 | |||
155 | /** |
||
156 | * @return string |
||
157 | */ |
||
158 | public function getThumbnail() |
||
162 | |||
163 | /** |
||
164 | * @param string $thumbnail |
||
165 | * |
||
166 | * @return Video |
||
167 | */ |
||
168 | public function setThumbnail($thumbnail) |
||
174 | |||
175 | /** |
||
176 | * @return int |
||
177 | */ |
||
178 | public function getLength() |
||
182 | |||
183 | /** |
||
184 | * @param int $length |
||
185 | * |
||
186 | * @return Video |
||
187 | */ |
||
188 | public function setLength($length) |
||
194 | |||
195 | /** |
||
196 | * @return int |
||
197 | */ |
||
198 | public function getCreatedDate() |
||
202 | |||
203 | /** |
||
204 | * @param int $createdDate |
||
205 | * |
||
206 | * @return Video |
||
207 | */ |
||
208 | public function setCreatedDate($createdDate) |
||
214 | |||
215 | /** |
||
216 | * @return int |
||
217 | */ |
||
218 | public function getModifiedDate() |
||
222 | |||
223 | /** |
||
224 | * @param int $modifiedDate |
||
225 | * |
||
226 | * @return Video |
||
227 | */ |
||
228 | public function setModifiedDate($modifiedDate) |
||
234 | |||
235 | /** |
||
236 | * @return int |
||
237 | */ |
||
238 | public function getUploadDate() |
||
242 | |||
243 | /** |
||
244 | * @param int $uploadDate |
||
245 | * |
||
246 | * @return Video |
||
247 | */ |
||
248 | public function setUploadDate($uploadDate) |
||
254 | |||
255 | /** |
||
256 | * @return int |
||
257 | */ |
||
258 | public function getGeneration() |
||
262 | |||
263 | /** |
||
264 | * @param int $generation |
||
265 | * |
||
266 | * @return Video |
||
267 | */ |
||
268 | public function setGeneration($generation) |
||
274 | |||
275 | /** |
||
276 | * @return int |
||
277 | */ |
||
278 | public function getPlays() |
||
282 | |||
283 | /** |
||
284 | * @param int $plays |
||
285 | * |
||
286 | * @return Video |
||
287 | */ |
||
288 | public function setPlays($plays) |
||
294 | |||
295 | /** |
||
296 | * @return int |
||
297 | */ |
||
298 | public function getViews() |
||
302 | |||
303 | /** |
||
304 | * @param int $views |
||
305 | * |
||
306 | * @return Video |
||
307 | */ |
||
308 | public function setViews($views) |
||
314 | |||
315 | /** |
||
316 | * @return bool |
||
317 | */ |
||
318 | public function getAllFormatsAvailable() |
||
322 | |||
323 | /** |
||
324 | * @param bool $allFormatsAvailable |
||
325 | * |
||
326 | * @return Video |
||
327 | */ |
||
328 | public function setAllFormatsAvailable($allFormatsAvailable) |
||
334 | |||
335 | /** |
||
336 | * @return array |
||
337 | */ |
||
338 | public function getCustomMetaData() |
||
342 | |||
343 | /** |
||
344 | * @param array $customMetaData |
||
345 | * |
||
346 | * @return Video |
||
347 | */ |
||
348 | public function setCustomMetaData($customMetaData) |
||
354 | |||
355 | /** |
||
356 | * @return array |
||
357 | */ |
||
358 | public function getKeywords() |
||
362 | |||
363 | /** |
||
364 | * @param array $keywords |
||
365 | * |
||
366 | * @return Video |
||
367 | */ |
||
368 | public function setKeywords($keywords) |
||
374 | |||
375 | /** |
||
376 | * @return array |
||
377 | */ |
||
378 | public function getStills() |
||
382 | |||
383 | /** |
||
384 | * @param array $stills |
||
385 | * |
||
386 | * @return Video |
||
387 | */ |
||
388 | public function setStills($stills) |
||
394 | } |
||
395 |