暫無描述

SubscriptionSnippet.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_YouTube_SubscriptionSnippet extends Google_Model
  18. {
  19. public $channelId;
  20. public $channelTitle;
  21. public $description;
  22. public $publishedAt;
  23. protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
  24. protected $resourceIdDataType = '';
  25. protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
  26. protected $thumbnailsDataType = '';
  27. public $title;
  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 setPublishedAt($publishedAt)
  53. {
  54. $this->publishedAt = $publishedAt;
  55. }
  56. public function getPublishedAt()
  57. {
  58. return $this->publishedAt;
  59. }
  60. /**
  61. * @param Google_Service_YouTube_ResourceId
  62. */
  63. public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
  64. {
  65. $this->resourceId = $resourceId;
  66. }
  67. /**
  68. * @return Google_Service_YouTube_ResourceId
  69. */
  70. public function getResourceId()
  71. {
  72. return $this->resourceId;
  73. }
  74. /**
  75. * @param Google_Service_YouTube_ThumbnailDetails
  76. */
  77. public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
  78. {
  79. $this->thumbnails = $thumbnails;
  80. }
  81. /**
  82. * @return Google_Service_YouTube_ThumbnailDetails
  83. */
  84. public function getThumbnails()
  85. {
  86. return $this->thumbnails;
  87. }
  88. public function setTitle($title)
  89. {
  90. $this->title = $title;
  91. }
  92. public function getTitle()
  93. {
  94. return $this->title;
  95. }
  96. }