Nav apraksta

ActivitySnippet.php 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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_YouTube_ActivitySnippet extends Google_Model
  18. {
  19. public $channelId;
  20. public $channelTitle;
  21. public $description;
  22. public $groupId;
  23. public $publishedAt;
  24. protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
  25. protected $thumbnailsDataType = '';
  26. public $title;
  27. public $type;
  28. public function setChannelId($channelId)
  29. {
  30. $this->channelId = $channelId;
  31. }
  32. public function getChannelId()
  33. {
  34. return $this->channelId;
  35. }
  36. public function setChannelTitle($channelTitle)
  37. {
  38. $this->channelTitle = $channelTitle;
  39. }
  40. public function getChannelTitle()
  41. {
  42. return $this->channelTitle;
  43. }
  44. public function setDescription($description)
  45. {
  46. $this->description = $description;
  47. }
  48. public function getDescription()
  49. {
  50. return $this->description;
  51. }
  52. public function setGroupId($groupId)
  53. {
  54. $this->groupId = $groupId;
  55. }
  56. public function getGroupId()
  57. {
  58. return $this->groupId;
  59. }
  60. public function setPublishedAt($publishedAt)
  61. {
  62. $this->publishedAt = $publishedAt;
  63. }
  64. public function getPublishedAt()
  65. {
  66. return $this->publishedAt;
  67. }
  68. /**
  69. * @param Google_Service_YouTube_ThumbnailDetails
  70. */
  71. public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
  72. {
  73. $this->thumbnails = $thumbnails;
  74. }
  75. /**
  76. * @return Google_Service_YouTube_ThumbnailDetails
  77. */
  78. public function getThumbnails()
  79. {
  80. return $this->thumbnails;
  81. }
  82. public function setTitle($title)
  83. {
  84. $this->title = $title;
  85. }
  86. public function getTitle()
  87. {
  88. return $this->title;
  89. }
  90. public function setType($type)
  91. {
  92. $this->type = $type;
  93. }
  94. public function getType()
  95. {
  96. return $this->type;
  97. }
  98. }