Brak opisu

VideoListResponse.php 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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_VideoListResponse extends Google_Collection
  18. {
  19. protected $collection_key = 'items';
  20. public $etag;
  21. public $eventId;
  22. protected $itemsType = 'Google_Service_YouTube_Video';
  23. protected $itemsDataType = 'array';
  24. public $kind;
  25. public $nextPageToken;
  26. protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
  27. protected $pageInfoDataType = '';
  28. public $prevPageToken;
  29. protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
  30. protected $tokenPaginationDataType = '';
  31. public $visitorId;
  32. public function setEtag($etag)
  33. {
  34. $this->etag = $etag;
  35. }
  36. public function getEtag()
  37. {
  38. return $this->etag;
  39. }
  40. public function setEventId($eventId)
  41. {
  42. $this->eventId = $eventId;
  43. }
  44. public function getEventId()
  45. {
  46. return $this->eventId;
  47. }
  48. /**
  49. * @param Google_Service_YouTube_Video
  50. */
  51. public function setItems($items)
  52. {
  53. $this->items = $items;
  54. }
  55. /**
  56. * @return Google_Service_YouTube_Video
  57. */
  58. public function getItems()
  59. {
  60. return $this->items;
  61. }
  62. public function setKind($kind)
  63. {
  64. $this->kind = $kind;
  65. }
  66. public function getKind()
  67. {
  68. return $this->kind;
  69. }
  70. public function setNextPageToken($nextPageToken)
  71. {
  72. $this->nextPageToken = $nextPageToken;
  73. }
  74. public function getNextPageToken()
  75. {
  76. return $this->nextPageToken;
  77. }
  78. /**
  79. * @param Google_Service_YouTube_PageInfo
  80. */
  81. public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
  82. {
  83. $this->pageInfo = $pageInfo;
  84. }
  85. /**
  86. * @return Google_Service_YouTube_PageInfo
  87. */
  88. public function getPageInfo()
  89. {
  90. return $this->pageInfo;
  91. }
  92. public function setPrevPageToken($prevPageToken)
  93. {
  94. $this->prevPageToken = $prevPageToken;
  95. }
  96. public function getPrevPageToken()
  97. {
  98. return $this->prevPageToken;
  99. }
  100. /**
  101. * @param Google_Service_YouTube_TokenPagination
  102. */
  103. public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
  104. {
  105. $this->tokenPagination = $tokenPagination;
  106. }
  107. /**
  108. * @return Google_Service_YouTube_TokenPagination
  109. */
  110. public function getTokenPagination()
  111. {
  112. return $this->tokenPagination;
  113. }
  114. public function setVisitorId($visitorId)
  115. {
  116. $this->visitorId = $visitorId;
  117. }
  118. public function getVisitorId()
  119. {
  120. return $this->visitorId;
  121. }
  122. }