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 18namespace Google\Service\Books; 19 20class Annotation extends \Google\Collection 21{ 22 protected $collection_key = 'pageIds'; 23 /** 24 * @var string 25 */ 26 public $afterSelectedText; 27 /** 28 * @var string 29 */ 30 public $beforeSelectedText; 31 protected $clientVersionRangesType = AnnotationClientVersionRanges::class; 32 protected $clientVersionRangesDataType = ''; 33 /** 34 * @var string 35 */ 36 public $created; 37 protected $currentVersionRangesType = AnnotationCurrentVersionRanges::class; 38 protected $currentVersionRangesDataType = ''; 39 /** 40 * @var string 41 */ 42 public $data; 43 /** 44 * @var bool 45 */ 46 public $deleted; 47 /** 48 * @var string 49 */ 50 public $highlightStyle; 51 /** 52 * @var string 53 */ 54 public $id; 55 /** 56 * @var string 57 */ 58 public $kind; 59 /** 60 * @var string 61 */ 62 public $layerId; 63 protected $layerSummaryType = AnnotationLayerSummary::class; 64 protected $layerSummaryDataType = ''; 65 /** 66 * @var string[] 67 */ 68 public $pageIds; 69 /** 70 * @var string 71 */ 72 public $selectedText; 73 /** 74 * @var string 75 */ 76 public $selfLink; 77 /** 78 * @var string 79 */ 80 public $updated; 81 /** 82 * @var string 83 */ 84 public $volumeId; 85 86 /** 87 * @param string 88 */ 89 public function setAfterSelectedText($afterSelectedText) 90 { 91 $this->afterSelectedText = $afterSelectedText; 92 } 93 /** 94 * @return string 95 */ 96 public function getAfterSelectedText() 97 { 98 return $this->afterSelectedText; 99 } 100 /** 101 * @param string 102 */ 103 public function setBeforeSelectedText($beforeSelectedText) 104 { 105 $this->beforeSelectedText = $beforeSelectedText; 106 } 107 /** 108 * @return string 109 */ 110 public function getBeforeSelectedText() 111 { 112 return $this->beforeSelectedText; 113 } 114 /** 115 * @param AnnotationClientVersionRanges 116 */ 117 public function setClientVersionRanges(AnnotationClientVersionRanges $clientVersionRanges) 118 { 119 $this->clientVersionRanges = $clientVersionRanges; 120 } 121 /** 122 * @return AnnotationClientVersionRanges 123 */ 124 public function getClientVersionRanges() 125 { 126 return $this->clientVersionRanges; 127 } 128 /** 129 * @param string 130 */ 131 public function setCreated($created) 132 { 133 $this->created = $created; 134 } 135 /** 136 * @return string 137 */ 138 public function getCreated() 139 { 140 return $this->created; 141 } 142 /** 143 * @param AnnotationCurrentVersionRanges 144 */ 145 public function setCurrentVersionRanges(AnnotationCurrentVersionRanges $currentVersionRanges) 146 { 147 $this->currentVersionRanges = $currentVersionRanges; 148 } 149 /** 150 * @return AnnotationCurrentVersionRanges 151 */ 152 public function getCurrentVersionRanges() 153 { 154 return $this->currentVersionRanges; 155 } 156 /** 157 * @param string 158 */ 159 public function setData($data) 160 { 161 $this->data = $data; 162 } 163 /** 164 * @return string 165 */ 166 public function getData() 167 { 168 return $this->data; 169 } 170 /** 171 * @param bool 172 */ 173 public function setDeleted($deleted) 174 { 175 $this->deleted = $deleted; 176 } 177 /** 178 * @return bool 179 */ 180 public function getDeleted() 181 { 182 return $this->deleted; 183 } 184 /** 185 * @param string 186 */ 187 public function setHighlightStyle($highlightStyle) 188 { 189 $this->highlightStyle = $highlightStyle; 190 } 191 /** 192 * @return string 193 */ 194 public function getHighlightStyle() 195 { 196 return $this->highlightStyle; 197 } 198 /** 199 * @param string 200 */ 201 public function setId($id) 202 { 203 $this->id = $id; 204 } 205 /** 206 * @return string 207 */ 208 public function getId() 209 { 210 return $this->id; 211 } 212 /** 213 * @param string 214 */ 215 public function setKind($kind) 216 { 217 $this->kind = $kind; 218 } 219 /** 220 * @return string 221 */ 222 public function getKind() 223 { 224 return $this->kind; 225 } 226 /** 227 * @param string 228 */ 229 public function setLayerId($layerId) 230 { 231 $this->layerId = $layerId; 232 } 233 /** 234 * @return string 235 */ 236 public function getLayerId() 237 { 238 return $this->layerId; 239 } 240 /** 241 * @param AnnotationLayerSummary 242 */ 243 public function setLayerSummary(AnnotationLayerSummary $layerSummary) 244 { 245 $this->layerSummary = $layerSummary; 246 } 247 /** 248 * @return AnnotationLayerSummary 249 */ 250 public function getLayerSummary() 251 { 252 return $this->layerSummary; 253 } 254 /** 255 * @param string[] 256 */ 257 public function setPageIds($pageIds) 258 { 259 $this->pageIds = $pageIds; 260 } 261 /** 262 * @return string[] 263 */ 264 public function getPageIds() 265 { 266 return $this->pageIds; 267 } 268 /** 269 * @param string 270 */ 271 public function setSelectedText($selectedText) 272 { 273 $this->selectedText = $selectedText; 274 } 275 /** 276 * @return string 277 */ 278 public function getSelectedText() 279 { 280 return $this->selectedText; 281 } 282 /** 283 * @param string 284 */ 285 public function setSelfLink($selfLink) 286 { 287 $this->selfLink = $selfLink; 288 } 289 /** 290 * @return string 291 */ 292 public function getSelfLink() 293 { 294 return $this->selfLink; 295 } 296 /** 297 * @param string 298 */ 299 public function setUpdated($updated) 300 { 301 $this->updated = $updated; 302 } 303 /** 304 * @return string 305 */ 306 public function getUpdated() 307 { 308 return $this->updated; 309 } 310 /** 311 * @param string 312 */ 313 public function setVolumeId($volumeId) 314 { 315 $this->volumeId = $volumeId; 316 } 317 /** 318 * @return string 319 */ 320 public function getVolumeId() 321 { 322 return $this->volumeId; 323 } 324} 325 326// Adding a class alias for backwards compatibility with the previous class name. 327class_alias(Annotation::class, 'Google_Service_Books_Annotation'); 328