暫無描述

ActivityObjectAttachments.php 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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_ActivityObjectAttachments extends Google_Collection
  18. {
  19. protected $collection_key = 'thumbnails';
  20. public $content;
  21. public $displayName;
  22. protected $embedType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed';
  23. protected $embedDataType = '';
  24. protected $fullImageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage';
  25. protected $fullImageDataType = '';
  26. public $id;
  27. protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsImage';
  28. protected $imageDataType = '';
  29. public $objectType;
  30. protected $previewThumbnailsType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails';
  31. protected $previewThumbnailsDataType = 'array';
  32. protected $thumbnailsType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails';
  33. protected $thumbnailsDataType = 'array';
  34. public $url;
  35. public function setContent($content)
  36. {
  37. $this->content = $content;
  38. }
  39. public function getContent()
  40. {
  41. return $this->content;
  42. }
  43. public function setDisplayName($displayName)
  44. {
  45. $this->displayName = $displayName;
  46. }
  47. public function getDisplayName()
  48. {
  49. return $this->displayName;
  50. }
  51. /**
  52. * @param Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed
  53. */
  54. public function setEmbed(Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed $embed)
  55. {
  56. $this->embed = $embed;
  57. }
  58. /**
  59. * @return Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed
  60. */
  61. public function getEmbed()
  62. {
  63. return $this->embed;
  64. }
  65. /**
  66. * @param Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage
  67. */
  68. public function setFullImage(Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage $fullImage)
  69. {
  70. $this->fullImage = $fullImage;
  71. }
  72. /**
  73. * @return Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage
  74. */
  75. public function getFullImage()
  76. {
  77. return $this->fullImage;
  78. }
  79. public function setId($id)
  80. {
  81. $this->id = $id;
  82. }
  83. public function getId()
  84. {
  85. return $this->id;
  86. }
  87. /**
  88. * @param Google_Service_PlusDomains_ActivityObjectAttachmentsImage
  89. */
  90. public function setImage(Google_Service_PlusDomains_ActivityObjectAttachmentsImage $image)
  91. {
  92. $this->image = $image;
  93. }
  94. /**
  95. * @return Google_Service_PlusDomains_ActivityObjectAttachmentsImage
  96. */
  97. public function getImage()
  98. {
  99. return $this->image;
  100. }
  101. public function setObjectType($objectType)
  102. {
  103. $this->objectType = $objectType;
  104. }
  105. public function getObjectType()
  106. {
  107. return $this->objectType;
  108. }
  109. /**
  110. * @param Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails
  111. */
  112. public function setPreviewThumbnails($previewThumbnails)
  113. {
  114. $this->previewThumbnails = $previewThumbnails;
  115. }
  116. /**
  117. * @return Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails
  118. */
  119. public function getPreviewThumbnails()
  120. {
  121. return $this->previewThumbnails;
  122. }
  123. /**
  124. * @param Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails
  125. */
  126. public function setThumbnails($thumbnails)
  127. {
  128. $this->thumbnails = $thumbnails;
  129. }
  130. /**
  131. * @return Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails
  132. */
  133. public function getThumbnails()
  134. {
  135. return $this->thumbnails;
  136. }
  137. public function setUrl($url)
  138. {
  139. $this->url = $url;
  140. }
  141. public function getUrl()
  142. {
  143. return $this->url;
  144. }
  145. }