PluginProbe
WP Database Backup – Unlimited Database & Files Backup by Backup for WP / 6.11
WP Database Backup – Unlimited Database & Files Backup by Backup for WP v6.11
7.13 7.12 trunk 1.1 2.1.1 5.9 6.0 6.1 6.10 6.11 6.12 6.12.1 6.2 6.3 6.4 6.5 6.5.1 6.6 6.7 6.8 6.9 7.0 7.0.1 7.1 7.10 All 34 releases
wp-database-backup / includes / admin / Destination / Google / google-api-php-client / src / contrib / Google_BooksService.php

Google_BooksService.php in WP Database Backup – Unlimited Database & Files Backup by Backup for WP 6.11, at includes/admin/Destination/Google/google-api-php-client/src/contrib/Google_BooksService.php

3,492 lines 131.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16
17 /**
18 * The "bookshelves" collection of methods.
19 * Typical usage is:
20 * <code>
21 * $booksService = new Google_BooksService(...);
22 * $bookshelves = $booksService->bookshelves;
23 * </code>
24 */
25 class Google_BookshelvesServiceResource extends Google_ServiceResource {
26
27 /**
28 * Retrieves metadata for a specific bookshelf for the specified user. (bookshelves.get)
29 *
30 * @param string $userId ID of user for whom to retrieve bookshelves.
31 * @param string $shelf ID of bookshelf to retrieve.
32 * @param array $optParams Optional parameters.
33 *
34 * @opt_param string source String to identify the originator of this request.
35 * @return Google_Bookshelf
36 */
37 public function get($userId, $shelf, $optParams = array()) {
38 $params = array('userId' => $userId, 'shelf' => $shelf);
39 $params = array_merge($params, $optParams);
40 $data = $this->__call('get', array($params));
41 if ($this->useObjects()) {
42 return new Google_Bookshelf($data);
43 } else {
44 return $data;
45 }
46 }
47 /**
48 * Retrieves a list of public bookshelves for the specified user. (bookshelves.list)
49 *
50 * @param string $userId ID of user for whom to retrieve bookshelves.
51 * @param array $optParams Optional parameters.
52 *
53 * @opt_param string source String to identify the originator of this request.
54 * @return Google_Bookshelves
55 */
56 public function listBookshelves($userId, $optParams = array()) {
57 $params = array('userId' => $userId);
58 $params = array_merge($params, $optParams);
59 $data = $this->__call('list', array($params));
60 if ($this->useObjects()) {
61 return new Google_Bookshelves($data);
62 } else {
63 return $data;
64 }
65 }
66 }
67
68 /**
69 * The "volumes" collection of methods.
70 * Typical usage is:
71 * <code>
72 * $booksService = new Google_BooksService(...);
73 * $volumes = $booksService->volumes;
74 * </code>
75 */
76 class Google_BookshelvesVolumesServiceResource extends Google_ServiceResource {
77
78 /**
79 * Retrieves volumes in a specific bookshelf for the specified user. (volumes.list)
80 *
81 * @param string $userId ID of user for whom to retrieve bookshelf volumes.
82 * @param string $shelf ID of bookshelf to retrieve volumes.
83 * @param array $optParams Optional parameters.
84 *
85 * @opt_param string maxResults Maximum number of results to return
86 * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults to false.
87 * @opt_param string source String to identify the originator of this request.
88 * @opt_param string startIndex Index of the first element to return (starts at 0)
89 * @return Google_Volumes
90 */
91 public function listBookshelvesVolumes($userId, $shelf, $optParams = array()) {
92 $params = array('userId' => $userId, 'shelf' => $shelf);
93 $params = array_merge($params, $optParams);
94 $data = $this->__call('list', array($params));
95 if ($this->useObjects()) {
96 return new Google_Volumes($data);
97 } else {
98 return $data;
99 }
100 }
101 }
102
103 /**
104 * The "cloudloading" collection of methods.
105 * Typical usage is:
106 * <code>
107 * $booksService = new Google_BooksService(...);
108 * $cloudloading = $booksService->cloudloading;
109 * </code>
110 */
111 class Google_CloudloadingServiceResource extends Google_ServiceResource {
112
113 /**
114 * (cloudloading.addBook)
115 *
116 * @param array $optParams Optional parameters.
117 *
118 * @opt_param string drive_document_id A drive document id. The upload_client_token must not be set.
119 * @opt_param string mime_type The document MIME type. It can be set only if the drive_document_id is set.
120 * @opt_param string name The document name. It can be set only if the drive_document_id is set.
121 * @opt_param string upload_client_token
122 * @return Google_BooksCloudloadingResource
123 */
124 public function addBook($optParams = array()) {
125 $params = array();
126 $params = array_merge($params, $optParams);
127 $data = $this->__call('addBook', array($params));
128 if ($this->useObjects()) {
129 return new Google_BooksCloudloadingResource($data);
130 } else {
131 return $data;
132 }
133 }
134 /**
135 * Remove the book and its contents (cloudloading.deleteBook)
136 *
137 * @param string $volumeId The id of the book to be removed.
138 * @param array $optParams Optional parameters.
139 */
140 public function deleteBook($volumeId, $optParams = array()) {
141 $params = array('volumeId' => $volumeId);
142 $params = array_merge($params, $optParams);
143 $data = $this->__call('deleteBook', array($params));
144 return $data;
145 }
146 /**
147 * (cloudloading.updateBook)
148 *
149 * @param Google_BooksCloudloadingResource $postBody
150 * @param array $optParams Optional parameters.
151 * @return Google_BooksCloudloadingResource
152 */
153 public function updateBook(Google_BooksCloudloadingResource $postBody, $optParams = array()) {
154 $params = array('postBody' => $postBody);
155 $params = array_merge($params, $optParams);
156 $data = $this->__call('updateBook', array($params));
157 if ($this->useObjects()) {
158 return new Google_BooksCloudloadingResource($data);
159 } else {
160 return $data;
161 }
162 }
163 }
164
165 /**
166 * The "layers" collection of methods.
167 * Typical usage is:
168 * <code>
169 * $booksService = new Google_BooksService(...);
170 * $layers = $booksService->layers;
171 * </code>
172 */
173 class Google_LayersServiceResource extends Google_ServiceResource {
174
175 /**
176 * Gets the layer summary for a volume. (layers.get)
177 *
178 * @param string $volumeId The volume to retrieve layers for.
179 * @param string $summaryId The ID for the layer to get the summary for.
180 * @param array $optParams Optional parameters.
181 *
182 * @opt_param string contentVersion The content version for the requested volume.
183 * @opt_param string source String to identify the originator of this request.
184 * @return Google_Layersummary
185 */
186 public function get($volumeId, $summaryId, $optParams = array()) {
187 $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
188 $params = array_merge($params, $optParams);
189 $data = $this->__call('get', array($params));
190 if ($this->useObjects()) {
191 return new Google_Layersummary($data);
192 } else {
193 return $data;
194 }
195 }
196 /**
197 * List the layer summaries for a volume. (layers.list)
198 *
199 * @param string $volumeId The volume to retrieve layers for.
200 * @param array $optParams Optional parameters.
201 *
202 * @opt_param string contentVersion The content version for the requested volume.
203 * @opt_param string maxResults Maximum number of results to return
204 * @opt_param string pageToken The value of the nextToken from the previous page.
205 * @opt_param string source String to identify the originator of this request.
206 * @return Google_Layersummaries
207 */
208 public function listLayers($volumeId, $optParams = array()) {
209 $params = array('volumeId' => $volumeId);
210 $params = array_merge($params, $optParams);
211 $data = $this->__call('list', array($params));
212 if ($this->useObjects()) {
213 return new Google_Layersummaries($data);
214 } else {
215 return $data;
216 }
217 }
218 }
219
220 /**
221 * The "annotationData" collection of methods.
222 * Typical usage is:
223 * <code>
224 * $booksService = new Google_BooksService(...);
225 * $annotationData = $booksService->annotationData;
226 * </code>
227 */
228 class Google_LayersAnnotationDataServiceResource extends Google_ServiceResource {
229
230 /**
231 * Gets the annotation data. (annotationData.get)
232 *
233 * @param string $volumeId The volume to retrieve annotations for.
234 * @param string $layerId The ID for the layer to get the annotations.
235 * @param string $annotationDataId The ID of the annotation data to retrieve.
236 * @param string $contentVersion The content version for the volume you are trying to retrieve.
237 * @param array $optParams Optional parameters.
238 *
239 * @opt_param int h The requested pixel height for any images. If height is provided width must also be provided.
240 * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
241 * @opt_param int scale The requested scale for the image.
242 * @opt_param string source String to identify the originator of this request.
243 * @opt_param int w The requested pixel width for any images. If width is provided height must also be provided.
244 * @return Google_Annotationdata
245 */
246 public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array()) {
247 $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
248 $params = array_merge($params, $optParams);
249 $data = $this->__call('get', array($params));
250 if ($this->useObjects()) {
251 return new Google_Annotationdata($data);
252 } else {
253 return $data;
254 }
255 }
256 /**
257 * Gets the annotation data for a volume and layer. (annotationData.list)
258 *
259 * @param string $volumeId The volume to retrieve annotation data for.
260 * @param string $layerId The ID for the layer to get the annotation data.
261 * @param string $contentVersion The content version for the requested volume.
262 * @param array $optParams Optional parameters.
263 *
264 * @opt_param string annotationDataId The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.
265 * @opt_param int h The requested pixel height for any images. If height is provided width must also be provided.
266 * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
267 * @opt_param string maxResults Maximum number of results to return
268 * @opt_param string pageToken The value of the nextToken from the previous page.
269 * @opt_param int scale The requested scale for the image.
270 * @opt_param string source String to identify the originator of this request.
271 * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
272 * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
273 * @opt_param int w The requested pixel width for any images. If width is provided height must also be provided.
274 * @return Google_Annotationsdata
275 */
276 public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array()) {
277 $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
278 $params = array_merge($params, $optParams);
279 $data = $this->__call('list', array($params));
280 if ($this->useObjects()) {
281 return new Google_Annotationsdata($data);
282 } else {
283 return $data;
284 }
285 }
286 }
287 /**
288 * The "volumeAnnotations" collection of methods.
289 * Typical usage is:
290 * <code>
291 * $booksService = new Google_BooksService(...);
292 * $volumeAnnotations = $booksService->volumeAnnotations;
293 * </code>
294 */
295 class Google_LayersVolumeAnnotationsServiceResource extends Google_ServiceResource {
296
297 /**
298 * Gets the volume annotation. (volumeAnnotations.get)
299 *
300 * @param string $volumeId The volume to retrieve annotations for.
301 * @param string $layerId The ID for the layer to get the annotations.
302 * @param string $annotationId The ID of the volume annotation to retrieve.
303 * @param array $optParams Optional parameters.
304 *
305 * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
306 * @opt_param string source String to identify the originator of this request.
307 * @return Google_Volumeannotation
308 */
309 public function get($volumeId, $layerId, $annotationId, $optParams = array()) {
310 $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
311 $params = array_merge($params, $optParams);
312 $data = $this->__call('get', array($params));
313 if ($this->useObjects()) {
314 return new Google_Volumeannotation($data);
315 } else {
316 return $data;
317 }
318 }
319 /**
320 * Gets the volume annotations for a volume and layer. (volumeAnnotations.list)
321 *
322 * @param string $volumeId The volume to retrieve annotations for.
323 * @param string $layerId The ID for the layer to get the annotations.
324 * @param string $contentVersion The content version for the requested volume.
325 * @param array $optParams Optional parameters.
326 *
327 * @opt_param string endOffset The end offset to end retrieving data from.
328 * @opt_param string endPosition The end position to end retrieving data from.
329 * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
330 * @opt_param string maxResults Maximum number of results to return
331 * @opt_param string pageToken The value of the nextToken from the previous page.
332 * @opt_param bool showDeleted Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
333 * @opt_param string source String to identify the originator of this request.
334 * @opt_param string startOffset The start offset to start retrieving data from.
335 * @opt_param string startPosition The start position to start retrieving data from.
336 * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
337 * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
338 * @opt_param string volumeAnnotationsVersion The version of the volume annotations that you are requesting.
339 * @return Google_Volumeannotations
340 */
341 public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array()) {
342 $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
343 $params = array_merge($params, $optParams);
344 $data = $this->__call('list', array($params));
345 if ($this->useObjects()) {
346 return new Google_Volumeannotations($data);
347 } else {
348 return $data;
349 }
350 }
351 }
352
353 /**
354 * The "myconfig" collection of methods.
355 * Typical usage is:
356 * <code>
357 * $booksService = new Google_BooksService(...);
358 * $myconfig = $booksService->myconfig;
359 * </code>
360 */
361 class Google_MyconfigServiceResource extends Google_ServiceResource {
362
363 /**
364 * Release downloaded content access restriction. (myconfig.releaseDownloadAccess)
365 *
366 * @param string $volumeIds The volume(s) to release restrictions for.
367 * @param string $cpksver The device/version ID from which to release the restriction.
368 * @param array $optParams Optional parameters.
369 *
370 * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
371 * @opt_param string source String to identify the originator of this request.
372 * @return Google_DownloadAccesses
373 */
374 public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array()) {
375 $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
376 $params = array_merge($params, $optParams);
377 $data = $this->__call('releaseDownloadAccess', array($params));
378 if ($this->useObjects()) {
379 return new Google_DownloadAccesses($data);
380 } else {
381 return $data;
382 }
383 }
384 /**
385 * Request concurrent and download access restrictions. (myconfig.requestAccess)
386 *
387 * @param string $source String to identify the originator of this request.
388 * @param string $volumeId The volume to request concurrent/download restrictions for.
389 * @param string $nonce The client nonce value.
390 * @param string $cpksver The device/version ID from which to request the restrictions.
391 * @param array $optParams Optional parameters.
392 *
393 * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
394 * @return Google_RequestAccess
395 */
396 public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array()) {
397 $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
398 $params = array_merge($params, $optParams);
399 $data = $this->__call('requestAccess', array($params));
400 if ($this->useObjects()) {
401 return new Google_RequestAccess($data);
402 } else {
403 return $data;
404 }
405 }
406 /**
407 * Request downloaded content access for specified volumes on the My eBooks shelf.
408 * (myconfig.syncVolumeLicenses)
409 *
410 * @param string $source String to identify the originator of this request.
411 * @param string $nonce The client nonce value.
412 * @param string $cpksver The device/version ID from which to release the restriction.
413 * @param array $optParams Optional parameters.
414 *
415 * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
416 * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults to false.
417 * @opt_param string volumeIds The volume(s) to request download restrictions for.
418 * @return Google_Volumes
419 */
420 public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array()) {
421 $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
422 $params = array_merge($params, $optParams);
423 $data = $this->__call('syncVolumeLicenses', array($params));
424 if ($this->useObjects()) {
425 return new Google_Volumes($data);
426 } else {
427 return $data;
428 }
429 }
430 }
431
432 /**
433 * The "mylibrary" collection of methods.
434 * Typical usage is:
435 * <code>
436 * $booksService = new Google_BooksService(...);
437 * $mylibrary = $booksService->mylibrary;
438 * </code>
439 */
440 class Google_MylibraryServiceResource extends Google_ServiceResource {
441
442 }
443
444 /**
445 * The "annotations" collection of methods.
446 * Typical usage is:
447 * <code>
448 * $booksService = new Google_BooksService(...);
449 * $annotations = $booksService->annotations;
450 * </code>
451 */
452 class Google_MylibraryAnnotationsServiceResource extends Google_ServiceResource {
453
454 /**
455 * Deletes an annotation. (annotations.delete)
456 *
457 * @param string $annotationId The ID for the annotation to delete.
458 * @param array $optParams Optional parameters.
459 *
460 * @opt_param string source String to identify the originator of this request.
461 */
462 public function delete($annotationId, $optParams = array()) {
463 $params = array('annotationId' => $annotationId);
464 $params = array_merge($params, $optParams);
465 $data = $this->__call('delete', array($params));
466 return $data;
467 }
468 /**
469 * Gets an annotation by its ID. (annotations.get)
470 *
471 * @param string $annotationId The ID for the annotation to retrieve.
472 * @param array $optParams Optional parameters.
473 *
474 * @opt_param string source String to identify the originator of this request.
475 * @return Google_Annotation
476 */
477 public function get($annotationId, $optParams = array()) {
478 $params = array('annotationId' => $annotationId);
479 $params = array_merge($params, $optParams);
480 $data = $this->__call('get', array($params));
481 if ($this->useObjects()) {
482 return new Google_Annotation($data);
483 } else {
484 return $data;
485 }
486 }
487 /**
488 * Inserts a new annotation. (annotations.insert)
489 *
490 * @param Google_Annotation $postBody
491 * @param array $optParams Optional parameters.
492 *
493 * @opt_param string source String to identify the originator of this request.
494 * @return Google_Annotation
495 */
496 public function insert(Google_Annotation $postBody, $optParams = array()) {
497 $params = array('postBody' => $postBody);
498 $params = array_merge($params, $optParams);
499 $data = $this->__call('insert', array($params));
500 if ($this->useObjects()) {
501 return new Google_Annotation($data);
502 } else {
503 return $data;
504 }
505 }
506 /**
507 * Retrieves a list of annotations, possibly filtered. (annotations.list)
508 *
509 * @param array $optParams Optional parameters.
510 *
511 * @opt_param string contentVersion The content version for the requested volume.
512 * @opt_param string layerId The layer ID to limit annotation by.
513 * @opt_param string maxResults Maximum number of results to return
514 * @opt_param string pageIds The page ID(s) for the volume that is being queried.
515 * @opt_param string pageToken The value of the nextToken from the previous page.
516 * @opt_param bool showDeleted Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
517 * @opt_param string source String to identify the originator of this request.
518 * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
519 * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
520 * @opt_param string volumeId The volume to restrict annotations to.
521 * @return Google_Annotations
522 */
523 public function listMylibraryAnnotations($optParams = array()) {
524 $params = array();
525 $params = array_merge($params, $optParams);
526 $data = $this->__call('list', array($params));
527 if ($this->useObjects()) {
528 return new Google_Annotations($data);
529 } else {
530 return $data;
531 }
532 }
533 /**
534 * Updates an existing annotation. (annotations.update)
535 *
536 * @param string $annotationId The ID for the annotation to update.
537 * @param Google_Annotation $postBody
538 * @param array $optParams Optional parameters.
539 *
540 * @opt_param string source String to identify the originator of this request.
541 * @return Google_Annotation
542 */
543 public function update($annotationId, Google_Annotation $postBody, $optParams = array()) {
544 $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
545 $params = array_merge($params, $optParams);
546 $data = $this->__call('update', array($params));
547 if ($this->useObjects()) {
548 return new Google_Annotation($data);
549 } else {
550 return $data;
551 }
552 }
553 }
554 /**
555 * The "bookshelves" collection of methods.
556 * Typical usage is:
557 * <code>
558 * $booksService = new Google_BooksService(...);
559 * $bookshelves = $booksService->bookshelves;
560 * </code>
561 */
562 class Google_MylibraryBookshelvesServiceResource extends Google_ServiceResource {
563
564 /**
565 * Adds a volume to a bookshelf. (bookshelves.addVolume)
566 *
567 * @param string $shelf ID of bookshelf to which to add a volume.
568 * @param string $volumeId ID of volume to add.
569 * @param array $optParams Optional parameters.
570 *
571 * @opt_param string source String to identify the originator of this request.
572 */
573 public function addVolume($shelf, $volumeId, $optParams = array()) {
574 $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
575 $params = array_merge($params, $optParams);
576 $data = $this->__call('addVolume', array($params));
577 return $data;
578 }
579 /**
580 * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
581 *
582 * @param string $shelf ID of bookshelf from which to remove a volume.
583 * @param array $optParams Optional parameters.
584 *
585 * @opt_param string source String to identify the originator of this request.
586 */
587 public function clearVolumes($shelf, $optParams = array()) {
588 $params = array('shelf' => $shelf);
589 $params = array_merge($params, $optParams);
590 $data = $this->__call('clearVolumes', array($params));
591 return $data;
592 }
593 /**
594 * Retrieves metadata for a specific bookshelf belonging to the authenticated user.
595 * (bookshelves.get)
596 *
597 * @param string $shelf ID of bookshelf to retrieve.
598 * @param array $optParams Optional parameters.
599 *
600 * @opt_param string source String to identify the originator of this request.
601 * @return Google_Bookshelf
602 */
603 public function get($shelf, $optParams = array()) {
604 $params = array('shelf' => $shelf);
605 $params = array_merge($params, $optParams);
606 $data = $this->__call('get', array($params));
607 if ($this->useObjects()) {
608 return new Google_Bookshelf($data);
609 } else {
610 return $data;
611 }
612 }
613 /**
614 * Retrieves a list of bookshelves belonging to the authenticated user. (bookshelves.list)
615 *
616 * @param array $optParams Optional parameters.
617 *
618 * @opt_param string source String to identify the originator of this request.
619 * @return Google_Bookshelves
620 */
621 public function listMylibraryBookshelves($optParams = array()) {
622 $params = array();
623 $params = array_merge($params, $optParams);
624 $data = $this->__call('list', array($params));
625 if ($this->useObjects()) {
626 return new Google_Bookshelves($data);
627 } else {
628 return $data;
629 }
630 }
631 /**
632 * Moves a volume within a bookshelf. (bookshelves.moveVolume)
633 *
634 * @param string $shelf ID of bookshelf with the volume.
635 * @param string $volumeId ID of volume to move.
636 * @param int $volumePosition Position on shelf to move the item (0 puts the item before the current first item, 1 puts it between the first and the second and so on.)
637 * @param array $optParams Optional parameters.
638 *
639 * @opt_param string source String to identify the originator of this request.
640 */
641 public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array()) {
642 $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition);
643 $params = array_merge($params, $optParams);
644 $data = $this->__call('moveVolume', array($params));
645 return $data;
646 }
647 /**
648 * Removes a volume from a bookshelf. (bookshelves.removeVolume)
649 *
650 * @param string $shelf ID of bookshelf from which to remove a volume.
651 * @param string $volumeId ID of volume to remove.
652 * @param array $optParams Optional parameters.
653 *
654 * @opt_param string source String to identify the originator of this request.
655 */
656 public function removeVolume($shelf, $volumeId, $optParams = array()) {
657 $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
658 $params = array_merge($params, $optParams);
659 $data = $this->__call('removeVolume', array($params));
660 return $data;
661 }
662 }
663
664 /**
665 * The "volumes" collection of methods.
666 * Typical usage is:
667 * <code>
668 * $booksService = new Google_BooksService(...);
669 * $volumes = $booksService->volumes;
670 * </code>
671 */
672 class Google_MylibraryBookshelvesVolumesServiceResource extends Google_ServiceResource {
673
674 /**
675 * Gets volume information for volumes on a bookshelf. (volumes.list)
676 *
677 * @param string $shelf The bookshelf ID or name retrieve volumes for.
678 * @param array $optParams Optional parameters.
679 *
680 * @opt_param string country ISO-3166-1 code to override the IP-based location.
681 * @opt_param string maxResults Maximum number of results to return
682 * @opt_param string projection Restrict information returned to a set of selected fields.
683 * @opt_param string q Full-text search query string in this bookshelf.
684 * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults to false.
685 * @opt_param string source String to identify the originator of this request.
686 * @opt_param string startIndex Index of the first element to return (starts at 0)
687 * @return Google_Volumes
688 */
689 public function listMylibraryBookshelvesVolumes($shelf, $optParams = array()) {
690 $params = array('shelf' => $shelf);
691 $params = array_merge($params, $optParams);
692 $data = $this->__call('list', array($params));
693 if ($this->useObjects()) {
694 return new Google_Volumes($data);
695 } else {
696 return $data;
697 }
698 }
699 }
700 /**
701 * The "readingpositions" collection of methods.
702 * Typical usage is:
703 * <code>
704 * $booksService = new Google_BooksService(...);
705 * $readingpositions = $booksService->readingpositions;
706 * </code>
707 */
708 class Google_MylibraryReadingpositionsServiceResource extends Google_ServiceResource {
709
710 /**
711 * Retrieves my reading position information for a volume. (readingpositions.get)
712 *
713 * @param string $volumeId ID of volume for which to retrieve a reading position.
714 * @param array $optParams Optional parameters.
715 *
716 * @opt_param string contentVersion Volume content version for which this reading position is requested.
717 * @opt_param string source String to identify the originator of this request.
718 * @return Google_ReadingPosition
719 */
720 public function get($volumeId, $optParams = array()) {
721 $params = array('volumeId' => $volumeId);
722 $params = array_merge($params, $optParams);
723 $data = $this->__call('get', array($params));
724 if ($this->useObjects()) {
725 return new Google_ReadingPosition($data);
726 } else {
727 return $data;
728 }
729 }
730 /**
731 * Sets my reading position information for a volume. (readingpositions.setPosition)
732 *
733 * @param string $volumeId ID of volume for which to update the reading position.
734 * @param string $timestamp RFC 3339 UTC format timestamp associated with this reading position.
735 * @param string $position Position string for the new volume reading position.
736 * @param array $optParams Optional parameters.
737 *
738 * @opt_param string action Action that caused this reading position to be set.
739 * @opt_param string contentVersion Volume content version for which this reading position applies.
740 * @opt_param string deviceCookie Random persistent device cookie optional on set position.
741 * @opt_param string source String to identify the originator of this request.
742 */
743 public function setPosition($volumeId, $timestamp, $position, $optParams = array()) {
744 $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position);
745 $params = array_merge($params, $optParams);
746 $data = $this->__call('setPosition', array($params));
747 return $data;
748 }
749 }
750
751 /**
752 * The "volumes" collection of methods.
753 * Typical usage is:
754 * <code>
755 * $booksService = new Google_BooksService(...);
756 * $volumes = $booksService->volumes;
757 * </code>
758 */
759 class Google_VolumesServiceResource extends Google_ServiceResource {
760
761 /**
762 * Gets volume information for a single volume. (volumes.get)
763 *
764 * @param string $volumeId ID of volume to retrieve.
765 * @param array $optParams Optional parameters.
766 *
767 * @opt_param string country ISO-3166-1 code to override the IP-based location.
768 * @opt_param string partner Brand results for partner ID.
769 * @opt_param string projection Restrict information returned to a set of selected fields.
770 * @opt_param string source String to identify the originator of this request.
771 * @return Google_Volume
772 */
773 public function get($volumeId, $optParams = array()) {
774 $params = array('volumeId' => $volumeId);
775 $params = array_merge($params, $optParams);
776 $data = $this->__call('get', array($params));
777 if ($this->useObjects()) {
778 return new Google_Volume($data);
779 } else {
780 return $data;
781 }
782 }
783 /**
784 * Performs a book search. (volumes.list)
785 *
786 * @param string $q Full-text search query string.
787 * @param array $optParams Optional parameters.
788 *
789 * @opt_param string download Restrict to volumes by download availability.
790 * @opt_param string filter Filter search results.
791 * @opt_param string langRestrict Restrict results to books with this language code.
792 * @opt_param string libraryRestrict Restrict search to this user's library.
793 * @opt_param string maxResults Maximum number of results to return.
794 * @opt_param string orderBy Sort search results.
795 * @opt_param string partner Restrict and brand results for partner ID.
796 * @opt_param string printType Restrict to books or magazines.
797 * @opt_param string projection Restrict information returned to a set of selected fields.
798 * @opt_param bool showPreorders Set to true to show books available for preorder. Defaults to false.
799 * @opt_param string source String to identify the originator of this request.
800 * @opt_param string startIndex Index of the first result to return (starts at 0)
801 * @return Google_Volumes
802 */
803 public function listVolumes($q, $optParams = array()) {
804 $params = array('q' => $q);
805 $params = array_merge($params, $optParams);
806 $data = $this->__call('list', array($params));
807 if ($this->useObjects()) {
808 return new Google_Volumes($data);
809 } else {
810 return $data;
811 }
812 }
813 }
814
815 /**
816 * The "associated" collection of methods.
817 * Typical usage is:
818 * <code>
819 * $booksService = new Google_BooksService(...);
820 * $associated = $booksService->associated;
821 * </code>
822 */
823 class Google_VolumesAssociatedServiceResource extends Google_ServiceResource {
824
825 /**
826 * Return a list of associated books. (associated.list)
827 *
828 * @param string $volumeId ID of the source volume.
829 * @param array $optParams Optional parameters.
830 *
831 * @opt_param string association Association type.
832 * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.
833 * @opt_param string source String to identify the originator of this request.
834 * @return Google_Volumes
835 */
836 public function listVolumesAssociated($volumeId, $optParams = array()) {
837 $params = array('volumeId' => $volumeId);
838 $params = array_merge($params, $optParams);
839 $data = $this->__call('list', array($params));
840 if ($this->useObjects()) {
841 return new Google_Volumes($data);
842 } else {
843 return $data;
844 }
845 }
846 }
847 /**
848 * The "mybooks" collection of methods.
849 * Typical usage is:
850 * <code>
851 * $booksService = new Google_BooksService(...);
852 * $mybooks = $booksService->mybooks;
853 * </code>
854 */
855 class Google_VolumesMybooksServiceResource extends Google_ServiceResource {
856
857 /**
858 * Return a list of books in My Library. (mybooks.list)
859 *
860 * @param array $optParams Optional parameters.
861 *
862 * @opt_param string acquireMethod How the book was aquired
863 * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations.
864 * @opt_param string maxResults Maximum number of results to return.
865 * @opt_param string processingState The processing state of the user uploaded volumes to be returned. Applicable only if the UPLOADED is specified in the acquireMethod.
866 * @opt_param string source String to identify the originator of this request.
867 * @opt_param string startIndex Index of the first result to return (starts at 0)
868 * @return Google_Volumes
869 */
870 public function listVolumesMybooks($optParams = array()) {
871 $params = array();
872 $params = array_merge($params, $optParams);
873 $data = $this->__call('list', array($params));
874 if ($this->useObjects()) {
875 return new Google_Volumes($data);
876 } else {
877 return $data;
878 }
879 }
880 }
881 /**
882 * The "recommended" collection of methods.
883 * Typical usage is:
884 * <code>
885 * $booksService = new Google_BooksService(...);
886 * $recommended = $booksService->recommended;
887 * </code>
888 */
889 class Google_VolumesRecommendedServiceResource extends Google_ServiceResource {
890
891 /**
892 * Return a list of recommended books for the current user. (recommended.list)
893 *
894 * @param array $optParams Optional parameters.
895 *
896 * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.
897 * @opt_param string source String to identify the originator of this request.
898 * @return Google_Volumes
899 */
900 public function listVolumesRecommended($optParams = array()) {
901 $params = array();
902 $params = array_merge($params, $optParams);
903 $data = $this->__call('list', array($params));
904 if ($this->useObjects()) {
905 return new Google_Volumes($data);
906 } else {
907 return $data;
908 }
909 }
910 }
911 /**
912 * The "useruploaded" collection of methods.
913 * Typical usage is:
914 * <code>
915 * $booksService = new Google_BooksService(...);
916 * $useruploaded = $booksService->useruploaded;
917 * </code>
918 */
919 class Google_VolumesUseruploadedServiceResource extends Google_ServiceResource {
920
921 /**
922 * Return a list of books uploaded by the current user. (useruploaded.list)
923 *
924 * @param array $optParams Optional parameters.
925 *
926 * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.
927 * @opt_param string maxResults Maximum number of results to return.
928 * @opt_param string processingState The processing state of the user uploaded volumes to be returned.
929 * @opt_param string source String to identify the originator of this request.
930 * @opt_param string startIndex Index of the first result to return (starts at 0)
931 * @opt_param string volumeId The ids of the volumes to be returned. If not specified all that match the processingState are returned.
932 * @return Google_Volumes
933 */
934 public function listVolumesUseruploaded($optParams = array()) {
935 $params = array();
936 $params = array_merge($params, $optParams);
937 $data = $this->__call('list', array($params));
938 if ($this->useObjects()) {
939 return new Google_Volumes($data);
940 } else {
941 return $data;
942 }
943 }
944 }
945
946 /**
947 * Service definition for Google_Books (v1).
948 *
949 * <p>
950 * Lets you search for books and manage your Google Books library.
951 * </p>
952 *
953 * <p>
954 * For more information about this service, see the
955 * <a href="https://developers.google.com/books/docs/v1/getting_started" target="_blank">API Documentation</a>
956 * </p>
957 *
958 * @author Google, Inc.
959 */
960 class Google_BooksService extends Google_Service {
961 public $bookshelves;
962 public $bookshelves_volumes;
963 public $cloudloading;
964 public $layers;
965 public $layers_annotationData;
966 public $layers_volumeAnnotations;
967 public $myconfig;
968 public $mylibrary_annotations;
969 public $mylibrary_bookshelves;
970 public $mylibrary_bookshelves_volumes;
971 public $mylibrary_readingpositions;
972 public $volumes;
973 public $volumes_associated;
974 public $volumes_mybooks;
975 public $volumes_recommended;
976 public $volumes_useruploaded;
977 /**
978 * Constructs the internal representation of the Books service.
979 *
980 * @param Google_Client $client
981 */
982 public function __construct(Google_Client $client) {
983 $this->servicePath = 'books/v1/';
984 $this->version = 'v1';
985 $this->serviceName = 'books';
986
987 $client->addService($this->serviceName, $this->version);
988 $this->bookshelves = new Google_BookshelvesServiceResource($this, $this->serviceName, 'bookshelves', json_decode('{"methods": {"get": {"id": "books.bookshelves.get", "path": "users/{userId}/bookshelves/{shelf}", "httpMethod": "GET", "parameters": {"shelf": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Bookshelf"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "list": {"id": "books.bookshelves.list", "path": "users/{userId}/bookshelves", "httpMethod": "GET", "parameters": {"source": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Bookshelves"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
989 $this->bookshelves_volumes = new Google_BookshelvesVolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"id": "books.bookshelves.volumes.list", "path": "users/{userId}/bookshelves/{shelf}/volumes", "httpMethod": "GET", "parameters": {"maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "location": "query"}, "shelf": {"type": "string", "required": true, "location": "path"}, "showPreorders": {"type": "boolean", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"type": "integer", "format": "uint32", "minimum": "0", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
990 $this->cloudloading = new Google_CloudloadingServiceResource($this, $this->serviceName, 'cloudloading', json_decode('{"methods": {"addBook": {"id": "books.cloudloading.addBook", "path": "cloudloading/addBook", "httpMethod": "POST", "parameters": {"drive_document_id": {"type": "string", "location": "query"}, "mime_type": {"type": "string", "location": "query"}, "name": {"type": "string", "location": "query"}, "upload_client_token": {"type": "string", "location": "query"}}, "response": {"$ref": "BooksCloudloadingResource"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "deleteBook": {"id": "books.cloudloading.deleteBook", "path": "cloudloading/deleteBook", "httpMethod": "POST", "parameters": {"volumeId": {"type": "string", "required": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/books"]}, "updateBook": {"id": "books.cloudloading.updateBook", "path": "cloudloading/updateBook", "httpMethod": "POST", "request": {"$ref": "BooksCloudloadingResource"}, "response": {"$ref": "BooksCloudloadingResource"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
991 $this->layers = new Google_LayersServiceResource($this, $this->serviceName, 'layers', json_decode('{"methods": {"get": {"id": "books.layers.get", "path": "volumes/{volumeId}/layersummary/{summaryId}", "httpMethod": "GET", "parameters": {"contentVersion": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "summaryId": {"type": "string", "required": true, "location": "path"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Layersummary"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "list": {"id": "books.layers.list", "path": "volumes/{volumeId}/layersummary", "httpMethod": "GET", "parameters": {"contentVersion": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "maximum": "200", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Layersummaries"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
992 $this->layers_annotationData = new Google_LayersAnnotationDataServiceResource($this, $this->serviceName, 'annotationData', json_decode('{"methods": {"get": {"id": "books.layers.annotationData.get", "path": "volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}", "httpMethod": "GET", "parameters": {"annotationDataId": {"type": "string", "required": true, "location": "path"}, "contentVersion": {"type": "string", "required": true, "location": "query"}, "h": {"type": "integer", "format": "int32", "location": "query"}, "layerId": {"type": "string", "required": true, "location": "path"}, "locale": {"type": "string", "location": "query"}, "scale": {"type": "integer", "format": "int32", "minimum": "0", "location": "query"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}, "w": {"type": "integer", "format": "int32", "location": "query"}}, "response": {"$ref": "Annotationdata"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "list": {"id": "books.layers.annotationData.list", "path": "volumes/{volumeId}/layers/{layerId}/data", "httpMethod": "GET", "parameters": {"annotationDataId": {"type": "string", "repeated": true, "location": "query"}, "contentVersion": {"type": "string", "required": true, "location": "query"}, "h": {"type": "integer", "format": "int32", "location": "query"}, "layerId": {"type": "string", "required": true, "location": "path"}, "locale": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "maximum": "200", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "scale": {"type": "integer", "format": "int32", "minimum": "0", "location": "query"}, "source": {"type": "string", "location": "query"}, "updatedMax": {"type": "string", "location": "query"}, "updatedMin": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}, "w": {"type": "integer", "format": "int32", "location": "query"}}, "response": {"$ref": "Annotationsdata"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
993 $this->layers_volumeAnnotations = new Google_LayersVolumeAnnotationsServiceResource($this, $this->serviceName, 'volumeAnnotations', json_decode('{"methods": {"get": {"id": "books.layers.volumeAnnotations.get", "path": "volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}", "httpMethod": "GET", "parameters": {"annotationId": {"type": "string", "required": true, "location": "path"}, "layerId": {"type": "string", "required": true, "location": "path"}, "locale": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Volumeannotation"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "list": {"id": "books.layers.volumeAnnotations.list", "path": "volumes/{volumeId}/layers/{layerId}", "httpMethod": "GET", "parameters": {"contentVersion": {"type": "string", "required": true, "location": "query"}, "endOffset": {"type": "string", "location": "query"}, "endPosition": {"type": "string", "location": "query"}, "layerId": {"type": "string", "required": true, "location": "path"}, "locale": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "maximum": "200", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "showDeleted": {"type": "boolean", "location": "query"}, "source": {"type": "string", "location": "query"}, "startOffset": {"type": "string", "location": "query"}, "startPosition": {"type": "string", "location": "query"}, "updatedMax": {"type": "string", "location": "query"}, "updatedMin": {"type": "string", "location": "query"}, "volumeAnnotationsVersion": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Volumeannotations"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
994 $this->myconfig = new Google_MyconfigServiceResource($this, $this->serviceName, 'myconfig', json_decode('{"methods": {"releaseDownloadAccess": {"id": "books.myconfig.releaseDownloadAccess", "path": "myconfig/releaseDownloadAccess", "httpMethod": "POST", "parameters": {"cpksver": {"type": "string", "required": true, "location": "query"}, "locale": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "volumeIds": {"type": "string", "required": true, "repeated": true, "location": "query"}}, "response": {"$ref": "DownloadAccesses"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "requestAccess": {"id": "books.myconfig.requestAccess", "path": "myconfig/requestAccess", "httpMethod": "POST", "parameters": {"cpksver": {"type": "string", "required": true, "location": "query"}, "locale": {"type": "string", "location": "query"}, "nonce": {"type": "string", "required": true, "location": "query"}, "source": {"type": "string", "required": true, "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "RequestAccess"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "syncVolumeLicenses": {"id": "books.myconfig.syncVolumeLicenses", "path": "myconfig/syncVolumeLicenses", "httpMethod": "POST", "parameters": {"cpksver": {"type": "string", "required": true, "location": "query"}, "locale": {"type": "string", "location": "query"}, "nonce": {"type": "string", "required": true, "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "source": {"type": "string", "required": true, "location": "query"}, "volumeIds": {"type": "string", "repeated": true, "location": "query"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
995 $this->mylibrary_annotations = new Google_MylibraryAnnotationsServiceResource($this, $this->serviceName, 'annotations', json_decode('{"methods": {"delete": {"id": "books.mylibrary.annotations.delete", "path": "mylibrary/annotations/{annotationId}", "httpMethod": "DELETE", "parameters": {"annotationId": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/books"]}, "get": {"id": "books.mylibrary.annotations.get", "path": "mylibrary/annotations/{annotationId}", "httpMethod": "GET", "parameters": {"annotationId": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}}, "response": {"$ref": "Annotation"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "insert": {"id": "books.mylibrary.annotations.insert", "path": "mylibrary/annotations", "httpMethod": "POST", "parameters": {"source": {"type": "string", "location": "query"}}, "request": {"$ref": "Annotation"}, "response": {"$ref": "Annotation"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "list": {"id": "books.mylibrary.annotations.list", "path": "mylibrary/annotations", "httpMethod": "GET", "parameters": {"contentVersion": {"type": "string", "location": "query"}, "layerId": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "maximum": "40", "location": "query"}, "pageIds": {"type": "string", "repeated": true, "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "showDeleted": {"type": "boolean", "location": "query"}, "source": {"type": "string", "location": "query"}, "updatedMax": {"type": "string", "location": "query"}, "updatedMin": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "location": "query"}}, "response": {"$ref": "Annotations"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "update": {"id": "books.mylibrary.annotations.update", "path": "mylibrary/annotations/{annotationId}", "httpMethod": "PUT", "parameters": {"annotationId": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}}, "request": {"$ref": "Annotation"}, "response": {"$ref": "Annotation"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
996 $this->mylibrary_bookshelves = new Google_MylibraryBookshelvesServiceResource($this, $this->serviceName, 'bookshelves', json_decode('{"methods": {"addVolume": {"id": "books.mylibrary.bookshelves.addVolume", "path": "mylibrary/bookshelves/{shelf}/addVolume", "httpMethod": "POST", "parameters": {"shelf": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/books"]}, "clearVolumes": {"id": "books.mylibrary.bookshelves.clearVolumes", "path": "mylibrary/bookshelves/{shelf}/clearVolumes", "httpMethod": "POST", "parameters": {"shelf": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/books"]}, "get": {"id": "books.mylibrary.bookshelves.get", "path": "mylibrary/bookshelves/{shelf}", "httpMethod": "GET", "parameters": {"shelf": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}}, "response": {"$ref": "Bookshelf"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "list": {"id": "books.mylibrary.bookshelves.list", "path": "mylibrary/bookshelves", "httpMethod": "GET", "parameters": {"source": {"type": "string", "location": "query"}}, "response": {"$ref": "Bookshelves"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "moveVolume": {"id": "books.mylibrary.bookshelves.moveVolume", "path": "mylibrary/bookshelves/{shelf}/moveVolume", "httpMethod": "POST", "parameters": {"shelf": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "query"}, "volumePosition": {"type": "integer", "required": true, "format": "int32", "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/books"]}, "removeVolume": {"id": "books.mylibrary.bookshelves.removeVolume", "path": "mylibrary/bookshelves/{shelf}/removeVolume", "httpMethod": "POST", "parameters": {"shelf": {"type": "string", "required": true, "location": "path"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
997 $this->mylibrary_bookshelves_volumes = new Google_MylibraryBookshelvesVolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"id": "books.mylibrary.bookshelves.volumes.list", "path": "mylibrary/bookshelves/{shelf}/volumes", "httpMethod": "GET", "parameters": {"country": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "location": "query"}, "projection": {"type": "string", "enum": ["full", "lite"], "location": "query"}, "q": {"type": "string", "location": "query"}, "shelf": {"type": "string", "required": true, "location": "path"}, "showPreorders": {"type": "boolean", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"type": "integer", "format": "uint32", "minimum": "0", "location": "query"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
998 $this->mylibrary_readingpositions = new Google_MylibraryReadingpositionsServiceResource($this, $this->serviceName, 'readingpositions', json_decode('{"methods": {"get": {"id": "books.mylibrary.readingpositions.get", "path": "mylibrary/readingpositions/{volumeId}", "httpMethod": "GET", "parameters": {"contentVersion": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "ReadingPosition"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "setPosition": {"id": "books.mylibrary.readingpositions.setPosition", "path": "mylibrary/readingpositions/{volumeId}/setPosition", "httpMethod": "POST", "parameters": {"action": {"type": "string", "enum": ["bookmark", "chapter", "next-page", "prev-page", "scroll", "search"], "location": "query"}, "contentVersion": {"type": "string", "location": "query"}, "deviceCookie": {"type": "string", "location": "query"}, "position": {"type": "string", "required": true, "location": "query"}, "source": {"type": "string", "location": "query"}, "timestamp": {"type": "string", "required": true, "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
999 $this->volumes = new Google_VolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"get": {"id": "books.volumes.get", "path": "volumes/{volumeId}", "httpMethod": "GET", "parameters": {"country": {"type": "string", "location": "query"}, "partner": {"type": "string", "location": "query"}, "projection": {"type": "string", "enum": ["full", "lite"], "location": "query"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Volume"}, "scopes": ["https://www.googleapis.com/auth/books"]}, "list": {"id": "books.volumes.list", "path": "volumes", "httpMethod": "GET", "parameters": {"download": {"type": "string", "enum": ["epub"], "location": "query"}, "filter": {"type": "string", "enum": ["ebooks", "free-ebooks", "full", "paid-ebooks", "partial"], "location": "query"}, "langRestrict": {"type": "string", "location": "query"}, "libraryRestrict": {"type": "string", "enum": ["my-library", "no-restrict"], "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "maximum": "40", "location": "query"}, "orderBy": {"type": "string", "enum": ["newest", "relevance"], "location": "query"}, "partner": {"type": "string", "location": "query"}, "printType": {"type": "string", "enum": ["all", "books", "magazines"], "location": "query"}, "projection": {"type": "string", "enum": ["full", "lite"], "location": "query"}, "q": {"type": "string", "required": true, "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"type": "integer", "format": "uint32", "minimum": "0", "location": "query"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
1000 $this->volumes_associated = new Google_VolumesAssociatedServiceResource($this, $this->serviceName, 'associated', json_decode('{"methods": {"list": {"id": "books.volumes.associated.list", "path": "volumes/{volumeId}/associated", "httpMethod": "GET", "parameters": {"association": {"type": "string", "enum": ["end-of-sample", "end-of-volume"], "location": "query"}, "locale": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
1001 $this->volumes_mybooks = new Google_VolumesMybooksServiceResource($this, $this->serviceName, 'mybooks', json_decode('{"methods": {"list": {"id": "books.volumes.mybooks.list", "path": "volumes/mybooks", "httpMethod": "GET", "parameters": {"acquireMethod": {"type": "string", "enum": ["PREORDERED", "PUBLIC_DOMAIN", "PURCHASED", "SAMPLE", "UPLOADED"], "repeated": true, "location": "query"}, "locale": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "processingState": {"type": "string", "enum": ["COMPLETED_FAILED", "COMPLETED_SUCCESS", "RUNNING"], "repeated": true, "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"type": "integer", "format": "uint32", "minimum": "0", "location": "query"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
1002 $this->volumes_recommended = new Google_VolumesRecommendedServiceResource($this, $this->serviceName, 'recommended', json_decode('{"methods": {"list": {"id": "books.volumes.recommended.list", "path": "volumes/recommended", "httpMethod": "GET", "parameters": {"locale": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
1003 $this->volumes_useruploaded = new Google_VolumesUseruploadedServiceResource($this, $this->serviceName, 'useruploaded', json_decode('{"methods": {"list": {"id": "books.volumes.useruploaded.list", "path": "volumes/useruploaded", "httpMethod": "GET", "parameters": {"locale": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "0", "maximum": "40", "location": "query"}, "processingState": {"type": "string", "enum": ["COMPLETED_FAILED", "COMPLETED_SUCCESS", "RUNNING"], "repeated": true, "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"type": "integer", "format": "uint32", "minimum": "0", "location": "query"}, "volumeId": {"type": "string", "repeated": true, "location": "query"}}, "response": {"$ref": "Volumes"}, "scopes": ["https://www.googleapis.com/auth/books"]}}}', true));
1004
1005 }
1006 }
1007
1008
1009
1010 class Google_Annotation extends Google_Model {
1011 public $afterSelectedText;
1012 public $beforeSelectedText;
1013 protected $__clientVersionRangesType = 'Google_AnnotationClientVersionRanges';
1014 protected $__clientVersionRangesDataType = '';
1015 public $clientVersionRanges;
1016 public $created;
1017 protected $__currentVersionRangesType = 'Google_AnnotationCurrentVersionRanges';
1018 protected $__currentVersionRangesDataType = '';
1019 public $currentVersionRanges;
1020 public $data;
1021 public $deleted;
1022 public $highlightStyle;
1023 public $id;
1024 public $kind;
1025 public $layerId;
1026 public $pageIds;
1027 public $selectedText;
1028 public $selfLink;
1029 public $updated;
1030 public $volumeId;
1031 public function setAfterSelectedText( $afterSelectedText) {
1032 $this->afterSelectedText = $afterSelectedText;
1033 }
1034 public function getAfterSelectedText() {
1035 return $this->afterSelectedText;
1036 }
1037 public function setBeforeSelectedText( $beforeSelectedText) {
1038 $this->beforeSelectedText = $beforeSelectedText;
1039 }
1040 public function getBeforeSelectedText() {
1041 return $this->beforeSelectedText;
1042 }
1043 public function setClientVersionRanges(Google_AnnotationClientVersionRanges $clientVersionRanges) {
1044 $this->clientVersionRanges = $clientVersionRanges;
1045 }
1046 public function getClientVersionRanges() {
1047 return $this->clientVersionRanges;
1048 }
1049 public function setCreated( $created) {
1050 $this->created = $created;
1051 }
1052 public function getCreated() {
1053 return $this->created;
1054 }
1055 public function setCurrentVersionRanges(Google_AnnotationCurrentVersionRanges $currentVersionRanges) {
1056 $this->currentVersionRanges = $currentVersionRanges;
1057 }
1058 public function getCurrentVersionRanges() {
1059 return $this->currentVersionRanges;
1060 }
1061 public function setData( $data) {
1062 $this->data = $data;
1063 }
1064 public function getData() {
1065 return $this->data;
1066 }
1067 public function setDeleted( $deleted) {
1068 $this->deleted = $deleted;
1069 }
1070 public function getDeleted() {
1071 return $this->deleted;
1072 }
1073 public function setHighlightStyle( $highlightStyle) {
1074 $this->highlightStyle = $highlightStyle;
1075 }
1076 public function getHighlightStyle() {
1077 return $this->highlightStyle;
1078 }
1079 public function setId( $id) {
1080 $this->id = $id;
1081 }
1082 public function getId() {
1083 return $this->id;
1084 }
1085 public function setKind( $kind) {
1086 $this->kind = $kind;
1087 }
1088 public function getKind() {
1089 return $this->kind;
1090 }
1091 public function setLayerId( $layerId) {
1092 $this->layerId = $layerId;
1093 }
1094 public function getLayerId() {
1095 return $this->layerId;
1096 }
1097 public function setPageIds(/* array(Google_string) */ $pageIds) {
1098 $this->assertIsArray($pageIds, 'Google_string', __METHOD__);
1099 $this->pageIds = $pageIds;
1100 }
1101 public function getPageIds() {
1102 return $this->pageIds;
1103 }
1104 public function setSelectedText( $selectedText) {
1105 $this->selectedText = $selectedText;
1106 }
1107 public function getSelectedText() {
1108 return $this->selectedText;
1109 }
1110 public function setSelfLink( $selfLink) {
1111 $this->selfLink = $selfLink;
1112 }
1113 public function getSelfLink() {
1114 return $this->selfLink;
1115 }
1116 public function setUpdated( $updated) {
1117 $this->updated = $updated;
1118 }
1119 public function getUpdated() {
1120 return $this->updated;
1121 }
1122 public function setVolumeId( $volumeId) {
1123 $this->volumeId = $volumeId;
1124 }
1125 public function getVolumeId() {
1126 return $this->volumeId;
1127 }
1128 }
1129
1130 class Google_AnnotationClientVersionRanges extends Google_Model {
1131 protected $__cfiRangeType = 'Google_BooksAnnotationsRange';
1132 protected $__cfiRangeDataType = '';
1133 public $cfiRange;
1134 public $contentVersion;
1135 protected $__gbImageRangeType = 'Google_BooksAnnotationsRange';
1136 protected $__gbImageRangeDataType = '';
1137 public $gbImageRange;
1138 protected $__gbTextRangeType = 'Google_BooksAnnotationsRange';
1139 protected $__gbTextRangeDataType = '';
1140 public $gbTextRange;
1141 protected $__imageCfiRangeType = 'Google_BooksAnnotationsRange';
1142 protected $__imageCfiRangeDataType = '';
1143 public $imageCfiRange;
1144 public function setCfiRange(Google_BooksAnnotationsRange $cfiRange) {
1145 $this->cfiRange = $cfiRange;
1146 }
1147 public function getCfiRange() {
1148 return $this->cfiRange;
1149 }
1150 public function setContentVersion( $contentVersion) {
1151 $this->contentVersion = $contentVersion;
1152 }
1153 public function getContentVersion() {
1154 return $this->contentVersion;
1155 }
1156 public function setGbImageRange(Google_BooksAnnotationsRange $gbImageRange) {
1157 $this->gbImageRange = $gbImageRange;
1158 }
1159 public function getGbImageRange() {
1160 return $this->gbImageRange;
1161 }
1162 public function setGbTextRange(Google_BooksAnnotationsRange $gbTextRange) {
1163 $this->gbTextRange = $gbTextRange;
1164 }
1165 public function getGbTextRange() {
1166 return $this->gbTextRange;
1167 }
1168 public function setImageCfiRange(Google_BooksAnnotationsRange $imageCfiRange) {
1169 $this->imageCfiRange = $imageCfiRange;
1170 }
1171 public function getImageCfiRange() {
1172 return $this->imageCfiRange;
1173 }
1174 }
1175
1176 class Google_AnnotationCurrentVersionRanges extends Google_Model {
1177 protected $__cfiRangeType = 'Google_BooksAnnotationsRange';
1178 protected $__cfiRangeDataType = '';
1179 public $cfiRange;
1180 public $contentVersion;
1181 protected $__gbImageRangeType = 'Google_BooksAnnotationsRange';
1182 protected $__gbImageRangeDataType = '';
1183 public $gbImageRange;
1184 protected $__gbTextRangeType = 'Google_BooksAnnotationsRange';
1185 protected $__gbTextRangeDataType = '';
1186 public $gbTextRange;
1187 protected $__imageCfiRangeType = 'Google_BooksAnnotationsRange';
1188 protected $__imageCfiRangeDataType = '';
1189 public $imageCfiRange;
1190 public function setCfiRange(Google_BooksAnnotationsRange $cfiRange) {
1191 $this->cfiRange = $cfiRange;
1192 }
1193 public function getCfiRange() {
1194 return $this->cfiRange;
1195 }
1196 public function setContentVersion( $contentVersion) {
1197 $this->contentVersion = $contentVersion;
1198 }
1199 public function getContentVersion() {
1200 return $this->contentVersion;
1201 }
1202 public function setGbImageRange(Google_BooksAnnotationsRange $gbImageRange) {
1203 $this->gbImageRange = $gbImageRange;
1204 }
1205 public function getGbImageRange() {
1206 return $this->gbImageRange;
1207 }
1208 public function setGbTextRange(Google_BooksAnnotationsRange $gbTextRange) {
1209 $this->gbTextRange = $gbTextRange;
1210 }
1211 public function getGbTextRange() {
1212 return $this->gbTextRange;
1213 }
1214 public function setImageCfiRange(Google_BooksAnnotationsRange $imageCfiRange) {
1215 $this->imageCfiRange = $imageCfiRange;
1216 }
1217 public function getImageCfiRange() {
1218 return $this->imageCfiRange;
1219 }
1220 }
1221
1222 class Google_Annotationdata extends Google_Model {
1223 public $annotationType;
1224 public $data;
1225 public $encoded_data;
1226 public $id;
1227 public $kind;
1228 public $layerId;
1229 public $selfLink;
1230 public $updated;
1231 public $volumeId;
1232 public function setAnnotationType( $annotationType) {
1233 $this->annotationType = $annotationType;
1234 }
1235 public function getAnnotationType() {
1236 return $this->annotationType;
1237 }
1238 public function setData( $data) {
1239 $this->data = $data;
1240 }
1241 public function getData() {
1242 return $this->data;
1243 }
1244 public function setEncoded_data( $encoded_data) {
1245 $this->encoded_data = $encoded_data;
1246 }
1247 public function getEncoded_data() {
1248 return $this->encoded_data;
1249 }
1250 public function setId( $id) {
1251 $this->id = $id;
1252 }
1253 public function getId() {
1254 return $this->id;
1255 }
1256 public function setKind( $kind) {
1257 $this->kind = $kind;
1258 }
1259 public function getKind() {
1260 return $this->kind;
1261 }
1262 public function setLayerId( $layerId) {
1263 $this->layerId = $layerId;
1264 }
1265 public function getLayerId() {
1266 return $this->layerId;
1267 }
1268 public function setSelfLink( $selfLink) {
1269 $this->selfLink = $selfLink;
1270 }
1271 public function getSelfLink() {
1272 return $this->selfLink;
1273 }
1274 public function setUpdated( $updated) {
1275 $this->updated = $updated;
1276 }
1277 public function getUpdated() {
1278 return $this->updated;
1279 }
1280 public function setVolumeId( $volumeId) {
1281 $this->volumeId = $volumeId;
1282 }
1283 public function getVolumeId() {
1284 return $this->volumeId;
1285 }
1286 }
1287
1288 class Google_Annotations extends Google_Model {
1289 protected $__itemsType = 'Google_Annotation';
1290 protected $__itemsDataType = 'array';
1291 public $items;
1292 public $kind;
1293 public $nextPageToken;
1294 public $totalItems;
1295 public function setItems(/* array(Google_Annotation) */ $items) {
1296 $this->assertIsArray($items, 'Google_Annotation', __METHOD__);
1297 $this->items = $items;
1298 }
1299 public function getItems() {
1300 return $this->items;
1301 }
1302 public function setKind( $kind) {
1303 $this->kind = $kind;
1304 }
1305 public function getKind() {
1306 return $this->kind;
1307 }
1308 public function setNextPageToken( $nextPageToken) {
1309 $this->nextPageToken = $nextPageToken;
1310 }
1311 public function getNextPageToken() {
1312 return $this->nextPageToken;
1313 }
1314 public function setTotalItems( $totalItems) {
1315 $this->totalItems = $totalItems;
1316 }
1317 public function getTotalItems() {
1318 return $this->totalItems;
1319 }
1320 }
1321
1322 class Google_Annotationsdata extends Google_Model {
1323 protected $__itemsType = 'Google_Annotationdata';
1324 protected $__itemsDataType = 'array';
1325 public $items;
1326 public $kind;
1327 public $nextPageToken;
1328 public $totalItems;
1329 public function setItems(/* array(Google_Annotationdata) */ $items) {
1330 $this->assertIsArray($items, 'Google_Annotationdata', __METHOD__);
1331 $this->items = $items;
1332 }
1333 public function getItems() {
1334 return $this->items;
1335 }
1336 public function setKind( $kind) {
1337 $this->kind = $kind;
1338 }
1339 public function getKind() {
1340 return $this->kind;
1341 }
1342 public function setNextPageToken( $nextPageToken) {
1343 $this->nextPageToken = $nextPageToken;
1344 }
1345 public function getNextPageToken() {
1346 return $this->nextPageToken;
1347 }
1348 public function setTotalItems( $totalItems) {
1349 $this->totalItems = $totalItems;
1350 }
1351 public function getTotalItems() {
1352 return $this->totalItems;
1353 }
1354 }
1355
1356 class Google_BooksAnnotationsRange extends Google_Model {
1357 public $endOffset;
1358 public $endPosition;
1359 public $startOffset;
1360 public $startPosition;
1361 public function setEndOffset( $endOffset) {
1362 $this->endOffset = $endOffset;
1363 }
1364 public function getEndOffset() {
1365 return $this->endOffset;
1366 }
1367 public function setEndPosition( $endPosition) {
1368 $this->endPosition = $endPosition;
1369 }
1370 public function getEndPosition() {
1371 return $this->endPosition;
1372 }
1373 public function setStartOffset( $startOffset) {
1374 $this->startOffset = $startOffset;
1375 }
1376 public function getStartOffset() {
1377 return $this->startOffset;
1378 }
1379 public function setStartPosition( $startPosition) {
1380 $this->startPosition = $startPosition;
1381 }
1382 public function getStartPosition() {
1383 return $this->startPosition;
1384 }
1385 }
1386
1387 class Google_BooksCloudloadingResource extends Google_Model {
1388 public $author;
1389 public $processingState;
1390 public $title;
1391 public $volumeId;
1392 public function setAuthor( $author) {
1393 $this->author = $author;
1394 }
1395 public function getAuthor() {
1396 return $this->author;
1397 }
1398 public function setProcessingState( $processingState) {
1399 $this->processingState = $processingState;
1400 }
1401 public function getProcessingState() {
1402 return $this->processingState;
1403 }
1404 public function setTitle( $title) {
1405 $this->title = $title;
1406 }
1407 public function getTitle() {
1408 return $this->title;
1409 }
1410 public function setVolumeId( $volumeId) {
1411 $this->volumeId = $volumeId;
1412 }
1413 public function getVolumeId() {
1414 return $this->volumeId;
1415 }
1416 }
1417
1418 class Google_BooksLayerDictData extends Google_Model {
1419 protected $__commonType = 'Google_BooksLayerDictDataCommon';
1420 protected $__commonDataType = '';
1421 public $common;
1422 protected $__dictType = 'Google_BooksLayerDictDataDict';
1423 protected $__dictDataType = '';
1424 public $dict;
1425 public function setCommon(Google_BooksLayerDictDataCommon $common) {
1426 $this->common = $common;
1427 }
1428 public function getCommon() {
1429 return $this->common;
1430 }
1431 public function setDict(Google_BooksLayerDictDataDict $dict) {
1432 $this->dict = $dict;
1433 }
1434 public function getDict() {
1435 return $this->dict;
1436 }
1437 }
1438
1439 class Google_BooksLayerDictDataCommon extends Google_Model {
1440 public $title;
1441 public function setTitle( $title) {
1442 $this->title = $title;
1443 }
1444 public function getTitle() {
1445 return $this->title;
1446 }
1447 }
1448
1449 class Google_BooksLayerDictDataDict extends Google_Model {
1450 protected $__sourceType = 'Google_BooksLayerDictDataDictSource';
1451 protected $__sourceDataType = '';
1452 public $source;
1453 protected $__wordsType = 'Google_BooksLayerDictDataDictWords';
1454 protected $__wordsDataType = 'array';
1455 public $words;
1456 public function setSource(Google_BooksLayerDictDataDictSource $source) {
1457 $this->source = $source;
1458 }
1459 public function getSource() {
1460 return $this->source;
1461 }
1462 public function setWords(/* array(Google_BooksLayerDictDataDictWords) */ $words) {
1463 $this->assertIsArray($words, 'Google_BooksLayerDictDataDictWords', __METHOD__);
1464 $this->words = $words;
1465 }
1466 public function getWords() {
1467 return $this->words;
1468 }
1469 }
1470
1471 class Google_BooksLayerDictDataDictSource extends Google_Model {
1472 public $attribution;
1473 public $url;
1474 public function setAttribution( $attribution) {
1475 $this->attribution = $attribution;
1476 }
1477 public function getAttribution() {
1478 return $this->attribution;
1479 }
1480 public function setUrl( $url) {
1481 $this->url = $url;
1482 }
1483 public function getUrl() {
1484 return $this->url;
1485 }
1486 }
1487
1488 class Google_BooksLayerDictDataDictWords extends Google_Model {
1489 protected $__derivativesType = 'Google_BooksLayerDictDataDictWordsDerivatives';
1490 protected $__derivativesDataType = 'array';
1491 public $derivatives;
1492 protected $__examplesType = 'Google_BooksLayerDictDataDictWordsExamples';
1493 protected $__examplesDataType = 'array';
1494 public $examples;
1495 protected $__sensesType = 'Google_BooksLayerDictDataDictWordsSenses';
1496 protected $__sensesDataType = 'array';
1497 public $senses;
1498 protected $__sourceType = 'Google_BooksLayerDictDataDictWordsSource';
1499 protected $__sourceDataType = '';
1500 public $source;
1501 public function setDerivatives(/* array(Google_BooksLayerDictDataDictWordsDerivatives) */ $derivatives) {
1502 $this->assertIsArray($derivatives, 'Google_BooksLayerDictDataDictWordsDerivatives', __METHOD__);
1503 $this->derivatives = $derivatives;
1504 }
1505 public function getDerivatives() {
1506 return $this->derivatives;
1507 }
1508 public function setExamples(/* array(Google_BooksLayerDictDataDictWordsExamples) */ $examples) {
1509 $this->assertIsArray($examples, 'Google_BooksLayerDictDataDictWordsExamples', __METHOD__);
1510 $this->examples = $examples;
1511 }
1512 public function getExamples() {
1513 return $this->examples;
1514 }
1515 public function setSenses(/* array(Google_BooksLayerDictDataDictWordsSenses) */ $senses) {
1516 $this->assertIsArray($senses, 'Google_BooksLayerDictDataDictWordsSenses', __METHOD__);
1517 $this->senses = $senses;
1518 }
1519 public function getSenses() {
1520 return $this->senses;
1521 }
1522 public function setSource(Google_BooksLayerDictDataDictWordsSource $source) {
1523 $this->source = $source;
1524 }
1525 public function getSource() {
1526 return $this->source;
1527 }
1528 }
1529
1530 class Google_BooksLayerDictDataDictWordsDerivatives extends Google_Model {
1531 protected $__sourceType = 'Google_BooksLayerDictDataDictWordsDerivativesSource';
1532 protected $__sourceDataType = '';
1533 public $source;
1534 public $text;
1535 public function setSource(Google_BooksLayerDictDataDictWordsDerivativesSource $source) {
1536 $this->source = $source;
1537 }
1538 public function getSource() {
1539 return $this->source;
1540 }
1541 public function setText( $text) {
1542 $this->text = $text;
1543 }
1544 public function getText() {
1545 return $this->text;
1546 }
1547 }
1548
1549 class Google_BooksLayerDictDataDictWordsDerivativesSource extends Google_Model {
1550 public $attribution;
1551 public $url;
1552 public function setAttribution( $attribution) {
1553 $this->attribution = $attribution;
1554 }
1555 public function getAttribution() {
1556 return $this->attribution;
1557 }
1558 public function setUrl( $url) {
1559 $this->url = $url;
1560 }
1561 public function getUrl() {
1562 return $this->url;
1563 }
1564 }
1565
1566 class Google_BooksLayerDictDataDictWordsExamples extends Google_Model {
1567 protected $__sourceType = 'Google_BooksLayerDictDataDictWordsExamplesSource';
1568 protected $__sourceDataType = '';
1569 public $source;
1570 public $text;
1571 public function setSource(Google_BooksLayerDictDataDictWordsExamplesSource $source) {
1572 $this->source = $source;
1573 }
1574 public function getSource() {
1575 return $this->source;
1576 }
1577 public function setText( $text) {
1578 $this->text = $text;
1579 }
1580 public function getText() {
1581 return $this->text;
1582 }
1583 }
1584
1585 class Google_BooksLayerDictDataDictWordsExamplesSource extends Google_Model {
1586 public $attribution;
1587 public $url;
1588 public function setAttribution( $attribution) {
1589 $this->attribution = $attribution;
1590 }
1591 public function getAttribution() {
1592 return $this->attribution;
1593 }
1594 public function setUrl( $url) {
1595 $this->url = $url;
1596 }
1597 public function getUrl() {
1598 return $this->url;
1599 }
1600 }
1601
1602 class Google_BooksLayerDictDataDictWordsSenses extends Google_Model {
1603 protected $__conjugationsType = 'Google_BooksLayerDictDataDictWordsSensesConjugations';
1604 protected $__conjugationsDataType = 'array';
1605 public $conjugations;
1606 protected $__definitionsType = 'Google_BooksLayerDictDataDictWordsSensesDefinitions';
1607 protected $__definitionsDataType = 'array';
1608 public $definitions;
1609 public $partOfSpeech;
1610 public $pronunciation;
1611 public $pronunciationUrl;
1612 protected $__sourceType = 'Google_BooksLayerDictDataDictWordsSensesSource';
1613 protected $__sourceDataType = '';
1614 public $source;
1615 public $syllabification;
1616 protected $__synonymsType = 'Google_BooksLayerDictDataDictWordsSensesSynonyms';
1617 protected $__synonymsDataType = 'array';
1618 public $synonyms;
1619 public function setConjugations(/* array(Google_BooksLayerDictDataDictWordsSensesConjugations) */ $conjugations) {
1620 $this->assertIsArray($conjugations, 'Google_BooksLayerDictDataDictWordsSensesConjugations', __METHOD__);
1621 $this->conjugations = $conjugations;
1622 }
1623 public function getConjugations() {
1624 return $this->conjugations;
1625 }
1626 public function setDefinitions(/* array(Google_BooksLayerDictDataDictWordsSensesDefinitions) */ $definitions) {
1627 $this->assertIsArray($definitions, 'Google_BooksLayerDictDataDictWordsSensesDefinitions', __METHOD__);
1628 $this->definitions = $definitions;
1629 }
1630 public function getDefinitions() {
1631 return $this->definitions;
1632 }
1633 public function setPartOfSpeech( $partOfSpeech) {
1634 $this->partOfSpeech = $partOfSpeech;
1635 }
1636 public function getPartOfSpeech() {
1637 return $this->partOfSpeech;
1638 }
1639 public function setPronunciation( $pronunciation) {
1640 $this->pronunciation = $pronunciation;
1641 }
1642 public function getPronunciation() {
1643 return $this->pronunciation;
1644 }
1645 public function setPronunciationUrl( $pronunciationUrl) {
1646 $this->pronunciationUrl = $pronunciationUrl;
1647 }
1648 public function getPronunciationUrl() {
1649 return $this->pronunciationUrl;
1650 }
1651 public function setSource(Google_BooksLayerDictDataDictWordsSensesSource $source) {
1652 $this->source = $source;
1653 }
1654 public function getSource() {
1655 return $this->source;
1656 }
1657 public function setSyllabification( $syllabification) {
1658 $this->syllabification = $syllabification;
1659 }
1660 public function getSyllabification() {
1661 return $this->syllabification;
1662 }
1663 public function setSynonyms(/* array(Google_BooksLayerDictDataDictWordsSensesSynonyms) */ $synonyms) {
1664 $this->assertIsArray($synonyms, 'Google_BooksLayerDictDataDictWordsSensesSynonyms', __METHOD__);
1665 $this->synonyms = $synonyms;
1666 }
1667 public function getSynonyms() {
1668 return $this->synonyms;
1669 }
1670 }
1671
1672 class Google_BooksLayerDictDataDictWordsSensesConjugations extends Google_Model {
1673 public $type;
1674 public $value;
1675 public function setType( $type) {
1676 $this->type = $type;
1677 }
1678 public function getType() {
1679 return $this->type;
1680 }
1681 public function setValue( $value) {
1682 $this->value = $value;
1683 }
1684 public function getValue() {
1685 return $this->value;
1686 }
1687 }
1688
1689 class Google_BooksLayerDictDataDictWordsSensesDefinitions extends Google_Model {
1690 public $definition;
1691 protected $__examplesType = 'Google_BooksLayerDictDataDictWordsSensesDefinitionsExamples';
1692 protected $__examplesDataType = 'array';
1693 public $examples;
1694 public function setDefinition( $definition) {
1695 $this->definition = $definition;
1696 }
1697 public function getDefinition() {
1698 return $this->definition;
1699 }
1700 public function setExamples(/* array(Google_BooksLayerDictDataDictWordsSensesDefinitionsExamples) */ $examples) {
1701 $this->assertIsArray($examples, 'Google_BooksLayerDictDataDictWordsSensesDefinitionsExamples', __METHOD__);
1702 $this->examples = $examples;
1703 }
1704 public function getExamples() {
1705 return $this->examples;
1706 }
1707 }
1708
1709 class Google_BooksLayerDictDataDictWordsSensesDefinitionsExamples extends Google_Model {
1710 protected $__sourceType = 'Google_BooksLayerDictDataDictWordsSensesDefinitionsExamplesSource';
1711 protected $__sourceDataType = '';
1712 public $source;
1713 public $text;
1714 public function setSource(Google_BooksLayerDictDataDictWordsSensesDefinitionsExamplesSource $source) {
1715 $this->source = $source;
1716 }
1717 public function getSource() {
1718 return $this->source;
1719 }
1720 public function setText( $text) {
1721 $this->text = $text;
1722 }
1723 public function getText() {
1724 return $this->text;
1725 }
1726 }
1727
1728 class Google_BooksLayerDictDataDictWordsSensesDefinitionsExamplesSource extends Google_Model {
1729 public $attribution;
1730 public $url;
1731 public function setAttribution( $attribution) {
1732 $this->attribution = $attribution;
1733 }
1734 public function getAttribution() {
1735 return $this->attribution;
1736 }
1737 public function setUrl( $url) {
1738 $this->url = $url;
1739 }
1740 public function getUrl() {
1741 return $this->url;
1742 }
1743 }
1744
1745 class Google_BooksLayerDictDataDictWordsSensesSource extends Google_Model {
1746 public $attribution;
1747 public $url;
1748 public function setAttribution( $attribution) {
1749 $this->attribution = $attribution;
1750 }
1751 public function getAttribution() {
1752 return $this->attribution;
1753 }
1754 public function setUrl( $url) {
1755 $this->url = $url;
1756 }
1757 public function getUrl() {
1758 return $this->url;
1759 }
1760 }
1761
1762 class Google_BooksLayerDictDataDictWordsSensesSynonyms extends Google_Model {
1763 protected $__sourceType = 'Google_BooksLayerDictDataDictWordsSensesSynonymsSource';
1764 protected $__sourceDataType = '';
1765 public $source;
1766 public $text;
1767 public function setSource(Google_BooksLayerDictDataDictWordsSensesSynonymsSource $source) {
1768 $this->source = $source;
1769 }
1770 public function getSource() {
1771 return $this->source;
1772 }
1773 public function setText( $text) {
1774 $this->text = $text;
1775 }
1776 public function getText() {
1777 return $this->text;
1778 }
1779 }
1780
1781 class Google_BooksLayerDictDataDictWordsSensesSynonymsSource extends Google_Model {
1782 public $attribution;
1783 public $url;
1784 public function setAttribution( $attribution) {
1785 $this->attribution = $attribution;
1786 }
1787 public function getAttribution() {
1788 return $this->attribution;
1789 }
1790 public function setUrl( $url) {
1791 $this->url = $url;
1792 }
1793 public function getUrl() {
1794 return $this->url;
1795 }
1796 }
1797
1798 class Google_BooksLayerDictDataDictWordsSource extends Google_Model {
1799 public $attribution;
1800 public $url;
1801 public function setAttribution( $attribution) {
1802 $this->attribution = $attribution;
1803 }
1804 public function getAttribution() {
1805 return $this->attribution;
1806 }
1807 public function setUrl( $url) {
1808 $this->url = $url;
1809 }
1810 public function getUrl() {
1811 return $this->url;
1812 }
1813 }
1814
1815 class Google_BooksLayerGeoData extends Google_Model {
1816 protected $__commonType = 'Google_BooksLayerGeoDataCommon';
1817 protected $__commonDataType = '';
1818 public $common;
1819 protected $__geoType = 'Google_BooksLayerGeoDataGeo';
1820 protected $__geoDataType = '';
1821 public $geo;
1822 public function setCommon(Google_BooksLayerGeoDataCommon $common) {
1823 $this->common = $common;
1824 }
1825 public function getCommon() {
1826 return $this->common;
1827 }
1828 public function setGeo(Google_BooksLayerGeoDataGeo $geo) {
1829 $this->geo = $geo;
1830 }
1831 public function getGeo() {
1832 return $this->geo;
1833 }
1834 }
1835
1836 class Google_BooksLayerGeoDataCommon extends Google_Model {
1837 public $lang;
1838 public $previewImageUrl;
1839 public $snippet;
1840 public $snippetUrl;
1841 public $title;
1842 public function setLang( $lang) {
1843 $this->lang = $lang;
1844 }
1845 public function getLang() {
1846 return $this->lang;
1847 }
1848 public function setPreviewImageUrl( $previewImageUrl) {
1849 $this->previewImageUrl = $previewImageUrl;
1850 }
1851 public function getPreviewImageUrl() {
1852 return $this->previewImageUrl;
1853 }
1854 public function setSnippet( $snippet) {
1855 $this->snippet = $snippet;
1856 }
1857 public function getSnippet() {
1858 return $this->snippet;
1859 }
1860 public function setSnippetUrl( $snippetUrl) {
1861 $this->snippetUrl = $snippetUrl;
1862 }
1863 public function getSnippetUrl() {
1864 return $this->snippetUrl;
1865 }
1866 public function setTitle( $title) {
1867 $this->title = $title;
1868 }
1869 public function getTitle() {
1870 return $this->title;
1871 }
1872 }
1873
1874 class Google_BooksLayerGeoDataGeo extends Google_Model {
1875 protected $__boundaryType = 'Google_BooksLayerGeoDataGeoBoundary';
1876 protected $__boundaryDataType = 'array';
1877 public $boundary;
1878 public $cachePolicy;
1879 public $countryCode;
1880 public $latitude;
1881 public $longitude;
1882 public $mapType;
1883 protected $__viewportType = 'Google_BooksLayerGeoDataGeoViewport';
1884 protected $__viewportDataType = '';
1885 public $viewport;
1886 public $zoom;
1887 public function setBoundary(/* array(Google_BooksLayerGeoDataGeoBoundary) */ $boundary) {
1888 $this->assertIsArray($boundary, 'Google_BooksLayerGeoDataGeoBoundary', __METHOD__);
1889 $this->boundary = $boundary;
1890 }
1891 public function getBoundary() {
1892 return $this->boundary;
1893 }
1894 public function setCachePolicy( $cachePolicy) {
1895 $this->cachePolicy = $cachePolicy;
1896 }
1897 public function getCachePolicy() {
1898 return $this->cachePolicy;
1899 }
1900 public function setCountryCode( $countryCode) {
1901 $this->countryCode = $countryCode;
1902 }
1903 public function getCountryCode() {
1904 return $this->countryCode;
1905 }
1906 public function setLatitude( $latitude) {
1907 $this->latitude = $latitude;
1908 }
1909 public function getLatitude() {
1910 return $this->latitude;
1911 }
1912 public function setLongitude( $longitude) {
1913 $this->longitude = $longitude;
1914 }
1915 public function getLongitude() {
1916 return $this->longitude;
1917 }
1918 public function setMapType( $mapType) {
1919 $this->mapType = $mapType;
1920 }
1921 public function getMapType() {
1922 return $this->mapType;
1923 }
1924 public function setViewport(Google_BooksLayerGeoDataGeoViewport $viewport) {
1925 $this->viewport = $viewport;
1926 }
1927 public function getViewport() {
1928 return $this->viewport;
1929 }
1930 public function setZoom( $zoom) {
1931 $this->zoom = $zoom;
1932 }
1933 public function getZoom() {
1934 return $this->zoom;
1935 }
1936 }
1937
1938 class Google_BooksLayerGeoDataGeoBoundary extends Google_Model {
1939 public $latitude;
1940 public $longitude;
1941 public function setLatitude( $latitude) {
1942 $this->latitude = $latitude;
1943 }
1944 public function getLatitude() {
1945 return $this->latitude;
1946 }
1947 public function setLongitude( $longitude) {
1948 $this->longitude = $longitude;
1949 }
1950 public function getLongitude() {
1951 return $this->longitude;
1952 }
1953 }
1954
1955 class Google_BooksLayerGeoDataGeoViewport extends Google_Model {
1956 protected $__hiType = 'Google_BooksLayerGeoDataGeoViewportHi';
1957 protected $__hiDataType = '';
1958 public $hi;
1959 protected $__loType = 'Google_BooksLayerGeoDataGeoViewportLo';
1960 protected $__loDataType = '';
1961 public $lo;
1962 public function setHi(Google_BooksLayerGeoDataGeoViewportHi $hi) {
1963 $this->hi = $hi;
1964 }
1965 public function getHi() {
1966 return $this->hi;
1967 }
1968 public function setLo(Google_BooksLayerGeoDataGeoViewportLo $lo) {
1969 $this->lo = $lo;
1970 }
1971 public function getLo() {
1972 return $this->lo;
1973 }
1974 }
1975
1976 class Google_BooksLayerGeoDataGeoViewportHi extends Google_Model {
1977 public $latitude;
1978 public $longitude;
1979 public function setLatitude( $latitude) {
1980 $this->latitude = $latitude;
1981 }
1982 public function getLatitude() {
1983 return $this->latitude;
1984 }
1985 public function setLongitude( $longitude) {
1986 $this->longitude = $longitude;
1987 }
1988 public function getLongitude() {
1989 return $this->longitude;
1990 }
1991 }
1992
1993 class Google_BooksLayerGeoDataGeoViewportLo extends Google_Model {
1994 public $latitude;
1995 public $longitude;
1996 public function setLatitude( $latitude) {
1997 $this->latitude = $latitude;
1998 }
1999 public function getLatitude() {
2000 return $this->latitude;
2001 }
2002 public function setLongitude( $longitude) {
2003 $this->longitude = $longitude;
2004 }
2005 public function getLongitude() {
2006 return $this->longitude;
2007 }
2008 }
2009
2010 class Google_Bookshelf extends Google_Model {
2011 public $access;
2012 public $created;
2013 public $description;
2014 public $id;
2015 public $kind;
2016 public $selfLink;
2017 public $title;
2018 public $updated;
2019 public $volumeCount;
2020 public $volumesLastUpdated;
2021 public function setAccess( $access) {
2022 $this->access = $access;
2023 }
2024 public function getAccess() {
2025 return $this->access;
2026 }
2027 public function setCreated( $created) {
2028 $this->created = $created;
2029 }
2030 public function getCreated() {
2031 return $this->created;
2032 }
2033 public function setDescription( $description) {
2034 $this->description = $description;
2035 }
2036 public function getDescription() {
2037 return $this->description;
2038 }
2039 public function setId( $id) {
2040 $this->id = $id;
2041 }
2042 public function getId() {
2043 return $this->id;
2044 }
2045 public function setKind( $kind) {
2046 $this->kind = $kind;
2047 }
2048 public function getKind() {
2049 return $this->kind;
2050 }
2051 public function setSelfLink( $selfLink) {
2052 $this->selfLink = $selfLink;
2053 }
2054 public function getSelfLink() {
2055 return $this->selfLink;
2056 }
2057 public function setTitle( $title) {
2058 $this->title = $title;
2059 }
2060 public function getTitle() {
2061 return $this->title;
2062 }
2063 public function setUpdated( $updated) {
2064 $this->updated = $updated;
2065 }
2066 public function getUpdated() {
2067 return $this->updated;
2068 }
2069 public function setVolumeCount( $volumeCount) {
2070 $this->volumeCount = $volumeCount;
2071 }
2072 public function getVolumeCount() {
2073 return $this->volumeCount;
2074 }
2075 public function setVolumesLastUpdated( $volumesLastUpdated) {
2076 $this->volumesLastUpdated = $volumesLastUpdated;
2077 }
2078 public function getVolumesLastUpdated() {
2079 return $this->volumesLastUpdated;
2080 }
2081 }
2082
2083 class Google_Bookshelves extends Google_Model {
2084 protected $__itemsType = 'Google_Bookshelf';
2085 protected $__itemsDataType = 'array';
2086 public $items;
2087 public $kind;
2088 public function setItems(/* array(Google_Bookshelf) */ $items) {
2089 $this->assertIsArray($items, 'Google_Bookshelf', __METHOD__);
2090 $this->items = $items;
2091 }
2092 public function getItems() {
2093 return $this->items;
2094 }
2095 public function setKind( $kind) {
2096 $this->kind = $kind;
2097 }
2098 public function getKind() {
2099 return $this->kind;
2100 }
2101 }
2102
2103 class Google_ConcurrentAccessRestriction extends Google_Model {
2104 public $deviceAllowed;
2105 public $kind;
2106 public $maxConcurrentDevices;
2107 public $message;
2108 public $nonce;
2109 public $reasonCode;
2110 public $restricted;
2111 public $signature;
2112 public $source;
2113 public $timeWindowSeconds;
2114 public $volumeId;
2115 public function setDeviceAllowed( $deviceAllowed) {
2116 $this->deviceAllowed = $deviceAllowed;
2117 }
2118 public function getDeviceAllowed() {
2119 return $this->deviceAllowed;
2120 }
2121 public function setKind( $kind) {
2122 $this->kind = $kind;
2123 }
2124 public function getKind() {
2125 return $this->kind;
2126 }
2127 public function setMaxConcurrentDevices( $maxConcurrentDevices) {
2128 $this->maxConcurrentDevices = $maxConcurrentDevices;
2129 }
2130 public function getMaxConcurrentDevices() {
2131 return $this->maxConcurrentDevices;
2132 }
2133 public function setMessage( $message) {
2134 $this->message = $message;
2135 }
2136 public function getMessage() {
2137 return $this->message;
2138 }
2139 public function setNonce( $nonce) {
2140 $this->nonce = $nonce;
2141 }
2142 public function getNonce() {
2143 return $this->nonce;
2144 }
2145 public function setReasonCode( $reasonCode) {
2146 $this->reasonCode = $reasonCode;
2147 }
2148 public function getReasonCode() {
2149 return $this->reasonCode;
2150 }
2151 public function setRestricted( $restricted) {
2152 $this->restricted = $restricted;
2153 }
2154 public function getRestricted() {
2155 return $this->restricted;
2156 }
2157 public function setSignature( $signature) {
2158 $this->signature = $signature;
2159 }
2160 public function getSignature() {
2161 return $this->signature;
2162 }
2163 public function setSource( $source) {
2164 $this->source = $source;
2165 }
2166 public function getSource() {
2167 return $this->source;
2168 }
2169 public function setTimeWindowSeconds( $timeWindowSeconds) {
2170 $this->timeWindowSeconds = $timeWindowSeconds;
2171 }
2172 public function getTimeWindowSeconds() {
2173 return $this->timeWindowSeconds;
2174 }
2175 public function setVolumeId( $volumeId) {
2176 $this->volumeId = $volumeId;
2177 }
2178 public function getVolumeId() {
2179 return $this->volumeId;
2180 }
2181 }
2182
2183 class Google_DownloadAccessRestriction extends Google_Model {
2184 public $deviceAllowed;
2185 public $downloadsAcquired;
2186 public $justAcquired;
2187 public $kind;
2188 public $maxDownloadDevices;
2189 public $message;
2190 public $nonce;
2191 public $reasonCode;
2192 public $restricted;
2193 public $signature;
2194 public $source;
2195 public $volumeId;
2196 public function setDeviceAllowed( $deviceAllowed) {
2197 $this->deviceAllowed = $deviceAllowed;
2198 }
2199 public function getDeviceAllowed() {
2200 return $this->deviceAllowed;
2201 }
2202 public function setDownloadsAcquired( $downloadsAcquired) {
2203 $this->downloadsAcquired = $downloadsAcquired;
2204 }
2205 public function getDownloadsAcquired() {
2206 return $this->downloadsAcquired;
2207 }
2208 public function setJustAcquired( $justAcquired) {
2209 $this->justAcquired = $justAcquired;
2210 }
2211 public function getJustAcquired() {
2212 return $this->justAcquired;
2213 }
2214 public function setKind( $kind) {
2215 $this->kind = $kind;
2216 }
2217 public function getKind() {
2218 return $this->kind;
2219 }
2220 public function setMaxDownloadDevices( $maxDownloadDevices) {
2221 $this->maxDownloadDevices = $maxDownloadDevices;
2222 }
2223 public function getMaxDownloadDevices() {
2224 return $this->maxDownloadDevices;
2225 }
2226 public function setMessage( $message) {
2227 $this->message = $message;
2228 }
2229 public function getMessage() {
2230 return $this->message;
2231 }
2232 public function setNonce( $nonce) {
2233 $this->nonce = $nonce;
2234 }
2235 public function getNonce() {
2236 return $this->nonce;
2237 }
2238 public function setReasonCode( $reasonCode) {
2239 $this->reasonCode = $reasonCode;
2240 }
2241 public function getReasonCode() {
2242 return $this->reasonCode;
2243 }
2244 public function setRestricted( $restricted) {
2245 $this->restricted = $restricted;
2246 }
2247 public function getRestricted() {
2248 return $this->restricted;
2249 }
2250 public function setSignature( $signature) {
2251 $this->signature = $signature;
2252 }
2253 public function getSignature() {
2254 return $this->signature;
2255 }
2256 public function setSource( $source) {
2257 $this->source = $source;
2258 }
2259 public function getSource() {
2260 return $this->source;
2261 }
2262 public function setVolumeId( $volumeId) {
2263 $this->volumeId = $volumeId;
2264 }
2265 public function getVolumeId() {
2266 return $this->volumeId;
2267 }
2268 }
2269
2270 class Google_DownloadAccesses extends Google_Model {
2271 protected $__downloadAccessListType = 'Google_DownloadAccessRestriction';
2272 protected $__downloadAccessListDataType = 'array';
2273 public $downloadAccessList;
2274 public $kind;
2275 public function setDownloadAccessList(/* array(Google_DownloadAccessRestriction) */ $downloadAccessList) {
2276 $this->assertIsArray($downloadAccessList, 'Google_DownloadAccessRestriction', __METHOD__);
2277 $this->downloadAccessList = $downloadAccessList;
2278 }
2279 public function getDownloadAccessList() {
2280 return $this->downloadAccessList;
2281 }
2282 public function setKind( $kind) {
2283 $this->kind = $kind;
2284 }
2285 public function getKind() {
2286 return $this->kind;
2287 }
2288 }
2289
2290 class Google_Layersummaries extends Google_Model {
2291 protected $__itemsType = 'Google_Layersummary';
2292 protected $__itemsDataType = 'array';
2293 public $items;
2294 public $kind;
2295 public $totalItems;
2296 public function setItems(/* array(Google_Layersummary) */ $items) {
2297 $this->assertIsArray($items, 'Google_Layersummary', __METHOD__);
2298 $this->items = $items;
2299 }
2300 public function getItems() {
2301 return $this->items;
2302 }
2303 public function setKind( $kind) {
2304 $this->kind = $kind;
2305 }
2306 public function getKind() {
2307 return $this->kind;
2308 }
2309 public function setTotalItems( $totalItems) {
2310 $this->totalItems = $totalItems;
2311 }
2312 public function getTotalItems() {
2313 return $this->totalItems;
2314 }
2315 }
2316
2317 class Google_Layersummary extends Google_Model {
2318 public $annotationCount;
2319 public $annotationTypes;
2320 public $annotationsDataLink;
2321 public $annotationsLink;
2322 public $contentVersion;
2323 public $dataCount;
2324 public $id;
2325 public $kind;
2326 public $layerId;
2327 public $selfLink;
2328 public $updated;
2329 public $volumeAnnotationsVersion;
2330 public $volumeId;
2331 public function setAnnotationCount( $annotationCount) {
2332 $this->annotationCount = $annotationCount;
2333 }
2334 public function getAnnotationCount() {
2335 return $this->annotationCount;
2336 }
2337 public function setAnnotationTypes(/* array(Google_string) */ $annotationTypes) {
2338 $this->assertIsArray($annotationTypes, 'Google_string', __METHOD__);
2339 $this->annotationTypes = $annotationTypes;
2340 }
2341 public function getAnnotationTypes() {
2342 return $this->annotationTypes;
2343 }
2344 public function setAnnotationsDataLink( $annotationsDataLink) {
2345 $this->annotationsDataLink = $annotationsDataLink;
2346 }
2347 public function getAnnotationsDataLink() {
2348 return $this->annotationsDataLink;
2349 }
2350 public function setAnnotationsLink( $annotationsLink) {
2351 $this->annotationsLink = $annotationsLink;
2352 }
2353 public function getAnnotationsLink() {
2354 return $this->annotationsLink;
2355 }
2356 public function setContentVersion( $contentVersion) {
2357 $this->contentVersion = $contentVersion;
2358 }
2359 public function getContentVersion() {
2360 return $this->contentVersion;
2361 }
2362 public function setDataCount( $dataCount) {
2363 $this->dataCount = $dataCount;
2364 }
2365 public function getDataCount() {
2366 return $this->dataCount;
2367 }
2368 public function setId( $id) {
2369 $this->id = $id;
2370 }
2371 public function getId() {
2372 return $this->id;
2373 }
2374 public function setKind( $kind) {
2375 $this->kind = $kind;
2376 }
2377 public function getKind() {
2378 return $this->kind;
2379 }
2380 public function setLayerId( $layerId) {
2381 $this->layerId = $layerId;
2382 }
2383 public function getLayerId() {
2384 return $this->layerId;
2385 }
2386 public function setSelfLink( $selfLink) {
2387 $this->selfLink = $selfLink;
2388 }
2389 public function getSelfLink() {
2390 return $this->selfLink;
2391 }
2392 public function setUpdated( $updated) {
2393 $this->updated = $updated;
2394 }
2395 public function getUpdated() {
2396 return $this->updated;
2397 }
2398 public function setVolumeAnnotationsVersion( $volumeAnnotationsVersion) {
2399 $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
2400 }
2401 public function getVolumeAnnotationsVersion() {
2402 return $this->volumeAnnotationsVersion;
2403 }
2404 public function setVolumeId( $volumeId) {
2405 $this->volumeId = $volumeId;
2406 }
2407 public function getVolumeId() {
2408 return $this->volumeId;
2409 }
2410 }
2411
2412 class Google_ReadingPosition extends Google_Model {
2413 public $epubCfiPosition;
2414 public $gbImagePosition;
2415 public $gbTextPosition;
2416 public $kind;
2417 public $pdfPosition;
2418 public $updated;
2419 public $volumeId;
2420 public function setEpubCfiPosition( $epubCfiPosition) {
2421 $this->epubCfiPosition = $epubCfiPosition;
2422 }
2423 public function getEpubCfiPosition() {
2424 return $this->epubCfiPosition;
2425 }
2426 public function setGbImagePosition( $gbImagePosition) {
2427 $this->gbImagePosition = $gbImagePosition;
2428 }
2429 public function getGbImagePosition() {
2430 return $this->gbImagePosition;
2431 }
2432 public function setGbTextPosition( $gbTextPosition) {
2433 $this->gbTextPosition = $gbTextPosition;
2434 }
2435 public function getGbTextPosition() {
2436 return $this->gbTextPosition;
2437 }
2438 public function setKind( $kind) {
2439 $this->kind = $kind;
2440 }
2441 public function getKind() {
2442 return $this->kind;
2443 }
2444 public function setPdfPosition( $pdfPosition) {
2445 $this->pdfPosition = $pdfPosition;
2446 }
2447 public function getPdfPosition() {
2448 return $this->pdfPosition;
2449 }
2450 public function setUpdated( $updated) {
2451 $this->updated = $updated;
2452 }
2453 public function getUpdated() {
2454 return $this->updated;
2455 }
2456 public function setVolumeId( $volumeId) {
2457 $this->volumeId = $volumeId;
2458 }
2459 public function getVolumeId() {
2460 return $this->volumeId;
2461 }
2462 }
2463
2464 class Google_RequestAccess extends Google_Model {
2465 protected $__concurrentAccessType = 'Google_ConcurrentAccessRestriction';
2466 protected $__concurrentAccessDataType = '';
2467 public $concurrentAccess;
2468 protected $__downloadAccessType = 'Google_DownloadAccessRestriction';
2469 protected $__downloadAccessDataType = '';
2470 public $downloadAccess;
2471 public $kind;
2472 public function setConcurrentAccess(Google_ConcurrentAccessRestriction $concurrentAccess) {
2473 $this->concurrentAccess = $concurrentAccess;
2474 }
2475 public function getConcurrentAccess() {
2476 return $this->concurrentAccess;
2477 }
2478 public function setDownloadAccess(Google_DownloadAccessRestriction $downloadAccess) {
2479 $this->downloadAccess = $downloadAccess;
2480 }
2481 public function getDownloadAccess() {
2482 return $this->downloadAccess;
2483 }
2484 public function setKind( $kind) {
2485 $this->kind = $kind;
2486 }
2487 public function getKind() {
2488 return $this->kind;
2489 }
2490 }
2491
2492 class Google_Review extends Google_Model {
2493 protected $__authorType = 'Google_ReviewAuthor';
2494 protected $__authorDataType = '';
2495 public $author;
2496 public $content;
2497 public $date;
2498 public $fullTextUrl;
2499 public $kind;
2500 public $rating;
2501 protected $__sourceType = 'Google_ReviewSource';
2502 protected $__sourceDataType = '';
2503 public $source;
2504 public $title;
2505 public $type;
2506 public $volumeId;
2507 public function setAuthor(Google_ReviewAuthor $author) {
2508 $this->author = $author;
2509 }
2510 public function getAuthor() {
2511 return $this->author;
2512 }
2513 public function setContent( $content) {
2514 $this->content = $content;
2515 }
2516 public function getContent() {
2517 return $this->content;
2518 }
2519 public function setDate( $date) {
2520 $this->date = $date;
2521 }
2522 public function getDate() {
2523 return $this->date;
2524 }
2525 public function setFullTextUrl( $fullTextUrl) {
2526 $this->fullTextUrl = $fullTextUrl;
2527 }
2528 public function getFullTextUrl() {
2529 return $this->fullTextUrl;
2530 }
2531 public function setKind( $kind) {
2532 $this->kind = $kind;
2533 }
2534 public function getKind() {
2535 return $this->kind;
2536 }
2537 public function setRating( $rating) {
2538 $this->rating = $rating;
2539 }
2540 public function getRating() {
2541 return $this->rating;
2542 }
2543 public function setSource(Google_ReviewSource $source) {
2544 $this->source = $source;
2545 }
2546 public function getSource() {
2547 return $this->source;
2548 }
2549 public function setTitle( $title) {
2550 $this->title = $title;
2551 }
2552 public function getTitle() {
2553 return $this->title;
2554 }
2555 public function setType( $type) {
2556 $this->type = $type;
2557 }
2558 public function getType() {
2559 return $this->type;
2560 }
2561 public function setVolumeId( $volumeId) {
2562 $this->volumeId = $volumeId;
2563 }
2564 public function getVolumeId() {
2565 return $this->volumeId;
2566 }
2567 }
2568
2569 class Google_ReviewAuthor extends Google_Model {
2570 public $displayName;
2571 public function setDisplayName( $displayName) {
2572 $this->displayName = $displayName;
2573 }
2574 public function getDisplayName() {
2575 return $this->displayName;
2576 }
2577 }
2578
2579 class Google_ReviewSource extends Google_Model {
2580 public $description;
2581 public $extraDescription;
2582 public $url;
2583 public function setDescription( $description) {
2584 $this->description = $description;
2585 }
2586 public function getDescription() {
2587 return $this->description;
2588 }
2589 public function setExtraDescription( $extraDescription) {
2590 $this->extraDescription = $extraDescription;
2591 }
2592 public function getExtraDescription() {
2593 return $this->extraDescription;
2594 }
2595 public function setUrl( $url) {
2596 $this->url = $url;
2597 }
2598 public function getUrl() {
2599 return $this->url;
2600 }
2601 }
2602
2603 class Google_Volume extends Google_Model {
2604 protected $__accessInfoType = 'Google_VolumeAccessInfo';
2605 protected $__accessInfoDataType = '';
2606 public $accessInfo;
2607 public $etag;
2608 public $id;
2609 public $kind;
2610 protected $__layerInfoType = 'Google_VolumeLayerInfo';
2611 protected $__layerInfoDataType = '';
2612 public $layerInfo;
2613 protected $__recommendedInfoType = 'Google_VolumeRecommendedInfo';
2614 protected $__recommendedInfoDataType = '';
2615 public $recommendedInfo;
2616 protected $__saleInfoType = 'Google_VolumeSaleInfo';
2617 protected $__saleInfoDataType = '';
2618 public $saleInfo;
2619 protected $__searchInfoType = 'Google_VolumeSearchInfo';
2620 protected $__searchInfoDataType = '';
2621 public $searchInfo;
2622 public $selfLink;
2623 protected $__userInfoType = 'Google_VolumeUserInfo';
2624 protected $__userInfoDataType = '';
2625 public $userInfo;
2626 protected $__volumeInfoType = 'Google_VolumeVolumeInfo';
2627 protected $__volumeInfoDataType = '';
2628 public $volumeInfo;
2629 public function setAccessInfo(Google_VolumeAccessInfo $accessInfo) {
2630 $this->accessInfo = $accessInfo;
2631 }
2632 public function getAccessInfo() {
2633 return $this->accessInfo;
2634 }
2635 public function setEtag( $etag) {
2636 $this->etag = $etag;
2637 }
2638 public function getEtag() {
2639 return $this->etag;
2640 }
2641 public function setId( $id) {
2642 $this->id = $id;
2643 }
2644 public function getId() {
2645 return $this->id;
2646 }
2647 public function setKind( $kind) {
2648 $this->kind = $kind;
2649 }
2650 public function getKind() {
2651 return $this->kind;
2652 }
2653 public function setLayerInfo(Google_VolumeLayerInfo $layerInfo) {
2654 $this->layerInfo = $layerInfo;
2655 }
2656 public function getLayerInfo() {
2657 return $this->layerInfo;
2658 }
2659 public function setRecommendedInfo(Google_VolumeRecommendedInfo $recommendedInfo) {
2660 $this->recommendedInfo = $recommendedInfo;
2661 }
2662 public function getRecommendedInfo() {
2663 return $this->recommendedInfo;
2664 }
2665 public function setSaleInfo(Google_VolumeSaleInfo $saleInfo) {
2666 $this->saleInfo = $saleInfo;
2667 }
2668 public function getSaleInfo() {
2669 return $this->saleInfo;
2670 }
2671 public function setSearchInfo(Google_VolumeSearchInfo $searchInfo) {
2672 $this->searchInfo = $searchInfo;
2673 }
2674 public function getSearchInfo() {
2675 return $this->searchInfo;
2676 }
2677 public function setSelfLink( $selfLink) {
2678 $this->selfLink = $selfLink;
2679 }
2680 public function getSelfLink() {
2681 return $this->selfLink;
2682 }
2683 public function setUserInfo(Google_VolumeUserInfo $userInfo) {
2684 $this->userInfo = $userInfo;
2685 }
2686 public function getUserInfo() {
2687 return $this->userInfo;
2688 }
2689 public function setVolumeInfo(Google_VolumeVolumeInfo $volumeInfo) {
2690 $this->volumeInfo = $volumeInfo;
2691 }
2692 public function getVolumeInfo() {
2693 return $this->volumeInfo;
2694 }
2695 }
2696
2697 class Google_VolumeAccessInfo extends Google_Model {
2698 public $accessViewStatus;
2699 public $country;
2700 protected $__downloadAccessType = 'Google_DownloadAccessRestriction';
2701 protected $__downloadAccessDataType = '';
2702 public $downloadAccess;
2703 public $embeddable;
2704 protected $__epubType = 'Google_VolumeAccessInfoEpub';
2705 protected $__epubDataType = '';
2706 public $epub;
2707 protected $__pdfType = 'Google_VolumeAccessInfoPdf';
2708 protected $__pdfDataType = '';
2709 public $pdf;
2710 public $publicDomain;
2711 public $textToSpeechPermission;
2712 public $viewOrderUrl;
2713 public $viewability;
2714 public $webReaderLink;
2715 public function setAccessViewStatus( $accessViewStatus) {
2716 $this->accessViewStatus = $accessViewStatus;
2717 }
2718 public function getAccessViewStatus() {
2719 return $this->accessViewStatus;
2720 }
2721 public function setCountry( $country) {
2722 $this->country = $country;
2723 }
2724 public function getCountry() {
2725 return $this->country;
2726 }
2727 public function setDownloadAccess(Google_DownloadAccessRestriction $downloadAccess) {
2728 $this->downloadAccess = $downloadAccess;
2729 }
2730 public function getDownloadAccess() {
2731 return $this->downloadAccess;
2732 }
2733 public function setEmbeddable( $embeddable) {
2734 $this->embeddable = $embeddable;
2735 }
2736 public function getEmbeddable() {
2737 return $this->embeddable;
2738 }
2739 public function setEpub(Google_VolumeAccessInfoEpub $epub) {
2740 $this->epub = $epub;
2741 }
2742 public function getEpub() {
2743 return $this->epub;
2744 }
2745 public function setPdf(Google_VolumeAccessInfoPdf $pdf) {
2746 $this->pdf = $pdf;
2747 }
2748 public function getPdf() {
2749 return $this->pdf;
2750 }
2751 public function setPublicDomain( $publicDomain) {
2752 $this->publicDomain = $publicDomain;
2753 }
2754 public function getPublicDomain() {
2755 return $this->publicDomain;
2756 }
2757 public function setTextToSpeechPermission( $textToSpeechPermission) {
2758 $this->textToSpeechPermission = $textToSpeechPermission;
2759 }
2760 public function getTextToSpeechPermission() {
2761 return $this->textToSpeechPermission;
2762 }
2763 public function setViewOrderUrl( $viewOrderUrl) {
2764 $this->viewOrderUrl = $viewOrderUrl;
2765 }
2766 public function getViewOrderUrl() {
2767 return $this->viewOrderUrl;
2768 }
2769 public function setViewability( $viewability) {
2770 $this->viewability = $viewability;
2771 }
2772 public function getViewability() {
2773 return $this->viewability;
2774 }
2775 public function setWebReaderLink( $webReaderLink) {
2776 $this->webReaderLink = $webReaderLink;
2777 }
2778 public function getWebReaderLink() {
2779 return $this->webReaderLink;
2780 }
2781 }
2782
2783 class Google_VolumeAccessInfoEpub extends Google_Model {
2784 public $acsTokenLink;
2785 public $downloadLink;
2786 public $isAvailable;
2787 public function setAcsTokenLink( $acsTokenLink) {
2788 $this->acsTokenLink = $acsTokenLink;
2789 }
2790 public function getAcsTokenLink() {
2791 return $this->acsTokenLink;
2792 }
2793 public function setDownloadLink( $downloadLink) {
2794 $this->downloadLink = $downloadLink;
2795 }
2796 public function getDownloadLink() {
2797 return $this->downloadLink;
2798 }
2799 public function setIsAvailable( $isAvailable) {
2800 $this->isAvailable = $isAvailable;
2801 }
2802 public function getIsAvailable() {
2803 return $this->isAvailable;
2804 }
2805 }
2806
2807 class Google_VolumeAccessInfoPdf extends Google_Model {
2808 public $acsTokenLink;
2809 public $downloadLink;
2810 public $isAvailable;
2811 public function setAcsTokenLink( $acsTokenLink) {
2812 $this->acsTokenLink = $acsTokenLink;
2813 }
2814 public function getAcsTokenLink() {
2815 return $this->acsTokenLink;
2816 }
2817 public function setDownloadLink( $downloadLink) {
2818 $this->downloadLink = $downloadLink;
2819 }
2820 public function getDownloadLink() {
2821 return $this->downloadLink;
2822 }
2823 public function setIsAvailable( $isAvailable) {
2824 $this->isAvailable = $isAvailable;
2825 }
2826 public function getIsAvailable() {
2827 return $this->isAvailable;
2828 }
2829 }
2830
2831 class Google_VolumeLayerInfo extends Google_Model {
2832 protected $__layersType = 'Google_VolumeLayerInfoLayers';
2833 protected $__layersDataType = 'array';
2834 public $layers;
2835 public function setLayers(/* array(Google_VolumeLayerInfoLayers) */ $layers) {
2836 $this->assertIsArray($layers, 'Google_VolumeLayerInfoLayers', __METHOD__);
2837 $this->layers = $layers;
2838 }
2839 public function getLayers() {
2840 return $this->layers;
2841 }
2842 }
2843
2844 class Google_VolumeLayerInfoLayers extends Google_Model {
2845 public $layerId;
2846 public $volumeAnnotationsVersion;
2847 public function setLayerId( $layerId) {
2848 $this->layerId = $layerId;
2849 }
2850 public function getLayerId() {
2851 return $this->layerId;
2852 }
2853 public function setVolumeAnnotationsVersion( $volumeAnnotationsVersion) {
2854 $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
2855 }
2856 public function getVolumeAnnotationsVersion() {
2857 return $this->volumeAnnotationsVersion;
2858 }
2859 }
2860
2861 class Google_VolumeRecommendedInfo extends Google_Model {
2862 public $explanation;
2863 public function setExplanation( $explanation) {
2864 $this->explanation = $explanation;
2865 }
2866 public function getExplanation() {
2867 return $this->explanation;
2868 }
2869 }
2870
2871 class Google_VolumeSaleInfo extends Google_Model {
2872 public $buyLink;
2873 public $country;
2874 public $isEbook;
2875 protected $__listPriceType = 'Google_VolumeSaleInfoListPrice';
2876 protected $__listPriceDataType = '';
2877 public $listPrice;
2878 public $onSaleDate;
2879 protected $__retailPriceType = 'Google_VolumeSaleInfoRetailPrice';
2880 protected $__retailPriceDataType = '';
2881 public $retailPrice;
2882 public $saleability;
2883 public function setBuyLink( $buyLink) {
2884 $this->buyLink = $buyLink;
2885 }
2886 public function getBuyLink() {
2887 return $this->buyLink;
2888 }
2889 public function setCountry( $country) {
2890 $this->country = $country;
2891 }
2892 public function getCountry() {
2893 return $this->country;
2894 }
2895 public function setIsEbook( $isEbook) {
2896 $this->isEbook = $isEbook;
2897 }
2898 public function getIsEbook() {
2899 return $this->isEbook;
2900 }
2901 public function setListPrice(Google_VolumeSaleInfoListPrice $listPrice) {
2902 $this->listPrice = $listPrice;
2903 }
2904 public function getListPrice() {
2905 return $this->listPrice;
2906 }
2907 public function setOnSaleDate( $onSaleDate) {
2908 $this->onSaleDate = $onSaleDate;
2909 }
2910 public function getOnSaleDate() {
2911 return $this->onSaleDate;
2912 }
2913 public function setRetailPrice(Google_VolumeSaleInfoRetailPrice $retailPrice) {
2914 $this->retailPrice = $retailPrice;
2915 }
2916 public function getRetailPrice() {
2917 return $this->retailPrice;
2918 }
2919 public function setSaleability( $saleability) {
2920 $this->saleability = $saleability;
2921 }
2922 public function getSaleability() {
2923 return $this->saleability;
2924 }
2925 }
2926
2927 class Google_VolumeSaleInfoListPrice extends Google_Model {
2928 public $amount;
2929 public $currencyCode;
2930 public function setAmount( $amount) {
2931 $this->amount = $amount;
2932 }
2933 public function getAmount() {
2934 return $this->amount;
2935 }
2936 public function setCurrencyCode( $currencyCode) {
2937 $this->currencyCode = $currencyCode;
2938 }
2939 public function getCurrencyCode() {
2940 return $this->currencyCode;
2941 }
2942 }
2943
2944 class Google_VolumeSaleInfoRetailPrice extends Google_Model {
2945 public $amount;
2946 public $currencyCode;
2947 public function setAmount( $amount) {
2948 $this->amount = $amount;
2949 }
2950 public function getAmount() {
2951 return $this->amount;
2952 }
2953 public function setCurrencyCode( $currencyCode) {
2954 $this->currencyCode = $currencyCode;
2955 }
2956 public function getCurrencyCode() {
2957 return $this->currencyCode;
2958 }
2959 }
2960
2961 class Google_VolumeSearchInfo extends Google_Model {
2962 public $textSnippet;
2963 public function setTextSnippet( $textSnippet) {
2964 $this->textSnippet = $textSnippet;
2965 }
2966 public function getTextSnippet() {
2967 return $this->textSnippet;
2968 }
2969 }
2970
2971 class Google_VolumeUserInfo extends Google_Model {
2972 public $isInMyBooks;
2973 public $isPreordered;
2974 public $isPurchased;
2975 public $isUploaded;
2976 protected $__readingPositionType = 'Google_ReadingPosition';
2977 protected $__readingPositionDataType = '';
2978 public $readingPosition;
2979 protected $__reviewType = 'Google_Review';
2980 protected $__reviewDataType = '';
2981 public $review;
2982 public $updated;
2983 protected $__userUploadedVolumeInfoType = 'Google_VolumeUserInfoUserUploadedVolumeInfo';
2984 protected $__userUploadedVolumeInfoDataType = '';
2985 public $userUploadedVolumeInfo;
2986 public function setIsInMyBooks( $isInMyBooks) {
2987 $this->isInMyBooks = $isInMyBooks;
2988 }
2989 public function getIsInMyBooks() {
2990 return $this->isInMyBooks;
2991 }
2992 public function setIsPreordered( $isPreordered) {
2993 $this->isPreordered = $isPreordered;
2994 }
2995 public function getIsPreordered() {
2996 return $this->isPreordered;
2997 }
2998 public function setIsPurchased( $isPurchased) {
2999 $this->isPurchased = $isPurchased;
3000 }
3001 public function getIsPurchased() {
3002 return $this->isPurchased;
3003 }
3004 public function setIsUploaded( $isUploaded) {
3005 $this->isUploaded = $isUploaded;
3006 }
3007 public function getIsUploaded() {
3008 return $this->isUploaded;
3009 }
3010 public function setReadingPosition(Google_ReadingPosition $readingPosition) {
3011 $this->readingPosition = $readingPosition;
3012 }
3013 public function getReadingPosition() {
3014 return $this->readingPosition;
3015 }
3016 public function setReview(Google_Review $review) {
3017 $this->review = $review;
3018 }
3019 public function getReview() {
3020 return $this->review;
3021 }
3022 public function setUpdated( $updated) {
3023 $this->updated = $updated;
3024 }
3025 public function getUpdated() {
3026 return $this->updated;
3027 }
3028 public function setUserUploadedVolumeInfo(Google_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo) {
3029 $this->userUploadedVolumeInfo = $userUploadedVolumeInfo;
3030 }
3031 public function getUserUploadedVolumeInfo() {
3032 return $this->userUploadedVolumeInfo;
3033 }
3034 }
3035
3036 class Google_VolumeUserInfoUserUploadedVolumeInfo extends Google_Model {
3037 public $processingState;
3038 public function setProcessingState( $processingState) {
3039 $this->processingState = $processingState;
3040 }
3041 public function getProcessingState() {
3042 return $this->processingState;
3043 }
3044 }
3045
3046 class Google_VolumeVolumeInfo extends Google_Model {
3047 public $authors;
3048 public $averageRating;
3049 public $canonicalVolumeLink;
3050 public $categories;
3051 public $contentVersion;
3052 public $description;
3053 protected $__dimensionsType = 'Google_VolumeVolumeInfoDimensions';
3054 protected $__dimensionsDataType = '';
3055 public $dimensions;
3056 protected $__imageLinksType = 'Google_VolumeVolumeInfoImageLinks';
3057 protected $__imageLinksDataType = '';
3058 public $imageLinks;
3059 protected $__industryIdentifiersType = 'Google_VolumeVolumeInfoIndustryIdentifiers';
3060 protected $__industryIdentifiersDataType = 'array';
3061 public $industryIdentifiers;
3062 public $infoLink;
3063 public $language;
3064 public $mainCategory;
3065 public $pageCount;
3066 public $previewLink;
3067 public $printType;
3068 public $publishedDate;
3069 public $publisher;
3070 public $ratingsCount;
3071 public $subtitle;
3072 public $title;
3073 public function setAuthors(/* array(Google_string) */ $authors) {
3074 $this->assertIsArray($authors, 'Google_string', __METHOD__);
3075 $this->authors = $authors;
3076 }
3077 public function getAuthors() {
3078 return $this->authors;
3079 }
3080 public function setAverageRating( $averageRating) {
3081 $this->averageRating = $averageRating;
3082 }
3083 public function getAverageRating() {
3084 return $this->averageRating;
3085 }
3086 public function setCanonicalVolumeLink( $canonicalVolumeLink) {
3087 $this->canonicalVolumeLink = $canonicalVolumeLink;
3088 }
3089 public function getCanonicalVolumeLink() {
3090 return $this->canonicalVolumeLink;
3091 }
3092 public function setCategories(/* array(Google_string) */ $categories) {
3093 $this->assertIsArray($categories, 'Google_string', __METHOD__);
3094 $this->categories = $categories;
3095 }
3096 public function getCategories() {
3097 return $this->categories;
3098 }
3099 public function setContentVersion( $contentVersion) {
3100 $this->contentVersion = $contentVersion;
3101 }
3102 public function getContentVersion() {
3103 return $this->contentVersion;
3104 }
3105 public function setDescription( $description) {
3106 $this->description = $description;
3107 }
3108 public function getDescription() {
3109 return $this->description;
3110 }
3111 public function setDimensions(Google_VolumeVolumeInfoDimensions $dimensions) {
3112 $this->dimensions = $dimensions;
3113 }
3114 public function getDimensions() {
3115 return $this->dimensions;
3116 }
3117 public function setImageLinks(Google_VolumeVolumeInfoImageLinks $imageLinks) {
3118 $this->imageLinks = $imageLinks;
3119 }
3120 public function getImageLinks() {
3121 return $this->imageLinks;
3122 }
3123 public function setIndustryIdentifiers(/* array(Google_VolumeVolumeInfoIndustryIdentifiers) */ $industryIdentifiers) {
3124 $this->assertIsArray($industryIdentifiers, 'Google_VolumeVolumeInfoIndustryIdentifiers', __METHOD__);
3125 $this->industryIdentifiers = $industryIdentifiers;
3126 }
3127 public function getIndustryIdentifiers() {
3128 return $this->industryIdentifiers;
3129 }
3130 public function setInfoLink( $infoLink) {
3131 $this->infoLink = $infoLink;
3132 }
3133 public function getInfoLink() {
3134 return $this->infoLink;
3135 }
3136 public function setLanguage( $language) {
3137 $this->language = $language;
3138 }
3139 public function getLanguage() {
3140 return $this->language;
3141 }
3142 public function setMainCategory( $mainCategory) {
3143 $this->mainCategory = $mainCategory;
3144 }
3145 public function getMainCategory() {
3146 return $this->mainCategory;
3147 }
3148 public function setPageCount( $pageCount) {
3149 $this->pageCount = $pageCount;
3150 }
3151 public function getPageCount() {
3152 return $this->pageCount;
3153 }
3154 public function setPreviewLink( $previewLink) {
3155 $this->previewLink = $previewLink;
3156 }
3157 public function getPreviewLink() {
3158 return $this->previewLink;
3159 }
3160 public function setPrintType( $printType) {
3161 $this->printType = $printType;
3162 }
3163 public function getPrintType() {
3164 return $this->printType;
3165 }
3166 public function setPublishedDate( $publishedDate) {
3167 $this->publishedDate = $publishedDate;
3168 }
3169 public function getPublishedDate() {
3170 return $this->publishedDate;
3171 }
3172 public function setPublisher( $publisher) {
3173 $this->publisher = $publisher;
3174 }
3175 public function getPublisher() {
3176 return $this->publisher;
3177 }
3178 public function setRatingsCount( $ratingsCount) {
3179 $this->ratingsCount = $ratingsCount;
3180 }
3181 public function getRatingsCount() {
3182 return $this->ratingsCount;
3183 }
3184 public function setSubtitle( $subtitle) {
3185 $this->subtitle = $subtitle;
3186 }
3187 public function getSubtitle() {
3188 return $this->subtitle;
3189 }
3190 public function setTitle( $title) {
3191 $this->title = $title;
3192 }
3193 public function getTitle() {
3194 return $this->title;
3195 }
3196 }
3197
3198 class Google_VolumeVolumeInfoDimensions extends Google_Model {
3199 public $height;
3200 public $thickness;
3201 public $width;
3202 public function setHeight( $height) {
3203 $this->height = $height;
3204 }
3205 public function getHeight() {
3206 return $this->height;
3207 }
3208 public function setThickness( $thickness) {
3209 $this->thickness = $thickness;
3210 }
3211 public function getThickness() {
3212 return $this->thickness;
3213 }
3214 public function setWidth( $width) {
3215 $this->width = $width;
3216 }
3217 public function getWidth() {
3218 return $this->width;
3219 }
3220 }
3221
3222 class Google_VolumeVolumeInfoImageLinks extends Google_Model {
3223 public $extraLarge;
3224 public $large;
3225 public $medium;
3226 public $small;
3227 public $smallThumbnail;
3228 public $thumbnail;
3229 public function setExtraLarge( $extraLarge) {
3230 $this->extraLarge = $extraLarge;
3231 }
3232 public function getExtraLarge() {
3233 return $this->extraLarge;
3234 }
3235 public function setLarge( $large) {
3236 $this->large = $large;
3237 }
3238 public function getLarge() {
3239 return $this->large;
3240 }
3241 public function setMedium( $medium) {
3242 $this->medium = $medium;
3243 }
3244 public function getMedium() {
3245 return $this->medium;
3246 }
3247 public function setSmall( $small) {
3248 $this->small = $small;
3249 }
3250 public function getSmall() {
3251 return $this->small;
3252 }
3253 public function setSmallThumbnail( $smallThumbnail) {
3254 $this->smallThumbnail = $smallThumbnail;
3255 }
3256 public function getSmallThumbnail() {
3257 return $this->smallThumbnail;
3258 }
3259 public function setThumbnail( $thumbnail) {
3260 $this->thumbnail = $thumbnail;
3261 }
3262 public function getThumbnail() {
3263 return $this->thumbnail;
3264 }
3265 }
3266
3267 class Google_VolumeVolumeInfoIndustryIdentifiers extends Google_Model {
3268 public $identifier;
3269 public $type;
3270 public function setIdentifier( $identifier) {
3271 $this->identifier = $identifier;
3272 }
3273 public function getIdentifier() {
3274 return $this->identifier;
3275 }
3276 public function setType( $type) {
3277 $this->type = $type;
3278 }
3279 public function getType() {
3280 return $this->type;
3281 }
3282 }
3283
3284 class Google_Volumeannotation extends Google_Model {
3285 public $annotationDataId;
3286 public $annotationDataLink;
3287 public $annotationType;
3288 protected $__contentRangesType = 'Google_VolumeannotationContentRanges';
3289 protected $__contentRangesDataType = '';
3290 public $contentRanges;
3291 public $data;
3292 public $deleted;
3293 public $id;
3294 public $kind;
3295 public $layerId;
3296 public $pageIds;
3297 public $selectedText;
3298 public $selfLink;
3299 public $updated;
3300 public $volumeId;
3301 public function setAnnotationDataId( $annotationDataId) {
3302 $this->annotationDataId = $annotationDataId;
3303 }
3304 public function getAnnotationDataId() {
3305 return $this->annotationDataId;
3306 }
3307 public function setAnnotationDataLink( $annotationDataLink) {
3308 $this->annotationDataLink = $annotationDataLink;
3309 }
3310 public function getAnnotationDataLink() {
3311 return $this->annotationDataLink;
3312 }
3313 public function setAnnotationType( $annotationType) {
3314 $this->annotationType = $annotationType;
3315 }
3316 public function getAnnotationType() {
3317 return $this->annotationType;
3318 }
3319 public function setContentRanges(Google_VolumeannotationContentRanges $contentRanges) {
3320 $this->contentRanges = $contentRanges;
3321 }
3322 public function getContentRanges() {
3323 return $this->contentRanges;
3324 }
3325 public function setData( $data) {
3326 $this->data = $data;
3327 }
3328 public function getData() {
3329 return $this->data;
3330 }
3331 public function setDeleted( $deleted) {
3332 $this->deleted = $deleted;
3333 }
3334 public function getDeleted() {
3335 return $this->deleted;
3336 }
3337 public function setId( $id) {
3338 $this->id = $id;
3339 }
3340 public function getId() {
3341 return $this->id;
3342 }
3343 public function setKind( $kind) {
3344 $this->kind = $kind;
3345 }
3346 public function getKind() {
3347 return $this->kind;
3348 }
3349 public function setLayerId( $layerId) {
3350 $this->layerId = $layerId;
3351 }
3352 public function getLayerId() {
3353 return $this->layerId;
3354 }
3355 public function setPageIds(/* array(Google_string) */ $pageIds) {
3356 $this->assertIsArray($pageIds, 'Google_string', __METHOD__);
3357 $this->pageIds = $pageIds;
3358 }
3359 public function getPageIds() {
3360 return $this->pageIds;
3361 }
3362 public function setSelectedText( $selectedText) {
3363 $this->selectedText = $selectedText;
3364 }
3365 public function getSelectedText() {
3366 return $this->selectedText;
3367 }
3368 public function setSelfLink( $selfLink) {
3369 $this->selfLink = $selfLink;
3370 }
3371 public function getSelfLink() {
3372 return $this->selfLink;
3373 }
3374 public function setUpdated( $updated) {
3375 $this->updated = $updated;
3376 }
3377 public function getUpdated() {
3378 return $this->updated;
3379 }
3380 public function setVolumeId( $volumeId) {
3381 $this->volumeId = $volumeId;
3382 }
3383 public function getVolumeId() {
3384 return $this->volumeId;
3385 }
3386 }
3387
3388 class Google_VolumeannotationContentRanges extends Google_Model {
3389 protected $__cfiRangeType = 'Google_BooksAnnotationsRange';
3390 protected $__cfiRangeDataType = '';
3391 public $cfiRange;
3392 public $contentVersion;
3393 protected $__gbImageRangeType = 'Google_BooksAnnotationsRange';
3394 protected $__gbImageRangeDataType = '';
3395 public $gbImageRange;
3396 protected $__gbTextRangeType = 'Google_BooksAnnotationsRange';
3397 protected $__gbTextRangeDataType = '';
3398 public $gbTextRange;
3399 public function setCfiRange(Google_BooksAnnotationsRange $cfiRange) {
3400 $this->cfiRange = $cfiRange;
3401 }
3402 public function getCfiRange() {
3403 return $this->cfiRange;
3404 }
3405 public function setContentVersion( $contentVersion) {
3406 $this->contentVersion = $contentVersion;
3407 }
3408 public function getContentVersion() {
3409 return $this->contentVersion;
3410 }
3411 public function setGbImageRange(Google_BooksAnnotationsRange $gbImageRange) {
3412 $this->gbImageRange = $gbImageRange;
3413 }
3414 public function getGbImageRange() {
3415 return $this->gbImageRange;
3416 }
3417 public function setGbTextRange(Google_BooksAnnotationsRange $gbTextRange) {
3418 $this->gbTextRange = $gbTextRange;
3419 }
3420 public function getGbTextRange() {
3421 return $this->gbTextRange;
3422 }
3423 }
3424
3425 class Google_Volumeannotations extends Google_Model {
3426 protected $__itemsType = 'Google_Volumeannotation';
3427 protected $__itemsDataType = 'array';
3428 public $items;
3429 public $kind;
3430 public $nextPageToken;
3431 public $totalItems;
3432 public $version;
3433 public function setItems(/* array(Google_Volumeannotation) */ $items) {
3434 $this->assertIsArray($items, 'Google_Volumeannotation', __METHOD__);
3435 $this->items = $items;
3436 }
3437 public function getItems() {
3438 return $this->items;
3439 }
3440 public function setKind( $kind) {
3441 $this->kind = $kind;
3442 }
3443 public function getKind() {
3444 return $this->kind;
3445 }
3446 public function setNextPageToken( $nextPageToken) {
3447 $this->nextPageToken = $nextPageToken;
3448 }
3449 public function getNextPageToken() {
3450 return $this->nextPageToken;
3451 }
3452 public function setTotalItems( $totalItems) {
3453 $this->totalItems = $totalItems;
3454 }
3455 public function getTotalItems() {
3456 return $this->totalItems;
3457 }
3458 public function setVersion( $version) {
3459 $this->version = $version;
3460 }
3461 public function getVersion() {
3462 return $this->version;
3463 }
3464 }
3465
3466 class Google_Volumes extends Google_Model {
3467 protected $__itemsType = 'Google_Volume';
3468 protected $__itemsDataType = 'array';
3469 public $items;
3470 public $kind;
3471 public $totalItems;
3472 public function setItems(/* array(Google_Volume) */ $items) {
3473 $this->assertIsArray($items, 'Google_Volume', __METHOD__);
3474 $this->items = $items;
3475 }
3476 public function getItems() {
3477 return $this->items;
3478 }
3479 public function setKind( $kind) {
3480 $this->kind = $kind;
3481 }
3482 public function getKind() {
3483 return $this->kind;
3484 }
3485 public function setTotalItems( $totalItems) {
3486 $this->totalItems = $totalItems;
3487 }
3488 public function getTotalItems() {
3489 return $this->totalItems;
3490 }
3491 }
3492