Bez popisu

ActivityObjectAttachments.php 3.3KB

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