Açıklama Yok

MediaItem.php 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. class Google_Service_PhotosLibrary_MediaItem extends Google_Model
  18. {
  19. public $baseUrl;
  20. protected $contributorInfoType = 'Google_Service_PhotosLibrary_ContributorInfo';
  21. protected $contributorInfoDataType = '';
  22. public $description;
  23. public $id;
  24. protected $mediaMetadataType = 'Google_Service_PhotosLibrary_MediaMetadata';
  25. protected $mediaMetadataDataType = '';
  26. public $mimeType;
  27. public $productUrl;
  28. public function setBaseUrl($baseUrl)
  29. {
  30. $this->baseUrl = $baseUrl;
  31. }
  32. public function getBaseUrl()
  33. {
  34. return $this->baseUrl;
  35. }
  36. /**
  37. * @param Google_Service_PhotosLibrary_ContributorInfo
  38. */
  39. public function setContributorInfo(Google_Service_PhotosLibrary_ContributorInfo $contributorInfo)
  40. {
  41. $this->contributorInfo = $contributorInfo;
  42. }
  43. /**
  44. * @return Google_Service_PhotosLibrary_ContributorInfo
  45. */
  46. public function getContributorInfo()
  47. {
  48. return $this->contributorInfo;
  49. }
  50. public function setDescription($description)
  51. {
  52. $this->description = $description;
  53. }
  54. public function getDescription()
  55. {
  56. return $this->description;
  57. }
  58. public function setId($id)
  59. {
  60. $this->id = $id;
  61. }
  62. public function getId()
  63. {
  64. return $this->id;
  65. }
  66. /**
  67. * @param Google_Service_PhotosLibrary_MediaMetadata
  68. */
  69. public function setMediaMetadata(Google_Service_PhotosLibrary_MediaMetadata $mediaMetadata)
  70. {
  71. $this->mediaMetadata = $mediaMetadata;
  72. }
  73. /**
  74. * @return Google_Service_PhotosLibrary_MediaMetadata
  75. */
  76. public function getMediaMetadata()
  77. {
  78. return $this->mediaMetadata;
  79. }
  80. public function setMimeType($mimeType)
  81. {
  82. $this->mimeType = $mimeType;
  83. }
  84. public function getMimeType()
  85. {
  86. return $this->mimeType;
  87. }
  88. public function setProductUrl($productUrl)
  89. {
  90. $this->productUrl = $productUrl;
  91. }
  92. public function getProductUrl()
  93. {
  94. return $this->productUrl;
  95. }
  96. }