Bez popisu

Annotation.php 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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_Books_Annotation extends Google_Collection
  18. {
  19. protected $collection_key = 'pageIds';
  20. public $afterSelectedText;
  21. public $beforeSelectedText;
  22. protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
  23. protected $clientVersionRangesDataType = '';
  24. public $created;
  25. protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges';
  26. protected $currentVersionRangesDataType = '';
  27. public $data;
  28. public $deleted;
  29. public $highlightStyle;
  30. public $id;
  31. public $kind;
  32. public $layerId;
  33. protected $layerSummaryType = 'Google_Service_Books_AnnotationLayerSummary';
  34. protected $layerSummaryDataType = '';
  35. public $pageIds;
  36. public $selectedText;
  37. public $selfLink;
  38. public $updated;
  39. public $volumeId;
  40. public function setAfterSelectedText($afterSelectedText)
  41. {
  42. $this->afterSelectedText = $afterSelectedText;
  43. }
  44. public function getAfterSelectedText()
  45. {
  46. return $this->afterSelectedText;
  47. }
  48. public function setBeforeSelectedText($beforeSelectedText)
  49. {
  50. $this->beforeSelectedText = $beforeSelectedText;
  51. }
  52. public function getBeforeSelectedText()
  53. {
  54. return $this->beforeSelectedText;
  55. }
  56. /**
  57. * @param Google_Service_Books_AnnotationClientVersionRanges
  58. */
  59. public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
  60. {
  61. $this->clientVersionRanges = $clientVersionRanges;
  62. }
  63. /**
  64. * @return Google_Service_Books_AnnotationClientVersionRanges
  65. */
  66. public function getClientVersionRanges()
  67. {
  68. return $this->clientVersionRanges;
  69. }
  70. public function setCreated($created)
  71. {
  72. $this->created = $created;
  73. }
  74. public function getCreated()
  75. {
  76. return $this->created;
  77. }
  78. /**
  79. * @param Google_Service_Books_AnnotationCurrentVersionRanges
  80. */
  81. public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
  82. {
  83. $this->currentVersionRanges = $currentVersionRanges;
  84. }
  85. /**
  86. * @return Google_Service_Books_AnnotationCurrentVersionRanges
  87. */
  88. public function getCurrentVersionRanges()
  89. {
  90. return $this->currentVersionRanges;
  91. }
  92. public function setData($data)
  93. {
  94. $this->data = $data;
  95. }
  96. public function getData()
  97. {
  98. return $this->data;
  99. }
  100. public function setDeleted($deleted)
  101. {
  102. $this->deleted = $deleted;
  103. }
  104. public function getDeleted()
  105. {
  106. return $this->deleted;
  107. }
  108. public function setHighlightStyle($highlightStyle)
  109. {
  110. $this->highlightStyle = $highlightStyle;
  111. }
  112. public function getHighlightStyle()
  113. {
  114. return $this->highlightStyle;
  115. }
  116. public function setId($id)
  117. {
  118. $this->id = $id;
  119. }
  120. public function getId()
  121. {
  122. return $this->id;
  123. }
  124. public function setKind($kind)
  125. {
  126. $this->kind = $kind;
  127. }
  128. public function getKind()
  129. {
  130. return $this->kind;
  131. }
  132. public function setLayerId($layerId)
  133. {
  134. $this->layerId = $layerId;
  135. }
  136. public function getLayerId()
  137. {
  138. return $this->layerId;
  139. }
  140. /**
  141. * @param Google_Service_Books_AnnotationLayerSummary
  142. */
  143. public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary)
  144. {
  145. $this->layerSummary = $layerSummary;
  146. }
  147. /**
  148. * @return Google_Service_Books_AnnotationLayerSummary
  149. */
  150. public function getLayerSummary()
  151. {
  152. return $this->layerSummary;
  153. }
  154. public function setPageIds($pageIds)
  155. {
  156. $this->pageIds = $pageIds;
  157. }
  158. public function getPageIds()
  159. {
  160. return $this->pageIds;
  161. }
  162. public function setSelectedText($selectedText)
  163. {
  164. $this->selectedText = $selectedText;
  165. }
  166. public function getSelectedText()
  167. {
  168. return $this->selectedText;
  169. }
  170. public function setSelfLink($selfLink)
  171. {
  172. $this->selfLink = $selfLink;
  173. }
  174. public function getSelfLink()
  175. {
  176. return $this->selfLink;
  177. }
  178. public function setUpdated($updated)
  179. {
  180. $this->updated = $updated;
  181. }
  182. public function getUpdated()
  183. {
  184. return $this->updated;
  185. }
  186. public function setVolumeId($volumeId)
  187. {
  188. $this->volumeId = $volumeId;
  189. }
  190. public function getVolumeId()
  191. {
  192. return $this->volumeId;
  193. }
  194. }