PageRenderTime 24ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/vendor/google/apiclient-services/src/YouTubeReporting/GdataMedia.php

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