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 Volumeannotation extends \Google\Collection
21{
22  protected $collection_key = 'pageIds';
23  /**
24   * @var string
25   */
26  public $annotationDataId;
27  /**
28   * @var string
29   */
30  public $annotationDataLink;
31  /**
32   * @var string
33   */
34  public $annotationType;
35  protected $contentRangesType = VolumeannotationContentRanges::class;
36  protected $contentRangesDataType = '';
37  /**
38   * @var string
39   */
40  public $data;
41  /**
42   * @var bool
43   */
44  public $deleted;
45  /**
46   * @var string
47   */
48  public $id;
49  /**
50   * @var string
51   */
52  public $kind;
53  /**
54   * @var string
55   */
56  public $layerId;
57  /**
58   * @var string[]
59   */
60  public $pageIds;
61  /**
62   * @var string
63   */
64  public $selectedText;
65  /**
66   * @var string
67   */
68  public $selfLink;
69  /**
70   * @var string
71   */
72  public $updated;
73  /**
74   * @var string
75   */
76  public $volumeId;
77
78  /**
79   * @param string
80   */
81  public function setAnnotationDataId($annotationDataId)
82  {
83    $this->annotationDataId = $annotationDataId;
84  }
85  /**
86   * @return string
87   */
88  public function getAnnotationDataId()
89  {
90    return $this->annotationDataId;
91  }
92  /**
93   * @param string
94   */
95  public function setAnnotationDataLink($annotationDataLink)
96  {
97    $this->annotationDataLink = $annotationDataLink;
98  }
99  /**
100   * @return string
101   */
102  public function getAnnotationDataLink()
103  {
104    return $this->annotationDataLink;
105  }
106  /**
107   * @param string
108   */
109  public function setAnnotationType($annotationType)
110  {
111    $this->annotationType = $annotationType;
112  }
113  /**
114   * @return string
115   */
116  public function getAnnotationType()
117  {
118    return $this->annotationType;
119  }
120  /**
121   * @param VolumeannotationContentRanges
122   */
123  public function setContentRanges(VolumeannotationContentRanges $contentRanges)
124  {
125    $this->contentRanges = $contentRanges;
126  }
127  /**
128   * @return VolumeannotationContentRanges
129   */
130  public function getContentRanges()
131  {
132    return $this->contentRanges;
133  }
134  /**
135   * @param string
136   */
137  public function setData($data)
138  {
139    $this->data = $data;
140  }
141  /**
142   * @return string
143   */
144  public function getData()
145  {
146    return $this->data;
147  }
148  /**
149   * @param bool
150   */
151  public function setDeleted($deleted)
152  {
153    $this->deleted = $deleted;
154  }
155  /**
156   * @return bool
157   */
158  public function getDeleted()
159  {
160    return $this->deleted;
161  }
162  /**
163   * @param string
164   */
165  public function setId($id)
166  {
167    $this->id = $id;
168  }
169  /**
170   * @return string
171   */
172  public function getId()
173  {
174    return $this->id;
175  }
176  /**
177   * @param string
178   */
179  public function setKind($kind)
180  {
181    $this->kind = $kind;
182  }
183  /**
184   * @return string
185   */
186  public function getKind()
187  {
188    return $this->kind;
189  }
190  /**
191   * @param string
192   */
193  public function setLayerId($layerId)
194  {
195    $this->layerId = $layerId;
196  }
197  /**
198   * @return string
199   */
200  public function getLayerId()
201  {
202    return $this->layerId;
203  }
204  /**
205   * @param string[]
206   */
207  public function setPageIds($pageIds)
208  {
209    $this->pageIds = $pageIds;
210  }
211  /**
212   * @return string[]
213   */
214  public function getPageIds()
215  {
216    return $this->pageIds;
217  }
218  /**
219   * @param string
220   */
221  public function setSelectedText($selectedText)
222  {
223    $this->selectedText = $selectedText;
224  }
225  /**
226   * @return string
227   */
228  public function getSelectedText()
229  {
230    return $this->selectedText;
231  }
232  /**
233   * @param string
234   */
235  public function setSelfLink($selfLink)
236  {
237    $this->selfLink = $selfLink;
238  }
239  /**
240   * @return string
241   */
242  public function getSelfLink()
243  {
244    return $this->selfLink;
245  }
246  /**
247   * @param string
248   */
249  public function setUpdated($updated)
250  {
251    $this->updated = $updated;
252  }
253  /**
254   * @return string
255   */
256  public function getUpdated()
257  {
258    return $this->updated;
259  }
260  /**
261   * @param string
262   */
263  public function setVolumeId($volumeId)
264  {
265    $this->volumeId = $volumeId;
266  }
267  /**
268   * @return string
269   */
270  public function getVolumeId()
271  {
272    return $this->volumeId;
273  }
274}
275
276// Adding a class alias for backwards compatibility with the previous class name.
277class_alias(Volumeannotation::class, 'Google_Service_Books_Volumeannotation');
278