1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\YouTubeReporting;
19
20class GdataMedia extends \Google\Collection
21{
22  protected $collection_key = 'compositeMedia';
23  /**
24   * @var string
25   */
26  public $algorithm;
27  /**
28   * @var string
29   */
30  public $bigstoreObjectRef;
31  /**
32   * @var string
33   */
34  public $blobRef;
35  protected $blobstore2InfoType = GdataBlobstore2Info::class;
36  protected $blobstore2InfoDataType = '';
37  protected $compositeMediaType = GdataCompositeMedia::class;
38  protected $compositeMediaDataType = 'array';
39  /**
40   * @var string
41   */
42  public $contentType;
43  protected $contentTypeInfoType = GdataContentTypeInfo::class;
44  protected $contentTypeInfoDataType = '';
45  /**
46   * @var string
47   */
48  public $cosmoBinaryReference;
49  /**
50   * @var string
51   */
52  public $crc32cHash;
53  protected $diffChecksumsResponseType = GdataDiffChecksumsResponse::class;
54  protected $diffChecksumsResponseDataType = '';
55  protected $diffDownloadResponseType = GdataDiffDownloadResponse::class;
56  protected $diffDownloadResponseDataType = '';
57  protected $diffUploadRequestType = GdataDiffUploadRequest::class;
58  protected $diffUploadRequestDataType = '';
59  protected $diffUploadResponseType = GdataDiffUploadResponse::class;
60  protected $diffUploadResponseDataType = '';
61  protected $diffVersionResponseType = GdataDiffVersionResponse::class;
62  protected $diffVersionResponseDataType = '';
63  protected $downloadParametersType = GdataDownloadParameters::class;
64  protected $downloadParametersDataType = '';
65  /**
66   * @var string
67   */
68  public $filename;
69  /**
70   * @var string
71   */
72  public $hash;
73  /**
74   * @var bool
75   */
76  public $hashVerified;
77  /**
78   * @var string
79   */
80  public $inline;
81  /**
82   * @var bool
83   */
84  public $isPotentialRetry;
85  /**
86   * @var string
87   */
88  public $length;
89  /**
90   * @var string
91   */
92  public $md5Hash;
93  /**
94   * @var string
95   */
96  public $mediaId;
97  protected $objectIdType = GdataObjectId::class;
98  protected $objectIdDataType = '';
99  /**
100   * @var string
101   */
102  public $path;
103  /**
104   * @var string
105   */
106  public $referenceType;
107  /**
108   * @var string
109   */
110  public $sha1Hash;
111  /**
112   * @var string
113   */
114  public $sha256Hash;
115  /**
116   * @var string
117   */
118  public $timestamp;
119  /**
120   * @var string
121   */
122  public $token;
123
124  /**
125   * @param string
126   */
127  public function setAlgorithm($algorithm)
128  {
129    $this->algorithm = $algorithm;
130  }
131  /**
132   * @return string
133   */
134  public function getAlgorithm()
135  {
136    return $this->algorithm;
137  }
138  /**
139   * @param string
140   */
141  public function setBigstoreObjectRef($bigstoreObjectRef)
142  {
143    $this->bigstoreObjectRef = $bigstoreObjectRef;
144  }
145  /**
146   * @return string
147   */
148  public function getBigstoreObjectRef()
149  {
150    return $this->bigstoreObjectRef;
151  }
152  /**
153   * @param string
154   */
155  public function setBlobRef($blobRef)
156  {
157    $this->blobRef = $blobRef;
158  }
159  /**
160   * @return string
161   */
162  public function getBlobRef()
163  {
164    return $this->blobRef;
165  }
166  /**
167   * @param GdataBlobstore2Info
168   */
169  public function setBlobstore2Info(GdataBlobstore2Info $blobstore2Info)
170  {
171    $this->blobstore2Info = $blobstore2Info;
172  }
173  /**
174   * @return GdataBlobstore2Info
175   */
176  public function getBlobstore2Info()
177  {
178    return $this->blobstore2Info;
179  }
180  /**
181   * @param GdataCompositeMedia[]
182   */
183  public function setCompositeMedia($compositeMedia)
184  {
185    $this->compositeMedia = $compositeMedia;
186  }
187  /**
188   * @return GdataCompositeMedia[]
189   */
190  public function getCompositeMedia()
191  {
192    return $this->compositeMedia;
193  }
194  /**
195   * @param string
196   */
197  public function setContentType($contentType)
198  {
199    $this->contentType = $contentType;
200  }
201  /**
202   * @return string
203   */
204  public function getContentType()
205  {
206    return $this->contentType;
207  }
208  /**
209   * @param GdataContentTypeInfo
210   */
211  public function setContentTypeInfo(GdataContentTypeInfo $contentTypeInfo)
212  {
213    $this->contentTypeInfo = $contentTypeInfo;
214  }
215  /**
216   * @return GdataContentTypeInfo
217   */
218  public function getContentTypeInfo()
219  {
220    return $this->contentTypeInfo;
221  }
222  /**
223   * @param string
224   */
225  public function setCosmoBinaryReference($cosmoBinaryReference)
226  {
227    $this->cosmoBinaryReference = $cosmoBinaryReference;
228  }
229  /**
230   * @return string
231   */
232  public function getCosmoBinaryReference()
233  {
234    return $this->cosmoBinaryReference;
235  }
236  /**
237   * @param string
238   */
239  public function setCrc32cHash($crc32cHash)
240  {
241    $this->crc32cHash = $crc32cHash;
242  }
243  /**
244   * @return string
245   */
246  public function getCrc32cHash()
247  {
248    return $this->crc32cHash;
249  }
250  /**
251   * @param GdataDiffChecksumsResponse
252   */
253  public function setDiffChecksumsResponse(GdataDiffChecksumsResponse $diffChecksumsResponse)
254  {
255    $this->diffChecksumsResponse = $diffChecksumsResponse;
256  }
257  /**
258   * @return GdataDiffChecksumsResponse
259   */
260  public function getDiffChecksumsResponse()
261  {
262    return $this->diffChecksumsResponse;
263  }
264  /**
265   * @param GdataDiffDownloadResponse
266   */
267  public function setDiffDownloadResponse(GdataDiffDownloadResponse $diffDownloadResponse)
268  {
269    $this->diffDownloadResponse = $diffDownloadResponse;
270  }
271  /**
272   * @return GdataDiffDownloadResponse
273   */
274  public function getDiffDownloadResponse()
275  {
276    return $this->diffDownloadResponse;
277  }
278  /**
279   * @param GdataDiffUploadRequest
280   */
281  public function setDiffUploadRequest(GdataDiffUploadRequest $diffUploadRequest)
282  {
283    $this->diffUploadRequest = $diffUploadRequest;
284  }
285  /**
286   * @return GdataDiffUploadRequest
287   */
288  public function getDiffUploadRequest()
289  {
290    return $this->diffUploadRequest;
291  }
292  /**
293   * @param GdataDiffUploadResponse
294   */
295  public function setDiffUploadResponse(GdataDiffUploadResponse $diffUploadResponse)
296  {
297    $this->diffUploadResponse = $diffUploadResponse;
298  }
299  /**
300   * @return GdataDiffUploadResponse
301   */
302  public function getDiffUploadResponse()
303  {
304    return $this->diffUploadResponse;
305  }
306  /**
307   * @param GdataDiffVersionResponse
308   */
309  public function setDiffVersionResponse(GdataDiffVersionResponse $diffVersionResponse)
310  {
311    $this->diffVersionResponse = $diffVersionResponse;
312  }
313  /**
314   * @return GdataDiffVersionResponse
315   */
316  public function getDiffVersionResponse()
317  {
318    return $this->diffVersionResponse;
319  }
320  /**
321   * @param GdataDownloadParameters
322   */
323  public function setDownloadParameters(GdataDownloadParameters $downloadParameters)
324  {
325    $this->downloadParameters = $downloadParameters;
326  }
327  /**
328   * @return GdataDownloadParameters
329   */
330  public function getDownloadParameters()
331  {
332    return $this->downloadParameters;
333  }
334  /**
335   * @param string
336   */
337  public function setFilename($filename)
338  {
339    $this->filename = $filename;
340  }
341  /**
342   * @return string
343   */
344  public function getFilename()
345  {
346    return $this->filename;
347  }
348  /**
349   * @param string
350   */
351  public function setHash($hash)
352  {
353    $this->hash = $hash;
354  }
355  /**
356   * @return string
357   */
358  public function getHash()
359  {
360    return $this->hash;
361  }
362  /**
363   * @param bool
364   */
365  public function setHashVerified($hashVerified)
366  {
367    $this->hashVerified = $hashVerified;
368  }
369  /**
370   * @return bool
371   */
372  public function getHashVerified()
373  {
374    return $this->hashVerified;
375  }
376  /**
377   * @param string
378   */
379  public function setInline($inline)
380  {
381    $this->inline = $inline;
382  }
383  /**
384   * @return string
385   */
386  public function getInline()
387  {
388    return $this->inline;
389  }
390  /**
391   * @param bool
392   */
393  public function setIsPotentialRetry($isPotentialRetry)
394  {
395    $this->isPotentialRetry = $isPotentialRetry;
396  }
397  /**
398   * @return bool
399   */
400  public function getIsPotentialRetry()
401  {
402    return $this->isPotentialRetry;
403  }
404  /**
405   * @param string
406   */
407  public function setLength($length)
408  {
409    $this->length = $length;
410  }
411  /**
412   * @return string
413   */
414  public function getLength()
415  {
416    return $this->length;
417  }
418  /**
419   * @param string
420   */
421  public function setMd5Hash($md5Hash)
422  {
423    $this->md5Hash = $md5Hash;
424  }
425  /**
426   * @return string
427   */
428  public function getMd5Hash()
429  {
430    return $this->md5Hash;
431  }
432  /**
433   * @param string
434   */
435  public function setMediaId($mediaId)
436  {
437    $this->mediaId = $mediaId;
438  }
439  /**
440   * @return string
441   */
442  public function getMediaId()
443  {
444    return $this->mediaId;
445  }
446  /**
447   * @param GdataObjectId
448   */
449  public function setObjectId(GdataObjectId $objectId)
450  {
451    $this->objectId = $objectId;
452  }
453  /**
454   * @return GdataObjectId
455   */
456  public function getObjectId()
457  {
458    return $this->objectId;
459  }
460  /**
461   * @param string
462   */
463  public function setPath($path)
464  {
465    $this->path = $path;
466  }
467  /**
468   * @return string
469   */
470  public function getPath()
471  {
472    return $this->path;
473  }
474  /**
475   * @param string
476   */
477  public function setReferenceType($referenceType)
478  {
479    $this->referenceType = $referenceType;
480  }
481  /**
482   * @return string
483   */
484  public function getReferenceType()
485  {
486    return $this->referenceType;
487  }
488  /**
489   * @param string
490   */
491  public function setSha1Hash($sha1Hash)
492  {
493    $this->sha1Hash = $sha1Hash;
494  }
495  /**
496   * @return string
497   */
498  public function getSha1Hash()
499  {
500    return $this->sha1Hash;
501  }
502  /**
503   * @param string
504   */
505  public function setSha256Hash($sha256Hash)
506  {
507    $this->sha256Hash = $sha256Hash;
508  }
509  /**
510   * @return string
511   */
512  public function getSha256Hash()
513  {
514    return $this->sha256Hash;
515  }
516  /**
517   * @param string
518   */
519  public function setTimestamp($timestamp)
520  {
521    $this->timestamp = $timestamp;
522  }
523  /**
524   * @return string
525   */
526  public function getTimestamp()
527  {
528    return $this->timestamp;
529  }
530  /**
531   * @param string
532   */
533  public function setToken($token)
534  {
535    $this->token = $token;
536  }
537  /**
538   * @return string
539   */
540  public function getToken()
541  {
542    return $this->token;
543  }
544}
545
546// Adding a class alias for backwards compatibility with the previous class name.
547class_alias(GdataMedia::class, 'Google_Service_YouTubeReporting_GdataMedia');
548