Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 - 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 "layers" collection of methods.
19
   * Typical usage is:
20
   *  <code>
21
   *   $booksService = new Google_BooksService(...);
22
   *   $layers = $booksService->layers;
23
   *  </code>
24
   */
25
  class Google_LayersServiceResource extends Google_ServiceResource {
26
 
27
 
28
    /**
29
     * List the layer summaries for a volume. (layers.list)
30
     *
31
     * @param string $volumeId The volume to retrieve layers for.
32
     * @param array $optParams Optional parameters.
33
     *
34
     * @opt_param string pageToken The value of the nextToken from the previous page.
35
     * @opt_param string contentVersion The content version for the requested volume.
36
     * @opt_param string maxResults Maximum number of results to return
37
     * @opt_param string source String to identify the originator of this request.
38
     * @return Google_Layersummaries
39
     */
40
    public function listLayers($volumeId, $optParams = array()) {
41
      $params = array('volumeId' => $volumeId);
42
      $params = array_merge($params, $optParams);
43
      $data = $this->__call('list', array($params));
44
      if ($this->useObjects()) {
45
        return new Google_Layersummaries($data);
46
      } else {
47
        return $data;
48
      }
49
    }
50
    /**
51
     * Gets the layer summary for a volume. (layers.get)
52
     *
53
     * @param string $volumeId The volume to retrieve layers for.
54
     * @param string $summaryId The ID for the layer to get the summary for.
55
     * @param array $optParams Optional parameters.
56
     *
57
     * @opt_param string source String to identify the originator of this request.
58
     * @opt_param string contentVersion The content version for the requested volume.
59
     * @return Google_Layersummary
60
     */
61
    public function get($volumeId, $summaryId, $optParams = array()) {
62
      $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
63
      $params = array_merge($params, $optParams);
64
      $data = $this->__call('get', array($params));
65
      if ($this->useObjects()) {
66
        return new Google_Layersummary($data);
67
      } else {
68
        return $data;
69
      }
70
    }
71
  }
72
 
73
  /**
74
   * The "annotationData" collection of methods.
75
   * Typical usage is:
76
   *  <code>
77
   *   $booksService = new Google_BooksService(...);
78
   *   $annotationData = $booksService->annotationData;
79
   *  </code>
80
   */
81
  class Google_LayersAnnotationDataServiceResource extends Google_ServiceResource {
82
 
83
 
84
    /**
85
     * Gets the annotation data for a volume and layer. (annotationData.list)
86
     *
87
     * @param string $volumeId The volume to retrieve annotation data for.
88
     * @param string $layerId The ID for the layer to get the annotation data.
89
     * @param string $contentVersion The content version for the requested volume.
90
     * @param array $optParams Optional parameters.
91
     *
92
     * @opt_param int scale The requested scale for the image.
93
     * @opt_param string source String to identify the originator of this request.
94
     * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
95
     * @opt_param int h The requested pixel height for any images. If height is provided width must also be provided.
96
     * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
97
     * @opt_param string maxResults Maximum number of results to return
98
     * @opt_param string annotationDataId The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.
99
     * @opt_param string pageToken The value of the nextToken from the previous page.
100
     * @opt_param int w The requested pixel width for any images. If width is provided height must also be provided.
101
     * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
102
     * @return Google_Annotationsdata
103
     */
104
    public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array()) {
105
      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
106
      $params = array_merge($params, $optParams);
107
      $data = $this->__call('list', array($params));
108
      if ($this->useObjects()) {
109
        return new Google_Annotationsdata($data);
110
      } else {
111
        return $data;
112
      }
113
    }
114
    /**
115
     * Gets the annotation data. (annotationData.get)
116
     *
117
     * @param string $volumeId The volume to retrieve annotations for.
118
     * @param string $layerId The ID for the layer to get the annotations.
119
     * @param string $annotationDataId The ID of the annotation data to retrieve.
120
     * @param string $contentVersion The content version for the volume you are trying to retrieve.
121
     * @param array $optParams Optional parameters.
122
     *
123
     * @opt_param int scale The requested scale for the image.
124
     * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
125
     * @opt_param int h The requested pixel height for any images. If height is provided width must also be provided.
126
     * @opt_param string source String to identify the originator of this request.
127
     * @opt_param int w The requested pixel width for any images. If width is provided height must also be provided.
128
     * @return Google_Annotationdata
129
     */
130
    public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array()) {
131
      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
132
      $params = array_merge($params, $optParams);
133
      $data = $this->__call('get', array($params));
134
      if ($this->useObjects()) {
135
        return new Google_Annotationdata($data);
136
      } else {
137
        return $data;
138
      }
139
    }
140
  }
141
  /**
142
   * The "volumeAnnotations" collection of methods.
143
   * Typical usage is:
144
   *  <code>
145
   *   $booksService = new Google_BooksService(...);
146
   *   $volumeAnnotations = $booksService->volumeAnnotations;
147
   *  </code>
148
   */
149
  class Google_LayersVolumeAnnotationsServiceResource extends Google_ServiceResource {
150
 
151
 
152
    /**
153
     * Gets the volume annotations for a volume and layer. (volumeAnnotations.list)
154
     *
155
     * @param string $volumeId The volume to retrieve annotations for.
156
     * @param string $layerId The ID for the layer to get the annotations.
157
     * @param string $contentVersion The content version for the requested volume.
158
     * @param array $optParams Optional parameters.
159
     *
160
     * @opt_param bool showDeleted Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
161
     * @opt_param string endPosition The end position to end retrieving data from.
162
     * @opt_param string endOffset The end offset to end retrieving data from.
163
     * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
164
     * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
165
     * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
166
     * @opt_param string maxResults Maximum number of results to return
167
     * @opt_param string pageToken The value of the nextToken from the previous page.
168
     * @opt_param string source String to identify the originator of this request.
169
     * @opt_param string startOffset The start offset to start retrieving data from.
170
     * @opt_param string startPosition The start position to start retrieving data from.
171
     * @return Google_Volumeannotations
172
     */
173
    public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array()) {
174
      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
175
      $params = array_merge($params, $optParams);
176
      $data = $this->__call('list', array($params));
177
      if ($this->useObjects()) {
178
        return new Google_Volumeannotations($data);
179
      } else {
180
        return $data;
181
      }
182
    }
183
    /**
184
     * Gets the volume annotation. (volumeAnnotations.get)
185
     *
186
     * @param string $volumeId The volume to retrieve annotations for.
187
     * @param string $layerId The ID for the layer to get the annotations.
188
     * @param string $annotationId The ID of the volume annotation to retrieve.
189
     * @param array $optParams Optional parameters.
190
     *
191
     * @opt_param string locale The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
192
     * @opt_param string source String to identify the originator of this request.
193
     * @return Google_Volumeannotation
194
     */
195
    public function get($volumeId, $layerId, $annotationId, $optParams = array()) {
196
      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
197
      $params = array_merge($params, $optParams);
198
      $data = $this->__call('get', array($params));
199
      if ($this->useObjects()) {
200
        return new Google_Volumeannotation($data);
201
      } else {
202
        return $data;
203
      }
204
    }
205
  }
206
 
207
  /**
208
   * The "bookshelves" collection of methods.
209
   * Typical usage is:
210
   *  <code>
211
   *   $booksService = new Google_BooksService(...);
212
   *   $bookshelves = $booksService->bookshelves;
213
   *  </code>
214
   */
215
  class Google_BookshelvesServiceResource extends Google_ServiceResource {
216
 
217
 
218
    /**
219
     * Retrieves a list of public bookshelves for the specified user. (bookshelves.list)
220
     *
221
     * @param string $userId ID of user for whom to retrieve bookshelves.
222
     * @param array $optParams Optional parameters.
223
     *
224
     * @opt_param string source String to identify the originator of this request.
225
     * @return Google_Bookshelves
226
     */
227
    public function listBookshelves($userId, $optParams = array()) {
228
      $params = array('userId' => $userId);
229
      $params = array_merge($params, $optParams);
230
      $data = $this->__call('list', array($params));
231
      if ($this->useObjects()) {
232
        return new Google_Bookshelves($data);
233
      } else {
234
        return $data;
235
      }
236
    }
237
    /**
238
     * Retrieves metadata for a specific bookshelf for the specified user. (bookshelves.get)
239
     *
240
     * @param string $userId ID of user for whom to retrieve bookshelves.
241
     * @param string $shelf ID of bookshelf to retrieve.
242
     * @param array $optParams Optional parameters.
243
     *
244
     * @opt_param string source String to identify the originator of this request.
245
     * @return Google_Bookshelf
246
     */
247
    public function get($userId, $shelf, $optParams = array()) {
248
      $params = array('userId' => $userId, 'shelf' => $shelf);
249
      $params = array_merge($params, $optParams);
250
      $data = $this->__call('get', array($params));
251
      if ($this->useObjects()) {
252
        return new Google_Bookshelf($data);
253
      } else {
254
        return $data;
255
      }
256
    }
257
  }
258
 
259
  /**
260
   * The "volumes" collection of methods.
261
   * Typical usage is:
262
   *  <code>
263
   *   $booksService = new Google_BooksService(...);
264
   *   $volumes = $booksService->volumes;
265
   *  </code>
266
   */
267
  class Google_BookshelvesVolumesServiceResource extends Google_ServiceResource {
268
 
269
 
270
    /**
271
     * Retrieves volumes in a specific bookshelf for the specified user. (volumes.list)
272
     *
273
     * @param string $userId ID of user for whom to retrieve bookshelf volumes.
274
     * @param string $shelf ID of bookshelf to retrieve volumes.
275
     * @param array $optParams Optional parameters.
276
     *
277
     * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults to false.
278
     * @opt_param string maxResults Maximum number of results to return
279
     * @opt_param string source String to identify the originator of this request.
280
     * @opt_param string startIndex Index of the first element to return (starts at 0)
281
     * @return Google_Volumes
282
     */
283
    public function listBookshelvesVolumes($userId, $shelf, $optParams = array()) {
284
      $params = array('userId' => $userId, 'shelf' => $shelf);
285
      $params = array_merge($params, $optParams);
286
      $data = $this->__call('list', array($params));
287
      if ($this->useObjects()) {
288
        return new Google_Volumes($data);
289
      } else {
290
        return $data;
291
      }
292
    }
293
  }
294
 
295
  /**
296
   * The "myconfig" collection of methods.
297
   * Typical usage is:
298
   *  <code>
299
   *   $booksService = new Google_BooksService(...);
300
   *   $myconfig = $booksService->myconfig;
301
   *  </code>
302
   */
303
  class Google_MyconfigServiceResource extends Google_ServiceResource {
304
 
305
 
306
    /**
307
     * Release downloaded content access restriction. (myconfig.releaseDownloadAccess)
308
     *
309
     * @param string $volumeIds The volume(s) to release restrictions for.
310
     * @param string $cpksver The device/version ID from which to release the restriction.
311
     * @param array $optParams Optional parameters.
312
     *
313
     * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
314
     * @opt_param string source String to identify the originator of this request.
315
     * @return Google_DownloadAccesses
316
     */
317
    public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array()) {
318
      $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
319
      $params = array_merge($params, $optParams);
320
      $data = $this->__call('releaseDownloadAccess', array($params));
321
      if ($this->useObjects()) {
322
        return new Google_DownloadAccesses($data);
323
      } else {
324
        return $data;
325
      }
326
    }
327
    /**
328
     * Request concurrent and download access restrictions. (myconfig.requestAccess)
329
     *
330
     * @param string $source String to identify the originator of this request.
331
     * @param string $volumeId The volume to request concurrent/download restrictions for.
332
     * @param string $nonce The client nonce value.
333
     * @param string $cpksver The device/version ID from which to request the restrictions.
334
     * @param array $optParams Optional parameters.
335
     *
336
     * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
337
     * @return Google_RequestAccess
338
     */
339
    public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array()) {
340
      $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
341
      $params = array_merge($params, $optParams);
342
      $data = $this->__call('requestAccess', array($params));
343
      if ($this->useObjects()) {
344
        return new Google_RequestAccess($data);
345
      } else {
346
        return $data;
347
      }
348
    }
349
    /**
350
     * Request downloaded content access for specified volumes on the My eBooks shelf.
351
     * (myconfig.syncVolumeLicenses)
352
     *
353
     * @param string $source String to identify the originator of this request.
354
     * @param string $nonce The client nonce value.
355
     * @param string $cpksver The device/version ID from which to release the restriction.
356
     * @param array $optParams Optional parameters.
357
     *
358
     * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
359
     * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults to false.
360
     * @opt_param string volumeIds The volume(s) to request download restrictions for.
361
     * @return Google_Volumes
362
     */
363
    public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array()) {
364
      $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
365
      $params = array_merge($params, $optParams);
366
      $data = $this->__call('syncVolumeLicenses', array($params));
367
      if ($this->useObjects()) {
368
        return new Google_Volumes($data);
369
      } else {
370
        return $data;
371
      }
372
    }
373
  }
374
 
375
  /**
376
   * The "volumes" collection of methods.
377
   * Typical usage is:
378
   *  <code>
379
   *   $booksService = new Google_BooksService(...);
380
   *   $volumes = $booksService->volumes;
381
   *  </code>
382
   */
383
  class Google_VolumesServiceResource extends Google_ServiceResource {
384
 
385
 
386
    /**
387
     * Performs a book search. (volumes.list)
388
     *
389
     * @param string $q Full-text search query string.
390
     * @param array $optParams Optional parameters.
391
     *
392
     * @opt_param string orderBy Sort search results.
393
     * @opt_param string projection Restrict information returned to a set of selected fields.
394
     * @opt_param string libraryRestrict Restrict search to this user's library.
395
     * @opt_param string langRestrict Restrict results to books with this language code.
396
     * @opt_param bool showPreorders Set to true to show books available for preorder. Defaults to false.
397
     * @opt_param string printType Restrict to books or magazines.
398
     * @opt_param string maxResults Maximum number of results to return.
399
     * @opt_param string filter Filter search results.
400
     * @opt_param string source String to identify the originator of this request.
401
     * @opt_param string startIndex Index of the first result to return (starts at 0)
402
     * @opt_param string download Restrict to volumes by download availability.
403
     * @opt_param string partner Restrict and brand results for partner ID.
404
     * @return Google_Volumes
405
     */
406
    public function listVolumes($q, $optParams = array()) {
407
      $params = array('q' => $q);
408
      $params = array_merge($params, $optParams);
409
      $data = $this->__call('list', array($params));
410
      if ($this->useObjects()) {
411
        return new Google_Volumes($data);
412
      } else {
413
        return $data;
414
      }
415
    }
416
    /**
417
     * Gets volume information for a single volume. (volumes.get)
418
     *
419
     * @param string $volumeId ID of volume to retrieve.
420
     * @param array $optParams Optional parameters.
421
     *
422
     * @opt_param string source String to identify the originator of this request.
423
     * @opt_param string country ISO-3166-1 code to override the IP-based location.
424
     * @opt_param string projection Restrict information returned to a set of selected fields.
425
     * @opt_param string partner Brand results for partner ID.
426
     * @return Google_Volume
427
     */
428
    public function get($volumeId, $optParams = array()) {
429
      $params = array('volumeId' => $volumeId);
430
      $params = array_merge($params, $optParams);
431
      $data = $this->__call('get', array($params));
432
      if ($this->useObjects()) {
433
        return new Google_Volume($data);
434
      } else {
435
        return $data;
436
      }
437
    }
438
  }
439
 
440
  /**
441
   * The "associated" collection of methods.
442
   * Typical usage is:
443
   *  <code>
444
   *   $booksService = new Google_BooksService(...);
445
   *   $associated = $booksService->associated;
446
   *  </code>
447
   */
448
  class Google_VolumesAssociatedServiceResource extends Google_ServiceResource {
449
 
450
 
451
    /**
452
     * Return a list of associated books. (associated.list)
453
     *
454
     * @param string $volumeId ID of the source volume.
455
     * @param array $optParams Optional parameters.
456
     *
457
     * @opt_param string projection Restrict information returned to a set of selected fields.
458
     * @opt_param string maxResults Maximum number of results to return.
459
     * @opt_param string filter Filter search results.
460
     * @opt_param string source String to identify the originator of this request.
461
     * @opt_param string startIndex Index of the first result to return (starts at 0)
462
     * @opt_param string association Association type.
463
     * @return Google_Volumes
464
     */
465
    public function listVolumesAssociated($volumeId, $optParams = array()) {
466
      $params = array('volumeId' => $volumeId);
467
      $params = array_merge($params, $optParams);
468
      $data = $this->__call('list', array($params));
469
      if ($this->useObjects()) {
470
        return new Google_Volumes($data);
471
      } else {
472
        return $data;
473
      }
474
    }
475
  }
476
 
477
  /**
478
   * The "mylibrary" collection of methods.
479
   * Typical usage is:
480
   *  <code>
481
   *   $booksService = new Google_BooksService(...);
482
   *   $mylibrary = $booksService->mylibrary;
483
   *  </code>
484
   */
485
  class Google_MylibraryServiceResource extends Google_ServiceResource {
486
 
487
 
488
  }
489
 
490
  /**
491
   * The "bookshelves" collection of methods.
492
   * Typical usage is:
493
   *  <code>
494
   *   $booksService = new Google_BooksService(...);
495
   *   $bookshelves = $booksService->bookshelves;
496
   *  </code>
497
   */
498
  class Google_MylibraryBookshelvesServiceResource extends Google_ServiceResource {
499
 
500
 
501
    /**
502
     * Removes a volume from a bookshelf. (bookshelves.removeVolume)
503
     *
504
     * @param string $shelf ID of bookshelf from which to remove a volume.
505
     * @param string $volumeId ID of volume to remove.
506
     * @param array $optParams Optional parameters.
507
     *
508
     * @opt_param string source String to identify the originator of this request.
509
     */
510
    public function removeVolume($shelf, $volumeId, $optParams = array()) {
511
      $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
512
      $params = array_merge($params, $optParams);
513
      $data = $this->__call('removeVolume', array($params));
514
      return $data;
515
    }
516
    /**
517
     * Retrieves metadata for a specific bookshelf belonging to the authenticated user.
518
     * (bookshelves.get)
519
     *
520
     * @param string $shelf ID of bookshelf to retrieve.
521
     * @param array $optParams Optional parameters.
522
     *
523
     * @opt_param string source String to identify the originator of this request.
524
     * @return Google_Bookshelf
525
     */
526
    public function get($shelf, $optParams = array()) {
527
      $params = array('shelf' => $shelf);
528
      $params = array_merge($params, $optParams);
529
      $data = $this->__call('get', array($params));
530
      if ($this->useObjects()) {
531
        return new Google_Bookshelf($data);
532
      } else {
533
        return $data;
534
      }
535
    }
536
    /**
537
     * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
538
     *
539
     * @param string $shelf ID of bookshelf from which to remove a volume.
540
     * @param array $optParams Optional parameters.
541
     *
542
     * @opt_param string source String to identify the originator of this request.
543
     */
544
    public function clearVolumes($shelf, $optParams = array()) {
545
      $params = array('shelf' => $shelf);
546
      $params = array_merge($params, $optParams);
547
      $data = $this->__call('clearVolumes', array($params));
548
      return $data;
549
    }
550
    /**
551
     * Retrieves a list of bookshelves belonging to the authenticated user. (bookshelves.list)
552
     *
553
     * @param array $optParams Optional parameters.
554
     *
555
     * @opt_param string source String to identify the originator of this request.
556
     * @return Google_Bookshelves
557
     */
558
    public function listMylibraryBookshelves($optParams = array()) {
559
      $params = array();
560
      $params = array_merge($params, $optParams);
561
      $data = $this->__call('list', array($params));
562
      if ($this->useObjects()) {
563
        return new Google_Bookshelves($data);
564
      } else {
565
        return $data;
566
      }
567
    }
568
    /**
569
     * Adds a volume to a bookshelf. (bookshelves.addVolume)
570
     *
571
     * @param string $shelf ID of bookshelf to which to add a volume.
572
     * @param string $volumeId ID of volume to add.
573
     * @param array $optParams Optional parameters.
574
     *
575
     * @opt_param string source String to identify the originator of this request.
576
     */
577
    public function addVolume($shelf, $volumeId, $optParams = array()) {
578
      $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
579
      $params = array_merge($params, $optParams);
580
      $data = $this->__call('addVolume', array($params));
581
      return $data;
582
    }
583
    /**
584
     * Moves a volume within a bookshelf. (bookshelves.moveVolume)
585
     *
586
     * @param string $shelf ID of bookshelf with the volume.
587
     * @param string $volumeId ID of volume to move.
588
     * @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.)
589
     * @param array $optParams Optional parameters.
590
     *
591
     * @opt_param string source String to identify the originator of this request.
592
     */
593
    public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array()) {
594
      $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition);
595
      $params = array_merge($params, $optParams);
596
      $data = $this->__call('moveVolume', array($params));
597
      return $data;
598
    }
599
  }
600
 
601
  /**
602
   * The "volumes" collection of methods.
603
   * Typical usage is:
604
   *  <code>
605
   *   $booksService = new Google_BooksService(...);
606
   *   $volumes = $booksService->volumes;
607
   *  </code>
608
   */
609
  class Google_MylibraryBookshelvesVolumesServiceResource extends Google_ServiceResource {
610
 
611
 
612
    /**
613
     * Gets volume information for volumes on a bookshelf. (volumes.list)
614
     *
615
     * @param string $shelf The bookshelf ID or name retrieve volumes for.
616
     * @param array $optParams Optional parameters.
617
     *
618
     * @opt_param string projection Restrict information returned to a set of selected fields.
619
     * @opt_param string country ISO-3166-1 code to override the IP-based location.
620
     * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults to false.
621
     * @opt_param string maxResults Maximum number of results to return
622
     * @opt_param string q Full-text search query string in this bookshelf.
623
     * @opt_param string source String to identify the originator of this request.
624
     * @opt_param string startIndex Index of the first element to return (starts at 0)
625
     * @return Google_Volumes
626
     */
627
    public function listMylibraryBookshelvesVolumes($shelf, $optParams = array()) {
628
      $params = array('shelf' => $shelf);
629
      $params = array_merge($params, $optParams);
630
      $data = $this->__call('list', array($params));
631
      if ($this->useObjects()) {
632
        return new Google_Volumes($data);
633
      } else {
634
        return $data;
635
      }
636
    }
637
  }
638
  /**
639
   * The "readingpositions" collection of methods.
640
   * Typical usage is:
641
   *  <code>
642
   *   $booksService = new Google_BooksService(...);
643
   *   $readingpositions = $booksService->readingpositions;
644
   *  </code>
645
   */
646
  class Google_MylibraryReadingpositionsServiceResource extends Google_ServiceResource {
647
 
648
 
649
    /**
650
     * Sets my reading position information for a volume. (readingpositions.setPosition)
651
     *
652
     * @param string $volumeId ID of volume for which to update the reading position.
653
     * @param string $timestamp RFC 3339 UTC format timestamp associated with this reading position.
654
     * @param string $position Position string for the new volume reading position.
655
     * @param array $optParams Optional parameters.
656
     *
657
     * @opt_param string source String to identify the originator of this request.
658
     * @opt_param string contentVersion Volume content version for which this reading position applies.
659
     * @opt_param string action Action that caused this reading position to be set.
660
     */
661
    public function setPosition($volumeId, $timestamp, $position, $optParams = array()) {
662
      $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position);
663
      $params = array_merge($params, $optParams);
664
      $data = $this->__call('setPosition', array($params));
665
      return $data;
666
    }
667
    /**
668
     * Retrieves my reading position information for a volume. (readingpositions.get)
669
     *
670
     * @param string $volumeId ID of volume for which to retrieve a reading position.
671
     * @param array $optParams Optional parameters.
672
     *
673
     * @opt_param string source String to identify the originator of this request.
674
     * @opt_param string contentVersion Volume content version for which this reading position is requested.
675
     * @return Google_ReadingPosition
676
     */
677
    public function get($volumeId, $optParams = array()) {
678
      $params = array('volumeId' => $volumeId);
679
      $params = array_merge($params, $optParams);
680
      $data = $this->__call('get', array($params));
681
      if ($this->useObjects()) {
682
        return new Google_ReadingPosition($data);
683
      } else {
684
        return $data;
685
      }
686
    }
687
  }
688
  /**
689
   * The "annotations" collection of methods.
690
   * Typical usage is:
691
   *  <code>
692
   *   $booksService = new Google_BooksService(...);
693
   *   $annotations = $booksService->annotations;
694
   *  </code>
695
   */
696
  class Google_MylibraryAnnotationsServiceResource extends Google_ServiceResource {
697
 
698
 
699
    /**
700
     * Inserts a new annotation. (annotations.insert)
701
     *
702
     * @param Google_Annotation $postBody
703
     * @param array $optParams Optional parameters.
704
     *
705
     * @opt_param string source String to identify the originator of this request.
706
     * @return Google_Annotation
707
     */
708
    public function insert(Google_Annotation $postBody, $optParams = array()) {
709
      $params = array('postBody' => $postBody);
710
      $params = array_merge($params, $optParams);
711
      $data = $this->__call('insert', array($params));
712
      if ($this->useObjects()) {
713
        return new Google_Annotation($data);
714
      } else {
715
        return $data;
716
      }
717
    }
718
    /**
719
     * Gets an annotation by its ID. (annotations.get)
720
     *
721
     * @param string $annotationId The ID for the annotation to retrieve.
722
     * @param array $optParams Optional parameters.
723
     *
724
     * @opt_param string source String to identify the originator of this request.
725
     * @return Google_Annotation
726
     */
727
    public function get($annotationId, $optParams = array()) {
728
      $params = array('annotationId' => $annotationId);
729
      $params = array_merge($params, $optParams);
730
      $data = $this->__call('get', array($params));
731
      if ($this->useObjects()) {
732
        return new Google_Annotation($data);
733
      } else {
734
        return $data;
735
      }
736
    }
737
    /**
738
     * Retrieves a list of annotations, possibly filtered. (annotations.list)
739
     *
740
     * @param array $optParams Optional parameters.
741
     *
742
     * @opt_param bool showDeleted Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
743
     * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
744
     * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
745
     * @opt_param string volumeId The volume to restrict annotations to.
746
     * @opt_param string maxResults Maximum number of results to return
747
     * @opt_param string pageToken The value of the nextToken from the previous page.
748
     * @opt_param string pageIds The page ID(s) for the volume that is being queried.
749
     * @opt_param string contentVersion The content version for the requested volume.
750
     * @opt_param string source String to identify the originator of this request.
751
     * @opt_param string layerId The layer ID to limit annotation by.
752
     * @return Google_Annotations
753
     */
754
    public function listMylibraryAnnotations($optParams = array()) {
755
      $params = array();
756
      $params = array_merge($params, $optParams);
757
      $data = $this->__call('list', array($params));
758
      if ($this->useObjects()) {
759
        return new Google_Annotations($data);
760
      } else {
761
        return $data;
762
      }
763
    }
764
    /**
765
     * Updates an existing annotation. (annotations.update)
766
     *
767
     * @param string $annotationId The ID for the annotation to update.
768
     * @param Google_Annotation $postBody
769
     * @param array $optParams Optional parameters.
770
     *
771
     * @opt_param string source String to identify the originator of this request.
772
     * @return Google_Annotation
773
     */
774
    public function update($annotationId, Google_Annotation $postBody, $optParams = array()) {
775
      $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
776
      $params = array_merge($params, $optParams);
777
      $data = $this->__call('update', array($params));
778
      if ($this->useObjects()) {
779
        return new Google_Annotation($data);
780
      } else {
781
        return $data;
782
      }
783
    }
784
    /**
785
     * Deletes an annotation. (annotations.delete)
786
     *
787
     * @param string $annotationId The ID for the annotation to delete.
788
     * @param array $optParams Optional parameters.
789
     *
790
     * @opt_param string source String to identify the originator of this request.
791
     */
792
    public function delete($annotationId, $optParams = array()) {
793
      $params = array('annotationId' => $annotationId);
794
      $params = array_merge($params, $optParams);
795
      $data = $this->__call('delete', array($params));
796
      return $data;
797
    }
798
  }
799
 
800
/**
801
 * Service definition for Google_Books (v1).
802
 *
803
 * <p>
804
 * Lets you search for books and manage your Google Books library.
805
 * </p>
806
 *
807
 * <p>
808
 * For more information about this service, see the
809
 * <a href="https://code.google.com/apis/books/docs/v1/getting_started.html" target="_blank">API Documentation</a>
810
 * </p>
811
 *
812
 * @author Google, Inc.
813
 */
814
class Google_BooksService extends Google_Service {
815
  public $layers;
816
  public $layers_annotationData;
817
  public $layers_volumeAnnotations;
818
  public $bookshelves;
819
  public $bookshelves_volumes;
820
  public $myconfig;
821
  public $volumes;
822
  public $volumes_associated;
823
  public $mylibrary_bookshelves;
824
  public $mylibrary_bookshelves_volumes;
825
  public $mylibrary_readingpositions;
826
  public $mylibrary_annotations;
827
  /**
828
   * Constructs the internal representation of the Books service.
829
   *
830
   * @param Google_Client $client
831
   */
832
  public function __construct(Google_Client $client) {
833
    $this->servicePath = 'books/v1/';
834
    $this->version = 'v1';
835
    $this->serviceName = 'books';
836
 
837
    $client->addService($this->serviceName, $this->version);
838
    $this->layers = new Google_LayersServiceResource($this, $this->serviceName, 'layers', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "contentVersion": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "200", "format": "uint32"}, "source": {"type": "string", "location": "query"}}, "id": "books.layers.list", "httpMethod": "GET", "path": "volumes/{volumeId}/layersummary", "response": {"$ref": "Layersummaries"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"source": {"type": "string", "location": "query"}, "contentVersion": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "summaryId": {"required": true, "type": "string", "location": "path"}}, "id": "books.layers.get", "httpMethod": "GET", "path": "volumes/{volumeId}/layersummary/{summaryId}", "response": {"$ref": "Layersummary"}}}}', true));
839
    $this->layers_annotationData = new Google_LayersAnnotationDataServiceResource($this, $this->serviceName, 'annotationData', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"scale": {"minimum": "0", "type": "integer", "location": "query", "format": "int32"}, "updatedMax": {"type": "string", "location": "query"}, "locale": {"type": "string", "location": "query"}, "h": {"type": "integer", "location": "query", "format": "int32"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "200", "format": "uint32"}, "annotationDataId": {"repeated": true, "type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "contentVersion": {"required": true, "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "w": {"type": "integer", "location": "query", "format": "int32"}, "layerId": {"required": true, "type": "string", "location": "path"}, "updatedMin": {"type": "string", "location": "query"}}, "id": "books.layers.annotationData.list", "httpMethod": "GET", "path": "volumes/{volumeId}/layers/{layerId}/data", "response": {"$ref": "Annotationsdata"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"scale": {"minimum": "0", "type": "integer", "location": "query", "format": "int32"}, "locale": {"type": "string", "location": "query"}, "h": {"type": "integer", "location": "query", "format": "int32"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "annotationDataId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}, "contentVersion": {"required": true, "type": "string", "location": "query"}, "w": {"type": "integer", "location": "query", "format": "int32"}, "layerId": {"required": true, "type": "string", "location": "path"}}, "id": "books.layers.annotationData.get", "httpMethod": "GET", "path": "volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}", "response": {"$ref": "Annotationdata"}}}}', true));
840
    $this->layers_volumeAnnotations = new Google_LayersVolumeAnnotationsServiceResource($this, $this->serviceName, 'volumeAnnotations', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"showDeleted": {"type": "boolean", "location": "query"}, "endPosition": {"type": "string", "location": "query"}, "endOffset": {"type": "string", "location": "query"}, "locale": {"type": "string", "location": "query"}, "updatedMin": {"type": "string", "location": "query"}, "updatedMax": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "200", "format": "uint32"}, "pageToken": {"type": "string", "location": "query"}, "contentVersion": {"required": true, "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "startOffset": {"type": "string", "location": "query"}, "layerId": {"required": true, "type": "string", "location": "path"}, "startPosition": {"type": "string", "location": "query"}}, "id": "books.layers.volumeAnnotations.list", "httpMethod": "GET", "path": "volumes/{volumeId}/layers/{layerId}", "response": {"$ref": "Volumeannotations"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"locale": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "annotationId": {"required": true, "type": "string", "location": "path"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "layerId": {"required": true, "type": "string", "location": "path"}}, "id": "books.layers.volumeAnnotations.get", "httpMethod": "GET", "path": "volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}", "response": {"$ref": "Volumeannotation"}}}}', true));
841
    $this->bookshelves = new Google_BookshelvesServiceResource($this, $this->serviceName, 'bookshelves', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"source": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}}, "id": "books.bookshelves.list", "httpMethod": "GET", "path": "users/{userId}/bookshelves", "response": {"$ref": "Bookshelves"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"shelf": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.bookshelves.get", "httpMethod": "GET", "path": "users/{userId}/bookshelves/{shelf}", "response": {"$ref": "Bookshelf"}}}}', true));
842
    $this->bookshelves_volumes = new Google_BookshelvesVolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"shelf": {"required": true, "type": "string", "location": "path"}, "showPreorders": {"type": "boolean", "location": "query"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}, "source": {"type": "string", "location": "query"}, "startIndex": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}, "userId": {"required": true, "type": "string", "location": "path"}}, "id": "books.bookshelves.volumes.list", "httpMethod": "GET", "path": "users/{userId}/bookshelves/{shelf}/volumes", "response": {"$ref": "Volumes"}}}}', true));
843
    $this->myconfig = new Google_MyconfigServiceResource($this, $this->serviceName, 'myconfig', json_decode('{"methods": {"releaseDownloadAccess": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"locale": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "cpksver": {"required": true, "type": "string", "location": "query"}, "volumeIds": {"repeated": true, "required": true, "type": "string", "location": "query"}}, "id": "books.myconfig.releaseDownloadAccess", "httpMethod": "POST", "path": "myconfig/releaseDownloadAccess", "response": {"$ref": "DownloadAccesses"}}, "requestAccess": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"locale": {"type": "string", "location": "query"}, "nonce": {"required": true, "type": "string", "location": "query"}, "cpksver": {"required": true, "type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "source": {"required": true, "type": "string", "location": "query"}}, "id": "books.myconfig.requestAccess", "httpMethod": "POST", "path": "myconfig/requestAccess", "response": {"$ref": "RequestAccess"}}, "syncVolumeLicenses": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"nonce": {"required": true, "type": "string", "location": "query"}, "locale": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "cpksver": {"required": true, "type": "string", "location": "query"}, "source": {"required": true, "type": "string", "location": "query"}, "volumeIds": {"repeated": true, "type": "string", "location": "query"}}, "id": "books.myconfig.syncVolumeLicenses", "httpMethod": "POST", "path": "myconfig/syncVolumeLicenses", "response": {"$ref": "Volumes"}}}}', true));
844
    $this->volumes = new Google_VolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"orderBy": {"enum": ["newest", "relevance"], "type": "string", "location": "query"}, "q": {"required": true, "type": "string", "location": "query"}, "projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "libraryRestrict": {"enum": ["my-library", "no-restrict"], "type": "string", "location": "query"}, "langRestrict": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "printType": {"enum": ["all", "books", "magazines"], "type": "string", "location": "query"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "40", "format": "uint32"}, "filter": {"enum": ["ebooks", "free-ebooks", "full", "paid-ebooks", "partial"], "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}, "download": {"enum": ["epub"], "type": "string", "location": "query"}, "partner": {"type": "string", "location": "query"}}, "id": "books.volumes.list", "httpMethod": "GET", "path": "volumes", "response": {"$ref": "Volumes"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"partner": {"type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.volumes.get", "httpMethod": "GET", "path": "volumes/{volumeId}", "response": {"$ref": "Volume"}}}}', true));
845
    $this->volumes_associated = new Google_VolumesAssociatedServiceResource($this, $this->serviceName, 'associated', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "40", "format": "uint32"}, "filter": {"enum": ["ebooks", "free-ebooks", "full", "paid-ebooks", "partial"], "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}, "association": {"enum": ["complementary"], "type": "string", "location": "query"}}, "id": "books.volumes.associated.list", "httpMethod": "GET", "path": "volumes/{volumeId}/associated", "response": {"$ref": "Volumes"}}}}', true));
846
    $this->mylibrary_bookshelves = new Google_MylibraryBookshelvesServiceResource($this, $this->serviceName, 'bookshelves', json_decode('{"methods": {"removeVolume": {"scopes": ["https://www.googleapis.com/auth/books"], "path": "mylibrary/bookshelves/{shelf}/removeVolume", "id": "books.mylibrary.bookshelves.removeVolume", "parameters": {"shelf": {"required": true, "type": "string", "location": "path"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST"}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.mylibrary.bookshelves.get", "httpMethod": "GET", "path": "mylibrary/bookshelves/{shelf}", "response": {"$ref": "Bookshelf"}}, "clearVolumes": {"scopes": ["https://www.googleapis.com/auth/books"], "path": "mylibrary/bookshelves/{shelf}/clearVolumes", "id": "books.mylibrary.bookshelves.clearVolumes", "parameters": {"shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST"}, "list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"source": {"type": "string", "location": "query"}}, "response": {"$ref": "Bookshelves"}, "httpMethod": "GET", "path": "mylibrary/bookshelves", "id": "books.mylibrary.bookshelves.list"}, "addVolume": {"scopes": ["https://www.googleapis.com/auth/books"], "path": "mylibrary/bookshelves/{shelf}/addVolume", "id": "books.mylibrary.bookshelves.addVolume", "parameters": {"shelf": {"required": true, "type": "string", "location": "path"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST"}, "moveVolume": {"scopes": ["https://www.googleapis.com/auth/books"], "path": "mylibrary/bookshelves/{shelf}/moveVolume", "id": "books.mylibrary.bookshelves.moveVolume", "parameters": {"source": {"type": "string", "location": "query"}, "volumePosition": {"required": true, "type": "integer", "location": "query", "format": "int32"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "POST"}}}', true));
847
    $this->mylibrary_bookshelves_volumes = new Google_MylibraryBookshelvesVolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}, "q": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}, "shelf": {"required": true, "type": "string", "location": "path"}}, "id": "books.mylibrary.bookshelves.volumes.list", "httpMethod": "GET", "path": "mylibrary/bookshelves/{shelf}/volumes", "response": {"$ref": "Volumes"}}}}', true));
848
    $this->mylibrary_readingpositions = new Google_MylibraryReadingpositionsServiceResource($this, $this->serviceName, 'readingpositions', json_decode('{"methods": {"setPosition": {"scopes": ["https://www.googleapis.com/auth/books"], "path": "mylibrary/readingpositions/{volumeId}/setPosition", "id": "books.mylibrary.readingpositions.setPosition", "parameters": {"timestamp": {"required": true, "type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}, "contentVersion": {"type": "string", "location": "query"}, "action": {"enum": ["bookmark", "chapter", "next-page", "prev-page", "scroll", "search"], "type": "string", "location": "query"}, "position": {"required": true, "type": "string", "location": "query"}}, "httpMethod": "POST"}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"source": {"type": "string", "location": "query"}, "contentVersion": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}}, "id": "books.mylibrary.readingpositions.get", "httpMethod": "GET", "path": "mylibrary/readingpositions/{volumeId}", "response": {"$ref": "ReadingPosition"}}}}', true));
849
    $this->mylibrary_annotations = new Google_MylibraryAnnotationsServiceResource($this, $this->serviceName, 'annotations', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"source": {"type": "string", "location": "query"}}, "request": {"$ref": "Annotation"}, "response": {"$ref": "Annotation"}, "httpMethod": "POST", "path": "mylibrary/annotations", "id": "books.mylibrary.annotations.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"source": {"type": "string", "location": "query"}, "annotationId": {"required": true, "type": "string", "location": "path"}}, "id": "books.mylibrary.annotations.get", "httpMethod": "GET", "path": "mylibrary/annotations/{annotationId}", "response": {"$ref": "Annotation"}}, "list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"showDeleted": {"type": "boolean", "location": "query"}, "updatedMin": {"type": "string", "location": "query"}, "updatedMax": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "location": "query"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "40", "format": "uint32"}, "pageToken": {"type": "string", "location": "query"}, "pageIds": {"repeated": true, "type": "string", "location": "query"}, "contentVersion": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "layerId": {"type": "string", "location": "query"}}, "response": {"$ref": "Annotations"}, "httpMethod": "GET", "path": "mylibrary/annotations", "id": "books.mylibrary.annotations.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"source": {"type": "string", "location": "query"}, "annotationId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Annotation"}, "response": {"$ref": "Annotation"}, "httpMethod": "PUT", "path": "mylibrary/annotations/{annotationId}", "id": "books.mylibrary.annotations.update"}, "delete": {"scopes": ["https://www.googleapis.com/auth/books"], "path": "mylibrary/annotations/{annotationId}", "id": "books.mylibrary.annotations.delete", "parameters": {"source": {"type": "string", "location": "query"}, "annotationId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
850
 
851
  }
852
}
853
 
854
class Google_Annotation extends Google_Model {
855
  public $kind;
856
  public $updated;
857
  public $created;
858
  public $deleted;
859
  public $beforeSelectedText;
860
  protected $__currentVersionRangesType = 'Google_AnnotationCurrentVersionRanges';
861
  protected $__currentVersionRangesDataType = '';
862
  public $currentVersionRanges;
863
  public $afterSelectedText;
864
  protected $__clientVersionRangesType = 'Google_AnnotationClientVersionRanges';
865
  protected $__clientVersionRangesDataType = '';
866
  public $clientVersionRanges;
867
  public $volumeId;
868
  public $pageIds;
869
  public $layerId;
870
  public $selectedText;
871
  public $highlightStyle;
872
  public $data;
873
  public $id;
874
  public $selfLink;
875
  public function setKind($kind) {
876
    $this->kind = $kind;
877
  }
878
  public function getKind() {
879
    return $this->kind;
880
  }
881
  public function setUpdated($updated) {
882
    $this->updated = $updated;
883
  }
884
  public function getUpdated() {
885
    return $this->updated;
886
  }
887
  public function setCreated($created) {
888
    $this->created = $created;
889
  }
890
  public function getCreated() {
891
    return $this->created;
892
  }
893
  public function setDeleted($deleted) {
894
    $this->deleted = $deleted;
895
  }
896
  public function getDeleted() {
897
    return $this->deleted;
898
  }
899
  public function setBeforeSelectedText($beforeSelectedText) {
900
    $this->beforeSelectedText = $beforeSelectedText;
901
  }
902
  public function getBeforeSelectedText() {
903
    return $this->beforeSelectedText;
904
  }
905
  public function setCurrentVersionRanges(Google_AnnotationCurrentVersionRanges $currentVersionRanges) {
906
    $this->currentVersionRanges = $currentVersionRanges;
907
  }
908
  public function getCurrentVersionRanges() {
909
    return $this->currentVersionRanges;
910
  }
911
  public function setAfterSelectedText($afterSelectedText) {
912
    $this->afterSelectedText = $afterSelectedText;
913
  }
914
  public function getAfterSelectedText() {
915
    return $this->afterSelectedText;
916
  }
917
  public function setClientVersionRanges(Google_AnnotationClientVersionRanges $clientVersionRanges) {
918
    $this->clientVersionRanges = $clientVersionRanges;
919
  }
920
  public function getClientVersionRanges() {
921
    return $this->clientVersionRanges;
922
  }
923
  public function setVolumeId($volumeId) {
924
    $this->volumeId = $volumeId;
925
  }
926
  public function getVolumeId() {
927
    return $this->volumeId;
928
  }
929
  public function setPageIds(/* array(Google_string) */ $pageIds) {
930
    $this->assertIsArray($pageIds, 'Google_string', __METHOD__);
931
    $this->pageIds = $pageIds;
932
  }
933
  public function getPageIds() {
934
    return $this->pageIds;
935
  }
936
  public function setLayerId($layerId) {
937
    $this->layerId = $layerId;
938
  }
939
  public function getLayerId() {
940
    return $this->layerId;
941
  }
942
  public function setSelectedText($selectedText) {
943
    $this->selectedText = $selectedText;
944
  }
945
  public function getSelectedText() {
946
    return $this->selectedText;
947
  }
948
  public function setHighlightStyle($highlightStyle) {
949
    $this->highlightStyle = $highlightStyle;
950
  }
951
  public function getHighlightStyle() {
952
    return $this->highlightStyle;
953
  }
954
  public function setData($data) {
955
    $this->data = $data;
956
  }
957
  public function getData() {
958
    return $this->data;
959
  }
960
  public function setId($id) {
961
    $this->id = $id;
962
  }
963
  public function getId() {
964
    return $this->id;
965
  }
966
  public function setSelfLink($selfLink) {
967
    $this->selfLink = $selfLink;
968
  }
969
  public function getSelfLink() {
970
    return $this->selfLink;
971
  }
972
}
973
 
974
class Google_AnnotationClientVersionRanges extends Google_Model {
975
  public $contentVersion;
976
  protected $__gbTextRangeType = 'Google_BooksAnnotationsRange';
977
  protected $__gbTextRangeDataType = '';
978
  public $gbTextRange;
979
  protected $__cfiRangeType = 'Google_BooksAnnotationsRange';
980
  protected $__cfiRangeDataType = '';
981
  public $cfiRange;
982
  protected $__gbImageRangeType = 'Google_BooksAnnotationsRange';
983
  protected $__gbImageRangeDataType = '';
984
  public $gbImageRange;
985
  public function setContentVersion($contentVersion) {
986
    $this->contentVersion = $contentVersion;
987
  }
988
  public function getContentVersion() {
989
    return $this->contentVersion;
990
  }
991
  public function setGbTextRange(Google_BooksAnnotationsRange $gbTextRange) {
992
    $this->gbTextRange = $gbTextRange;
993
  }
994
  public function getGbTextRange() {
995
    return $this->gbTextRange;
996
  }
997
  public function setCfiRange(Google_BooksAnnotationsRange $cfiRange) {
998
    $this->cfiRange = $cfiRange;
999
  }
1000
  public function getCfiRange() {
1001
    return $this->cfiRange;
1002
  }
1003
  public function setGbImageRange(Google_BooksAnnotationsRange $gbImageRange) {
1004
    $this->gbImageRange = $gbImageRange;
1005
  }
1006
  public function getGbImageRange() {
1007
    return $this->gbImageRange;
1008
  }
1009
}
1010
 
1011
class Google_AnnotationCurrentVersionRanges extends Google_Model {
1012
  public $contentVersion;
1013
  protected $__gbTextRangeType = 'Google_BooksAnnotationsRange';
1014
  protected $__gbTextRangeDataType = '';
1015
  public $gbTextRange;
1016
  protected $__cfiRangeType = 'Google_BooksAnnotationsRange';
1017
  protected $__cfiRangeDataType = '';
1018
  public $cfiRange;
1019
  protected $__gbImageRangeType = 'Google_BooksAnnotationsRange';
1020
  protected $__gbImageRangeDataType = '';
1021
  public $gbImageRange;
1022
  public function setContentVersion($contentVersion) {
1023
    $this->contentVersion = $contentVersion;
1024
  }
1025
  public function getContentVersion() {
1026
    return $this->contentVersion;
1027
  }
1028
  public function setGbTextRange(Google_BooksAnnotationsRange $gbTextRange) {
1029
    $this->gbTextRange = $gbTextRange;
1030
  }
1031
  public function getGbTextRange() {
1032
    return $this->gbTextRange;
1033
  }
1034
  public function setCfiRange(Google_BooksAnnotationsRange $cfiRange) {
1035
    $this->cfiRange = $cfiRange;
1036
  }
1037
  public function getCfiRange() {
1038
    return $this->cfiRange;
1039
  }
1040
  public function setGbImageRange(Google_BooksAnnotationsRange $gbImageRange) {
1041
    $this->gbImageRange = $gbImageRange;
1042
  }
1043
  public function getGbImageRange() {
1044
    return $this->gbImageRange;
1045
  }
1046
}
1047
 
1048
class Google_Annotationdata extends Google_Model {
1049
  public $annotationType;
1050
  public $kind;
1051
  public $updated;
1052
  public $volumeId;
1053
  public $encoded_data;
1054
  public $layerId;
1055
  protected $__dataType = 'Google_BooksLayerGeoData';
1056
  protected $__dataDataType = '';
1057
  public $data;
1058
  public $id;
1059
  public $selfLink;
1060
  public function setAnnotationType($annotationType) {
1061
    $this->annotationType = $annotationType;
1062
  }
1063
  public function getAnnotationType() {
1064
    return $this->annotationType;
1065
  }
1066
  public function setKind($kind) {
1067
    $this->kind = $kind;
1068
  }
1069
  public function getKind() {
1070
    return $this->kind;
1071
  }
1072
  public function setUpdated($updated) {
1073
    $this->updated = $updated;
1074
  }
1075
  public function getUpdated() {
1076
    return $this->updated;
1077
  }
1078
  public function setVolumeId($volumeId) {
1079
    $this->volumeId = $volumeId;
1080
  }
1081
  public function getVolumeId() {
1082
    return $this->volumeId;
1083
  }
1084
  public function setEncoded_data($encoded_data) {
1085
    $this->encoded_data = $encoded_data;
1086
  }
1087
  public function getEncoded_data() {
1088
    return $this->encoded_data;
1089
  }
1090
  public function setLayerId($layerId) {
1091
    $this->layerId = $layerId;
1092
  }
1093
  public function getLayerId() {
1094
    return $this->layerId;
1095
  }
1096
  public function setData(Google_BooksLayerGeoData $data) {
1097
    $this->data = $data;
1098
  }
1099
  public function getData() {
1100
    return $this->data;
1101
  }
1102
  public function setId($id) {
1103
    $this->id = $id;
1104
  }
1105
  public function getId() {
1106
    return $this->id;
1107
  }
1108
  public function setSelfLink($selfLink) {
1109
    $this->selfLink = $selfLink;
1110
  }
1111
  public function getSelfLink() {
1112
    return $this->selfLink;
1113
  }
1114
}
1115
 
1116
class Google_Annotations extends Google_Model {
1117
  public $nextPageToken;
1118
  protected $__itemsType = 'Google_Annotation';
1119
  protected $__itemsDataType = 'array';
1120
  public $items;
1121
  public $kind;
1122
  public $totalItems;
1123
  public function setNextPageToken($nextPageToken) {
1124
    $this->nextPageToken = $nextPageToken;
1125
  }
1126
  public function getNextPageToken() {
1127
    return $this->nextPageToken;
1128
  }
1129
  public function setItems(/* array(Google_Annotation) */ $items) {
1130
    $this->assertIsArray($items, 'Google_Annotation', __METHOD__);
1131
    $this->items = $items;
1132
  }
1133
  public function getItems() {
1134
    return $this->items;
1135
  }
1136
  public function setKind($kind) {
1137
    $this->kind = $kind;
1138
  }
1139
  public function getKind() {
1140
    return $this->kind;
1141
  }
1142
  public function setTotalItems($totalItems) {
1143
    $this->totalItems = $totalItems;
1144
  }
1145
  public function getTotalItems() {
1146
    return $this->totalItems;
1147
  }
1148
}
1149
 
1150
class Google_Annotationsdata extends Google_Model {
1151
  public $nextPageToken;
1152
  protected $__itemsType = 'Google_Annotationdata';
1153
  protected $__itemsDataType = 'array';
1154
  public $items;
1155
  public $kind;
1156
  public $totalItems;
1157
  public function setNextPageToken($nextPageToken) {
1158
    $this->nextPageToken = $nextPageToken;
1159
  }
1160
  public function getNextPageToken() {
1161
    return $this->nextPageToken;
1162
  }
1163
  public function setItems(/* array(Google_Annotationdata) */ $items) {
1164
    $this->assertIsArray($items, 'Google_Annotationdata', __METHOD__);
1165
    $this->items = $items;
1166
  }
1167
  public function getItems() {
1168
    return $this->items;
1169
  }
1170
  public function setKind($kind) {
1171
    $this->kind = $kind;
1172
  }
1173
  public function getKind() {
1174
    return $this->kind;
1175
  }
1176
  public function setTotalItems($totalItems) {
1177
    $this->totalItems = $totalItems;
1178
  }
1179
  public function getTotalItems() {
1180
    return $this->totalItems;
1181
  }
1182
}
1183
 
1184
class Google_BooksAnnotationsRange extends Google_Model {
1185
  public $startPosition;
1186
  public $endPosition;
1187
  public $startOffset;
1188
  public $endOffset;
1189
  public function setStartPosition($startPosition) {
1190
    $this->startPosition = $startPosition;
1191
  }
1192
  public function getStartPosition() {
1193
    return $this->startPosition;
1194
  }
1195
  public function setEndPosition($endPosition) {
1196
    $this->endPosition = $endPosition;
1197
  }
1198
  public function getEndPosition() {
1199
    return $this->endPosition;
1200
  }
1201
  public function setStartOffset($startOffset) {
1202
    $this->startOffset = $startOffset;
1203
  }
1204
  public function getStartOffset() {
1205
    return $this->startOffset;
1206
  }
1207
  public function setEndOffset($endOffset) {
1208
    $this->endOffset = $endOffset;
1209
  }
1210
  public function getEndOffset() {
1211
    return $this->endOffset;
1212
  }
1213
}
1214
 
1215
class Google_BooksLayerGeoData extends Google_Model {
1216
  protected $__geoType = 'Google_BooksLayerGeoDataGeo';
1217
  protected $__geoDataType = '';
1218
  public $geo;
1219
  protected $__commonType = 'Google_BooksLayerGeoDataCommon';
1220
  protected $__commonDataType = '';
1221
  public $common;
1222
  public function setGeo(Google_BooksLayerGeoDataGeo $geo) {
1223
    $this->geo = $geo;
1224
  }
1225
  public function getGeo() {
1226
    return $this->geo;
1227
  }
1228
  public function setCommon(Google_BooksLayerGeoDataCommon $common) {
1229
    $this->common = $common;
1230
  }
1231
  public function getCommon() {
1232
    return $this->common;
1233
  }
1234
}
1235
 
1236
class Google_BooksLayerGeoDataCommon extends Google_Model {
1237
  public $lang;
1238
  public $previewImageUrl;
1239
  public $snippet;
1240
  public $snippetUrl;
1241
  public function setLang($lang) {
1242
    $this->lang = $lang;
1243
  }
1244
  public function getLang() {
1245
    return $this->lang;
1246
  }
1247
  public function setPreviewImageUrl($previewImageUrl) {
1248
    $this->previewImageUrl = $previewImageUrl;
1249
  }
1250
  public function getPreviewImageUrl() {
1251
    return $this->previewImageUrl;
1252
  }
1253
  public function setSnippet($snippet) {
1254
    $this->snippet = $snippet;
1255
  }
1256
  public function getSnippet() {
1257
    return $this->snippet;
1258
  }
1259
  public function setSnippetUrl($snippetUrl) {
1260
    $this->snippetUrl = $snippetUrl;
1261
  }
1262
  public function getSnippetUrl() {
1263
    return $this->snippetUrl;
1264
  }
1265
}
1266
 
1267
class Google_BooksLayerGeoDataGeo extends Google_Model {
1268
  public $countryCode;
1269
  public $title;
1270
  public $zoom;
1271
  public $longitude;
1272
  public $mapType;
1273
  public $latitude;
1274
  protected $__boundaryType = 'Google_BooksLayerGeoDataGeoBoundary';
1275
  protected $__boundaryDataType = 'array';
1276
  public $boundary;
1277
  protected $__viewportType = 'Google_BooksLayerGeoDataGeoViewport';
1278
  protected $__viewportDataType = '';
1279
  public $viewport;
1280
  public $cachePolicy;
1281
  public function setCountryCode($countryCode) {
1282
    $this->countryCode = $countryCode;
1283
  }
1284
  public function getCountryCode() {
1285
    return $this->countryCode;
1286
  }
1287
  public function setTitle($title) {
1288
    $this->title = $title;
1289
  }
1290
  public function getTitle() {
1291
    return $this->title;
1292
  }
1293
  public function setZoom($zoom) {
1294
    $this->zoom = $zoom;
1295
  }
1296
  public function getZoom() {
1297
    return $this->zoom;
1298
  }
1299
  public function setLongitude($longitude) {
1300
    $this->longitude = $longitude;
1301
  }
1302
  public function getLongitude() {
1303
    return $this->longitude;
1304
  }
1305
  public function setMapType($mapType) {
1306
    $this->mapType = $mapType;
1307
  }
1308
  public function getMapType() {
1309
    return $this->mapType;
1310
  }
1311
  public function setLatitude($latitude) {
1312
    $this->latitude = $latitude;
1313
  }
1314
  public function getLatitude() {
1315
    return $this->latitude;
1316
  }
1317
  public function setBoundary(/* array(Google_BooksLayerGeoDataGeoBoundary) */ $boundary) {
1318
    $this->assertIsArray($boundary, 'Google_BooksLayerGeoDataGeoBoundary', __METHOD__);
1319
    $this->boundary = $boundary;
1320
  }
1321
  public function getBoundary() {
1322
    return $this->boundary;
1323
  }
1324
  public function setViewport(Google_BooksLayerGeoDataGeoViewport $viewport) {
1325
    $this->viewport = $viewport;
1326
  }
1327
  public function getViewport() {
1328
    return $this->viewport;
1329
  }
1330
  public function setCachePolicy($cachePolicy) {
1331
    $this->cachePolicy = $cachePolicy;
1332
  }
1333
  public function getCachePolicy() {
1334
    return $this->cachePolicy;
1335
  }
1336
}
1337
 
1338
class Google_BooksLayerGeoDataGeoBoundary extends Google_Model {
1339
  public $latitude;
1340
  public $longitude;
1341
  public function setLatitude($latitude) {
1342
    $this->latitude = $latitude;
1343
  }
1344
  public function getLatitude() {
1345
    return $this->latitude;
1346
  }
1347
  public function setLongitude($longitude) {
1348
    $this->longitude = $longitude;
1349
  }
1350
  public function getLongitude() {
1351
    return $this->longitude;
1352
  }
1353
}
1354
 
1355
class Google_BooksLayerGeoDataGeoViewport extends Google_Model {
1356
  protected $__loType = 'Google_BooksLayerGeoDataGeoViewportLo';
1357
  protected $__loDataType = '';
1358
  public $lo;
1359
  protected $__hiType = 'Google_BooksLayerGeoDataGeoViewportHi';
1360
  protected $__hiDataType = '';
1361
  public $hi;
1362
  public function setLo(Google_BooksLayerGeoDataGeoViewportLo $lo) {
1363
    $this->lo = $lo;
1364
  }
1365
  public function getLo() {
1366
    return $this->lo;
1367
  }
1368
  public function setHi(Google_BooksLayerGeoDataGeoViewportHi $hi) {
1369
    $this->hi = $hi;
1370
  }
1371
  public function getHi() {
1372
    return $this->hi;
1373
  }
1374
}
1375
 
1376
class Google_BooksLayerGeoDataGeoViewportHi extends Google_Model {
1377
  public $latitude;
1378
  public $longitude;
1379
  public function setLatitude($latitude) {
1380
    $this->latitude = $latitude;
1381
  }
1382
  public function getLatitude() {
1383
    return $this->latitude;
1384
  }
1385
  public function setLongitude($longitude) {
1386
    $this->longitude = $longitude;
1387
  }
1388
  public function getLongitude() {
1389
    return $this->longitude;
1390
  }
1391
}
1392
 
1393
class Google_BooksLayerGeoDataGeoViewportLo extends Google_Model {
1394
  public $latitude;
1395
  public $longitude;
1396
  public function setLatitude($latitude) {
1397
    $this->latitude = $latitude;
1398
  }
1399
  public function getLatitude() {
1400
    return $this->latitude;
1401
  }
1402
  public function setLongitude($longitude) {
1403
    $this->longitude = $longitude;
1404
  }
1405
  public function getLongitude() {
1406
    return $this->longitude;
1407
  }
1408
}
1409
 
1410
class Google_Bookshelf extends Google_Model {
1411
  public $kind;
1412
  public $description;
1413
  public $created;
1414
  public $volumeCount;
1415
  public $title;
1416
  public $updated;
1417
  public $access;
1418
  public $volumesLastUpdated;
1419
  public $id;
1420
  public $selfLink;
1421
  public function setKind($kind) {
1422
    $this->kind = $kind;
1423
  }
1424
  public function getKind() {
1425
    return $this->kind;
1426
  }
1427
  public function setDescription($description) {
1428
    $this->description = $description;
1429
  }
1430
  public function getDescription() {
1431
    return $this->description;
1432
  }
1433
  public function setCreated($created) {
1434
    $this->created = $created;
1435
  }
1436
  public function getCreated() {
1437
    return $this->created;
1438
  }
1439
  public function setVolumeCount($volumeCount) {
1440
    $this->volumeCount = $volumeCount;
1441
  }
1442
  public function getVolumeCount() {
1443
    return $this->volumeCount;
1444
  }
1445
  public function setTitle($title) {
1446
    $this->title = $title;
1447
  }
1448
  public function getTitle() {
1449
    return $this->title;
1450
  }
1451
  public function setUpdated($updated) {
1452
    $this->updated = $updated;
1453
  }
1454
  public function getUpdated() {
1455
    return $this->updated;
1456
  }
1457
  public function setAccess($access) {
1458
    $this->access = $access;
1459
  }
1460
  public function getAccess() {
1461
    return $this->access;
1462
  }
1463
  public function setVolumesLastUpdated($volumesLastUpdated) {
1464
    $this->volumesLastUpdated = $volumesLastUpdated;
1465
  }
1466
  public function getVolumesLastUpdated() {
1467
    return $this->volumesLastUpdated;
1468
  }
1469
  public function setId($id) {
1470
    $this->id = $id;
1471
  }
1472
  public function getId() {
1473
    return $this->id;
1474
  }
1475
  public function setSelfLink($selfLink) {
1476
    $this->selfLink = $selfLink;
1477
  }
1478
  public function getSelfLink() {
1479
    return $this->selfLink;
1480
  }
1481
}
1482
 
1483
class Google_Bookshelves extends Google_Model {
1484
  protected $__itemsType = 'Google_Bookshelf';
1485
  protected $__itemsDataType = 'array';
1486
  public $items;
1487
  public $kind;
1488
  public function setItems(/* array(Google_Bookshelf) */ $items) {
1489
    $this->assertIsArray($items, 'Google_Bookshelf', __METHOD__);
1490
    $this->items = $items;
1491
  }
1492
  public function getItems() {
1493
    return $this->items;
1494
  }
1495
  public function setKind($kind) {
1496
    $this->kind = $kind;
1497
  }
1498
  public function getKind() {
1499
    return $this->kind;
1500
  }
1501
}
1502
 
1503
class Google_ConcurrentAccessRestriction extends Google_Model {
1504
  public $nonce;
1505
  public $kind;
1506
  public $restricted;
1507
  public $volumeId;
1508
  public $maxConcurrentDevices;
1509
  public $deviceAllowed;
1510
  public $source;
1511
  public $timeWindowSeconds;
1512
  public $signature;
1513
  public $reasonCode;
1514
  public $message;
1515
  public function setNonce($nonce) {
1516
    $this->nonce = $nonce;
1517
  }
1518
  public function getNonce() {
1519
    return $this->nonce;
1520
  }
1521
  public function setKind($kind) {
1522
    $this->kind = $kind;
1523
  }
1524
  public function getKind() {
1525
    return $this->kind;
1526
  }
1527
  public function setRestricted($restricted) {
1528
    $this->restricted = $restricted;
1529
  }
1530
  public function getRestricted() {
1531
    return $this->restricted;
1532
  }
1533
  public function setVolumeId($volumeId) {
1534
    $this->volumeId = $volumeId;
1535
  }
1536
  public function getVolumeId() {
1537
    return $this->volumeId;
1538
  }
1539
  public function setMaxConcurrentDevices($maxConcurrentDevices) {
1540
    $this->maxConcurrentDevices = $maxConcurrentDevices;
1541
  }
1542
  public function getMaxConcurrentDevices() {
1543
    return $this->maxConcurrentDevices;
1544
  }
1545
  public function setDeviceAllowed($deviceAllowed) {
1546
    $this->deviceAllowed = $deviceAllowed;
1547
  }
1548
  public function getDeviceAllowed() {
1549
    return $this->deviceAllowed;
1550
  }
1551
  public function setSource($source) {
1552
    $this->source = $source;
1553
  }
1554
  public function getSource() {
1555
    return $this->source;
1556
  }
1557
  public function setTimeWindowSeconds($timeWindowSeconds) {
1558
    $this->timeWindowSeconds = $timeWindowSeconds;
1559
  }
1560
  public function getTimeWindowSeconds() {
1561
    return $this->timeWindowSeconds;
1562
  }
1563
  public function setSignature($signature) {
1564
    $this->signature = $signature;
1565
  }
1566
  public function getSignature() {
1567
    return $this->signature;
1568
  }
1569
  public function setReasonCode($reasonCode) {
1570
    $this->reasonCode = $reasonCode;
1571
  }
1572
  public function getReasonCode() {
1573
    return $this->reasonCode;
1574
  }
1575
  public function setMessage($message) {
1576
    $this->message = $message;
1577
  }
1578
  public function getMessage() {
1579
    return $this->message;
1580
  }
1581
}
1582
 
1583
class Google_DownloadAccessRestriction extends Google_Model {
1584
  public $nonce;
1585
  public $kind;
1586
  public $justAcquired;
1587
  public $maxDownloadDevices;
1588
  public $downloadsAcquired;
1589
  public $signature;
1590
  public $volumeId;
1591
  public $deviceAllowed;
1592
  public $source;
1593
  public $restricted;
1594
  public $reasonCode;
1595
  public $message;
1596
  public function setNonce($nonce) {
1597
    $this->nonce = $nonce;
1598
  }
1599
  public function getNonce() {
1600
    return $this->nonce;
1601
  }
1602
  public function setKind($kind) {
1603
    $this->kind = $kind;
1604
  }
1605
  public function getKind() {
1606
    return $this->kind;
1607
  }
1608
  public function setJustAcquired($justAcquired) {
1609
    $this->justAcquired = $justAcquired;
1610
  }
1611
  public function getJustAcquired() {
1612
    return $this->justAcquired;
1613
  }
1614
  public function setMaxDownloadDevices($maxDownloadDevices) {
1615
    $this->maxDownloadDevices = $maxDownloadDevices;
1616
  }
1617
  public function getMaxDownloadDevices() {
1618
    return $this->maxDownloadDevices;
1619
  }
1620
  public function setDownloadsAcquired($downloadsAcquired) {
1621
    $this->downloadsAcquired = $downloadsAcquired;
1622
  }
1623
  public function getDownloadsAcquired() {
1624
    return $this->downloadsAcquired;
1625
  }
1626
  public function setSignature($signature) {
1627
    $this->signature = $signature;
1628
  }
1629
  public function getSignature() {
1630
    return $this->signature;
1631
  }
1632
  public function setVolumeId($volumeId) {
1633
    $this->volumeId = $volumeId;
1634
  }
1635
  public function getVolumeId() {
1636
    return $this->volumeId;
1637
  }
1638
  public function setDeviceAllowed($deviceAllowed) {
1639
    $this->deviceAllowed = $deviceAllowed;
1640
  }
1641
  public function getDeviceAllowed() {
1642
    return $this->deviceAllowed;
1643
  }
1644
  public function setSource($source) {
1645
    $this->source = $source;
1646
  }
1647
  public function getSource() {
1648
    return $this->source;
1649
  }
1650
  public function setRestricted($restricted) {
1651
    $this->restricted = $restricted;
1652
  }
1653
  public function getRestricted() {
1654
    return $this->restricted;
1655
  }
1656
  public function setReasonCode($reasonCode) {
1657
    $this->reasonCode = $reasonCode;
1658
  }
1659
  public function getReasonCode() {
1660
    return $this->reasonCode;
1661
  }
1662
  public function setMessage($message) {
1663
    $this->message = $message;
1664
  }
1665
  public function getMessage() {
1666
    return $this->message;
1667
  }
1668
}
1669
 
1670
class Google_DownloadAccesses extends Google_Model {
1671
  protected $__downloadAccessListType = 'Google_DownloadAccessRestriction';
1672
  protected $__downloadAccessListDataType = 'array';
1673
  public $downloadAccessList;
1674
  public $kind;
1675
  public function setDownloadAccessList(/* array(Google_DownloadAccessRestriction) */ $downloadAccessList) {
1676
    $this->assertIsArray($downloadAccessList, 'Google_DownloadAccessRestriction', __METHOD__);
1677
    $this->downloadAccessList = $downloadAccessList;
1678
  }
1679
  public function getDownloadAccessList() {
1680
    return $this->downloadAccessList;
1681
  }
1682
  public function setKind($kind) {
1683
    $this->kind = $kind;
1684
  }
1685
  public function getKind() {
1686
    return $this->kind;
1687
  }
1688
}
1689
 
1690
class Google_Layersummaries extends Google_Model {
1691
  public $totalItems;
1692
  protected $__itemsType = 'Google_Layersummary';
1693
  protected $__itemsDataType = 'array';
1694
  public $items;
1695
  public $kind;
1696
  public function setTotalItems($totalItems) {
1697
    $this->totalItems = $totalItems;
1698
  }
1699
  public function getTotalItems() {
1700
    return $this->totalItems;
1701
  }
1702
  public function setItems(/* array(Google_Layersummary) */ $items) {
1703
    $this->assertIsArray($items, 'Google_Layersummary', __METHOD__);
1704
    $this->items = $items;
1705
  }
1706
  public function getItems() {
1707
    return $this->items;
1708
  }
1709
  public function setKind($kind) {
1710
    $this->kind = $kind;
1711
  }
1712
  public function getKind() {
1713
    return $this->kind;
1714
  }
1715
}
1716
 
1717
class Google_Layersummary extends Google_Model {
1718
  public $kind;
1719
  public $annotationCount;
1720
  public $dataCount;
1721
  public $annotationsLink;
1722
  public $updated;
1723
  public $volumeId;
1724
  public $id;
1725
  public $annotationTypes;
1726
  public $contentVersion;
1727
  public $layerId;
1728
  public $annotationsDataLink;
1729
  public $selfLink;
1730
  public function setKind($kind) {
1731
    $this->kind = $kind;
1732
  }
1733
  public function getKind() {
1734
    return $this->kind;
1735
  }
1736
  public function setAnnotationCount($annotationCount) {
1737
    $this->annotationCount = $annotationCount;
1738
  }
1739
  public function getAnnotationCount() {
1740
    return $this->annotationCount;
1741
  }
1742
  public function setDataCount($dataCount) {
1743
    $this->dataCount = $dataCount;
1744
  }
1745
  public function getDataCount() {
1746
    return $this->dataCount;
1747
  }
1748
  public function setAnnotationsLink($annotationsLink) {
1749
    $this->annotationsLink = $annotationsLink;
1750
  }
1751
  public function getAnnotationsLink() {
1752
    return $this->annotationsLink;
1753
  }
1754
  public function setUpdated($updated) {
1755
    $this->updated = $updated;
1756
  }
1757
  public function getUpdated() {
1758
    return $this->updated;
1759
  }
1760
  public function setVolumeId($volumeId) {
1761
    $this->volumeId = $volumeId;
1762
  }
1763
  public function getVolumeId() {
1764
    return $this->volumeId;
1765
  }
1766
  public function setId($id) {
1767
    $this->id = $id;
1768
  }
1769
  public function getId() {
1770
    return $this->id;
1771
  }
1772
  public function setAnnotationTypes(/* array(Google_string) */ $annotationTypes) {
1773
    $this->assertIsArray($annotationTypes, 'Google_string', __METHOD__);
1774
    $this->annotationTypes = $annotationTypes;
1775
  }
1776
  public function getAnnotationTypes() {
1777
    return $this->annotationTypes;
1778
  }
1779
  public function setContentVersion($contentVersion) {
1780
    $this->contentVersion = $contentVersion;
1781
  }
1782
  public function getContentVersion() {
1783
    return $this->contentVersion;
1784
  }
1785
  public function setLayerId($layerId) {
1786
    $this->layerId = $layerId;
1787
  }
1788
  public function getLayerId() {
1789
    return $this->layerId;
1790
  }
1791
  public function setAnnotationsDataLink($annotationsDataLink) {
1792
    $this->annotationsDataLink = $annotationsDataLink;
1793
  }
1794
  public function getAnnotationsDataLink() {
1795
    return $this->annotationsDataLink;
1796
  }
1797
  public function setSelfLink($selfLink) {
1798
    $this->selfLink = $selfLink;
1799
  }
1800
  public function getSelfLink() {
1801
    return $this->selfLink;
1802
  }
1803
}
1804
 
1805
class Google_ReadingPosition extends Google_Model {
1806
  public $kind;
1807
  public $gbImagePosition;
1808
  public $epubCfiPosition;
1809
  public $updated;
1810
  public $volumeId;
1811
  public $pdfPosition;
1812
  public $gbTextPosition;
1813
  public function setKind($kind) {
1814
    $this->kind = $kind;
1815
  }
1816
  public function getKind() {
1817
    return $this->kind;
1818
  }
1819
  public function setGbImagePosition($gbImagePosition) {
1820
    $this->gbImagePosition = $gbImagePosition;
1821
  }
1822
  public function getGbImagePosition() {
1823
    return $this->gbImagePosition;
1824
  }
1825
  public function setEpubCfiPosition($epubCfiPosition) {
1826
    $this->epubCfiPosition = $epubCfiPosition;
1827
  }
1828
  public function getEpubCfiPosition() {
1829
    return $this->epubCfiPosition;
1830
  }
1831
  public function setUpdated($updated) {
1832
    $this->updated = $updated;
1833
  }
1834
  public function getUpdated() {
1835
    return $this->updated;
1836
  }
1837
  public function setVolumeId($volumeId) {
1838
    $this->volumeId = $volumeId;
1839
  }
1840
  public function getVolumeId() {
1841
    return $this->volumeId;
1842
  }
1843
  public function setPdfPosition($pdfPosition) {
1844
    $this->pdfPosition = $pdfPosition;
1845
  }
1846
  public function getPdfPosition() {
1847
    return $this->pdfPosition;
1848
  }
1849
  public function setGbTextPosition($gbTextPosition) {
1850
    $this->gbTextPosition = $gbTextPosition;
1851
  }
1852
  public function getGbTextPosition() {
1853
    return $this->gbTextPosition;
1854
  }
1855
}
1856
 
1857
class Google_RequestAccess extends Google_Model {
1858
  protected $__downloadAccessType = 'Google_DownloadAccessRestriction';
1859
  protected $__downloadAccessDataType = '';
1860
  public $downloadAccess;
1861
  public $kind;
1862
  protected $__concurrentAccessType = 'Google_ConcurrentAccessRestriction';
1863
  protected $__concurrentAccessDataType = '';
1864
  public $concurrentAccess;
1865
  public function setDownloadAccess(Google_DownloadAccessRestriction $downloadAccess) {
1866
    $this->downloadAccess = $downloadAccess;
1867
  }
1868
  public function getDownloadAccess() {
1869
    return $this->downloadAccess;
1870
  }
1871
  public function setKind($kind) {
1872
    $this->kind = $kind;
1873
  }
1874
  public function getKind() {
1875
    return $this->kind;
1876
  }
1877
  public function setConcurrentAccess(Google_ConcurrentAccessRestriction $concurrentAccess) {
1878
    $this->concurrentAccess = $concurrentAccess;
1879
  }
1880
  public function getConcurrentAccess() {
1881
    return $this->concurrentAccess;
1882
  }
1883
}
1884
 
1885
class Google_Review extends Google_Model {
1886
  public $rating;
1887
  public $kind;
1888
  protected $__authorType = 'Google_ReviewAuthor';
1889
  protected $__authorDataType = '';
1890
  public $author;
1891
  public $title;
1892
  public $volumeId;
1893
  public $content;
1894
  protected $__sourceType = 'Google_ReviewSource';
1895
  protected $__sourceDataType = '';
1896
  public $source;
1897
  public $date;
1898
  public $type;
1899
  public $fullTextUrl;
1900
  public function setRating($rating) {
1901
    $this->rating = $rating;
1902
  }
1903
  public function getRating() {
1904
    return $this->rating;
1905
  }
1906
  public function setKind($kind) {
1907
    $this->kind = $kind;
1908
  }
1909
  public function getKind() {
1910
    return $this->kind;
1911
  }
1912
  public function setAuthor(Google_ReviewAuthor $author) {
1913
    $this->author = $author;
1914
  }
1915
  public function getAuthor() {
1916
    return $this->author;
1917
  }
1918
  public function setTitle($title) {
1919
    $this->title = $title;
1920
  }
1921
  public function getTitle() {
1922
    return $this->title;
1923
  }
1924
  public function setVolumeId($volumeId) {
1925
    $this->volumeId = $volumeId;
1926
  }
1927
  public function getVolumeId() {
1928
    return $this->volumeId;
1929
  }
1930
  public function setContent($content) {
1931
    $this->content = $content;
1932
  }
1933
  public function getContent() {
1934
    return $this->content;
1935
  }
1936
  public function setSource(Google_ReviewSource $source) {
1937
    $this->source = $source;
1938
  }
1939
  public function getSource() {
1940
    return $this->source;
1941
  }
1942
  public function setDate($date) {
1943
    $this->date = $date;
1944
  }
1945
  public function getDate() {
1946
    return $this->date;
1947
  }
1948
  public function setType($type) {
1949
    $this->type = $type;
1950
  }
1951
  public function getType() {
1952
    return $this->type;
1953
  }
1954
  public function setFullTextUrl($fullTextUrl) {
1955
    $this->fullTextUrl = $fullTextUrl;
1956
  }
1957
  public function getFullTextUrl() {
1958
    return $this->fullTextUrl;
1959
  }
1960
}
1961
 
1962
class Google_ReviewAuthor extends Google_Model {
1963
  public $displayName;
1964
  public function setDisplayName($displayName) {
1965
    $this->displayName = $displayName;
1966
  }
1967
  public function getDisplayName() {
1968
    return $this->displayName;
1969
  }
1970
}
1971
 
1972
class Google_ReviewSource extends Google_Model {
1973
  public $extraDescription;
1974
  public $url;
1975
  public $description;
1976
  public function setExtraDescription($extraDescription) {
1977
    $this->extraDescription = $extraDescription;
1978
  }
1979
  public function getExtraDescription() {
1980
    return $this->extraDescription;
1981
  }
1982
  public function setUrl($url) {
1983
    $this->url = $url;
1984
  }
1985
  public function getUrl() {
1986
    return $this->url;
1987
  }
1988
  public function setDescription($description) {
1989
    $this->description = $description;
1990
  }
1991
  public function getDescription() {
1992
    return $this->description;
1993
  }
1994
}
1995
 
1996
class Google_Volume extends Google_Model {
1997
  public $kind;
1998
  protected $__accessInfoType = 'Google_VolumeAccessInfo';
1999
  protected $__accessInfoDataType = '';
2000
  public $accessInfo;
2001
  protected $__searchInfoType = 'Google_VolumeSearchInfo';
2002
  protected $__searchInfoDataType = '';
2003
  public $searchInfo;
2004
  protected $__saleInfoType = 'Google_VolumeSaleInfo';
2005
  protected $__saleInfoDataType = '';
2006
  public $saleInfo;
2007
  public $etag;
2008
  protected $__userInfoType = 'Google_VolumeUserInfo';
2009
  protected $__userInfoDataType = '';
2010
  public $userInfo;
2011
  protected $__volumeInfoType = 'Google_VolumeVolumeInfo';
2012
  protected $__volumeInfoDataType = '';
2013
  public $volumeInfo;
2014
  public $id;
2015
  public $selfLink;
2016
  public function setKind($kind) {
2017
    $this->kind = $kind;
2018
  }
2019
  public function getKind() {
2020
    return $this->kind;
2021
  }
2022
  public function setAccessInfo(Google_VolumeAccessInfo $accessInfo) {
2023
    $this->accessInfo = $accessInfo;
2024
  }
2025
  public function getAccessInfo() {
2026
    return $this->accessInfo;
2027
  }
2028
  public function setSearchInfo(Google_VolumeSearchInfo $searchInfo) {
2029
    $this->searchInfo = $searchInfo;
2030
  }
2031
  public function getSearchInfo() {
2032
    return $this->searchInfo;
2033
  }
2034
  public function setSaleInfo(Google_VolumeSaleInfo $saleInfo) {
2035
    $this->saleInfo = $saleInfo;
2036
  }
2037
  public function getSaleInfo() {
2038
    return $this->saleInfo;
2039
  }
2040
  public function setEtag($etag) {
2041
    $this->etag = $etag;
2042
  }
2043
  public function getEtag() {
2044
    return $this->etag;
2045
  }
2046
  public function setUserInfo(Google_VolumeUserInfo $userInfo) {
2047
    $this->userInfo = $userInfo;
2048
  }
2049
  public function getUserInfo() {
2050
    return $this->userInfo;
2051
  }
2052
  public function setVolumeInfo(Google_VolumeVolumeInfo $volumeInfo) {
2053
    $this->volumeInfo = $volumeInfo;
2054
  }
2055
  public function getVolumeInfo() {
2056
    return $this->volumeInfo;
2057
  }
2058
  public function setId($id) {
2059
    $this->id = $id;
2060
  }
2061
  public function getId() {
2062
    return $this->id;
2063
  }
2064
  public function setSelfLink($selfLink) {
2065
    $this->selfLink = $selfLink;
2066
  }
2067
  public function getSelfLink() {
2068
    return $this->selfLink;
2069
  }
2070
}
2071
 
2072
class Google_VolumeAccessInfo extends Google_Model {
2073
  public $webReaderLink;
2074
  public $publicDomain;
2075
  public $embeddable;
2076
  protected $__downloadAccessType = 'Google_DownloadAccessRestriction';
2077
  protected $__downloadAccessDataType = '';
2078
  public $downloadAccess;
2079
  public $country;
2080
  public $viewOrderUrl;
2081
  public $textToSpeechPermission;
2082
  protected $__pdfType = 'Google_VolumeAccessInfoPdf';
2083
  protected $__pdfDataType = '';
2084
  public $pdf;
2085
  public $viewability;
2086
  protected $__epubType = 'Google_VolumeAccessInfoEpub';
2087
  protected $__epubDataType = '';
2088
  public $epub;
2089
  public $accessViewStatus;
2090
  public function setWebReaderLink($webReaderLink) {
2091
    $this->webReaderLink = $webReaderLink;
2092
  }
2093
  public function getWebReaderLink() {
2094
    return $this->webReaderLink;
2095
  }
2096
  public function setPublicDomain($publicDomain) {
2097
    $this->publicDomain = $publicDomain;
2098
  }
2099
  public function getPublicDomain() {
2100
    return $this->publicDomain;
2101
  }
2102
  public function setEmbeddable($embeddable) {
2103
    $this->embeddable = $embeddable;
2104
  }
2105
  public function getEmbeddable() {
2106
    return $this->embeddable;
2107
  }
2108
  public function setDownloadAccess(Google_DownloadAccessRestriction $downloadAccess) {
2109
    $this->downloadAccess = $downloadAccess;
2110
  }
2111
  public function getDownloadAccess() {
2112
    return $this->downloadAccess;
2113
  }
2114
  public function setCountry($country) {
2115
    $this->country = $country;
2116
  }
2117
  public function getCountry() {
2118
    return $this->country;
2119
  }
2120
  public function setViewOrderUrl($viewOrderUrl) {
2121
    $this->viewOrderUrl = $viewOrderUrl;
2122
  }
2123
  public function getViewOrderUrl() {
2124
    return $this->viewOrderUrl;
2125
  }
2126
  public function setTextToSpeechPermission($textToSpeechPermission) {
2127
    $this->textToSpeechPermission = $textToSpeechPermission;
2128
  }
2129
  public function getTextToSpeechPermission() {
2130
    return $this->textToSpeechPermission;
2131
  }
2132
  public function setPdf(Google_VolumeAccessInfoPdf $pdf) {
2133
    $this->pdf = $pdf;
2134
  }
2135
  public function getPdf() {
2136
    return $this->pdf;
2137
  }
2138
  public function setViewability($viewability) {
2139
    $this->viewability = $viewability;
2140
  }
2141
  public function getViewability() {
2142
    return $this->viewability;
2143
  }
2144
  public function setEpub(Google_VolumeAccessInfoEpub $epub) {
2145
    $this->epub = $epub;
2146
  }
2147
  public function getEpub() {
2148
    return $this->epub;
2149
  }
2150
  public function setAccessViewStatus($accessViewStatus) {
2151
    $this->accessViewStatus = $accessViewStatus;
2152
  }
2153
  public function getAccessViewStatus() {
2154
    return $this->accessViewStatus;
2155
  }
2156
}
2157
 
2158
class Google_VolumeAccessInfoEpub extends Google_Model {
2159
  public $isAvailable;
2160
  public $downloadLink;
2161
  public $acsTokenLink;
2162
  public function setIsAvailable($isAvailable) {
2163
    $this->isAvailable = $isAvailable;
2164
  }
2165
  public function getIsAvailable() {
2166
    return $this->isAvailable;
2167
  }
2168
  public function setDownloadLink($downloadLink) {
2169
    $this->downloadLink = $downloadLink;
2170
  }
2171
  public function getDownloadLink() {
2172
    return $this->downloadLink;
2173
  }
2174
  public function setAcsTokenLink($acsTokenLink) {
2175
    $this->acsTokenLink = $acsTokenLink;
2176
  }
2177
  public function getAcsTokenLink() {
2178
    return $this->acsTokenLink;
2179
  }
2180
}
2181
 
2182
class Google_VolumeAccessInfoPdf extends Google_Model {
2183
  public $isAvailable;
2184
  public $downloadLink;
2185
  public $acsTokenLink;
2186
  public function setIsAvailable($isAvailable) {
2187
    $this->isAvailable = $isAvailable;
2188
  }
2189
  public function getIsAvailable() {
2190
    return $this->isAvailable;
2191
  }
2192
  public function setDownloadLink($downloadLink) {
2193
    $this->downloadLink = $downloadLink;
2194
  }
2195
  public function getDownloadLink() {
2196
    return $this->downloadLink;
2197
  }
2198
  public function setAcsTokenLink($acsTokenLink) {
2199
    $this->acsTokenLink = $acsTokenLink;
2200
  }
2201
  public function getAcsTokenLink() {
2202
    return $this->acsTokenLink;
2203
  }
2204
}
2205
 
2206
class Google_VolumeSaleInfo extends Google_Model {
2207
  public $country;
2208
  protected $__retailPriceType = 'Google_VolumeSaleInfoRetailPrice';
2209
  protected $__retailPriceDataType = '';
2210
  public $retailPrice;
2211
  public $isEbook;
2212
  public $saleability;
2213
  public $buyLink;
2214
  public $onSaleDate;
2215
  protected $__listPriceType = 'Google_VolumeSaleInfoListPrice';
2216
  protected $__listPriceDataType = '';
2217
  public $listPrice;
2218
  public function setCountry($country) {
2219
    $this->country = $country;
2220
  }
2221
  public function getCountry() {
2222
    return $this->country;
2223
  }
2224
  public function setRetailPrice(Google_VolumeSaleInfoRetailPrice $retailPrice) {
2225
    $this->retailPrice = $retailPrice;
2226
  }
2227
  public function getRetailPrice() {
2228
    return $this->retailPrice;
2229
  }
2230
  public function setIsEbook($isEbook) {
2231
    $this->isEbook = $isEbook;
2232
  }
2233
  public function getIsEbook() {
2234
    return $this->isEbook;
2235
  }
2236
  public function setSaleability($saleability) {
2237
    $this->saleability = $saleability;
2238
  }
2239
  public function getSaleability() {
2240
    return $this->saleability;
2241
  }
2242
  public function setBuyLink($buyLink) {
2243
    $this->buyLink = $buyLink;
2244
  }
2245
  public function getBuyLink() {
2246
    return $this->buyLink;
2247
  }
2248
  public function setOnSaleDate($onSaleDate) {
2249
    $this->onSaleDate = $onSaleDate;
2250
  }
2251
  public function getOnSaleDate() {
2252
    return $this->onSaleDate;
2253
  }
2254
  public function setListPrice(Google_VolumeSaleInfoListPrice $listPrice) {
2255
    $this->listPrice = $listPrice;
2256
  }
2257
  public function getListPrice() {
2258
    return $this->listPrice;
2259
  }
2260
}
2261
 
2262
class Google_VolumeSaleInfoListPrice extends Google_Model {
2263
  public $amount;
2264
  public $currencyCode;
2265
  public function setAmount($amount) {
2266
    $this->amount = $amount;
2267
  }
2268
  public function getAmount() {
2269
    return $this->amount;
2270
  }
2271
  public function setCurrencyCode($currencyCode) {
2272
    $this->currencyCode = $currencyCode;
2273
  }
2274
  public function getCurrencyCode() {
2275
    return $this->currencyCode;
2276
  }
2277
}
2278
 
2279
class Google_VolumeSaleInfoRetailPrice extends Google_Model {
2280
  public $amount;
2281
  public $currencyCode;
2282
  public function setAmount($amount) {
2283
    $this->amount = $amount;
2284
  }
2285
  public function getAmount() {
2286
    return $this->amount;
2287
  }
2288
  public function setCurrencyCode($currencyCode) {
2289
    $this->currencyCode = $currencyCode;
2290
  }
2291
  public function getCurrencyCode() {
2292
    return $this->currencyCode;
2293
  }
2294
}
2295
 
2296
class Google_VolumeSearchInfo extends Google_Model {
2297
  public $textSnippet;
2298
  public function setTextSnippet($textSnippet) {
2299
    $this->textSnippet = $textSnippet;
2300
  }
2301
  public function getTextSnippet() {
2302
    return $this->textSnippet;
2303
  }
2304
}
2305
 
2306
class Google_VolumeUserInfo extends Google_Model {
2307
  public $isInMyBooks;
2308
  public $updated;
2309
  protected $__reviewType = 'Google_Review';
2310
  protected $__reviewDataType = '';
2311
  public $review;
2312
  public $isPurchased;
2313
  protected $__readingPositionType = 'Google_ReadingPosition';
2314
  protected $__readingPositionDataType = '';
2315
  public $readingPosition;
2316
  public $isPreordered;
2317
  public function setIsInMyBooks($isInMyBooks) {
2318
    $this->isInMyBooks = $isInMyBooks;
2319
  }
2320
  public function getIsInMyBooks() {
2321
    return $this->isInMyBooks;
2322
  }
2323
  public function setUpdated($updated) {
2324
    $this->updated = $updated;
2325
  }
2326
  public function getUpdated() {
2327
    return $this->updated;
2328
  }
2329
  public function setReview(Google_Review $review) {
2330
    $this->review = $review;
2331
  }
2332
  public function getReview() {
2333
    return $this->review;
2334
  }
2335
  public function setIsPurchased($isPurchased) {
2336
    $this->isPurchased = $isPurchased;
2337
  }
2338
  public function getIsPurchased() {
2339
    return $this->isPurchased;
2340
  }
2341
  public function setReadingPosition(Google_ReadingPosition $readingPosition) {
2342
    $this->readingPosition = $readingPosition;
2343
  }
2344
  public function getReadingPosition() {
2345
    return $this->readingPosition;
2346
  }
2347
  public function setIsPreordered($isPreordered) {
2348
    $this->isPreordered = $isPreordered;
2349
  }
2350
  public function getIsPreordered() {
2351
    return $this->isPreordered;
2352
  }
2353
}
2354
 
2355
class Google_VolumeVolumeInfo extends Google_Model {
2356
  public $publisher;
2357
  public $subtitle;
2358
  public $description;
2359
  public $language;
2360
  public $pageCount;
2361
  protected $__imageLinksType = 'Google_VolumeVolumeInfoImageLinks';
2362
  protected $__imageLinksDataType = '';
2363
  public $imageLinks;
2364
  public $publishedDate;
2365
  public $previewLink;
2366
  public $printType;
2367
  public $ratingsCount;
2368
  public $mainCategory;
2369
  protected $__dimensionsType = 'Google_VolumeVolumeInfoDimensions';
2370
  protected $__dimensionsDataType = '';
2371
  public $dimensions;
2372
  public $contentVersion;
2373
  protected $__industryIdentifiersType = 'Google_VolumeVolumeInfoIndustryIdentifiers';
2374
  protected $__industryIdentifiersDataType = 'array';
2375
  public $industryIdentifiers;
2376
  public $authors;
2377
  public $title;
2378
  public $canonicalVolumeLink;
2379
  public $infoLink;
2380
  public $categories;
2381
  public $averageRating;
2382
  public function setPublisher($publisher) {
2383
    $this->publisher = $publisher;
2384
  }
2385
  public function getPublisher() {
2386
    return $this->publisher;
2387
  }
2388
  public function setSubtitle($subtitle) {
2389
    $this->subtitle = $subtitle;
2390
  }
2391
  public function getSubtitle() {
2392
    return $this->subtitle;
2393
  }
2394
  public function setDescription($description) {
2395
    $this->description = $description;
2396
  }
2397
  public function getDescription() {
2398
    return $this->description;
2399
  }
2400
  public function setLanguage($language) {
2401
    $this->language = $language;
2402
  }
2403
  public function getLanguage() {
2404
    return $this->language;
2405
  }
2406
  public function setPageCount($pageCount) {
2407
    $this->pageCount = $pageCount;
2408
  }
2409
  public function getPageCount() {
2410
    return $this->pageCount;
2411
  }
2412
  public function setImageLinks(Google_VolumeVolumeInfoImageLinks $imageLinks) {
2413
    $this->imageLinks = $imageLinks;
2414
  }
2415
  public function getImageLinks() {
2416
    return $this->imageLinks;
2417
  }
2418
  public function setPublishedDate($publishedDate) {
2419
    $this->publishedDate = $publishedDate;
2420
  }
2421
  public function getPublishedDate() {
2422
    return $this->publishedDate;
2423
  }
2424
  public function setPreviewLink($previewLink) {
2425
    $this->previewLink = $previewLink;
2426
  }
2427
  public function getPreviewLink() {
2428
    return $this->previewLink;
2429
  }
2430
  public function setPrintType($printType) {
2431
    $this->printType = $printType;
2432
  }
2433
  public function getPrintType() {
2434
    return $this->printType;
2435
  }
2436
  public function setRatingsCount($ratingsCount) {
2437
    $this->ratingsCount = $ratingsCount;
2438
  }
2439
  public function getRatingsCount() {
2440
    return $this->ratingsCount;
2441
  }
2442
  public function setMainCategory($mainCategory) {
2443
    $this->mainCategory = $mainCategory;
2444
  }
2445
  public function getMainCategory() {
2446
    return $this->mainCategory;
2447
  }
2448
  public function setDimensions(Google_VolumeVolumeInfoDimensions $dimensions) {
2449
    $this->dimensions = $dimensions;
2450
  }
2451
  public function getDimensions() {
2452
    return $this->dimensions;
2453
  }
2454
  public function setContentVersion($contentVersion) {
2455
    $this->contentVersion = $contentVersion;
2456
  }
2457
  public function getContentVersion() {
2458
    return $this->contentVersion;
2459
  }
2460
  public function setIndustryIdentifiers(/* array(Google_VolumeVolumeInfoIndustryIdentifiers) */ $industryIdentifiers) {
2461
    $this->assertIsArray($industryIdentifiers, 'Google_VolumeVolumeInfoIndustryIdentifiers', __METHOD__);
2462
    $this->industryIdentifiers = $industryIdentifiers;
2463
  }
2464
  public function getIndustryIdentifiers() {
2465
    return $this->industryIdentifiers;
2466
  }
2467
  public function setAuthors(/* array(Google_string) */ $authors) {
2468
    $this->assertIsArray($authors, 'Google_string', __METHOD__);
2469
    $this->authors = $authors;
2470
  }
2471
  public function getAuthors() {
2472
    return $this->authors;
2473
  }
2474
  public function setTitle($title) {
2475
    $this->title = $title;
2476
  }
2477
  public function getTitle() {
2478
    return $this->title;
2479
  }
2480
  public function setCanonicalVolumeLink($canonicalVolumeLink) {
2481
    $this->canonicalVolumeLink = $canonicalVolumeLink;
2482
  }
2483
  public function getCanonicalVolumeLink() {
2484
    return $this->canonicalVolumeLink;
2485
  }
2486
  public function setInfoLink($infoLink) {
2487
    $this->infoLink = $infoLink;
2488
  }
2489
  public function getInfoLink() {
2490
    return $this->infoLink;
2491
  }
2492
  public function setCategories(/* array(Google_string) */ $categories) {
2493
    $this->assertIsArray($categories, 'Google_string', __METHOD__);
2494
    $this->categories = $categories;
2495
  }
2496
  public function getCategories() {
2497
    return $this->categories;
2498
  }
2499
  public function setAverageRating($averageRating) {
2500
    $this->averageRating = $averageRating;
2501
  }
2502
  public function getAverageRating() {
2503
    return $this->averageRating;
2504
  }
2505
}
2506
 
2507
class Google_VolumeVolumeInfoDimensions extends Google_Model {
2508
  public $width;
2509
  public $thickness;
2510
  public $height;
2511
  public function setWidth($width) {
2512
    $this->width = $width;
2513
  }
2514
  public function getWidth() {
2515
    return $this->width;
2516
  }
2517
  public function setThickness($thickness) {
2518
    $this->thickness = $thickness;
2519
  }
2520
  public function getThickness() {
2521
    return $this->thickness;
2522
  }
2523
  public function setHeight($height) {
2524
    $this->height = $height;
2525
  }
2526
  public function getHeight() {
2527
    return $this->height;
2528
  }
2529
}
2530
 
2531
class Google_VolumeVolumeInfoImageLinks extends Google_Model {
2532
  public $medium;
2533
  public $smallThumbnail;
2534
  public $large;
2535
  public $extraLarge;
2536
  public $small;
2537
  public $thumbnail;
2538
  public function setMedium($medium) {
2539
    $this->medium = $medium;
2540
  }
2541
  public function getMedium() {
2542
    return $this->medium;
2543
  }
2544
  public function setSmallThumbnail($smallThumbnail) {
2545
    $this->smallThumbnail = $smallThumbnail;
2546
  }
2547
  public function getSmallThumbnail() {
2548
    return $this->smallThumbnail;
2549
  }
2550
  public function setLarge($large) {
2551
    $this->large = $large;
2552
  }
2553
  public function getLarge() {
2554
    return $this->large;
2555
  }
2556
  public function setExtraLarge($extraLarge) {
2557
    $this->extraLarge = $extraLarge;
2558
  }
2559
  public function getExtraLarge() {
2560
    return $this->extraLarge;
2561
  }
2562
  public function setSmall($small) {
2563
    $this->small = $small;
2564
  }
2565
  public function getSmall() {
2566
    return $this->small;
2567
  }
2568
  public function setThumbnail($thumbnail) {
2569
    $this->thumbnail = $thumbnail;
2570
  }
2571
  public function getThumbnail() {
2572
    return $this->thumbnail;
2573
  }
2574
}
2575
 
2576
class Google_VolumeVolumeInfoIndustryIdentifiers extends Google_Model {
2577
  public $identifier;
2578
  public $type;
2579
  public function setIdentifier($identifier) {
2580
    $this->identifier = $identifier;
2581
  }
2582
  public function getIdentifier() {
2583
    return $this->identifier;
2584
  }
2585
  public function setType($type) {
2586
    $this->type = $type;
2587
  }
2588
  public function getType() {
2589
    return $this->type;
2590
  }
2591
}
2592
 
2593
class Google_Volumeannotation extends Google_Model {
2594
  public $annotationType;
2595
  public $kind;
2596
  public $updated;
2597
  public $deleted;
2598
  protected $__contentRangesType = 'Google_VolumeannotationContentRanges';
2599
  protected $__contentRangesDataType = '';
2600
  public $contentRanges;
2601
  public $selectedText;
2602
  public $volumeId;
2603
  public $annotationDataId;
2604
  public $annotationDataLink;
2605
  public $pageIds;
2606
  public $layerId;
2607
  public $data;
2608
  public $id;
2609
  public $selfLink;
2610
  public function setAnnotationType($annotationType) {
2611
    $this->annotationType = $annotationType;
2612
  }
2613
  public function getAnnotationType() {
2614
    return $this->annotationType;
2615
  }
2616
  public function setKind($kind) {
2617
    $this->kind = $kind;
2618
  }
2619
  public function getKind() {
2620
    return $this->kind;
2621
  }
2622
  public function setUpdated($updated) {
2623
    $this->updated = $updated;
2624
  }
2625
  public function getUpdated() {
2626
    return $this->updated;
2627
  }
2628
  public function setDeleted($deleted) {
2629
    $this->deleted = $deleted;
2630
  }
2631
  public function getDeleted() {
2632
    return $this->deleted;
2633
  }
2634
  public function setContentRanges(Google_VolumeannotationContentRanges $contentRanges) {
2635
    $this->contentRanges = $contentRanges;
2636
  }
2637
  public function getContentRanges() {
2638
    return $this->contentRanges;
2639
  }
2640
  public function setSelectedText($selectedText) {
2641
    $this->selectedText = $selectedText;
2642
  }
2643
  public function getSelectedText() {
2644
    return $this->selectedText;
2645
  }
2646
  public function setVolumeId($volumeId) {
2647
    $this->volumeId = $volumeId;
2648
  }
2649
  public function getVolumeId() {
2650
    return $this->volumeId;
2651
  }
2652
  public function setAnnotationDataId($annotationDataId) {
2653
    $this->annotationDataId = $annotationDataId;
2654
  }
2655
  public function getAnnotationDataId() {
2656
    return $this->annotationDataId;
2657
  }
2658
  public function setAnnotationDataLink($annotationDataLink) {
2659
    $this->annotationDataLink = $annotationDataLink;
2660
  }
2661
  public function getAnnotationDataLink() {
2662
    return $this->annotationDataLink;
2663
  }
2664
  public function setPageIds(/* array(Google_string) */ $pageIds) {
2665
    $this->assertIsArray($pageIds, 'Google_string', __METHOD__);
2666
    $this->pageIds = $pageIds;
2667
  }
2668
  public function getPageIds() {
2669
    return $this->pageIds;
2670
  }
2671
  public function setLayerId($layerId) {
2672
    $this->layerId = $layerId;
2673
  }
2674
  public function getLayerId() {
2675
    return $this->layerId;
2676
  }
2677
  public function setData($data) {
2678
    $this->data = $data;
2679
  }
2680
  public function getData() {
2681
    return $this->data;
2682
  }
2683
  public function setId($id) {
2684
    $this->id = $id;
2685
  }
2686
  public function getId() {
2687
    return $this->id;
2688
  }
2689
  public function setSelfLink($selfLink) {
2690
    $this->selfLink = $selfLink;
2691
  }
2692
  public function getSelfLink() {
2693
    return $this->selfLink;
2694
  }
2695
}
2696
 
2697
class Google_VolumeannotationContentRanges extends Google_Model {
2698
  public $contentVersion;
2699
  protected $__gbTextRangeType = 'Google_BooksAnnotationsRange';
2700
  protected $__gbTextRangeDataType = '';
2701
  public $gbTextRange;
2702
  protected $__cfiRangeType = 'Google_BooksAnnotationsRange';
2703
  protected $__cfiRangeDataType = '';
2704
  public $cfiRange;
2705
  protected $__gbImageRangeType = 'Google_BooksAnnotationsRange';
2706
  protected $__gbImageRangeDataType = '';
2707
  public $gbImageRange;
2708
  public function setContentVersion($contentVersion) {
2709
    $this->contentVersion = $contentVersion;
2710
  }
2711
  public function getContentVersion() {
2712
    return $this->contentVersion;
2713
  }
2714
  public function setGbTextRange(Google_BooksAnnotationsRange $gbTextRange) {
2715
    $this->gbTextRange = $gbTextRange;
2716
  }
2717
  public function getGbTextRange() {
2718
    return $this->gbTextRange;
2719
  }
2720
  public function setCfiRange(Google_BooksAnnotationsRange $cfiRange) {
2721
    $this->cfiRange = $cfiRange;
2722
  }
2723
  public function getCfiRange() {
2724
    return $this->cfiRange;
2725
  }
2726
  public function setGbImageRange(Google_BooksAnnotationsRange $gbImageRange) {
2727
    $this->gbImageRange = $gbImageRange;
2728
  }
2729
  public function getGbImageRange() {
2730
    return $this->gbImageRange;
2731
  }
2732
}
2733
 
2734
class Google_Volumeannotations extends Google_Model {
2735
  public $nextPageToken;
2736
  protected $__itemsType = 'Google_Volumeannotation';
2737
  protected $__itemsDataType = 'array';
2738
  public $items;
2739
  public $kind;
2740
  public $totalItems;
2741
  public function setNextPageToken($nextPageToken) {
2742
    $this->nextPageToken = $nextPageToken;
2743
  }
2744
  public function getNextPageToken() {
2745
    return $this->nextPageToken;
2746
  }
2747
  public function setItems(/* array(Google_Volumeannotation) */ $items) {
2748
    $this->assertIsArray($items, 'Google_Volumeannotation', __METHOD__);
2749
    $this->items = $items;
2750
  }
2751
  public function getItems() {
2752
    return $this->items;
2753
  }
2754
  public function setKind($kind) {
2755
    $this->kind = $kind;
2756
  }
2757
  public function getKind() {
2758
    return $this->kind;
2759
  }
2760
  public function setTotalItems($totalItems) {
2761
    $this->totalItems = $totalItems;
2762
  }
2763
  public function getTotalItems() {
2764
    return $this->totalItems;
2765
  }
2766
}
2767
 
2768
class Google_Volumes extends Google_Model {
2769
  public $totalItems;
2770
  protected $__itemsType = 'Google_Volume';
2771
  protected $__itemsDataType = 'array';
2772
  public $items;
2773
  public $kind;
2774
  public function setTotalItems($totalItems) {
2775
    $this->totalItems = $totalItems;
2776
  }
2777
  public function getTotalItems() {
2778
    return $this->totalItems;
2779
  }
2780
  public function setItems(/* array(Google_Volume) */ $items) {
2781
    $this->assertIsArray($items, 'Google_Volume', __METHOD__);
2782
    $this->items = $items;
2783
  }
2784
  public function getItems() {
2785
    return $this->items;
2786
  }
2787
  public function setKind($kind) {
2788
    $this->kind = $kind;
2789
  }
2790
  public function getKind() {
2791
    return $this->kind;
2792
  }
2793
}