Bez popisu

Media.php 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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_PlusDomains_Media extends Google_Collection
  18. {
  19. protected $collection_key = 'streams';
  20. protected $authorType = 'Google_Service_PlusDomains_MediaAuthor';
  21. protected $authorDataType = '';
  22. public $displayName;
  23. public $etag;
  24. protected $exifType = 'Google_Service_PlusDomains_MediaExif';
  25. protected $exifDataType = '';
  26. public $height;
  27. public $id;
  28. public $kind;
  29. public $mediaCreatedTime;
  30. public $mediaUrl;
  31. public $published;
  32. public $sizeBytes;
  33. protected $streamsType = 'Google_Service_PlusDomains_Videostream';
  34. protected $streamsDataType = 'array';
  35. public $summary;
  36. public $updated;
  37. public $url;
  38. public $videoDuration;
  39. public $videoStatus;
  40. public $width;
  41. /**
  42. * @param Google_Service_PlusDomains_MediaAuthor
  43. */
  44. public function setAuthor(Google_Service_PlusDomains_MediaAuthor $author)
  45. {
  46. $this->author = $author;
  47. }
  48. /**
  49. * @return Google_Service_PlusDomains_MediaAuthor
  50. */
  51. public function getAuthor()
  52. {
  53. return $this->author;
  54. }
  55. public function setDisplayName($displayName)
  56. {
  57. $this->displayName = $displayName;
  58. }
  59. public function getDisplayName()
  60. {
  61. return $this->displayName;
  62. }
  63. public function setEtag($etag)
  64. {
  65. $this->etag = $etag;
  66. }
  67. public function getEtag()
  68. {
  69. return $this->etag;
  70. }
  71. /**
  72. * @param Google_Service_PlusDomains_MediaExif
  73. */
  74. public function setExif(Google_Service_PlusDomains_MediaExif $exif)
  75. {
  76. $this->exif = $exif;
  77. }
  78. /**
  79. * @return Google_Service_PlusDomains_MediaExif
  80. */
  81. public function getExif()
  82. {
  83. return $this->exif;
  84. }
  85. public function setHeight($height)
  86. {
  87. $this->height = $height;
  88. }
  89. public function getHeight()
  90. {
  91. return $this->height;
  92. }
  93. public function setId($id)
  94. {
  95. $this->id = $id;
  96. }
  97. public function getId()
  98. {
  99. return $this->id;
  100. }
  101. public function setKind($kind)
  102. {
  103. $this->kind = $kind;
  104. }
  105. public function getKind()
  106. {
  107. return $this->kind;
  108. }
  109. public function setMediaCreatedTime($mediaCreatedTime)
  110. {
  111. $this->mediaCreatedTime = $mediaCreatedTime;
  112. }
  113. public function getMediaCreatedTime()
  114. {
  115. return $this->mediaCreatedTime;
  116. }
  117. public function setMediaUrl($mediaUrl)
  118. {
  119. $this->mediaUrl = $mediaUrl;
  120. }
  121. public function getMediaUrl()
  122. {
  123. return $this->mediaUrl;
  124. }
  125. public function setPublished($published)
  126. {
  127. $this->published = $published;
  128. }
  129. public function getPublished()
  130. {
  131. return $this->published;
  132. }
  133. public function setSizeBytes($sizeBytes)
  134. {
  135. $this->sizeBytes = $sizeBytes;
  136. }
  137. public function getSizeBytes()
  138. {
  139. return $this->sizeBytes;
  140. }
  141. /**
  142. * @param Google_Service_PlusDomains_Videostream
  143. */
  144. public function setStreams($streams)
  145. {
  146. $this->streams = $streams;
  147. }
  148. /**
  149. * @return Google_Service_PlusDomains_Videostream
  150. */
  151. public function getStreams()
  152. {
  153. return $this->streams;
  154. }
  155. public function setSummary($summary)
  156. {
  157. $this->summary = $summary;
  158. }
  159. public function getSummary()
  160. {
  161. return $this->summary;
  162. }
  163. public function setUpdated($updated)
  164. {
  165. $this->updated = $updated;
  166. }
  167. public function getUpdated()
  168. {
  169. return $this->updated;
  170. }
  171. public function setUrl($url)
  172. {
  173. $this->url = $url;
  174. }
  175. public function getUrl()
  176. {
  177. return $this->url;
  178. }
  179. public function setVideoDuration($videoDuration)
  180. {
  181. $this->videoDuration = $videoDuration;
  182. }
  183. public function getVideoDuration()
  184. {
  185. return $this->videoDuration;
  186. }
  187. public function setVideoStatus($videoStatus)
  188. {
  189. $this->videoStatus = $videoStatus;
  190. }
  191. public function getVideoStatus()
  192. {
  193. return $this->videoStatus;
  194. }
  195. public function setWidth($width)
  196. {
  197. $this->width = $width;
  198. }
  199. public function getWidth()
  200. {
  201. return $this->width;
  202. }
  203. }