Nessuna descrizione

SearchResultSnippet.php 2.2KB

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