1<?php
2/*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18/**
19 * Service definition for Books (v1).
20 *
21 * <p>
22 * Lets you search for books and manage your Google Books library.</p>
23 *
24 * <p>
25 * For more information about this service, see the API
26 * <a href="https://developers.google.com/books/docs/v1/getting_started" target="_blank">Documentation</a>
27 * </p>
28 *
29 * @author Google, Inc.
30 */
31class Google_Service_Books extends Google_Service
32{
33  /** Manage your books. */
34  const BOOKS =
35      "https://www.googleapis.com/auth/books";
36
37  public $bookshelves;
38  public $bookshelves_volumes;
39  public $cloudloading;
40  public $layers;
41  public $layers_annotationData;
42  public $layers_volumeAnnotations;
43  public $myconfig;
44  public $mylibrary_annotations;
45  public $mylibrary_bookshelves;
46  public $mylibrary_bookshelves_volumes;
47  public $mylibrary_readingpositions;
48  public $promooffer;
49  public $volumes;
50  public $volumes_associated;
51  public $volumes_mybooks;
52  public $volumes_recommended;
53  public $volumes_useruploaded;
54
55
56  /**
57   * Constructs the internal representation of the Books service.
58   *
59   * @param Google_Client $client
60   */
61  public function __construct(Google_Client $client)
62  {
63    parent::__construct($client);
64    $this->servicePath = 'books/v1/';
65    $this->version = 'v1';
66    $this->serviceName = 'books';
67
68    $this->bookshelves = new Google_Service_Books_Bookshelves_Resource(
69        $this,
70        $this->serviceName,
71        'bookshelves',
72        array(
73          'methods' => array(
74            'get' => array(
75              'path' => 'users/{userId}/bookshelves/{shelf}',
76              'httpMethod' => 'GET',
77              'parameters' => array(
78                'userId' => array(
79                  'location' => 'path',
80                  'type' => 'string',
81                  'required' => true,
82                ),
83                'shelf' => array(
84                  'location' => 'path',
85                  'type' => 'string',
86                  'required' => true,
87                ),
88                'source' => array(
89                  'location' => 'query',
90                  'type' => 'string',
91                ),
92              ),
93            ),'list' => array(
94              'path' => 'users/{userId}/bookshelves',
95              'httpMethod' => 'GET',
96              'parameters' => array(
97                'userId' => array(
98                  'location' => 'path',
99                  'type' => 'string',
100                  'required' => true,
101                ),
102                'source' => array(
103                  'location' => 'query',
104                  'type' => 'string',
105                ),
106              ),
107            ),
108          )
109        )
110    );
111    $this->bookshelves_volumes = new Google_Service_Books_BookshelvesVolumes_Resource(
112        $this,
113        $this->serviceName,
114        'volumes',
115        array(
116          'methods' => array(
117            'list' => array(
118              'path' => 'users/{userId}/bookshelves/{shelf}/volumes',
119              'httpMethod' => 'GET',
120              'parameters' => array(
121                'userId' => array(
122                  'location' => 'path',
123                  'type' => 'string',
124                  'required' => true,
125                ),
126                'shelf' => array(
127                  'location' => 'path',
128                  'type' => 'string',
129                  'required' => true,
130                ),
131                'showPreorders' => array(
132                  'location' => 'query',
133                  'type' => 'boolean',
134                ),
135                'maxResults' => array(
136                  'location' => 'query',
137                  'type' => 'integer',
138                ),
139                'source' => array(
140                  'location' => 'query',
141                  'type' => 'string',
142                ),
143                'startIndex' => array(
144                  'location' => 'query',
145                  'type' => 'integer',
146                ),
147              ),
148            ),
149          )
150        )
151    );
152    $this->cloudloading = new Google_Service_Books_Cloudloading_Resource(
153        $this,
154        $this->serviceName,
155        'cloudloading',
156        array(
157          'methods' => array(
158            'addBook' => array(
159              'path' => 'cloudloading/addBook',
160              'httpMethod' => 'POST',
161              'parameters' => array(
162                'upload_client_token' => array(
163                  'location' => 'query',
164                  'type' => 'string',
165                ),
166                'drive_document_id' => array(
167                  'location' => 'query',
168                  'type' => 'string',
169                ),
170                'mime_type' => array(
171                  'location' => 'query',
172                  'type' => 'string',
173                ),
174                'name' => array(
175                  'location' => 'query',
176                  'type' => 'string',
177                ),
178              ),
179            ),'deleteBook' => array(
180              'path' => 'cloudloading/deleteBook',
181              'httpMethod' => 'POST',
182              'parameters' => array(
183                'volumeId' => array(
184                  'location' => 'query',
185                  'type' => 'string',
186                  'required' => true,
187                ),
188              ),
189            ),'updateBook' => array(
190              'path' => 'cloudloading/updateBook',
191              'httpMethod' => 'POST',
192              'parameters' => array(),
193            ),
194          )
195        )
196    );
197    $this->layers = new Google_Service_Books_Layers_Resource(
198        $this,
199        $this->serviceName,
200        'layers',
201        array(
202          'methods' => array(
203            'get' => array(
204              'path' => 'volumes/{volumeId}/layersummary/{summaryId}',
205              'httpMethod' => 'GET',
206              'parameters' => array(
207                'volumeId' => array(
208                  'location' => 'path',
209                  'type' => 'string',
210                  'required' => true,
211                ),
212                'summaryId' => array(
213                  'location' => 'path',
214                  'type' => 'string',
215                  'required' => true,
216                ),
217                'source' => array(
218                  'location' => 'query',
219                  'type' => 'string',
220                ),
221                'contentVersion' => array(
222                  'location' => 'query',
223                  'type' => 'string',
224                ),
225              ),
226            ),'list' => array(
227              'path' => 'volumes/{volumeId}/layersummary',
228              'httpMethod' => 'GET',
229              'parameters' => array(
230                'volumeId' => array(
231                  'location' => 'path',
232                  'type' => 'string',
233                  'required' => true,
234                ),
235                'pageToken' => array(
236                  'location' => 'query',
237                  'type' => 'string',
238                ),
239                'contentVersion' => array(
240                  'location' => 'query',
241                  'type' => 'string',
242                ),
243                'maxResults' => array(
244                  'location' => 'query',
245                  'type' => 'integer',
246                ),
247                'source' => array(
248                  'location' => 'query',
249                  'type' => 'string',
250                ),
251              ),
252            ),
253          )
254        )
255    );
256    $this->layers_annotationData = new Google_Service_Books_LayersAnnotationData_Resource(
257        $this,
258        $this->serviceName,
259        'annotationData',
260        array(
261          'methods' => array(
262            'get' => array(
263              'path' => 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}',
264              'httpMethod' => 'GET',
265              'parameters' => array(
266                'volumeId' => array(
267                  'location' => 'path',
268                  'type' => 'string',
269                  'required' => true,
270                ),
271                'layerId' => array(
272                  'location' => 'path',
273                  'type' => 'string',
274                  'required' => true,
275                ),
276                'annotationDataId' => array(
277                  'location' => 'path',
278                  'type' => 'string',
279                  'required' => true,
280                ),
281                'contentVersion' => array(
282                  'location' => 'query',
283                  'type' => 'string',
284                  'required' => true,
285                ),
286                'scale' => array(
287                  'location' => 'query',
288                  'type' => 'integer',
289                ),
290                'source' => array(
291                  'location' => 'query',
292                  'type' => 'string',
293                ),
294                'allowWebDefinitions' => array(
295                  'location' => 'query',
296                  'type' => 'boolean',
297                ),
298                'h' => array(
299                  'location' => 'query',
300                  'type' => 'integer',
301                ),
302                'locale' => array(
303                  'location' => 'query',
304                  'type' => 'string',
305                ),
306                'w' => array(
307                  'location' => 'query',
308                  'type' => 'integer',
309                ),
310              ),
311            ),'list' => array(
312              'path' => 'volumes/{volumeId}/layers/{layerId}/data',
313              'httpMethod' => 'GET',
314              'parameters' => array(
315                'volumeId' => array(
316                  'location' => 'path',
317                  'type' => 'string',
318                  'required' => true,
319                ),
320                'layerId' => array(
321                  'location' => 'path',
322                  'type' => 'string',
323                  'required' => true,
324                ),
325                'contentVersion' => array(
326                  'location' => 'query',
327                  'type' => 'string',
328                  'required' => true,
329                ),
330                'scale' => array(
331                  'location' => 'query',
332                  'type' => 'integer',
333                ),
334                'source' => array(
335                  'location' => 'query',
336                  'type' => 'string',
337                ),
338                'locale' => array(
339                  'location' => 'query',
340                  'type' => 'string',
341                ),
342                'h' => array(
343                  'location' => 'query',
344                  'type' => 'integer',
345                ),
346                'updatedMax' => array(
347                  'location' => 'query',
348                  'type' => 'string',
349                ),
350                'maxResults' => array(
351                  'location' => 'query',
352                  'type' => 'integer',
353                ),
354                'annotationDataId' => array(
355                  'location' => 'query',
356                  'type' => 'string',
357                  'repeated' => true,
358                ),
359                'pageToken' => array(
360                  'location' => 'query',
361                  'type' => 'string',
362                ),
363                'w' => array(
364                  'location' => 'query',
365                  'type' => 'integer',
366                ),
367                'updatedMin' => array(
368                  'location' => 'query',
369                  'type' => 'string',
370                ),
371              ),
372            ),
373          )
374        )
375    );
376    $this->layers_volumeAnnotations = new Google_Service_Books_LayersVolumeAnnotations_Resource(
377        $this,
378        $this->serviceName,
379        'volumeAnnotations',
380        array(
381          'methods' => array(
382            'get' => array(
383              'path' => 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}',
384              'httpMethod' => 'GET',
385              'parameters' => array(
386                'volumeId' => array(
387                  'location' => 'path',
388                  'type' => 'string',
389                  'required' => true,
390                ),
391                'layerId' => array(
392                  'location' => 'path',
393                  'type' => 'string',
394                  'required' => true,
395                ),
396                'annotationId' => array(
397                  'location' => 'path',
398                  'type' => 'string',
399                  'required' => true,
400                ),
401                'locale' => array(
402                  'location' => 'query',
403                  'type' => 'string',
404                ),
405                'source' => array(
406                  'location' => 'query',
407                  'type' => 'string',
408                ),
409              ),
410            ),'list' => array(
411              'path' => 'volumes/{volumeId}/layers/{layerId}',
412              'httpMethod' => 'GET',
413              'parameters' => array(
414                'volumeId' => array(
415                  'location' => 'path',
416                  'type' => 'string',
417                  'required' => true,
418                ),
419                'layerId' => array(
420                  'location' => 'path',
421                  'type' => 'string',
422                  'required' => true,
423                ),
424                'contentVersion' => array(
425                  'location' => 'query',
426                  'type' => 'string',
427                  'required' => true,
428                ),
429                'showDeleted' => array(
430                  'location' => 'query',
431                  'type' => 'boolean',
432                ),
433                'volumeAnnotationsVersion' => array(
434                  'location' => 'query',
435                  'type' => 'string',
436                ),
437                'endPosition' => array(
438                  'location' => 'query',
439                  'type' => 'string',
440                ),
441                'endOffset' => array(
442                  'location' => 'query',
443                  'type' => 'string',
444                ),
445                'locale' => array(
446                  'location' => 'query',
447                  'type' => 'string',
448                ),
449                'updatedMin' => array(
450                  'location' => 'query',
451                  'type' => 'string',
452                ),
453                'updatedMax' => array(
454                  'location' => 'query',
455                  'type' => 'string',
456                ),
457                'maxResults' => array(
458                  'location' => 'query',
459                  'type' => 'integer',
460                ),
461                'pageToken' => array(
462                  'location' => 'query',
463                  'type' => 'string',
464                ),
465                'source' => array(
466                  'location' => 'query',
467                  'type' => 'string',
468                ),
469                'startOffset' => array(
470                  'location' => 'query',
471                  'type' => 'string',
472                ),
473                'startPosition' => array(
474                  'location' => 'query',
475                  'type' => 'string',
476                ),
477              ),
478            ),
479          )
480        )
481    );
482    $this->myconfig = new Google_Service_Books_Myconfig_Resource(
483        $this,
484        $this->serviceName,
485        'myconfig',
486        array(
487          'methods' => array(
488            'releaseDownloadAccess' => array(
489              'path' => 'myconfig/releaseDownloadAccess',
490              'httpMethod' => 'POST',
491              'parameters' => array(
492                'volumeIds' => array(
493                  'location' => 'query',
494                  'type' => 'string',
495                  'repeated' => true,
496                  'required' => true,
497                ),
498                'cpksver' => array(
499                  'location' => 'query',
500                  'type' => 'string',
501                  'required' => true,
502                ),
503                'locale' => array(
504                  'location' => 'query',
505                  'type' => 'string',
506                ),
507                'source' => array(
508                  'location' => 'query',
509                  'type' => 'string',
510                ),
511              ),
512            ),'requestAccess' => array(
513              'path' => 'myconfig/requestAccess',
514              'httpMethod' => 'POST',
515              'parameters' => array(
516                'source' => array(
517                  'location' => 'query',
518                  'type' => 'string',
519                  'required' => true,
520                ),
521                'volumeId' => array(
522                  'location' => 'query',
523                  'type' => 'string',
524                  'required' => true,
525                ),
526                'nonce' => array(
527                  'location' => 'query',
528                  'type' => 'string',
529                  'required' => true,
530                ),
531                'cpksver' => array(
532                  'location' => 'query',
533                  'type' => 'string',
534                  'required' => true,
535                ),
536                'licenseTypes' => array(
537                  'location' => 'query',
538                  'type' => 'string',
539                ),
540                'locale' => array(
541                  'location' => 'query',
542                  'type' => 'string',
543                ),
544              ),
545            ),'syncVolumeLicenses' => array(
546              'path' => 'myconfig/syncVolumeLicenses',
547              'httpMethod' => 'POST',
548              'parameters' => array(
549                'source' => array(
550                  'location' => 'query',
551                  'type' => 'string',
552                  'required' => true,
553                ),
554                'nonce' => array(
555                  'location' => 'query',
556                  'type' => 'string',
557                  'required' => true,
558                ),
559                'cpksver' => array(
560                  'location' => 'query',
561                  'type' => 'string',
562                  'required' => true,
563                ),
564                'features' => array(
565                  'location' => 'query',
566                  'type' => 'string',
567                  'repeated' => true,
568                ),
569                'locale' => array(
570                  'location' => 'query',
571                  'type' => 'string',
572                ),
573                'showPreorders' => array(
574                  'location' => 'query',
575                  'type' => 'boolean',
576                ),
577                'volumeIds' => array(
578                  'location' => 'query',
579                  'type' => 'string',
580                  'repeated' => true,
581                ),
582              ),
583            ),
584          )
585        )
586    );
587    $this->mylibrary_annotations = new Google_Service_Books_MylibraryAnnotations_Resource(
588        $this,
589        $this->serviceName,
590        'annotations',
591        array(
592          'methods' => array(
593            'delete' => array(
594              'path' => 'mylibrary/annotations/{annotationId}',
595              'httpMethod' => 'DELETE',
596              'parameters' => array(
597                'annotationId' => array(
598                  'location' => 'path',
599                  'type' => 'string',
600                  'required' => true,
601                ),
602                'source' => array(
603                  'location' => 'query',
604                  'type' => 'string',
605                ),
606              ),
607            ),'get' => array(
608              'path' => 'mylibrary/annotations/{annotationId}',
609              'httpMethod' => 'GET',
610              'parameters' => array(
611                'annotationId' => array(
612                  'location' => 'path',
613                  'type' => 'string',
614                  'required' => true,
615                ),
616                'source' => array(
617                  'location' => 'query',
618                  'type' => 'string',
619                ),
620              ),
621            ),'insert' => array(
622              'path' => 'mylibrary/annotations',
623              'httpMethod' => 'POST',
624              'parameters' => array(
625                'source' => array(
626                  'location' => 'query',
627                  'type' => 'string',
628                ),
629                'showOnlySummaryInResponse' => array(
630                  'location' => 'query',
631                  'type' => 'boolean',
632                ),
633              ),
634            ),'list' => array(
635              'path' => 'mylibrary/annotations',
636              'httpMethod' => 'GET',
637              'parameters' => array(
638                'showDeleted' => array(
639                  'location' => 'query',
640                  'type' => 'boolean',
641                ),
642                'updatedMin' => array(
643                  'location' => 'query',
644                  'type' => 'string',
645                ),
646                'layerIds' => array(
647                  'location' => 'query',
648                  'type' => 'string',
649                  'repeated' => true,
650                ),
651                'volumeId' => array(
652                  'location' => 'query',
653                  'type' => 'string',
654                ),
655                'maxResults' => array(
656                  'location' => 'query',
657                  'type' => 'integer',
658                ),
659                'pageToken' => array(
660                  'location' => 'query',
661                  'type' => 'string',
662                ),
663                'pageIds' => array(
664                  'location' => 'query',
665                  'type' => 'string',
666                  'repeated' => true,
667                ),
668                'contentVersion' => array(
669                  'location' => 'query',
670                  'type' => 'string',
671                ),
672                'source' => array(
673                  'location' => 'query',
674                  'type' => 'string',
675                ),
676                'layerId' => array(
677                  'location' => 'query',
678                  'type' => 'string',
679                ),
680                'updatedMax' => array(
681                  'location' => 'query',
682                  'type' => 'string',
683                ),
684              ),
685            ),'summary' => array(
686              'path' => 'mylibrary/annotations/summary',
687              'httpMethod' => 'POST',
688              'parameters' => array(
689                'layerIds' => array(
690                  'location' => 'query',
691                  'type' => 'string',
692                  'repeated' => true,
693                  'required' => true,
694                ),
695                'volumeId' => array(
696                  'location' => 'query',
697                  'type' => 'string',
698                  'required' => true,
699                ),
700              ),
701            ),'update' => array(
702              'path' => 'mylibrary/annotations/{annotationId}',
703              'httpMethod' => 'PUT',
704              'parameters' => array(
705                'annotationId' => array(
706                  'location' => 'path',
707                  'type' => 'string',
708                  'required' => true,
709                ),
710                'source' => array(
711                  'location' => 'query',
712                  'type' => 'string',
713                ),
714              ),
715            ),
716          )
717        )
718    );
719    $this->mylibrary_bookshelves = new Google_Service_Books_MylibraryBookshelves_Resource(
720        $this,
721        $this->serviceName,
722        'bookshelves',
723        array(
724          'methods' => array(
725            'addVolume' => array(
726              'path' => 'mylibrary/bookshelves/{shelf}/addVolume',
727              'httpMethod' => 'POST',
728              'parameters' => array(
729                'shelf' => array(
730                  'location' => 'path',
731                  'type' => 'string',
732                  'required' => true,
733                ),
734                'volumeId' => array(
735                  'location' => 'query',
736                  'type' => 'string',
737                  'required' => true,
738                ),
739                'source' => array(
740                  'location' => 'query',
741                  'type' => 'string',
742                ),
743              ),
744            ),'clearVolumes' => array(
745              'path' => 'mylibrary/bookshelves/{shelf}/clearVolumes',
746              'httpMethod' => 'POST',
747              'parameters' => array(
748                'shelf' => array(
749                  'location' => 'path',
750                  'type' => 'string',
751                  'required' => true,
752                ),
753                'source' => array(
754                  'location' => 'query',
755                  'type' => 'string',
756                ),
757              ),
758            ),'get' => array(
759              'path' => 'mylibrary/bookshelves/{shelf}',
760              'httpMethod' => 'GET',
761              'parameters' => array(
762                'shelf' => array(
763                  'location' => 'path',
764                  'type' => 'string',
765                  'required' => true,
766                ),
767                'source' => array(
768                  'location' => 'query',
769                  'type' => 'string',
770                ),
771              ),
772            ),'list' => array(
773              'path' => 'mylibrary/bookshelves',
774              'httpMethod' => 'GET',
775              'parameters' => array(
776                'source' => array(
777                  'location' => 'query',
778                  'type' => 'string',
779                ),
780              ),
781            ),'moveVolume' => array(
782              'path' => 'mylibrary/bookshelves/{shelf}/moveVolume',
783              'httpMethod' => 'POST',
784              'parameters' => array(
785                'shelf' => array(
786                  'location' => 'path',
787                  'type' => 'string',
788                  'required' => true,
789                ),
790                'volumeId' => array(
791                  'location' => 'query',
792                  'type' => 'string',
793                  'required' => true,
794                ),
795                'volumePosition' => array(
796                  'location' => 'query',
797                  'type' => 'integer',
798                  'required' => true,
799                ),
800                'source' => array(
801                  'location' => 'query',
802                  'type' => 'string',
803                ),
804              ),
805            ),'removeVolume' => array(
806              'path' => 'mylibrary/bookshelves/{shelf}/removeVolume',
807              'httpMethod' => 'POST',
808              'parameters' => array(
809                'shelf' => array(
810                  'location' => 'path',
811                  'type' => 'string',
812                  'required' => true,
813                ),
814                'volumeId' => array(
815                  'location' => 'query',
816                  'type' => 'string',
817                  'required' => true,
818                ),
819                'source' => array(
820                  'location' => 'query',
821                  'type' => 'string',
822                ),
823              ),
824            ),
825          )
826        )
827    );
828    $this->mylibrary_bookshelves_volumes = new Google_Service_Books_MylibraryBookshelvesVolumes_Resource(
829        $this,
830        $this->serviceName,
831        'volumes',
832        array(
833          'methods' => array(
834            'list' => array(
835              'path' => 'mylibrary/bookshelves/{shelf}/volumes',
836              'httpMethod' => 'GET',
837              'parameters' => array(
838                'shelf' => array(
839                  'location' => 'path',
840                  'type' => 'string',
841                  'required' => true,
842                ),
843                'projection' => array(
844                  'location' => 'query',
845                  'type' => 'string',
846                ),
847                'country' => array(
848                  'location' => 'query',
849                  'type' => 'string',
850                ),
851                'showPreorders' => array(
852                  'location' => 'query',
853                  'type' => 'boolean',
854                ),
855                'maxResults' => array(
856                  'location' => 'query',
857                  'type' => 'integer',
858                ),
859                'q' => array(
860                  'location' => 'query',
861                  'type' => 'string',
862                ),
863                'source' => array(
864                  'location' => 'query',
865                  'type' => 'string',
866                ),
867                'startIndex' => array(
868                  'location' => 'query',
869                  'type' => 'integer',
870                ),
871              ),
872            ),
873          )
874        )
875    );
876    $this->mylibrary_readingpositions = new Google_Service_Books_MylibraryReadingpositions_Resource(
877        $this,
878        $this->serviceName,
879        'readingpositions',
880        array(
881          'methods' => array(
882            'get' => array(
883              'path' => 'mylibrary/readingpositions/{volumeId}',
884              'httpMethod' => 'GET',
885              'parameters' => array(
886                'volumeId' => array(
887                  'location' => 'path',
888                  'type' => 'string',
889                  'required' => true,
890                ),
891                'source' => array(
892                  'location' => 'query',
893                  'type' => 'string',
894                ),
895                'contentVersion' => array(
896                  'location' => 'query',
897                  'type' => 'string',
898                ),
899              ),
900            ),'setPosition' => array(
901              'path' => 'mylibrary/readingpositions/{volumeId}/setPosition',
902              'httpMethod' => 'POST',
903              'parameters' => array(
904                'volumeId' => array(
905                  'location' => 'path',
906                  'type' => 'string',
907                  'required' => true,
908                ),
909                'timestamp' => array(
910                  'location' => 'query',
911                  'type' => 'string',
912                  'required' => true,
913                ),
914                'position' => array(
915                  'location' => 'query',
916                  'type' => 'string',
917                  'required' => true,
918                ),
919                'deviceCookie' => array(
920                  'location' => 'query',
921                  'type' => 'string',
922                ),
923                'source' => array(
924                  'location' => 'query',
925                  'type' => 'string',
926                ),
927                'contentVersion' => array(
928                  'location' => 'query',
929                  'type' => 'string',
930                ),
931                'action' => array(
932                  'location' => 'query',
933                  'type' => 'string',
934                ),
935              ),
936            ),
937          )
938        )
939    );
940    $this->promooffer = new Google_Service_Books_Promooffer_Resource(
941        $this,
942        $this->serviceName,
943        'promooffer',
944        array(
945          'methods' => array(
946            'accept' => array(
947              'path' => 'promooffer/accept',
948              'httpMethod' => 'POST',
949              'parameters' => array(
950                'product' => array(
951                  'location' => 'query',
952                  'type' => 'string',
953                ),
954                'volumeId' => array(
955                  'location' => 'query',
956                  'type' => 'string',
957                ),
958                'offerId' => array(
959                  'location' => 'query',
960                  'type' => 'string',
961                ),
962                'androidId' => array(
963                  'location' => 'query',
964                  'type' => 'string',
965                ),
966                'device' => array(
967                  'location' => 'query',
968                  'type' => 'string',
969                ),
970                'model' => array(
971                  'location' => 'query',
972                  'type' => 'string',
973                ),
974                'serial' => array(
975                  'location' => 'query',
976                  'type' => 'string',
977                ),
978                'manufacturer' => array(
979                  'location' => 'query',
980                  'type' => 'string',
981                ),
982              ),
983            ),'dismiss' => array(
984              'path' => 'promooffer/dismiss',
985              'httpMethod' => 'POST',
986              'parameters' => array(
987                'product' => array(
988                  'location' => 'query',
989                  'type' => 'string',
990                ),
991                'offerId' => array(
992                  'location' => 'query',
993                  'type' => 'string',
994                ),
995                'androidId' => array(
996                  'location' => 'query',
997                  'type' => 'string',
998                ),
999                'device' => array(
1000                  'location' => 'query',
1001                  'type' => 'string',
1002                ),
1003                'model' => array(
1004                  'location' => 'query',
1005                  'type' => 'string',
1006                ),
1007                'serial' => array(
1008                  'location' => 'query',
1009                  'type' => 'string',
1010                ),
1011                'manufacturer' => array(
1012                  'location' => 'query',
1013                  'type' => 'string',
1014                ),
1015              ),
1016            ),'get' => array(
1017              'path' => 'promooffer/get',
1018              'httpMethod' => 'GET',
1019              'parameters' => array(
1020                'product' => array(
1021                  'location' => 'query',
1022                  'type' => 'string',
1023                ),
1024                'androidId' => array(
1025                  'location' => 'query',
1026                  'type' => 'string',
1027                ),
1028                'device' => array(
1029                  'location' => 'query',
1030                  'type' => 'string',
1031                ),
1032                'model' => array(
1033                  'location' => 'query',
1034                  'type' => 'string',
1035                ),
1036                'serial' => array(
1037                  'location' => 'query',
1038                  'type' => 'string',
1039                ),
1040                'manufacturer' => array(
1041                  'location' => 'query',
1042                  'type' => 'string',
1043                ),
1044              ),
1045            ),
1046          )
1047        )
1048    );
1049    $this->volumes = new Google_Service_Books_Volumes_Resource(
1050        $this,
1051        $this->serviceName,
1052        'volumes',
1053        array(
1054          'methods' => array(
1055            'get' => array(
1056              'path' => 'volumes/{volumeId}',
1057              'httpMethod' => 'GET',
1058              'parameters' => array(
1059                'volumeId' => array(
1060                  'location' => 'path',
1061                  'type' => 'string',
1062                  'required' => true,
1063                ),
1064                'source' => array(
1065                  'location' => 'query',
1066                  'type' => 'string',
1067                ),
1068                'country' => array(
1069                  'location' => 'query',
1070                  'type' => 'string',
1071                ),
1072                'projection' => array(
1073                  'location' => 'query',
1074                  'type' => 'string',
1075                ),
1076                'partner' => array(
1077                  'location' => 'query',
1078                  'type' => 'string',
1079                ),
1080              ),
1081            ),'list' => array(
1082              'path' => 'volumes',
1083              'httpMethod' => 'GET',
1084              'parameters' => array(
1085                'q' => array(
1086                  'location' => 'query',
1087                  'type' => 'string',
1088                  'required' => true,
1089                ),
1090                'orderBy' => array(
1091                  'location' => 'query',
1092                  'type' => 'string',
1093                ),
1094                'projection' => array(
1095                  'location' => 'query',
1096                  'type' => 'string',
1097                ),
1098                'libraryRestrict' => array(
1099                  'location' => 'query',
1100                  'type' => 'string',
1101                ),
1102                'langRestrict' => array(
1103                  'location' => 'query',
1104                  'type' => 'string',
1105                ),
1106                'showPreorders' => array(
1107                  'location' => 'query',
1108                  'type' => 'boolean',
1109                ),
1110                'printType' => array(
1111                  'location' => 'query',
1112                  'type' => 'string',
1113                ),
1114                'maxResults' => array(
1115                  'location' => 'query',
1116                  'type' => 'integer',
1117                ),
1118                'filter' => array(
1119                  'location' => 'query',
1120                  'type' => 'string',
1121                ),
1122                'source' => array(
1123                  'location' => 'query',
1124                  'type' => 'string',
1125                ),
1126                'startIndex' => array(
1127                  'location' => 'query',
1128                  'type' => 'integer',
1129                ),
1130                'download' => array(
1131                  'location' => 'query',
1132                  'type' => 'string',
1133                ),
1134                'partner' => array(
1135                  'location' => 'query',
1136                  'type' => 'string',
1137                ),
1138              ),
1139            ),
1140          )
1141        )
1142    );
1143    $this->volumes_associated = new Google_Service_Books_VolumesAssociated_Resource(
1144        $this,
1145        $this->serviceName,
1146        'associated',
1147        array(
1148          'methods' => array(
1149            'list' => array(
1150              'path' => 'volumes/{volumeId}/associated',
1151              'httpMethod' => 'GET',
1152              'parameters' => array(
1153                'volumeId' => array(
1154                  'location' => 'path',
1155                  'type' => 'string',
1156                  'required' => true,
1157                ),
1158                'locale' => array(
1159                  'location' => 'query',
1160                  'type' => 'string',
1161                ),
1162                'source' => array(
1163                  'location' => 'query',
1164                  'type' => 'string',
1165                ),
1166                'association' => array(
1167                  'location' => 'query',
1168                  'type' => 'string',
1169                ),
1170              ),
1171            ),
1172          )
1173        )
1174    );
1175    $this->volumes_mybooks = new Google_Service_Books_VolumesMybooks_Resource(
1176        $this,
1177        $this->serviceName,
1178        'mybooks',
1179        array(
1180          'methods' => array(
1181            'list' => array(
1182              'path' => 'volumes/mybooks',
1183              'httpMethod' => 'GET',
1184              'parameters' => array(
1185                'locale' => array(
1186                  'location' => 'query',
1187                  'type' => 'string',
1188                ),
1189                'startIndex' => array(
1190                  'location' => 'query',
1191                  'type' => 'integer',
1192                ),
1193                'maxResults' => array(
1194                  'location' => 'query',
1195                  'type' => 'integer',
1196                ),
1197                'source' => array(
1198                  'location' => 'query',
1199                  'type' => 'string',
1200                ),
1201                'acquireMethod' => array(
1202                  'location' => 'query',
1203                  'type' => 'string',
1204                  'repeated' => true,
1205                ),
1206                'processingState' => array(
1207                  'location' => 'query',
1208                  'type' => 'string',
1209                  'repeated' => true,
1210                ),
1211              ),
1212            ),
1213          )
1214        )
1215    );
1216    $this->volumes_recommended = new Google_Service_Books_VolumesRecommended_Resource(
1217        $this,
1218        $this->serviceName,
1219        'recommended',
1220        array(
1221          'methods' => array(
1222            'list' => array(
1223              'path' => 'volumes/recommended',
1224              'httpMethod' => 'GET',
1225              'parameters' => array(
1226                'locale' => array(
1227                  'location' => 'query',
1228                  'type' => 'string',
1229                ),
1230                'source' => array(
1231                  'location' => 'query',
1232                  'type' => 'string',
1233                ),
1234              ),
1235            ),'rate' => array(
1236              'path' => 'volumes/recommended/rate',
1237              'httpMethod' => 'POST',
1238              'parameters' => array(
1239                'rating' => array(
1240                  'location' => 'query',
1241                  'type' => 'string',
1242                  'required' => true,
1243                ),
1244                'volumeId' => array(
1245                  'location' => 'query',
1246                  'type' => 'string',
1247                  'required' => true,
1248                ),
1249                'locale' => array(
1250                  'location' => 'query',
1251                  'type' => 'string',
1252                ),
1253                'source' => array(
1254                  'location' => 'query',
1255                  'type' => 'string',
1256                ),
1257              ),
1258            ),
1259          )
1260        )
1261    );
1262    $this->volumes_useruploaded = new Google_Service_Books_VolumesUseruploaded_Resource(
1263        $this,
1264        $this->serviceName,
1265        'useruploaded',
1266        array(
1267          'methods' => array(
1268            'list' => array(
1269              'path' => 'volumes/useruploaded',
1270              'httpMethod' => 'GET',
1271              'parameters' => array(
1272                'locale' => array(
1273                  'location' => 'query',
1274                  'type' => 'string',
1275                ),
1276                'volumeId' => array(
1277                  'location' => 'query',
1278                  'type' => 'string',
1279                  'repeated' => true,
1280                ),
1281                'maxResults' => array(
1282                  'location' => 'query',
1283                  'type' => 'integer',
1284                ),
1285                'source' => array(
1286                  'location' => 'query',
1287                  'type' => 'string',
1288                ),
1289                'startIndex' => array(
1290                  'location' => 'query',
1291                  'type' => 'integer',
1292                ),
1293                'processingState' => array(
1294                  'location' => 'query',
1295                  'type' => 'string',
1296                  'repeated' => true,
1297                ),
1298              ),
1299            ),
1300          )
1301        )
1302    );
1303  }
1304}
1305
1306
1307/**
1308 * The "bookshelves" collection of methods.
1309 * Typical usage is:
1310 *  <code>
1311 *   $booksService = new Google_Service_Books(...);
1312 *   $bookshelves = $booksService->bookshelves;
1313 *  </code>
1314 */
1315class Google_Service_Books_Bookshelves_Resource extends Google_Service_Resource
1316{
1317
1318  /**
1319   * Retrieves metadata for a specific bookshelf for the specified user.
1320   * (bookshelves.get)
1321   *
1322   * @param string $userId ID of user for whom to retrieve bookshelves.
1323   * @param string $shelf ID of bookshelf to retrieve.
1324   * @param array $optParams Optional parameters.
1325   *
1326   * @opt_param string source String to identify the originator of this request.
1327   * @return Google_Service_Books_Bookshelf
1328   */
1329  public function get($userId, $shelf, $optParams = array())
1330  {
1331    $params = array('userId' => $userId, 'shelf' => $shelf);
1332    $params = array_merge($params, $optParams);
1333    return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
1334  }
1335
1336  /**
1337   * Retrieves a list of public bookshelves for the specified user.
1338   * (bookshelves.listBookshelves)
1339   *
1340   * @param string $userId ID of user for whom to retrieve bookshelves.
1341   * @param array $optParams Optional parameters.
1342   *
1343   * @opt_param string source String to identify the originator of this request.
1344   * @return Google_Service_Books_Bookshelves
1345   */
1346  public function listBookshelves($userId, $optParams = array())
1347  {
1348    $params = array('userId' => $userId);
1349    $params = array_merge($params, $optParams);
1350    return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
1351  }
1352}
1353
1354/**
1355 * The "volumes" collection of methods.
1356 * Typical usage is:
1357 *  <code>
1358 *   $booksService = new Google_Service_Books(...);
1359 *   $volumes = $booksService->volumes;
1360 *  </code>
1361 */
1362class Google_Service_Books_BookshelvesVolumes_Resource extends Google_Service_Resource
1363{
1364
1365  /**
1366   * Retrieves volumes in a specific bookshelf for the specified user.
1367   * (volumes.listBookshelvesVolumes)
1368   *
1369   * @param string $userId ID of user for whom to retrieve bookshelf volumes.
1370   * @param string $shelf ID of bookshelf to retrieve volumes.
1371   * @param array $optParams Optional parameters.
1372   *
1373   * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
1374   * to false.
1375   * @opt_param string maxResults Maximum number of results to return
1376   * @opt_param string source String to identify the originator of this request.
1377   * @opt_param string startIndex Index of the first element to return (starts at
1378   * 0)
1379   * @return Google_Service_Books_Volumes
1380   */
1381  public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
1382  {
1383    $params = array('userId' => $userId, 'shelf' => $shelf);
1384    $params = array_merge($params, $optParams);
1385    return $this->call('list', array($params), "Google_Service_Books_Volumes");
1386  }
1387}
1388
1389/**
1390 * The "cloudloading" collection of methods.
1391 * Typical usage is:
1392 *  <code>
1393 *   $booksService = new Google_Service_Books(...);
1394 *   $cloudloading = $booksService->cloudloading;
1395 *  </code>
1396 */
1397class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource
1398{
1399
1400  /**
1401   * (cloudloading.addBook)
1402   *
1403   * @param array $optParams Optional parameters.
1404   *
1405   * @opt_param string upload_client_token
1406   * @opt_param string drive_document_id A drive document id. The
1407   * upload_client_token must not be set.
1408   * @opt_param string mime_type The document MIME type. It can be set only if the
1409   * drive_document_id is set.
1410   * @opt_param string name The document name. It can be set only if the
1411   * drive_document_id is set.
1412   * @return Google_Service_Books_BooksCloudloadingResource
1413   */
1414  public function addBook($optParams = array())
1415  {
1416    $params = array();
1417    $params = array_merge($params, $optParams);
1418    return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1419  }
1420
1421  /**
1422   * Remove the book and its contents (cloudloading.deleteBook)
1423   *
1424   * @param string $volumeId The id of the book to be removed.
1425   * @param array $optParams Optional parameters.
1426   */
1427  public function deleteBook($volumeId, $optParams = array())
1428  {
1429    $params = array('volumeId' => $volumeId);
1430    $params = array_merge($params, $optParams);
1431    return $this->call('deleteBook', array($params));
1432  }
1433
1434  /**
1435   * (cloudloading.updateBook)
1436   *
1437   * @param Google_BooksCloudloadingResource $postBody
1438   * @param array $optParams Optional parameters.
1439   * @return Google_Service_Books_BooksCloudloadingResource
1440   */
1441  public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
1442  {
1443    $params = array('postBody' => $postBody);
1444    $params = array_merge($params, $optParams);
1445    return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1446  }
1447}
1448
1449/**
1450 * The "layers" collection of methods.
1451 * Typical usage is:
1452 *  <code>
1453 *   $booksService = new Google_Service_Books(...);
1454 *   $layers = $booksService->layers;
1455 *  </code>
1456 */
1457class Google_Service_Books_Layers_Resource extends Google_Service_Resource
1458{
1459
1460  /**
1461   * Gets the layer summary for a volume. (layers.get)
1462   *
1463   * @param string $volumeId The volume to retrieve layers for.
1464   * @param string $summaryId The ID for the layer to get the summary for.
1465   * @param array $optParams Optional parameters.
1466   *
1467   * @opt_param string source String to identify the originator of this request.
1468   * @opt_param string contentVersion The content version for the requested
1469   * volume.
1470   * @return Google_Service_Books_Layersummary
1471   */
1472  public function get($volumeId, $summaryId, $optParams = array())
1473  {
1474    $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
1475    $params = array_merge($params, $optParams);
1476    return $this->call('get', array($params), "Google_Service_Books_Layersummary");
1477  }
1478
1479  /**
1480   * List the layer summaries for a volume. (layers.listLayers)
1481   *
1482   * @param string $volumeId The volume to retrieve layers for.
1483   * @param array $optParams Optional parameters.
1484   *
1485   * @opt_param string pageToken The value of the nextToken from the previous
1486   * page.
1487   * @opt_param string contentVersion The content version for the requested
1488   * volume.
1489   * @opt_param string maxResults Maximum number of results to return
1490   * @opt_param string source String to identify the originator of this request.
1491   * @return Google_Service_Books_Layersummaries
1492   */
1493  public function listLayers($volumeId, $optParams = array())
1494  {
1495    $params = array('volumeId' => $volumeId);
1496    $params = array_merge($params, $optParams);
1497    return $this->call('list', array($params), "Google_Service_Books_Layersummaries");
1498  }
1499}
1500
1501/**
1502 * The "annotationData" collection of methods.
1503 * Typical usage is:
1504 *  <code>
1505 *   $booksService = new Google_Service_Books(...);
1506 *   $annotationData = $booksService->annotationData;
1507 *  </code>
1508 */
1509class Google_Service_Books_LayersAnnotationData_Resource extends Google_Service_Resource
1510{
1511
1512  /**
1513   * Gets the annotation data. (annotationData.get)
1514   *
1515   * @param string $volumeId The volume to retrieve annotations for.
1516   * @param string $layerId The ID for the layer to get the annotations.
1517   * @param string $annotationDataId The ID of the annotation data to retrieve.
1518   * @param string $contentVersion The content version for the volume you are
1519   * trying to retrieve.
1520   * @param array $optParams Optional parameters.
1521   *
1522   * @opt_param int scale The requested scale for the image.
1523   * @opt_param string source String to identify the originator of this request.
1524   * @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not
1525   * to allow web definitions.
1526   * @opt_param int h The requested pixel height for any images. If height is
1527   * provided width must also be provided.
1528   * @opt_param string locale The locale information for the data. ISO-639-1
1529   * language and ISO-3166-1 country code. Ex: 'en_US'.
1530   * @opt_param int w The requested pixel width for any images. If width is
1531   * provided height must also be provided.
1532   * @return Google_Service_Books_Annotationdata
1533   */
1534  public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
1535  {
1536    $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
1537    $params = array_merge($params, $optParams);
1538    return $this->call('get', array($params), "Google_Service_Books_Annotationdata");
1539  }
1540
1541  /**
1542   * Gets the annotation data for a volume and layer.
1543   * (annotationData.listLayersAnnotationData)
1544   *
1545   * @param string $volumeId The volume to retrieve annotation data for.
1546   * @param string $layerId The ID for the layer to get the annotation data.
1547   * @param string $contentVersion The content version for the requested volume.
1548   * @param array $optParams Optional parameters.
1549   *
1550   * @opt_param int scale The requested scale for the image.
1551   * @opt_param string source String to identify the originator of this request.
1552   * @opt_param string locale The locale information for the data. ISO-639-1
1553   * language and ISO-3166-1 country code. Ex: 'en_US'.
1554   * @opt_param int h The requested pixel height for any images. If height is
1555   * provided width must also be provided.
1556   * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1557   * prior to this timestamp (exclusive).
1558   * @opt_param string maxResults Maximum number of results to return
1559   * @opt_param string annotationDataId The list of Annotation Data Ids to
1560   * retrieve. Pagination is ignored if this is set.
1561   * @opt_param string pageToken The value of the nextToken from the previous
1562   * page.
1563   * @opt_param int w The requested pixel width for any images. If width is
1564   * provided height must also be provided.
1565   * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1566   * since this timestamp (inclusive).
1567   * @return Google_Service_Books_Annotationsdata
1568   */
1569  public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
1570  {
1571    $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1572    $params = array_merge($params, $optParams);
1573    return $this->call('list', array($params), "Google_Service_Books_Annotationsdata");
1574  }
1575}
1576/**
1577 * The "volumeAnnotations" collection of methods.
1578 * Typical usage is:
1579 *  <code>
1580 *   $booksService = new Google_Service_Books(...);
1581 *   $volumeAnnotations = $booksService->volumeAnnotations;
1582 *  </code>
1583 */
1584class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Service_Resource
1585{
1586
1587  /**
1588   * Gets the volume annotation. (volumeAnnotations.get)
1589   *
1590   * @param string $volumeId The volume to retrieve annotations for.
1591   * @param string $layerId The ID for the layer to get the annotations.
1592   * @param string $annotationId The ID of the volume annotation to retrieve.
1593   * @param array $optParams Optional parameters.
1594   *
1595   * @opt_param string locale The locale information for the data. ISO-639-1
1596   * language and ISO-3166-1 country code. Ex: 'en_US'.
1597   * @opt_param string source String to identify the originator of this request.
1598   * @return Google_Service_Books_Volumeannotation
1599   */
1600  public function get($volumeId, $layerId, $annotationId, $optParams = array())
1601  {
1602    $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
1603    $params = array_merge($params, $optParams);
1604    return $this->call('get', array($params), "Google_Service_Books_Volumeannotation");
1605  }
1606
1607  /**
1608   * Gets the volume annotations for a volume and layer.
1609   * (volumeAnnotations.listLayersVolumeAnnotations)
1610   *
1611   * @param string $volumeId The volume to retrieve annotations for.
1612   * @param string $layerId The ID for the layer to get the annotations.
1613   * @param string $contentVersion The content version for the requested volume.
1614   * @param array $optParams Optional parameters.
1615   *
1616   * @opt_param bool showDeleted Set to true to return deleted annotations.
1617   * updatedMin must be in the request to use this. Defaults to false.
1618   * @opt_param string volumeAnnotationsVersion The version of the volume
1619   * annotations that you are requesting.
1620   * @opt_param string endPosition The end position to end retrieving data from.
1621   * @opt_param string endOffset The end offset to end retrieving data from.
1622   * @opt_param string locale The locale information for the data. ISO-639-1
1623   * language and ISO-3166-1 country code. Ex: 'en_US'.
1624   * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1625   * since this timestamp (inclusive).
1626   * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1627   * prior to this timestamp (exclusive).
1628   * @opt_param string maxResults Maximum number of results to return
1629   * @opt_param string pageToken The value of the nextToken from the previous
1630   * page.
1631   * @opt_param string source String to identify the originator of this request.
1632   * @opt_param string startOffset The start offset to start retrieving data from.
1633   * @opt_param string startPosition The start position to start retrieving data
1634   * from.
1635   * @return Google_Service_Books_Volumeannotations
1636   */
1637  public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
1638  {
1639    $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1640    $params = array_merge($params, $optParams);
1641    return $this->call('list', array($params), "Google_Service_Books_Volumeannotations");
1642  }
1643}
1644
1645/**
1646 * The "myconfig" collection of methods.
1647 * Typical usage is:
1648 *  <code>
1649 *   $booksService = new Google_Service_Books(...);
1650 *   $myconfig = $booksService->myconfig;
1651 *  </code>
1652 */
1653class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1654{
1655
1656  /**
1657   * Release downloaded content access restriction.
1658   * (myconfig.releaseDownloadAccess)
1659   *
1660   * @param string $volumeIds The volume(s) to release restrictions for.
1661   * @param string $cpksver The device/version ID from which to release the
1662   * restriction.
1663   * @param array $optParams Optional parameters.
1664   *
1665   * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1666   * localization, i.e. en_US.
1667   * @opt_param string source String to identify the originator of this request.
1668   * @return Google_Service_Books_DownloadAccesses
1669   */
1670  public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
1671  {
1672    $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
1673    $params = array_merge($params, $optParams);
1674    return $this->call('releaseDownloadAccess', array($params), "Google_Service_Books_DownloadAccesses");
1675  }
1676
1677  /**
1678   * Request concurrent and download access restrictions. (myconfig.requestAccess)
1679   *
1680   * @param string $source String to identify the originator of this request.
1681   * @param string $volumeId The volume to request concurrent/download
1682   * restrictions for.
1683   * @param string $nonce The client nonce value.
1684   * @param string $cpksver The device/version ID from which to request the
1685   * restrictions.
1686   * @param array $optParams Optional parameters.
1687   *
1688   * @opt_param string licenseTypes The type of access license to request. If not
1689   * specified, the default is BOTH.
1690   * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1691   * localization, i.e. en_US.
1692   * @return Google_Service_Books_RequestAccess
1693   */
1694  public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
1695  {
1696    $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
1697    $params = array_merge($params, $optParams);
1698    return $this->call('requestAccess', array($params), "Google_Service_Books_RequestAccess");
1699  }
1700
1701  /**
1702   * Request downloaded content access for specified volumes on the My eBooks
1703   * shelf. (myconfig.syncVolumeLicenses)
1704   *
1705   * @param string $source String to identify the originator of this request.
1706   * @param string $nonce The client nonce value.
1707   * @param string $cpksver The device/version ID from which to release the
1708   * restriction.
1709   * @param array $optParams Optional parameters.
1710   *
1711   * @opt_param string features List of features supported by the client, i.e.,
1712   * 'RENTALS'
1713   * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1714   * localization, i.e. en_US.
1715   * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
1716   * to false.
1717   * @opt_param string volumeIds The volume(s) to request download restrictions
1718   * for.
1719   * @return Google_Service_Books_Volumes
1720   */
1721  public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
1722  {
1723    $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
1724    $params = array_merge($params, $optParams);
1725    return $this->call('syncVolumeLicenses', array($params), "Google_Service_Books_Volumes");
1726  }
1727}
1728
1729/**
1730 * The "mylibrary" collection of methods.
1731 * Typical usage is:
1732 *  <code>
1733 *   $booksService = new Google_Service_Books(...);
1734 *   $mylibrary = $booksService->mylibrary;
1735 *  </code>
1736 */
1737class Google_Service_Books_Mylibrary_Resource extends Google_Service_Resource
1738{
1739}
1740
1741/**
1742 * The "annotations" collection of methods.
1743 * Typical usage is:
1744 *  <code>
1745 *   $booksService = new Google_Service_Books(...);
1746 *   $annotations = $booksService->annotations;
1747 *  </code>
1748 */
1749class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_Resource
1750{
1751
1752  /**
1753   * Deletes an annotation. (annotations.delete)
1754   *
1755   * @param string $annotationId The ID for the annotation to delete.
1756   * @param array $optParams Optional parameters.
1757   *
1758   * @opt_param string source String to identify the originator of this request.
1759   */
1760  public function delete($annotationId, $optParams = array())
1761  {
1762    $params = array('annotationId' => $annotationId);
1763    $params = array_merge($params, $optParams);
1764    return $this->call('delete', array($params));
1765  }
1766
1767  /**
1768   * Gets an annotation by its ID. (annotations.get)
1769   *
1770   * @param string $annotationId The ID for the annotation to retrieve.
1771   * @param array $optParams Optional parameters.
1772   *
1773   * @opt_param string source String to identify the originator of this request.
1774   * @return Google_Service_Books_Annotation
1775   */
1776  public function get($annotationId, $optParams = array())
1777  {
1778    $params = array('annotationId' => $annotationId);
1779    $params = array_merge($params, $optParams);
1780    return $this->call('get', array($params), "Google_Service_Books_Annotation");
1781  }
1782
1783  /**
1784   * Inserts a new annotation. (annotations.insert)
1785   *
1786   * @param Google_Annotation $postBody
1787   * @param array $optParams Optional parameters.
1788   *
1789   * @opt_param string source String to identify the originator of this request.
1790   * @opt_param bool showOnlySummaryInResponse Requests that only the summary of
1791   * the specified layer be provided in the response.
1792   * @return Google_Service_Books_Annotation
1793   */
1794  public function insert(Google_Service_Books_Annotation $postBody, $optParams = array())
1795  {
1796    $params = array('postBody' => $postBody);
1797    $params = array_merge($params, $optParams);
1798    return $this->call('insert', array($params), "Google_Service_Books_Annotation");
1799  }
1800
1801  /**
1802   * Retrieves a list of annotations, possibly filtered.
1803   * (annotations.listMylibraryAnnotations)
1804   *
1805   * @param array $optParams Optional parameters.
1806   *
1807   * @opt_param bool showDeleted Set to true to return deleted annotations.
1808   * updatedMin must be in the request to use this. Defaults to false.
1809   * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1810   * since this timestamp (inclusive).
1811   * @opt_param string layerIds The layer ID(s) to limit annotation by.
1812   * @opt_param string volumeId The volume to restrict annotations to.
1813   * @opt_param string maxResults Maximum number of results to return
1814   * @opt_param string pageToken The value of the nextToken from the previous
1815   * page.
1816   * @opt_param string pageIds The page ID(s) for the volume that is being
1817   * queried.
1818   * @opt_param string contentVersion The content version for the requested
1819   * volume.
1820   * @opt_param string source String to identify the originator of this request.
1821   * @opt_param string layerId The layer ID to limit annotation by.
1822   * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1823   * prior to this timestamp (exclusive).
1824   * @return Google_Service_Books_Annotations
1825   */
1826  public function listMylibraryAnnotations($optParams = array())
1827  {
1828    $params = array();
1829    $params = array_merge($params, $optParams);
1830    return $this->call('list', array($params), "Google_Service_Books_Annotations");
1831  }
1832
1833  /**
1834   * Gets the summary of specified layers. (annotations.summary)
1835   *
1836   * @param string $layerIds Array of layer IDs to get the summary for.
1837   * @param string $volumeId Volume id to get the summary for.
1838   * @param array $optParams Optional parameters.
1839   * @return Google_Service_Books_AnnotationsSummary
1840   */
1841  public function summary($layerIds, $volumeId, $optParams = array())
1842  {
1843    $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId);
1844    $params = array_merge($params, $optParams);
1845    return $this->call('summary', array($params), "Google_Service_Books_AnnotationsSummary");
1846  }
1847
1848  /**
1849   * Updates an existing annotation. (annotations.update)
1850   *
1851   * @param string $annotationId The ID for the annotation to update.
1852   * @param Google_Annotation $postBody
1853   * @param array $optParams Optional parameters.
1854   *
1855   * @opt_param string source String to identify the originator of this request.
1856   * @return Google_Service_Books_Annotation
1857   */
1858  public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array())
1859  {
1860    $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
1861    $params = array_merge($params, $optParams);
1862    return $this->call('update', array($params), "Google_Service_Books_Annotation");
1863  }
1864}
1865/**
1866 * The "bookshelves" collection of methods.
1867 * Typical usage is:
1868 *  <code>
1869 *   $booksService = new Google_Service_Books(...);
1870 *   $bookshelves = $booksService->bookshelves;
1871 *  </code>
1872 */
1873class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_Resource
1874{
1875
1876  /**
1877   * Adds a volume to a bookshelf. (bookshelves.addVolume)
1878   *
1879   * @param string $shelf ID of bookshelf to which to add a volume.
1880   * @param string $volumeId ID of volume to add.
1881   * @param array $optParams Optional parameters.
1882   *
1883   * @opt_param string source String to identify the originator of this request.
1884   */
1885  public function addVolume($shelf, $volumeId, $optParams = array())
1886  {
1887    $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
1888    $params = array_merge($params, $optParams);
1889    return $this->call('addVolume', array($params));
1890  }
1891
1892  /**
1893   * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
1894   *
1895   * @param string $shelf ID of bookshelf from which to remove a volume.
1896   * @param array $optParams Optional parameters.
1897   *
1898   * @opt_param string source String to identify the originator of this request.
1899   */
1900  public function clearVolumes($shelf, $optParams = array())
1901  {
1902    $params = array('shelf' => $shelf);
1903    $params = array_merge($params, $optParams);
1904    return $this->call('clearVolumes', array($params));
1905  }
1906
1907  /**
1908   * Retrieves metadata for a specific bookshelf belonging to the authenticated
1909   * user. (bookshelves.get)
1910   *
1911   * @param string $shelf ID of bookshelf to retrieve.
1912   * @param array $optParams Optional parameters.
1913   *
1914   * @opt_param string source String to identify the originator of this request.
1915   * @return Google_Service_Books_Bookshelf
1916   */
1917  public function get($shelf, $optParams = array())
1918  {
1919    $params = array('shelf' => $shelf);
1920    $params = array_merge($params, $optParams);
1921    return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
1922  }
1923
1924  /**
1925   * Retrieves a list of bookshelves belonging to the authenticated user.
1926   * (bookshelves.listMylibraryBookshelves)
1927   *
1928   * @param array $optParams Optional parameters.
1929   *
1930   * @opt_param string source String to identify the originator of this request.
1931   * @return Google_Service_Books_Bookshelves
1932   */
1933  public function listMylibraryBookshelves($optParams = array())
1934  {
1935    $params = array();
1936    $params = array_merge($params, $optParams);
1937    return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
1938  }
1939
1940  /**
1941   * Moves a volume within a bookshelf. (bookshelves.moveVolume)
1942   *
1943   * @param string $shelf ID of bookshelf with the volume.
1944   * @param string $volumeId ID of volume to move.
1945   * @param int $volumePosition Position on shelf to move the item (0 puts the
1946   * item before the current first item, 1 puts it between the first and the
1947   * second and so on.)
1948   * @param array $optParams Optional parameters.
1949   *
1950   * @opt_param string source String to identify the originator of this request.
1951   */
1952  public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array())
1953  {
1954    $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition);
1955    $params = array_merge($params, $optParams);
1956    return $this->call('moveVolume', array($params));
1957  }
1958
1959  /**
1960   * Removes a volume from a bookshelf. (bookshelves.removeVolume)
1961   *
1962   * @param string $shelf ID of bookshelf from which to remove a volume.
1963   * @param string $volumeId ID of volume to remove.
1964   * @param array $optParams Optional parameters.
1965   *
1966   * @opt_param string source String to identify the originator of this request.
1967   */
1968  public function removeVolume($shelf, $volumeId, $optParams = array())
1969  {
1970    $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
1971    $params = array_merge($params, $optParams);
1972    return $this->call('removeVolume', array($params));
1973  }
1974}
1975
1976/**
1977 * The "volumes" collection of methods.
1978 * Typical usage is:
1979 *  <code>
1980 *   $booksService = new Google_Service_Books(...);
1981 *   $volumes = $booksService->volumes;
1982 *  </code>
1983 */
1984class Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Google_Service_Resource
1985{
1986
1987  /**
1988   * Gets volume information for volumes on a bookshelf.
1989   * (volumes.listMylibraryBookshelvesVolumes)
1990   *
1991   * @param string $shelf The bookshelf ID or name retrieve volumes for.
1992   * @param array $optParams Optional parameters.
1993   *
1994   * @opt_param string projection Restrict information returned to a set of
1995   * selected fields.
1996   * @opt_param string country ISO-3166-1 code to override the IP-based location.
1997   * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
1998   * to false.
1999   * @opt_param string maxResults Maximum number of results to return
2000   * @opt_param string q Full-text search query string in this bookshelf.
2001   * @opt_param string source String to identify the originator of this request.
2002   * @opt_param string startIndex Index of the first element to return (starts at
2003   * 0)
2004   * @return Google_Service_Books_Volumes
2005   */
2006  public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
2007  {
2008    $params = array('shelf' => $shelf);
2009    $params = array_merge($params, $optParams);
2010    return $this->call('list', array($params), "Google_Service_Books_Volumes");
2011  }
2012}
2013/**
2014 * The "readingpositions" collection of methods.
2015 * Typical usage is:
2016 *  <code>
2017 *   $booksService = new Google_Service_Books(...);
2018 *   $readingpositions = $booksService->readingpositions;
2019 *  </code>
2020 */
2021class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Service_Resource
2022{
2023
2024  /**
2025   * Retrieves my reading position information for a volume.
2026   * (readingpositions.get)
2027   *
2028   * @param string $volumeId ID of volume for which to retrieve a reading
2029   * position.
2030   * @param array $optParams Optional parameters.
2031   *
2032   * @opt_param string source String to identify the originator of this request.
2033   * @opt_param string contentVersion Volume content version for which this
2034   * reading position is requested.
2035   * @return Google_Service_Books_ReadingPosition
2036   */
2037  public function get($volumeId, $optParams = array())
2038  {
2039    $params = array('volumeId' => $volumeId);
2040    $params = array_merge($params, $optParams);
2041    return $this->call('get', array($params), "Google_Service_Books_ReadingPosition");
2042  }
2043
2044  /**
2045   * Sets my reading position information for a volume.
2046   * (readingpositions.setPosition)
2047   *
2048   * @param string $volumeId ID of volume for which to update the reading
2049   * position.
2050   * @param string $timestamp RFC 3339 UTC format timestamp associated with this
2051   * reading position.
2052   * @param string $position Position string for the new volume reading position.
2053   * @param array $optParams Optional parameters.
2054   *
2055   * @opt_param string deviceCookie Random persistent device cookie optional on
2056   * set position.
2057   * @opt_param string source String to identify the originator of this request.
2058   * @opt_param string contentVersion Volume content version for which this
2059   * reading position applies.
2060   * @opt_param string action Action that caused this reading position to be set.
2061   */
2062  public function setPosition($volumeId, $timestamp, $position, $optParams = array())
2063  {
2064    $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position);
2065    $params = array_merge($params, $optParams);
2066    return $this->call('setPosition', array($params));
2067  }
2068}
2069
2070/**
2071 * The "promooffer" collection of methods.
2072 * Typical usage is:
2073 *  <code>
2074 *   $booksService = new Google_Service_Books(...);
2075 *   $promooffer = $booksService->promooffer;
2076 *  </code>
2077 */
2078class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
2079{
2080
2081  /**
2082   * (promooffer.accept)
2083   *
2084   * @param array $optParams Optional parameters.
2085   *
2086   * @opt_param string product device product
2087   * @opt_param string volumeId Volume id to exercise the offer
2088   * @opt_param string offerId
2089   * @opt_param string androidId device android_id
2090   * @opt_param string device device device
2091   * @opt_param string model device model
2092   * @opt_param string serial device serial
2093   * @opt_param string manufacturer device manufacturer
2094   */
2095  public function accept($optParams = array())
2096  {
2097    $params = array();
2098    $params = array_merge($params, $optParams);
2099    return $this->call('accept', array($params));
2100  }
2101
2102  /**
2103   * (promooffer.dismiss)
2104   *
2105   * @param array $optParams Optional parameters.
2106   *
2107   * @opt_param string product device product
2108   * @opt_param string offerId Offer to dimiss
2109   * @opt_param string androidId device android_id
2110   * @opt_param string device device device
2111   * @opt_param string model device model
2112   * @opt_param string serial device serial
2113   * @opt_param string manufacturer device manufacturer
2114   */
2115  public function dismiss($optParams = array())
2116  {
2117    $params = array();
2118    $params = array_merge($params, $optParams);
2119    return $this->call('dismiss', array($params));
2120  }
2121
2122  /**
2123   * Returns a list of promo offers available to the user (promooffer.get)
2124   *
2125   * @param array $optParams Optional parameters.
2126   *
2127   * @opt_param string product device product
2128   * @opt_param string androidId device android_id
2129   * @opt_param string device device device
2130   * @opt_param string model device model
2131   * @opt_param string serial device serial
2132   * @opt_param string manufacturer device manufacturer
2133   * @return Google_Service_Books_Offers
2134   */
2135  public function get($optParams = array())
2136  {
2137    $params = array();
2138    $params = array_merge($params, $optParams);
2139    return $this->call('get', array($params), "Google_Service_Books_Offers");
2140  }
2141}
2142
2143/**
2144 * The "volumes" collection of methods.
2145 * Typical usage is:
2146 *  <code>
2147 *   $booksService = new Google_Service_Books(...);
2148 *   $volumes = $booksService->volumes;
2149 *  </code>
2150 */
2151class Google_Service_Books_Volumes_Resource extends Google_Service_Resource
2152{
2153
2154  /**
2155   * Gets volume information for a single volume. (volumes.get)
2156   *
2157   * @param string $volumeId ID of volume to retrieve.
2158   * @param array $optParams Optional parameters.
2159   *
2160   * @opt_param string source String to identify the originator of this request.
2161   * @opt_param string country ISO-3166-1 code to override the IP-based location.
2162   * @opt_param string projection Restrict information returned to a set of
2163   * selected fields.
2164   * @opt_param string partner Brand results for partner ID.
2165   * @return Google_Service_Books_Volume
2166   */
2167  public function get($volumeId, $optParams = array())
2168  {
2169    $params = array('volumeId' => $volumeId);
2170    $params = array_merge($params, $optParams);
2171    return $this->call('get', array($params), "Google_Service_Books_Volume");
2172  }
2173
2174  /**
2175   * Performs a book search. (volumes.listVolumes)
2176   *
2177   * @param string $q Full-text search query string.
2178   * @param array $optParams Optional parameters.
2179   *
2180   * @opt_param string orderBy Sort search results.
2181   * @opt_param string projection Restrict information returned to a set of
2182   * selected fields.
2183   * @opt_param string libraryRestrict Restrict search to this user's library.
2184   * @opt_param string langRestrict Restrict results to books with this language
2185   * code.
2186   * @opt_param bool showPreorders Set to true to show books available for
2187   * preorder. Defaults to false.
2188   * @opt_param string printType Restrict to books or magazines.
2189   * @opt_param string maxResults Maximum number of results to return.
2190   * @opt_param string filter Filter search results.
2191   * @opt_param string source String to identify the originator of this request.
2192   * @opt_param string startIndex Index of the first result to return (starts at
2193   * 0)
2194   * @opt_param string download Restrict to volumes by download availability.
2195   * @opt_param string partner Restrict and brand results for partner ID.
2196   * @return Google_Service_Books_Volumes
2197   */
2198  public function listVolumes($q, $optParams = array())
2199  {
2200    $params = array('q' => $q);
2201    $params = array_merge($params, $optParams);
2202    return $this->call('list', array($params), "Google_Service_Books_Volumes");
2203  }
2204}
2205
2206/**
2207 * The "associated" collection of methods.
2208 * Typical usage is:
2209 *  <code>
2210 *   $booksService = new Google_Service_Books(...);
2211 *   $associated = $booksService->associated;
2212 *  </code>
2213 */
2214class Google_Service_Books_VolumesAssociated_Resource extends Google_Service_Resource
2215{
2216
2217  /**
2218   * Return a list of associated books. (associated.listVolumesAssociated)
2219   *
2220   * @param string $volumeId ID of the source volume.
2221   * @param array $optParams Optional parameters.
2222   *
2223   * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2224   * 'en_US'. Used for generating recommendations.
2225   * @opt_param string source String to identify the originator of this request.
2226   * @opt_param string association Association type.
2227   * @return Google_Service_Books_Volumes
2228   */
2229  public function listVolumesAssociated($volumeId, $optParams = array())
2230  {
2231    $params = array('volumeId' => $volumeId);
2232    $params = array_merge($params, $optParams);
2233    return $this->call('list', array($params), "Google_Service_Books_Volumes");
2234  }
2235}
2236/**
2237 * The "mybooks" collection of methods.
2238 * Typical usage is:
2239 *  <code>
2240 *   $booksService = new Google_Service_Books(...);
2241 *   $mybooks = $booksService->mybooks;
2242 *  </code>
2243 */
2244class Google_Service_Books_VolumesMybooks_Resource extends Google_Service_Resource
2245{
2246
2247  /**
2248   * Return a list of books in My Library. (mybooks.listVolumesMybooks)
2249   *
2250   * @param array $optParams Optional parameters.
2251   *
2252   * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
2253   * Ex:'en_US'. Used for generating recommendations.
2254   * @opt_param string startIndex Index of the first result to return (starts at
2255   * 0)
2256   * @opt_param string maxResults Maximum number of results to return.
2257   * @opt_param string source String to identify the originator of this request.
2258   * @opt_param string acquireMethod How the book was aquired
2259   * @opt_param string processingState The processing state of the user uploaded
2260   * volumes to be returned. Applicable only if the UPLOADED is specified in the
2261   * acquireMethod.
2262   * @return Google_Service_Books_Volumes
2263   */
2264  public function listVolumesMybooks($optParams = array())
2265  {
2266    $params = array();
2267    $params = array_merge($params, $optParams);
2268    return $this->call('list', array($params), "Google_Service_Books_Volumes");
2269  }
2270}
2271/**
2272 * The "recommended" collection of methods.
2273 * Typical usage is:
2274 *  <code>
2275 *   $booksService = new Google_Service_Books(...);
2276 *   $recommended = $booksService->recommended;
2277 *  </code>
2278 */
2279class Google_Service_Books_VolumesRecommended_Resource extends Google_Service_Resource
2280{
2281
2282  /**
2283   * Return a list of recommended books for the current user.
2284   * (recommended.listVolumesRecommended)
2285   *
2286   * @param array $optParams Optional parameters.
2287   *
2288   * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2289   * 'en_US'. Used for generating recommendations.
2290   * @opt_param string source String to identify the originator of this request.
2291   * @return Google_Service_Books_Volumes
2292   */
2293  public function listVolumesRecommended($optParams = array())
2294  {
2295    $params = array();
2296    $params = array_merge($params, $optParams);
2297    return $this->call('list', array($params), "Google_Service_Books_Volumes");
2298  }
2299
2300  /**
2301   * Rate a recommended book for the current user. (recommended.rate)
2302   *
2303   * @param string $rating Rating to be given to the volume.
2304   * @param string $volumeId ID of the source volume.
2305   * @param array $optParams Optional parameters.
2306   *
2307   * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2308   * 'en_US'. Used for generating recommendations.
2309   * @opt_param string source String to identify the originator of this request.
2310   * @return Google_Service_Books_BooksVolumesRecommendedRateResponse
2311   */
2312  public function rate($rating, $volumeId, $optParams = array())
2313  {
2314    $params = array('rating' => $rating, 'volumeId' => $volumeId);
2315    $params = array_merge($params, $optParams);
2316    return $this->call('rate', array($params), "Google_Service_Books_BooksVolumesRecommendedRateResponse");
2317  }
2318}
2319/**
2320 * The "useruploaded" collection of methods.
2321 * Typical usage is:
2322 *  <code>
2323 *   $booksService = new Google_Service_Books(...);
2324 *   $useruploaded = $booksService->useruploaded;
2325 *  </code>
2326 */
2327class Google_Service_Books_VolumesUseruploaded_Resource extends Google_Service_Resource
2328{
2329
2330  /**
2331   * Return a list of books uploaded by the current user.
2332   * (useruploaded.listVolumesUseruploaded)
2333   *
2334   * @param array $optParams Optional parameters.
2335   *
2336   * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2337   * 'en_US'. Used for generating recommendations.
2338   * @opt_param string volumeId The ids of the volumes to be returned. If not
2339   * specified all that match the processingState are returned.
2340   * @opt_param string maxResults Maximum number of results to return.
2341   * @opt_param string source String to identify the originator of this request.
2342   * @opt_param string startIndex Index of the first result to return (starts at
2343   * 0)
2344   * @opt_param string processingState The processing state of the user uploaded
2345   * volumes to be returned.
2346   * @return Google_Service_Books_Volumes
2347   */
2348  public function listVolumesUseruploaded($optParams = array())
2349  {
2350    $params = array();
2351    $params = array_merge($params, $optParams);
2352    return $this->call('list', array($params), "Google_Service_Books_Volumes");
2353  }
2354}
2355
2356
2357
2358
2359class Google_Service_Books_Annotation extends Google_Collection
2360{
2361  protected $collection_key = 'pageIds';
2362  protected $internal_gapi_mappings = array(
2363  );
2364  public $afterSelectedText;
2365  public $beforeSelectedText;
2366  protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
2367  protected $clientVersionRangesDataType = '';
2368  public $created;
2369  protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges';
2370  protected $currentVersionRangesDataType = '';
2371  public $data;
2372  public $deleted;
2373  public $highlightStyle;
2374  public $id;
2375  public $kind;
2376  public $layerId;
2377  protected $layerSummaryType = 'Google_Service_Books_AnnotationLayerSummary';
2378  protected $layerSummaryDataType = '';
2379  public $pageIds;
2380  public $selectedText;
2381  public $selfLink;
2382  public $updated;
2383  public $volumeId;
2384
2385
2386  public function setAfterSelectedText($afterSelectedText)
2387  {
2388    $this->afterSelectedText = $afterSelectedText;
2389  }
2390  public function getAfterSelectedText()
2391  {
2392    return $this->afterSelectedText;
2393  }
2394  public function setBeforeSelectedText($beforeSelectedText)
2395  {
2396    $this->beforeSelectedText = $beforeSelectedText;
2397  }
2398  public function getBeforeSelectedText()
2399  {
2400    return $this->beforeSelectedText;
2401  }
2402  public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
2403  {
2404    $this->clientVersionRanges = $clientVersionRanges;
2405  }
2406  public function getClientVersionRanges()
2407  {
2408    return $this->clientVersionRanges;
2409  }
2410  public function setCreated($created)
2411  {
2412    $this->created = $created;
2413  }
2414  public function getCreated()
2415  {
2416    return $this->created;
2417  }
2418  public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
2419  {
2420    $this->currentVersionRanges = $currentVersionRanges;
2421  }
2422  public function getCurrentVersionRanges()
2423  {
2424    return $this->currentVersionRanges;
2425  }
2426  public function setData($data)
2427  {
2428    $this->data = $data;
2429  }
2430  public function getData()
2431  {
2432    return $this->data;
2433  }
2434  public function setDeleted($deleted)
2435  {
2436    $this->deleted = $deleted;
2437  }
2438  public function getDeleted()
2439  {
2440    return $this->deleted;
2441  }
2442  public function setHighlightStyle($highlightStyle)
2443  {
2444    $this->highlightStyle = $highlightStyle;
2445  }
2446  public function getHighlightStyle()
2447  {
2448    return $this->highlightStyle;
2449  }
2450  public function setId($id)
2451  {
2452    $this->id = $id;
2453  }
2454  public function getId()
2455  {
2456    return $this->id;
2457  }
2458  public function setKind($kind)
2459  {
2460    $this->kind = $kind;
2461  }
2462  public function getKind()
2463  {
2464    return $this->kind;
2465  }
2466  public function setLayerId($layerId)
2467  {
2468    $this->layerId = $layerId;
2469  }
2470  public function getLayerId()
2471  {
2472    return $this->layerId;
2473  }
2474  public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary)
2475  {
2476    $this->layerSummary = $layerSummary;
2477  }
2478  public function getLayerSummary()
2479  {
2480    return $this->layerSummary;
2481  }
2482  public function setPageIds($pageIds)
2483  {
2484    $this->pageIds = $pageIds;
2485  }
2486  public function getPageIds()
2487  {
2488    return $this->pageIds;
2489  }
2490  public function setSelectedText($selectedText)
2491  {
2492    $this->selectedText = $selectedText;
2493  }
2494  public function getSelectedText()
2495  {
2496    return $this->selectedText;
2497  }
2498  public function setSelfLink($selfLink)
2499  {
2500    $this->selfLink = $selfLink;
2501  }
2502  public function getSelfLink()
2503  {
2504    return $this->selfLink;
2505  }
2506  public function setUpdated($updated)
2507  {
2508    $this->updated = $updated;
2509  }
2510  public function getUpdated()
2511  {
2512    return $this->updated;
2513  }
2514  public function setVolumeId($volumeId)
2515  {
2516    $this->volumeId = $volumeId;
2517  }
2518  public function getVolumeId()
2519  {
2520    return $this->volumeId;
2521  }
2522}
2523
2524class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2525{
2526  protected $internal_gapi_mappings = array(
2527  );
2528  protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2529  protected $cfiRangeDataType = '';
2530  public $contentVersion;
2531  protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2532  protected $gbImageRangeDataType = '';
2533  protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2534  protected $gbTextRangeDataType = '';
2535  protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2536  protected $imageCfiRangeDataType = '';
2537
2538
2539  public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
2540  {
2541    $this->cfiRange = $cfiRange;
2542  }
2543  public function getCfiRange()
2544  {
2545    return $this->cfiRange;
2546  }
2547  public function setContentVersion($contentVersion)
2548  {
2549    $this->contentVersion = $contentVersion;
2550  }
2551  public function getContentVersion()
2552  {
2553    return $this->contentVersion;
2554  }
2555  public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2556  {
2557    $this->gbImageRange = $gbImageRange;
2558  }
2559  public function getGbImageRange()
2560  {
2561    return $this->gbImageRange;
2562  }
2563  public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2564  {
2565    $this->gbTextRange = $gbTextRange;
2566  }
2567  public function getGbTextRange()
2568  {
2569    return $this->gbTextRange;
2570  }
2571  public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2572  {
2573    $this->imageCfiRange = $imageCfiRange;
2574  }
2575  public function getImageCfiRange()
2576  {
2577    return $this->imageCfiRange;
2578  }
2579}
2580
2581class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
2582{
2583  protected $internal_gapi_mappings = array(
2584  );
2585  protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2586  protected $cfiRangeDataType = '';
2587  public $contentVersion;
2588  protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2589  protected $gbImageRangeDataType = '';
2590  protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2591  protected $gbTextRangeDataType = '';
2592  protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2593  protected $imageCfiRangeDataType = '';
2594
2595
2596  public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
2597  {
2598    $this->cfiRange = $cfiRange;
2599  }
2600  public function getCfiRange()
2601  {
2602    return $this->cfiRange;
2603  }
2604  public function setContentVersion($contentVersion)
2605  {
2606    $this->contentVersion = $contentVersion;
2607  }
2608  public function getContentVersion()
2609  {
2610    return $this->contentVersion;
2611  }
2612  public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2613  {
2614    $this->gbImageRange = $gbImageRange;
2615  }
2616  public function getGbImageRange()
2617  {
2618    return $this->gbImageRange;
2619  }
2620  public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2621  {
2622    $this->gbTextRange = $gbTextRange;
2623  }
2624  public function getGbTextRange()
2625  {
2626    return $this->gbTextRange;
2627  }
2628  public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2629  {
2630    $this->imageCfiRange = $imageCfiRange;
2631  }
2632  public function getImageCfiRange()
2633  {
2634    return $this->imageCfiRange;
2635  }
2636}
2637
2638class Google_Service_Books_AnnotationLayerSummary extends Google_Model
2639{
2640  protected $internal_gapi_mappings = array(
2641  );
2642  public $allowedCharacterCount;
2643  public $limitType;
2644  public $remainingCharacterCount;
2645
2646
2647  public function setAllowedCharacterCount($allowedCharacterCount)
2648  {
2649    $this->allowedCharacterCount = $allowedCharacterCount;
2650  }
2651  public function getAllowedCharacterCount()
2652  {
2653    return $this->allowedCharacterCount;
2654  }
2655  public function setLimitType($limitType)
2656  {
2657    $this->limitType = $limitType;
2658  }
2659  public function getLimitType()
2660  {
2661    return $this->limitType;
2662  }
2663  public function setRemainingCharacterCount($remainingCharacterCount)
2664  {
2665    $this->remainingCharacterCount = $remainingCharacterCount;
2666  }
2667  public function getRemainingCharacterCount()
2668  {
2669    return $this->remainingCharacterCount;
2670  }
2671}
2672
2673class Google_Service_Books_Annotationdata extends Google_Model
2674{
2675  protected $internal_gapi_mappings = array(
2676        "encodedData" => "encoded_data",
2677  );
2678  public $annotationType;
2679  public $data;
2680  public $encodedData;
2681  public $id;
2682  public $kind;
2683  public $layerId;
2684  public $selfLink;
2685  public $updated;
2686  public $volumeId;
2687
2688
2689  public function setAnnotationType($annotationType)
2690  {
2691    $this->annotationType = $annotationType;
2692  }
2693  public function getAnnotationType()
2694  {
2695    return $this->annotationType;
2696  }
2697  public function setData($data)
2698  {
2699    $this->data = $data;
2700  }
2701  public function getData()
2702  {
2703    return $this->data;
2704  }
2705  public function setEncodedData($encodedData)
2706  {
2707    $this->encodedData = $encodedData;
2708  }
2709  public function getEncodedData()
2710  {
2711    return $this->encodedData;
2712  }
2713  public function setId($id)
2714  {
2715    $this->id = $id;
2716  }
2717  public function getId()
2718  {
2719    return $this->id;
2720  }
2721  public function setKind($kind)
2722  {
2723    $this->kind = $kind;
2724  }
2725  public function getKind()
2726  {
2727    return $this->kind;
2728  }
2729  public function setLayerId($layerId)
2730  {
2731    $this->layerId = $layerId;
2732  }
2733  public function getLayerId()
2734  {
2735    return $this->layerId;
2736  }
2737  public function setSelfLink($selfLink)
2738  {
2739    $this->selfLink = $selfLink;
2740  }
2741  public function getSelfLink()
2742  {
2743    return $this->selfLink;
2744  }
2745  public function setUpdated($updated)
2746  {
2747    $this->updated = $updated;
2748  }
2749  public function getUpdated()
2750  {
2751    return $this->updated;
2752  }
2753  public function setVolumeId($volumeId)
2754  {
2755    $this->volumeId = $volumeId;
2756  }
2757  public function getVolumeId()
2758  {
2759    return $this->volumeId;
2760  }
2761}
2762
2763class Google_Service_Books_Annotations extends Google_Collection
2764{
2765  protected $collection_key = 'items';
2766  protected $internal_gapi_mappings = array(
2767  );
2768  protected $itemsType = 'Google_Service_Books_Annotation';
2769  protected $itemsDataType = 'array';
2770  public $kind;
2771  public $nextPageToken;
2772  public $totalItems;
2773
2774
2775  public function setItems($items)
2776  {
2777    $this->items = $items;
2778  }
2779  public function getItems()
2780  {
2781    return $this->items;
2782  }
2783  public function setKind($kind)
2784  {
2785    $this->kind = $kind;
2786  }
2787  public function getKind()
2788  {
2789    return $this->kind;
2790  }
2791  public function setNextPageToken($nextPageToken)
2792  {
2793    $this->nextPageToken = $nextPageToken;
2794  }
2795  public function getNextPageToken()
2796  {
2797    return $this->nextPageToken;
2798  }
2799  public function setTotalItems($totalItems)
2800  {
2801    $this->totalItems = $totalItems;
2802  }
2803  public function getTotalItems()
2804  {
2805    return $this->totalItems;
2806  }
2807}
2808
2809class Google_Service_Books_AnnotationsSummary extends Google_Collection
2810{
2811  protected $collection_key = 'layers';
2812  protected $internal_gapi_mappings = array(
2813  );
2814  public $kind;
2815  protected $layersType = 'Google_Service_Books_AnnotationsSummaryLayers';
2816  protected $layersDataType = 'array';
2817
2818
2819  public function setKind($kind)
2820  {
2821    $this->kind = $kind;
2822  }
2823  public function getKind()
2824  {
2825    return $this->kind;
2826  }
2827  public function setLayers($layers)
2828  {
2829    $this->layers = $layers;
2830  }
2831  public function getLayers()
2832  {
2833    return $this->layers;
2834  }
2835}
2836
2837class Google_Service_Books_AnnotationsSummaryLayers extends Google_Model
2838{
2839  protected $internal_gapi_mappings = array(
2840  );
2841  public $allowedCharacterCount;
2842  public $layerId;
2843  public $limitType;
2844  public $remainingCharacterCount;
2845  public $updated;
2846
2847
2848  public function setAllowedCharacterCount($allowedCharacterCount)
2849  {
2850    $this->allowedCharacterCount = $allowedCharacterCount;
2851  }
2852  public function getAllowedCharacterCount()
2853  {
2854    return $this->allowedCharacterCount;
2855  }
2856  public function setLayerId($layerId)
2857  {
2858    $this->layerId = $layerId;
2859  }
2860  public function getLayerId()
2861  {
2862    return $this->layerId;
2863  }
2864  public function setLimitType($limitType)
2865  {
2866    $this->limitType = $limitType;
2867  }
2868  public function getLimitType()
2869  {
2870    return $this->limitType;
2871  }
2872  public function setRemainingCharacterCount($remainingCharacterCount)
2873  {
2874    $this->remainingCharacterCount = $remainingCharacterCount;
2875  }
2876  public function getRemainingCharacterCount()
2877  {
2878    return $this->remainingCharacterCount;
2879  }
2880  public function setUpdated($updated)
2881  {
2882    $this->updated = $updated;
2883  }
2884  public function getUpdated()
2885  {
2886    return $this->updated;
2887  }
2888}
2889
2890class Google_Service_Books_Annotationsdata extends Google_Collection
2891{
2892  protected $collection_key = 'items';
2893  protected $internal_gapi_mappings = array(
2894  );
2895  protected $itemsType = 'Google_Service_Books_Annotationdata';
2896  protected $itemsDataType = 'array';
2897  public $kind;
2898  public $nextPageToken;
2899  public $totalItems;
2900
2901
2902  public function setItems($items)
2903  {
2904    $this->items = $items;
2905  }
2906  public function getItems()
2907  {
2908    return $this->items;
2909  }
2910  public function setKind($kind)
2911  {
2912    $this->kind = $kind;
2913  }
2914  public function getKind()
2915  {
2916    return $this->kind;
2917  }
2918  public function setNextPageToken($nextPageToken)
2919  {
2920    $this->nextPageToken = $nextPageToken;
2921  }
2922  public function getNextPageToken()
2923  {
2924    return $this->nextPageToken;
2925  }
2926  public function setTotalItems($totalItems)
2927  {
2928    $this->totalItems = $totalItems;
2929  }
2930  public function getTotalItems()
2931  {
2932    return $this->totalItems;
2933  }
2934}
2935
2936class Google_Service_Books_BooksAnnotationsRange extends Google_Model
2937{
2938  protected $internal_gapi_mappings = array(
2939  );
2940  public $endOffset;
2941  public $endPosition;
2942  public $startOffset;
2943  public $startPosition;
2944
2945
2946  public function setEndOffset($endOffset)
2947  {
2948    $this->endOffset = $endOffset;
2949  }
2950  public function getEndOffset()
2951  {
2952    return $this->endOffset;
2953  }
2954  public function setEndPosition($endPosition)
2955  {
2956    $this->endPosition = $endPosition;
2957  }
2958  public function getEndPosition()
2959  {
2960    return $this->endPosition;
2961  }
2962  public function setStartOffset($startOffset)
2963  {
2964    $this->startOffset = $startOffset;
2965  }
2966  public function getStartOffset()
2967  {
2968    return $this->startOffset;
2969  }
2970  public function setStartPosition($startPosition)
2971  {
2972    $this->startPosition = $startPosition;
2973  }
2974  public function getStartPosition()
2975  {
2976    return $this->startPosition;
2977  }
2978}
2979
2980class Google_Service_Books_BooksCloudloadingResource extends Google_Model
2981{
2982  protected $internal_gapi_mappings = array(
2983  );
2984  public $author;
2985  public $processingState;
2986  public $title;
2987  public $volumeId;
2988
2989
2990  public function setAuthor($author)
2991  {
2992    $this->author = $author;
2993  }
2994  public function getAuthor()
2995  {
2996    return $this->author;
2997  }
2998  public function setProcessingState($processingState)
2999  {
3000    $this->processingState = $processingState;
3001  }
3002  public function getProcessingState()
3003  {
3004    return $this->processingState;
3005  }
3006  public function setTitle($title)
3007  {
3008    $this->title = $title;
3009  }
3010  public function getTitle()
3011  {
3012    return $this->title;
3013  }
3014  public function setVolumeId($volumeId)
3015  {
3016    $this->volumeId = $volumeId;
3017  }
3018  public function getVolumeId()
3019  {
3020    return $this->volumeId;
3021  }
3022}
3023
3024class Google_Service_Books_BooksVolumesRecommendedRateResponse extends Google_Model
3025{
3026  protected $internal_gapi_mappings = array(
3027        "consistencyToken" => "consistency_token",
3028  );
3029  public $consistencyToken;
3030
3031
3032  public function setConsistencyToken($consistencyToken)
3033  {
3034    $this->consistencyToken = $consistencyToken;
3035  }
3036  public function getConsistencyToken()
3037  {
3038    return $this->consistencyToken;
3039  }
3040}
3041
3042class Google_Service_Books_Bookshelf extends Google_Model
3043{
3044  protected $internal_gapi_mappings = array(
3045  );
3046  public $access;
3047  public $created;
3048  public $description;
3049  public $id;
3050  public $kind;
3051  public $selfLink;
3052  public $title;
3053  public $updated;
3054  public $volumeCount;
3055  public $volumesLastUpdated;
3056
3057
3058  public function setAccess($access)
3059  {
3060    $this->access = $access;
3061  }
3062  public function getAccess()
3063  {
3064    return $this->access;
3065  }
3066  public function setCreated($created)
3067  {
3068    $this->created = $created;
3069  }
3070  public function getCreated()
3071  {
3072    return $this->created;
3073  }
3074  public function setDescription($description)
3075  {
3076    $this->description = $description;
3077  }
3078  public function getDescription()
3079  {
3080    return $this->description;
3081  }
3082  public function setId($id)
3083  {
3084    $this->id = $id;
3085  }
3086  public function getId()
3087  {
3088    return $this->id;
3089  }
3090  public function setKind($kind)
3091  {
3092    $this->kind = $kind;
3093  }
3094  public function getKind()
3095  {
3096    return $this->kind;
3097  }
3098  public function setSelfLink($selfLink)
3099  {
3100    $this->selfLink = $selfLink;
3101  }
3102  public function getSelfLink()
3103  {
3104    return $this->selfLink;
3105  }
3106  public function setTitle($title)
3107  {
3108    $this->title = $title;
3109  }
3110  public function getTitle()
3111  {
3112    return $this->title;
3113  }
3114  public function setUpdated($updated)
3115  {
3116    $this->updated = $updated;
3117  }
3118  public function getUpdated()
3119  {
3120    return $this->updated;
3121  }
3122  public function setVolumeCount($volumeCount)
3123  {
3124    $this->volumeCount = $volumeCount;
3125  }
3126  public function getVolumeCount()
3127  {
3128    return $this->volumeCount;
3129  }
3130  public function setVolumesLastUpdated($volumesLastUpdated)
3131  {
3132    $this->volumesLastUpdated = $volumesLastUpdated;
3133  }
3134  public function getVolumesLastUpdated()
3135  {
3136    return $this->volumesLastUpdated;
3137  }
3138}
3139
3140class Google_Service_Books_Bookshelves extends Google_Collection
3141{
3142  protected $collection_key = 'items';
3143  protected $internal_gapi_mappings = array(
3144  );
3145  protected $itemsType = 'Google_Service_Books_Bookshelf';
3146  protected $itemsDataType = 'array';
3147  public $kind;
3148
3149
3150  public function setItems($items)
3151  {
3152    $this->items = $items;
3153  }
3154  public function getItems()
3155  {
3156    return $this->items;
3157  }
3158  public function setKind($kind)
3159  {
3160    $this->kind = $kind;
3161  }
3162  public function getKind()
3163  {
3164    return $this->kind;
3165  }
3166}
3167
3168class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
3169{
3170  protected $internal_gapi_mappings = array(
3171  );
3172  public $deviceAllowed;
3173  public $kind;
3174  public $maxConcurrentDevices;
3175  public $message;
3176  public $nonce;
3177  public $reasonCode;
3178  public $restricted;
3179  public $signature;
3180  public $source;
3181  public $timeWindowSeconds;
3182  public $volumeId;
3183
3184
3185  public function setDeviceAllowed($deviceAllowed)
3186  {
3187    $this->deviceAllowed = $deviceAllowed;
3188  }
3189  public function getDeviceAllowed()
3190  {
3191    return $this->deviceAllowed;
3192  }
3193  public function setKind($kind)
3194  {
3195    $this->kind = $kind;
3196  }
3197  public function getKind()
3198  {
3199    return $this->kind;
3200  }
3201  public function setMaxConcurrentDevices($maxConcurrentDevices)
3202  {
3203    $this->maxConcurrentDevices = $maxConcurrentDevices;
3204  }
3205  public function getMaxConcurrentDevices()
3206  {
3207    return $this->maxConcurrentDevices;
3208  }
3209  public function setMessage($message)
3210  {
3211    $this->message = $message;
3212  }
3213  public function getMessage()
3214  {
3215    return $this->message;
3216  }
3217  public function setNonce($nonce)
3218  {
3219    $this->nonce = $nonce;
3220  }
3221  public function getNonce()
3222  {
3223    return $this->nonce;
3224  }
3225  public function setReasonCode($reasonCode)
3226  {
3227    $this->reasonCode = $reasonCode;
3228  }
3229  public function getReasonCode()
3230  {
3231    return $this->reasonCode;
3232  }
3233  public function setRestricted($restricted)
3234  {
3235    $this->restricted = $restricted;
3236  }
3237  public function getRestricted()
3238  {
3239    return $this->restricted;
3240  }
3241  public function setSignature($signature)
3242  {
3243    $this->signature = $signature;
3244  }
3245  public function getSignature()
3246  {
3247    return $this->signature;
3248  }
3249  public function setSource($source)
3250  {
3251    $this->source = $source;
3252  }
3253  public function getSource()
3254  {
3255    return $this->source;
3256  }
3257  public function setTimeWindowSeconds($timeWindowSeconds)
3258  {
3259    $this->timeWindowSeconds = $timeWindowSeconds;
3260  }
3261  public function getTimeWindowSeconds()
3262  {
3263    return $this->timeWindowSeconds;
3264  }
3265  public function setVolumeId($volumeId)
3266  {
3267    $this->volumeId = $volumeId;
3268  }
3269  public function getVolumeId()
3270  {
3271    return $this->volumeId;
3272  }
3273}
3274
3275class Google_Service_Books_Dictlayerdata extends Google_Model
3276{
3277  protected $internal_gapi_mappings = array(
3278  );
3279  protected $commonType = 'Google_Service_Books_DictlayerdataCommon';
3280  protected $commonDataType = '';
3281  protected $dictType = 'Google_Service_Books_DictlayerdataDict';
3282  protected $dictDataType = '';
3283  public $kind;
3284
3285
3286  public function setCommon(Google_Service_Books_DictlayerdataCommon $common)
3287  {
3288    $this->common = $common;
3289  }
3290  public function getCommon()
3291  {
3292    return $this->common;
3293  }
3294  public function setDict(Google_Service_Books_DictlayerdataDict $dict)
3295  {
3296    $this->dict = $dict;
3297  }
3298  public function getDict()
3299  {
3300    return $this->dict;
3301  }
3302  public function setKind($kind)
3303  {
3304    $this->kind = $kind;
3305  }
3306  public function getKind()
3307  {
3308    return $this->kind;
3309  }
3310}
3311
3312class Google_Service_Books_DictlayerdataCommon extends Google_Model
3313{
3314  protected $internal_gapi_mappings = array(
3315  );
3316  public $title;
3317
3318
3319  public function setTitle($title)
3320  {
3321    $this->title = $title;
3322  }
3323  public function getTitle()
3324  {
3325    return $this->title;
3326  }
3327}
3328
3329class Google_Service_Books_DictlayerdataDict extends Google_Collection
3330{
3331  protected $collection_key = 'words';
3332  protected $internal_gapi_mappings = array(
3333  );
3334  protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource';
3335  protected $sourceDataType = '';
3336  protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords';
3337  protected $wordsDataType = 'array';
3338
3339
3340  public function setSource(Google_Service_Books_DictlayerdataDictSource $source)
3341  {
3342    $this->source = $source;
3343  }
3344  public function getSource()
3345  {
3346    return $this->source;
3347  }
3348  public function setWords($words)
3349  {
3350    $this->words = $words;
3351  }
3352  public function getWords()
3353  {
3354    return $this->words;
3355  }
3356}
3357
3358class Google_Service_Books_DictlayerdataDictSource extends Google_Model
3359{
3360  protected $internal_gapi_mappings = array(
3361  );
3362  public $attribution;
3363  public $url;
3364
3365
3366  public function setAttribution($attribution)
3367  {
3368    $this->attribution = $attribution;
3369  }
3370  public function getAttribution()
3371  {
3372    return $this->attribution;
3373  }
3374  public function setUrl($url)
3375  {
3376    $this->url = $url;
3377  }
3378  public function getUrl()
3379  {
3380    return $this->url;
3381  }
3382}
3383
3384class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
3385{
3386  protected $collection_key = 'senses';
3387  protected $internal_gapi_mappings = array(
3388  );
3389  protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives';
3390  protected $derivativesDataType = 'array';
3391  protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples';
3392  protected $examplesDataType = 'array';
3393  protected $sensesType = 'Google_Service_Books_DictlayerdataDictWordsSenses';
3394  protected $sensesDataType = 'array';
3395  protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSource';
3396  protected $sourceDataType = '';
3397
3398
3399  public function setDerivatives($derivatives)
3400  {
3401    $this->derivatives = $derivatives;
3402  }
3403  public function getDerivatives()
3404  {
3405    return $this->derivatives;
3406  }
3407  public function setExamples($examples)
3408  {
3409    $this->examples = $examples;
3410  }
3411  public function getExamples()
3412  {
3413    return $this->examples;
3414  }
3415  public function setSenses($senses)
3416  {
3417    $this->senses = $senses;
3418  }
3419  public function getSenses()
3420  {
3421    return $this->senses;
3422  }
3423  public function setSource(Google_Service_Books_DictlayerdataDictWordsSource $source)
3424  {
3425    $this->source = $source;
3426  }
3427  public function getSource()
3428  {
3429    return $this->source;
3430  }
3431}
3432
3433class Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Model
3434{
3435  protected $internal_gapi_mappings = array(
3436  );
3437  protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
3438  protected $sourceDataType = '';
3439  public $text;
3440
3441
3442  public function setSource(Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
3443  {
3444    $this->source = $source;
3445  }
3446  public function getSource()
3447  {
3448    return $this->source;
3449  }
3450  public function setText($text)
3451  {
3452    $this->text = $text;
3453  }
3454  public function getText()
3455  {
3456    return $this->text;
3457  }
3458}
3459
3460class Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Google_Model
3461{
3462  protected $internal_gapi_mappings = array(
3463  );
3464  public $attribution;
3465  public $url;
3466
3467
3468  public function setAttribution($attribution)
3469  {
3470    $this->attribution = $attribution;
3471  }
3472  public function getAttribution()
3473  {
3474    return $this->attribution;
3475  }
3476  public function setUrl($url)
3477  {
3478    $this->url = $url;
3479  }
3480  public function getUrl()
3481  {
3482    return $this->url;
3483  }
3484}
3485
3486class Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model
3487{
3488  protected $internal_gapi_mappings = array(
3489  );
3490  protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsExamplesSource';
3491  protected $sourceDataType = '';
3492  public $text;
3493
3494
3495  public function setSource(Google_Service_Books_DictlayerdataDictWordsExamplesSource $source)
3496  {
3497    $this->source = $source;
3498  }
3499  public function getSource()
3500  {
3501    return $this->source;
3502  }
3503  public function setText($text)
3504  {
3505    $this->text = $text;
3506  }
3507  public function getText()
3508  {
3509    return $this->text;
3510  }
3511}
3512
3513class Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_Model
3514{
3515  protected $internal_gapi_mappings = array(
3516  );
3517  public $attribution;
3518  public $url;
3519
3520
3521  public function setAttribution($attribution)
3522  {
3523    $this->attribution = $attribution;
3524  }
3525  public function getAttribution()
3526  {
3527    return $this->attribution;
3528  }
3529  public function setUrl($url)
3530  {
3531    $this->url = $url;
3532  }
3533  public function getUrl()
3534  {
3535    return $this->url;
3536  }
3537}
3538
3539class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection
3540{
3541  protected $collection_key = 'synonyms';
3542  protected $internal_gapi_mappings = array(
3543  );
3544  protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
3545  protected $conjugationsDataType = 'array';
3546  protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
3547  protected $definitionsDataType = 'array';
3548  public $partOfSpeech;
3549  public $pronunciation;
3550  public $pronunciationUrl;
3551  protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSource';
3552  protected $sourceDataType = '';
3553  public $syllabification;
3554  protected $synonymsType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms';
3555  protected $synonymsDataType = 'array';
3556
3557
3558  public function setConjugations($conjugations)
3559  {
3560    $this->conjugations = $conjugations;
3561  }
3562  public function getConjugations()
3563  {
3564    return $this->conjugations;
3565  }
3566  public function setDefinitions($definitions)
3567  {
3568    $this->definitions = $definitions;
3569  }
3570  public function getDefinitions()
3571  {
3572    return $this->definitions;
3573  }
3574  public function setPartOfSpeech($partOfSpeech)
3575  {
3576    $this->partOfSpeech = $partOfSpeech;
3577  }
3578  public function getPartOfSpeech()
3579  {
3580    return $this->partOfSpeech;
3581  }
3582  public function setPronunciation($pronunciation)
3583  {
3584    $this->pronunciation = $pronunciation;
3585  }
3586  public function getPronunciation()
3587  {
3588    return $this->pronunciation;
3589  }
3590  public function setPronunciationUrl($pronunciationUrl)
3591  {
3592    $this->pronunciationUrl = $pronunciationUrl;
3593  }
3594  public function getPronunciationUrl()
3595  {
3596    return $this->pronunciationUrl;
3597  }
3598  public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSource $source)
3599  {
3600    $this->source = $source;
3601  }
3602  public function getSource()
3603  {
3604    return $this->source;
3605  }
3606  public function setSyllabification($syllabification)
3607  {
3608    $this->syllabification = $syllabification;
3609  }
3610  public function getSyllabification()
3611  {
3612    return $this->syllabification;
3613  }
3614  public function setSynonyms($synonyms)
3615  {
3616    $this->synonyms = $synonyms;
3617  }
3618  public function getSynonyms()
3619  {
3620    return $this->synonyms;
3621  }
3622}
3623
3624class Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Google_Model
3625{
3626  protected $internal_gapi_mappings = array(
3627  );
3628  public $type;
3629  public $value;
3630
3631
3632  public function setType($type)
3633  {
3634    $this->type = $type;
3635  }
3636  public function getType()
3637  {
3638    return $this->type;
3639  }
3640  public function setValue($value)
3641  {
3642    $this->value = $value;
3643  }
3644  public function getValue()
3645  {
3646    return $this->value;
3647  }
3648}
3649
3650class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection
3651{
3652  protected $collection_key = 'examples';
3653  protected $internal_gapi_mappings = array(
3654  );
3655  public $definition;
3656  protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
3657  protected $examplesDataType = 'array';
3658
3659
3660  public function setDefinition($definition)
3661  {
3662    $this->definition = $definition;
3663  }
3664  public function getDefinition()
3665  {
3666    return $this->definition;
3667  }
3668  public function setExamples($examples)
3669  {
3670    $this->examples = $examples;
3671  }
3672  public function getExamples()
3673  {
3674    return $this->examples;
3675  }
3676}
3677
3678class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Google_Model
3679{
3680  protected $internal_gapi_mappings = array(
3681  );
3682  protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
3683  protected $sourceDataType = '';
3684  public $text;
3685
3686
3687  public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
3688  {
3689    $this->source = $source;
3690  }
3691  public function getSource()
3692  {
3693    return $this->source;
3694  }
3695  public function setText($text)
3696  {
3697    $this->text = $text;
3698  }
3699  public function getText()
3700  {
3701    return $this->text;
3702  }
3703}
3704
3705class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Google_Model
3706{
3707  protected $internal_gapi_mappings = array(
3708  );
3709  public $attribution;
3710  public $url;
3711
3712
3713  public function setAttribution($attribution)
3714  {
3715    $this->attribution = $attribution;
3716  }
3717  public function getAttribution()
3718  {
3719    return $this->attribution;
3720  }
3721  public function setUrl($url)
3722  {
3723    $this->url = $url;
3724  }
3725  public function getUrl()
3726  {
3727    return $this->url;
3728  }
3729}
3730
3731class Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Model
3732{
3733  protected $internal_gapi_mappings = array(
3734  );
3735  public $attribution;
3736  public $url;
3737
3738
3739  public function setAttribution($attribution)
3740  {
3741    $this->attribution = $attribution;
3742  }
3743  public function getAttribution()
3744  {
3745    return $this->attribution;
3746  }
3747  public function setUrl($url)
3748  {
3749    $this->url = $url;
3750  }
3751  public function getUrl()
3752  {
3753    return $this->url;
3754  }
3755}
3756
3757class Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_Model
3758{
3759  protected $internal_gapi_mappings = array(
3760  );
3761  protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
3762  protected $sourceDataType = '';
3763  public $text;
3764
3765
3766  public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
3767  {
3768    $this->source = $source;
3769  }
3770  public function getSource()
3771  {
3772    return $this->source;
3773  }
3774  public function setText($text)
3775  {
3776    $this->text = $text;
3777  }
3778  public function getText()
3779  {
3780    return $this->text;
3781  }
3782}
3783
3784class Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Google_Model
3785{
3786  protected $internal_gapi_mappings = array(
3787  );
3788  public $attribution;
3789  public $url;
3790
3791
3792  public function setAttribution($attribution)
3793  {
3794    $this->attribution = $attribution;
3795  }
3796  public function getAttribution()
3797  {
3798    return $this->attribution;
3799  }
3800  public function setUrl($url)
3801  {
3802    $this->url = $url;
3803  }
3804  public function getUrl()
3805  {
3806    return $this->url;
3807  }
3808}
3809
3810class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
3811{
3812  protected $internal_gapi_mappings = array(
3813  );
3814  public $attribution;
3815  public $url;
3816
3817
3818  public function setAttribution($attribution)
3819  {
3820    $this->attribution = $attribution;
3821  }
3822  public function getAttribution()
3823  {
3824    return $this->attribution;
3825  }
3826  public function setUrl($url)
3827  {
3828    $this->url = $url;
3829  }
3830  public function getUrl()
3831  {
3832    return $this->url;
3833  }
3834}
3835
3836class Google_Service_Books_DownloadAccessRestriction extends Google_Model
3837{
3838  protected $internal_gapi_mappings = array(
3839  );
3840  public $deviceAllowed;
3841  public $downloadsAcquired;
3842  public $justAcquired;
3843  public $kind;
3844  public $maxDownloadDevices;
3845  public $message;
3846  public $nonce;
3847  public $reasonCode;
3848  public $restricted;
3849  public $signature;
3850  public $source;
3851  public $volumeId;
3852
3853
3854  public function setDeviceAllowed($deviceAllowed)
3855  {
3856    $this->deviceAllowed = $deviceAllowed;
3857  }
3858  public function getDeviceAllowed()
3859  {
3860    return $this->deviceAllowed;
3861  }
3862  public function setDownloadsAcquired($downloadsAcquired)
3863  {
3864    $this->downloadsAcquired = $downloadsAcquired;
3865  }
3866  public function getDownloadsAcquired()
3867  {
3868    return $this->downloadsAcquired;
3869  }
3870  public function setJustAcquired($justAcquired)
3871  {
3872    $this->justAcquired = $justAcquired;
3873  }
3874  public function getJustAcquired()
3875  {
3876    return $this->justAcquired;
3877  }
3878  public function setKind($kind)
3879  {
3880    $this->kind = $kind;
3881  }
3882  public function getKind()
3883  {
3884    return $this->kind;
3885  }
3886  public function setMaxDownloadDevices($maxDownloadDevices)
3887  {
3888    $this->maxDownloadDevices = $maxDownloadDevices;
3889  }
3890  public function getMaxDownloadDevices()
3891  {
3892    return $this->maxDownloadDevices;
3893  }
3894  public function setMessage($message)
3895  {
3896    $this->message = $message;
3897  }
3898  public function getMessage()
3899  {
3900    return $this->message;
3901  }
3902  public function setNonce($nonce)
3903  {
3904    $this->nonce = $nonce;
3905  }
3906  public function getNonce()
3907  {
3908    return $this->nonce;
3909  }
3910  public function setReasonCode($reasonCode)
3911  {
3912    $this->reasonCode = $reasonCode;
3913  }
3914  public function getReasonCode()
3915  {
3916    return $this->reasonCode;
3917  }
3918  public function setRestricted($restricted)
3919  {
3920    $this->restricted = $restricted;
3921  }
3922  public function getRestricted()
3923  {
3924    return $this->restricted;
3925  }
3926  public function setSignature($signature)
3927  {
3928    $this->signature = $signature;
3929  }
3930  public function getSignature()
3931  {
3932    return $this->signature;
3933  }
3934  public function setSource($source)
3935  {
3936    $this->source = $source;
3937  }
3938  public function getSource()
3939  {
3940    return $this->source;
3941  }
3942  public function setVolumeId($volumeId)
3943  {
3944    $this->volumeId = $volumeId;
3945  }
3946  public function getVolumeId()
3947  {
3948    return $this->volumeId;
3949  }
3950}
3951
3952class Google_Service_Books_DownloadAccesses extends Google_Collection
3953{
3954  protected $collection_key = 'downloadAccessList';
3955  protected $internal_gapi_mappings = array(
3956  );
3957  protected $downloadAccessListType = 'Google_Service_Books_DownloadAccessRestriction';
3958  protected $downloadAccessListDataType = 'array';
3959  public $kind;
3960
3961
3962  public function setDownloadAccessList($downloadAccessList)
3963  {
3964    $this->downloadAccessList = $downloadAccessList;
3965  }
3966  public function getDownloadAccessList()
3967  {
3968    return $this->downloadAccessList;
3969  }
3970  public function setKind($kind)
3971  {
3972    $this->kind = $kind;
3973  }
3974  public function getKind()
3975  {
3976    return $this->kind;
3977  }
3978}
3979
3980class Google_Service_Books_Geolayerdata extends Google_Model
3981{
3982  protected $internal_gapi_mappings = array(
3983  );
3984  protected $commonType = 'Google_Service_Books_GeolayerdataCommon';
3985  protected $commonDataType = '';
3986  protected $geoType = 'Google_Service_Books_GeolayerdataGeo';
3987  protected $geoDataType = '';
3988  public $kind;
3989
3990
3991  public function setCommon(Google_Service_Books_GeolayerdataCommon $common)
3992  {
3993    $this->common = $common;
3994  }
3995  public function getCommon()
3996  {
3997    return $this->common;
3998  }
3999  public function setGeo(Google_Service_Books_GeolayerdataGeo $geo)
4000  {
4001    $this->geo = $geo;
4002  }
4003  public function getGeo()
4004  {
4005    return $this->geo;
4006  }
4007  public function setKind($kind)
4008  {
4009    $this->kind = $kind;
4010  }
4011  public function getKind()
4012  {
4013    return $this->kind;
4014  }
4015}
4016
4017class Google_Service_Books_GeolayerdataCommon extends Google_Model
4018{
4019  protected $internal_gapi_mappings = array(
4020  );
4021  public $lang;
4022  public $previewImageUrl;
4023  public $snippet;
4024  public $snippetUrl;
4025  public $title;
4026
4027
4028  public function setLang($lang)
4029  {
4030    $this->lang = $lang;
4031  }
4032  public function getLang()
4033  {
4034    return $this->lang;
4035  }
4036  public function setPreviewImageUrl($previewImageUrl)
4037  {
4038    $this->previewImageUrl = $previewImageUrl;
4039  }
4040  public function getPreviewImageUrl()
4041  {
4042    return $this->previewImageUrl;
4043  }
4044  public function setSnippet($snippet)
4045  {
4046    $this->snippet = $snippet;
4047  }
4048  public function getSnippet()
4049  {
4050    return $this->snippet;
4051  }
4052  public function setSnippetUrl($snippetUrl)
4053  {
4054    $this->snippetUrl = $snippetUrl;
4055  }
4056  public function getSnippetUrl()
4057  {
4058    return $this->snippetUrl;
4059  }
4060  public function setTitle($title)
4061  {
4062    $this->title = $title;
4063  }
4064  public function getTitle()
4065  {
4066    return $this->title;
4067  }
4068}
4069
4070class Google_Service_Books_GeolayerdataGeo extends Google_Collection
4071{
4072  protected $collection_key = 'boundary';
4073  protected $internal_gapi_mappings = array(
4074  );
4075  protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary';
4076  protected $boundaryDataType = 'array';
4077  public $cachePolicy;
4078  public $countryCode;
4079  public $latitude;
4080  public $longitude;
4081  public $mapType;
4082  protected $viewportType = 'Google_Service_Books_GeolayerdataGeoViewport';
4083  protected $viewportDataType = '';
4084  public $zoom;
4085
4086
4087  public function setBoundary($boundary)
4088  {
4089    $this->boundary = $boundary;
4090  }
4091  public function getBoundary()
4092  {
4093    return $this->boundary;
4094  }
4095  public function setCachePolicy($cachePolicy)
4096  {
4097    $this->cachePolicy = $cachePolicy;
4098  }
4099  public function getCachePolicy()
4100  {
4101    return $this->cachePolicy;
4102  }
4103  public function setCountryCode($countryCode)
4104  {
4105    $this->countryCode = $countryCode;
4106  }
4107  public function getCountryCode()
4108  {
4109    return $this->countryCode;
4110  }
4111  public function setLatitude($latitude)
4112  {
4113    $this->latitude = $latitude;
4114  }
4115  public function getLatitude()
4116  {
4117    return $this->latitude;
4118  }
4119  public function setLongitude($longitude)
4120  {
4121    $this->longitude = $longitude;
4122  }
4123  public function getLongitude()
4124  {
4125    return $this->longitude;
4126  }
4127  public function setMapType($mapType)
4128  {
4129    $this->mapType = $mapType;
4130  }
4131  public function getMapType()
4132  {
4133    return $this->mapType;
4134  }
4135  public function setViewport(Google_Service_Books_GeolayerdataGeoViewport $viewport)
4136  {
4137    $this->viewport = $viewport;
4138  }
4139  public function getViewport()
4140  {
4141    return $this->viewport;
4142  }
4143  public function setZoom($zoom)
4144  {
4145    $this->zoom = $zoom;
4146  }
4147  public function getZoom()
4148  {
4149    return $this->zoom;
4150  }
4151}
4152
4153class Google_Service_Books_GeolayerdataGeoBoundary extends Google_Model
4154{
4155  protected $internal_gapi_mappings = array(
4156  );
4157  public $latitude;
4158  public $longitude;
4159
4160
4161  public function setLatitude($latitude)
4162  {
4163    $this->latitude = $latitude;
4164  }
4165  public function getLatitude()
4166  {
4167    return $this->latitude;
4168  }
4169  public function setLongitude($longitude)
4170  {
4171    $this->longitude = $longitude;
4172  }
4173  public function getLongitude()
4174  {
4175    return $this->longitude;
4176  }
4177}
4178
4179class Google_Service_Books_GeolayerdataGeoViewport extends Google_Model
4180{
4181  protected $internal_gapi_mappings = array(
4182  );
4183  protected $hiType = 'Google_Service_Books_GeolayerdataGeoViewportHi';
4184  protected $hiDataType = '';
4185  protected $loType = 'Google_Service_Books_GeolayerdataGeoViewportLo';
4186  protected $loDataType = '';
4187
4188
4189  public function setHi(Google_Service_Books_GeolayerdataGeoViewportHi $hi)
4190  {
4191    $this->hi = $hi;
4192  }
4193  public function getHi()
4194  {
4195    return $this->hi;
4196  }
4197  public function setLo(Google_Service_Books_GeolayerdataGeoViewportLo $lo)
4198  {
4199    $this->lo = $lo;
4200  }
4201  public function getLo()
4202  {
4203    return $this->lo;
4204  }
4205}
4206
4207class Google_Service_Books_GeolayerdataGeoViewportHi extends Google_Model
4208{
4209  protected $internal_gapi_mappings = array(
4210  );
4211  public $latitude;
4212  public $longitude;
4213
4214
4215  public function setLatitude($latitude)
4216  {
4217    $this->latitude = $latitude;
4218  }
4219  public function getLatitude()
4220  {
4221    return $this->latitude;
4222  }
4223  public function setLongitude($longitude)
4224  {
4225    $this->longitude = $longitude;
4226  }
4227  public function getLongitude()
4228  {
4229    return $this->longitude;
4230  }
4231}
4232
4233class Google_Service_Books_GeolayerdataGeoViewportLo extends Google_Model
4234{
4235  protected $internal_gapi_mappings = array(
4236  );
4237  public $latitude;
4238  public $longitude;
4239
4240
4241  public function setLatitude($latitude)
4242  {
4243    $this->latitude = $latitude;
4244  }
4245  public function getLatitude()
4246  {
4247    return $this->latitude;
4248  }
4249  public function setLongitude($longitude)
4250  {
4251    $this->longitude = $longitude;
4252  }
4253  public function getLongitude()
4254  {
4255    return $this->longitude;
4256  }
4257}
4258
4259class Google_Service_Books_Layersummaries extends Google_Collection
4260{
4261  protected $collection_key = 'items';
4262  protected $internal_gapi_mappings = array(
4263  );
4264  protected $itemsType = 'Google_Service_Books_Layersummary';
4265  protected $itemsDataType = 'array';
4266  public $kind;
4267  public $totalItems;
4268
4269
4270  public function setItems($items)
4271  {
4272    $this->items = $items;
4273  }
4274  public function getItems()
4275  {
4276    return $this->items;
4277  }
4278  public function setKind($kind)
4279  {
4280    $this->kind = $kind;
4281  }
4282  public function getKind()
4283  {
4284    return $this->kind;
4285  }
4286  public function setTotalItems($totalItems)
4287  {
4288    $this->totalItems = $totalItems;
4289  }
4290  public function getTotalItems()
4291  {
4292    return $this->totalItems;
4293  }
4294}
4295
4296class Google_Service_Books_Layersummary extends Google_Collection
4297{
4298  protected $collection_key = 'annotationTypes';
4299  protected $internal_gapi_mappings = array(
4300  );
4301  public $annotationCount;
4302  public $annotationTypes;
4303  public $annotationsDataLink;
4304  public $annotationsLink;
4305  public $contentVersion;
4306  public $dataCount;
4307  public $id;
4308  public $kind;
4309  public $layerId;
4310  public $selfLink;
4311  public $updated;
4312  public $volumeAnnotationsVersion;
4313  public $volumeId;
4314
4315
4316  public function setAnnotationCount($annotationCount)
4317  {
4318    $this->annotationCount = $annotationCount;
4319  }
4320  public function getAnnotationCount()
4321  {
4322    return $this->annotationCount;
4323  }
4324  public function setAnnotationTypes($annotationTypes)
4325  {
4326    $this->annotationTypes = $annotationTypes;
4327  }
4328  public function getAnnotationTypes()
4329  {
4330    return $this->annotationTypes;
4331  }
4332  public function setAnnotationsDataLink($annotationsDataLink)
4333  {
4334    $this->annotationsDataLink = $annotationsDataLink;
4335  }
4336  public function getAnnotationsDataLink()
4337  {
4338    return $this->annotationsDataLink;
4339  }
4340  public function setAnnotationsLink($annotationsLink)
4341  {
4342    $this->annotationsLink = $annotationsLink;
4343  }
4344  public function getAnnotationsLink()
4345  {
4346    return $this->annotationsLink;
4347  }
4348  public function setContentVersion($contentVersion)
4349  {
4350    $this->contentVersion = $contentVersion;
4351  }
4352  public function getContentVersion()
4353  {
4354    return $this->contentVersion;
4355  }
4356  public function setDataCount($dataCount)
4357  {
4358    $this->dataCount = $dataCount;
4359  }
4360  public function getDataCount()
4361  {
4362    return $this->dataCount;
4363  }
4364  public function setId($id)
4365  {
4366    $this->id = $id;
4367  }
4368  public function getId()
4369  {
4370    return $this->id;
4371  }
4372  public function setKind($kind)
4373  {
4374    $this->kind = $kind;
4375  }
4376  public function getKind()
4377  {
4378    return $this->kind;
4379  }
4380  public function setLayerId($layerId)
4381  {
4382    $this->layerId = $layerId;
4383  }
4384  public function getLayerId()
4385  {
4386    return $this->layerId;
4387  }
4388  public function setSelfLink($selfLink)
4389  {
4390    $this->selfLink = $selfLink;
4391  }
4392  public function getSelfLink()
4393  {
4394    return $this->selfLink;
4395  }
4396  public function setUpdated($updated)
4397  {
4398    $this->updated = $updated;
4399  }
4400  public function getUpdated()
4401  {
4402    return $this->updated;
4403  }
4404  public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
4405  {
4406    $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
4407  }
4408  public function getVolumeAnnotationsVersion()
4409  {
4410    return $this->volumeAnnotationsVersion;
4411  }
4412  public function setVolumeId($volumeId)
4413  {
4414    $this->volumeId = $volumeId;
4415  }
4416  public function getVolumeId()
4417  {
4418    return $this->volumeId;
4419  }
4420}
4421
4422class Google_Service_Books_Offers extends Google_Collection
4423{
4424  protected $collection_key = 'items';
4425  protected $internal_gapi_mappings = array(
4426  );
4427  protected $itemsType = 'Google_Service_Books_OffersItems';
4428  protected $itemsDataType = 'array';
4429  public $kind;
4430
4431
4432  public function setItems($items)
4433  {
4434    $this->items = $items;
4435  }
4436  public function getItems()
4437  {
4438    return $this->items;
4439  }
4440  public function setKind($kind)
4441  {
4442    $this->kind = $kind;
4443  }
4444  public function getKind()
4445  {
4446    return $this->kind;
4447  }
4448}
4449
4450class Google_Service_Books_OffersItems extends Google_Collection
4451{
4452  protected $collection_key = 'items';
4453  protected $internal_gapi_mappings = array(
4454  );
4455  public $artUrl;
4456  public $id;
4457  protected $itemsType = 'Google_Service_Books_OffersItemsItems';
4458  protected $itemsDataType = 'array';
4459
4460
4461  public function setArtUrl($artUrl)
4462  {
4463    $this->artUrl = $artUrl;
4464  }
4465  public function getArtUrl()
4466  {
4467    return $this->artUrl;
4468  }
4469  public function setId($id)
4470  {
4471    $this->id = $id;
4472  }
4473  public function getId()
4474  {
4475    return $this->id;
4476  }
4477  public function setItems($items)
4478  {
4479    $this->items = $items;
4480  }
4481  public function getItems()
4482  {
4483    return $this->items;
4484  }
4485}
4486
4487class Google_Service_Books_OffersItemsItems extends Google_Model
4488{
4489  protected $internal_gapi_mappings = array(
4490  );
4491  public $author;
4492  public $canonicalVolumeLink;
4493  public $coverUrl;
4494  public $description;
4495  public $title;
4496  public $volumeId;
4497
4498
4499  public function setAuthor($author)
4500  {
4501    $this->author = $author;
4502  }
4503  public function getAuthor()
4504  {
4505    return $this->author;
4506  }
4507  public function setCanonicalVolumeLink($canonicalVolumeLink)
4508  {
4509    $this->canonicalVolumeLink = $canonicalVolumeLink;
4510  }
4511  public function getCanonicalVolumeLink()
4512  {
4513    return $this->canonicalVolumeLink;
4514  }
4515  public function setCoverUrl($coverUrl)
4516  {
4517    $this->coverUrl = $coverUrl;
4518  }
4519  public function getCoverUrl()
4520  {
4521    return $this->coverUrl;
4522  }
4523  public function setDescription($description)
4524  {
4525    $this->description = $description;
4526  }
4527  public function getDescription()
4528  {
4529    return $this->description;
4530  }
4531  public function setTitle($title)
4532  {
4533    $this->title = $title;
4534  }
4535  public function getTitle()
4536  {
4537    return $this->title;
4538  }
4539  public function setVolumeId($volumeId)
4540  {
4541    $this->volumeId = $volumeId;
4542  }
4543  public function getVolumeId()
4544  {
4545    return $this->volumeId;
4546  }
4547}
4548
4549class Google_Service_Books_ReadingPosition extends Google_Model
4550{
4551  protected $internal_gapi_mappings = array(
4552  );
4553  public $epubCfiPosition;
4554  public $gbImagePosition;
4555  public $gbTextPosition;
4556  public $kind;
4557  public $pdfPosition;
4558  public $updated;
4559  public $volumeId;
4560
4561
4562  public function setEpubCfiPosition($epubCfiPosition)
4563  {
4564    $this->epubCfiPosition = $epubCfiPosition;
4565  }
4566  public function getEpubCfiPosition()
4567  {
4568    return $this->epubCfiPosition;
4569  }
4570  public function setGbImagePosition($gbImagePosition)
4571  {
4572    $this->gbImagePosition = $gbImagePosition;
4573  }
4574  public function getGbImagePosition()
4575  {
4576    return $this->gbImagePosition;
4577  }
4578  public function setGbTextPosition($gbTextPosition)
4579  {
4580    $this->gbTextPosition = $gbTextPosition;
4581  }
4582  public function getGbTextPosition()
4583  {
4584    return $this->gbTextPosition;
4585  }
4586  public function setKind($kind)
4587  {
4588    $this->kind = $kind;
4589  }
4590  public function getKind()
4591  {
4592    return $this->kind;
4593  }
4594  public function setPdfPosition($pdfPosition)
4595  {
4596    $this->pdfPosition = $pdfPosition;
4597  }
4598  public function getPdfPosition()
4599  {
4600    return $this->pdfPosition;
4601  }
4602  public function setUpdated($updated)
4603  {
4604    $this->updated = $updated;
4605  }
4606  public function getUpdated()
4607  {
4608    return $this->updated;
4609  }
4610  public function setVolumeId($volumeId)
4611  {
4612    $this->volumeId = $volumeId;
4613  }
4614  public function getVolumeId()
4615  {
4616    return $this->volumeId;
4617  }
4618}
4619
4620class Google_Service_Books_RequestAccess extends Google_Model
4621{
4622  protected $internal_gapi_mappings = array(
4623  );
4624  protected $concurrentAccessType = 'Google_Service_Books_ConcurrentAccessRestriction';
4625  protected $concurrentAccessDataType = '';
4626  protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
4627  protected $downloadAccessDataType = '';
4628  public $kind;
4629
4630
4631  public function setConcurrentAccess(Google_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
4632  {
4633    $this->concurrentAccess = $concurrentAccess;
4634  }
4635  public function getConcurrentAccess()
4636  {
4637    return $this->concurrentAccess;
4638  }
4639  public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
4640  {
4641    $this->downloadAccess = $downloadAccess;
4642  }
4643  public function getDownloadAccess()
4644  {
4645    return $this->downloadAccess;
4646  }
4647  public function setKind($kind)
4648  {
4649    $this->kind = $kind;
4650  }
4651  public function getKind()
4652  {
4653    return $this->kind;
4654  }
4655}
4656
4657class Google_Service_Books_Review extends Google_Model
4658{
4659  protected $internal_gapi_mappings = array(
4660  );
4661  protected $authorType = 'Google_Service_Books_ReviewAuthor';
4662  protected $authorDataType = '';
4663  public $content;
4664  public $date;
4665  public $fullTextUrl;
4666  public $kind;
4667  public $rating;
4668  protected $sourceType = 'Google_Service_Books_ReviewSource';
4669  protected $sourceDataType = '';
4670  public $title;
4671  public $type;
4672  public $volumeId;
4673
4674
4675  public function setAuthor(Google_Service_Books_ReviewAuthor $author)
4676  {
4677    $this->author = $author;
4678  }
4679  public function getAuthor()
4680  {
4681    return $this->author;
4682  }
4683  public function setContent($content)
4684  {
4685    $this->content = $content;
4686  }
4687  public function getContent()
4688  {
4689    return $this->content;
4690  }
4691  public function setDate($date)
4692  {
4693    $this->date = $date;
4694  }
4695  public function getDate()
4696  {
4697    return $this->date;
4698  }
4699  public function setFullTextUrl($fullTextUrl)
4700  {
4701    $this->fullTextUrl = $fullTextUrl;
4702  }
4703  public function getFullTextUrl()
4704  {
4705    return $this->fullTextUrl;
4706  }
4707  public function setKind($kind)
4708  {
4709    $this->kind = $kind;
4710  }
4711  public function getKind()
4712  {
4713    return $this->kind;
4714  }
4715  public function setRating($rating)
4716  {
4717    $this->rating = $rating;
4718  }
4719  public function getRating()
4720  {
4721    return $this->rating;
4722  }
4723  public function setSource(Google_Service_Books_ReviewSource $source)
4724  {
4725    $this->source = $source;
4726  }
4727  public function getSource()
4728  {
4729    return $this->source;
4730  }
4731  public function setTitle($title)
4732  {
4733    $this->title = $title;
4734  }
4735  public function getTitle()
4736  {
4737    return $this->title;
4738  }
4739  public function setType($type)
4740  {
4741    $this->type = $type;
4742  }
4743  public function getType()
4744  {
4745    return $this->type;
4746  }
4747  public function setVolumeId($volumeId)
4748  {
4749    $this->volumeId = $volumeId;
4750  }
4751  public function getVolumeId()
4752  {
4753    return $this->volumeId;
4754  }
4755}
4756
4757class Google_Service_Books_ReviewAuthor extends Google_Model
4758{
4759  protected $internal_gapi_mappings = array(
4760  );
4761  public $displayName;
4762
4763
4764  public function setDisplayName($displayName)
4765  {
4766    $this->displayName = $displayName;
4767  }
4768  public function getDisplayName()
4769  {
4770    return $this->displayName;
4771  }
4772}
4773
4774class Google_Service_Books_ReviewSource extends Google_Model
4775{
4776  protected $internal_gapi_mappings = array(
4777  );
4778  public $description;
4779  public $extraDescription;
4780  public $url;
4781
4782
4783  public function setDescription($description)
4784  {
4785    $this->description = $description;
4786  }
4787  public function getDescription()
4788  {
4789    return $this->description;
4790  }
4791  public function setExtraDescription($extraDescription)
4792  {
4793    $this->extraDescription = $extraDescription;
4794  }
4795  public function getExtraDescription()
4796  {
4797    return $this->extraDescription;
4798  }
4799  public function setUrl($url)
4800  {
4801    $this->url = $url;
4802  }
4803  public function getUrl()
4804  {
4805    return $this->url;
4806  }
4807}
4808
4809class Google_Service_Books_Volume extends Google_Model
4810{
4811  protected $internal_gapi_mappings = array(
4812  );
4813  protected $accessInfoType = 'Google_Service_Books_VolumeAccessInfo';
4814  protected $accessInfoDataType = '';
4815  public $etag;
4816  public $id;
4817  public $kind;
4818  protected $layerInfoType = 'Google_Service_Books_VolumeLayerInfo';
4819  protected $layerInfoDataType = '';
4820  protected $recommendedInfoType = 'Google_Service_Books_VolumeRecommendedInfo';
4821  protected $recommendedInfoDataType = '';
4822  protected $saleInfoType = 'Google_Service_Books_VolumeSaleInfo';
4823  protected $saleInfoDataType = '';
4824  protected $searchInfoType = 'Google_Service_Books_VolumeSearchInfo';
4825  protected $searchInfoDataType = '';
4826  public $selfLink;
4827  protected $userInfoType = 'Google_Service_Books_VolumeUserInfo';
4828  protected $userInfoDataType = '';
4829  protected $volumeInfoType = 'Google_Service_Books_VolumeVolumeInfo';
4830  protected $volumeInfoDataType = '';
4831
4832
4833  public function setAccessInfo(Google_Service_Books_VolumeAccessInfo $accessInfo)
4834  {
4835    $this->accessInfo = $accessInfo;
4836  }
4837  public function getAccessInfo()
4838  {
4839    return $this->accessInfo;
4840  }
4841  public function setEtag($etag)
4842  {
4843    $this->etag = $etag;
4844  }
4845  public function getEtag()
4846  {
4847    return $this->etag;
4848  }
4849  public function setId($id)
4850  {
4851    $this->id = $id;
4852  }
4853  public function getId()
4854  {
4855    return $this->id;
4856  }
4857  public function setKind($kind)
4858  {
4859    $this->kind = $kind;
4860  }
4861  public function getKind()
4862  {
4863    return $this->kind;
4864  }
4865  public function setLayerInfo(Google_Service_Books_VolumeLayerInfo $layerInfo)
4866  {
4867    $this->layerInfo = $layerInfo;
4868  }
4869  public function getLayerInfo()
4870  {
4871    return $this->layerInfo;
4872  }
4873  public function setRecommendedInfo(Google_Service_Books_VolumeRecommendedInfo $recommendedInfo)
4874  {
4875    $this->recommendedInfo = $recommendedInfo;
4876  }
4877  public function getRecommendedInfo()
4878  {
4879    return $this->recommendedInfo;
4880  }
4881  public function setSaleInfo(Google_Service_Books_VolumeSaleInfo $saleInfo)
4882  {
4883    $this->saleInfo = $saleInfo;
4884  }
4885  public function getSaleInfo()
4886  {
4887    return $this->saleInfo;
4888  }
4889  public function setSearchInfo(Google_Service_Books_VolumeSearchInfo $searchInfo)
4890  {
4891    $this->searchInfo = $searchInfo;
4892  }
4893  public function getSearchInfo()
4894  {
4895    return $this->searchInfo;
4896  }
4897  public function setSelfLink($selfLink)
4898  {
4899    $this->selfLink = $selfLink;
4900  }
4901  public function getSelfLink()
4902  {
4903    return $this->selfLink;
4904  }
4905  public function setUserInfo(Google_Service_Books_VolumeUserInfo $userInfo)
4906  {
4907    $this->userInfo = $userInfo;
4908  }
4909  public function getUserInfo()
4910  {
4911    return $this->userInfo;
4912  }
4913  public function setVolumeInfo(Google_Service_Books_VolumeVolumeInfo $volumeInfo)
4914  {
4915    $this->volumeInfo = $volumeInfo;
4916  }
4917  public function getVolumeInfo()
4918  {
4919    return $this->volumeInfo;
4920  }
4921}
4922
4923class Google_Service_Books_VolumeAccessInfo extends Google_Model
4924{
4925  protected $internal_gapi_mappings = array(
4926  );
4927  public $accessViewStatus;
4928  public $country;
4929  protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
4930  protected $downloadAccessDataType = '';
4931  public $driveImportedContentLink;
4932  public $embeddable;
4933  protected $epubType = 'Google_Service_Books_VolumeAccessInfoEpub';
4934  protected $epubDataType = '';
4935  public $explicitOfflineLicenseManagement;
4936  protected $pdfType = 'Google_Service_Books_VolumeAccessInfoPdf';
4937  protected $pdfDataType = '';
4938  public $publicDomain;
4939  public $quoteSharingAllowed;
4940  public $textToSpeechPermission;
4941  public $viewOrderUrl;
4942  public $viewability;
4943  public $webReaderLink;
4944
4945
4946  public function setAccessViewStatus($accessViewStatus)
4947  {
4948    $this->accessViewStatus = $accessViewStatus;
4949  }
4950  public function getAccessViewStatus()
4951  {
4952    return $this->accessViewStatus;
4953  }
4954  public function setCountry($country)
4955  {
4956    $this->country = $country;
4957  }
4958  public function getCountry()
4959  {
4960    return $this->country;
4961  }
4962  public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
4963  {
4964    $this->downloadAccess = $downloadAccess;
4965  }
4966  public function getDownloadAccess()
4967  {
4968    return $this->downloadAccess;
4969  }
4970  public function setDriveImportedContentLink($driveImportedContentLink)
4971  {
4972    $this->driveImportedContentLink = $driveImportedContentLink;
4973  }
4974  public function getDriveImportedContentLink()
4975  {
4976    return $this->driveImportedContentLink;
4977  }
4978  public function setEmbeddable($embeddable)
4979  {
4980    $this->embeddable = $embeddable;
4981  }
4982  public function getEmbeddable()
4983  {
4984    return $this->embeddable;
4985  }
4986  public function setEpub(Google_Service_Books_VolumeAccessInfoEpub $epub)
4987  {
4988    $this->epub = $epub;
4989  }
4990  public function getEpub()
4991  {
4992    return $this->epub;
4993  }
4994  public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
4995  {
4996    $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
4997  }
4998  public function getExplicitOfflineLicenseManagement()
4999  {
5000    return $this->explicitOfflineLicenseManagement;
5001  }
5002  public function setPdf(Google_Service_Books_VolumeAccessInfoPdf $pdf)
5003  {
5004    $this->pdf = $pdf;
5005  }
5006  public function getPdf()
5007  {
5008    return $this->pdf;
5009  }
5010  public function setPublicDomain($publicDomain)
5011  {
5012    $this->publicDomain = $publicDomain;
5013  }
5014  public function getPublicDomain()
5015  {
5016    return $this->publicDomain;
5017  }
5018  public function setQuoteSharingAllowed($quoteSharingAllowed)
5019  {
5020    $this->quoteSharingAllowed = $quoteSharingAllowed;
5021  }
5022  public function getQuoteSharingAllowed()
5023  {
5024    return $this->quoteSharingAllowed;
5025  }
5026  public function setTextToSpeechPermission($textToSpeechPermission)
5027  {
5028    $this->textToSpeechPermission = $textToSpeechPermission;
5029  }
5030  public function getTextToSpeechPermission()
5031  {
5032    return $this->textToSpeechPermission;
5033  }
5034  public function setViewOrderUrl($viewOrderUrl)
5035  {
5036    $this->viewOrderUrl = $viewOrderUrl;
5037  }
5038  public function getViewOrderUrl()
5039  {
5040    return $this->viewOrderUrl;
5041  }
5042  public function setViewability($viewability)
5043  {
5044    $this->viewability = $viewability;
5045  }
5046  public function getViewability()
5047  {
5048    return $this->viewability;
5049  }
5050  public function setWebReaderLink($webReaderLink)
5051  {
5052    $this->webReaderLink = $webReaderLink;
5053  }
5054  public function getWebReaderLink()
5055  {
5056    return $this->webReaderLink;
5057  }
5058}
5059
5060class Google_Service_Books_VolumeAccessInfoEpub extends Google_Model
5061{
5062  protected $internal_gapi_mappings = array(
5063  );
5064  public $acsTokenLink;
5065  public $downloadLink;
5066  public $isAvailable;
5067
5068
5069  public function setAcsTokenLink($acsTokenLink)
5070  {
5071    $this->acsTokenLink = $acsTokenLink;
5072  }
5073  public function getAcsTokenLink()
5074  {
5075    return $this->acsTokenLink;
5076  }
5077  public function setDownloadLink($downloadLink)
5078  {
5079    $this->downloadLink = $downloadLink;
5080  }
5081  public function getDownloadLink()
5082  {
5083    return $this->downloadLink;
5084  }
5085  public function setIsAvailable($isAvailable)
5086  {
5087    $this->isAvailable = $isAvailable;
5088  }
5089  public function getIsAvailable()
5090  {
5091    return $this->isAvailable;
5092  }
5093}
5094
5095class Google_Service_Books_VolumeAccessInfoPdf extends Google_Model
5096{
5097  protected $internal_gapi_mappings = array(
5098  );
5099  public $acsTokenLink;
5100  public $downloadLink;
5101  public $isAvailable;
5102
5103
5104  public function setAcsTokenLink($acsTokenLink)
5105  {
5106    $this->acsTokenLink = $acsTokenLink;
5107  }
5108  public function getAcsTokenLink()
5109  {
5110    return $this->acsTokenLink;
5111  }
5112  public function setDownloadLink($downloadLink)
5113  {
5114    $this->downloadLink = $downloadLink;
5115  }
5116  public function getDownloadLink()
5117  {
5118    return $this->downloadLink;
5119  }
5120  public function setIsAvailable($isAvailable)
5121  {
5122    $this->isAvailable = $isAvailable;
5123  }
5124  public function getIsAvailable()
5125  {
5126    return $this->isAvailable;
5127  }
5128}
5129
5130class Google_Service_Books_VolumeLayerInfo extends Google_Collection
5131{
5132  protected $collection_key = 'layers';
5133  protected $internal_gapi_mappings = array(
5134  );
5135  protected $layersType = 'Google_Service_Books_VolumeLayerInfoLayers';
5136  protected $layersDataType = 'array';
5137
5138
5139  public function setLayers($layers)
5140  {
5141    $this->layers = $layers;
5142  }
5143  public function getLayers()
5144  {
5145    return $this->layers;
5146  }
5147}
5148
5149class Google_Service_Books_VolumeLayerInfoLayers extends Google_Model
5150{
5151  protected $internal_gapi_mappings = array(
5152  );
5153  public $layerId;
5154  public $volumeAnnotationsVersion;
5155
5156
5157  public function setLayerId($layerId)
5158  {
5159    $this->layerId = $layerId;
5160  }
5161  public function getLayerId()
5162  {
5163    return $this->layerId;
5164  }
5165  public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
5166  {
5167    $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
5168  }
5169  public function getVolumeAnnotationsVersion()
5170  {
5171    return $this->volumeAnnotationsVersion;
5172  }
5173}
5174
5175class Google_Service_Books_VolumeRecommendedInfo extends Google_Model
5176{
5177  protected $internal_gapi_mappings = array(
5178  );
5179  public $explanation;
5180
5181
5182  public function setExplanation($explanation)
5183  {
5184    $this->explanation = $explanation;
5185  }
5186  public function getExplanation()
5187  {
5188    return $this->explanation;
5189  }
5190}
5191
5192class Google_Service_Books_VolumeSaleInfo extends Google_Collection
5193{
5194  protected $collection_key = 'offers';
5195  protected $internal_gapi_mappings = array(
5196  );
5197  public $buyLink;
5198  public $country;
5199  public $isEbook;
5200  protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoListPrice';
5201  protected $listPriceDataType = '';
5202  protected $offersType = 'Google_Service_Books_VolumeSaleInfoOffers';
5203  protected $offersDataType = 'array';
5204  public $onSaleDate;
5205  protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoRetailPrice';
5206  protected $retailPriceDataType = '';
5207  public $saleability;
5208
5209
5210  public function setBuyLink($buyLink)
5211  {
5212    $this->buyLink = $buyLink;
5213  }
5214  public function getBuyLink()
5215  {
5216    return $this->buyLink;
5217  }
5218  public function setCountry($country)
5219  {
5220    $this->country = $country;
5221  }
5222  public function getCountry()
5223  {
5224    return $this->country;
5225  }
5226  public function setIsEbook($isEbook)
5227  {
5228    $this->isEbook = $isEbook;
5229  }
5230  public function getIsEbook()
5231  {
5232    return $this->isEbook;
5233  }
5234  public function setListPrice(Google_Service_Books_VolumeSaleInfoListPrice $listPrice)
5235  {
5236    $this->listPrice = $listPrice;
5237  }
5238  public function getListPrice()
5239  {
5240    return $this->listPrice;
5241  }
5242  public function setOffers($offers)
5243  {
5244    $this->offers = $offers;
5245  }
5246  public function getOffers()
5247  {
5248    return $this->offers;
5249  }
5250  public function setOnSaleDate($onSaleDate)
5251  {
5252    $this->onSaleDate = $onSaleDate;
5253  }
5254  public function getOnSaleDate()
5255  {
5256    return $this->onSaleDate;
5257  }
5258  public function setRetailPrice(Google_Service_Books_VolumeSaleInfoRetailPrice $retailPrice)
5259  {
5260    $this->retailPrice = $retailPrice;
5261  }
5262  public function getRetailPrice()
5263  {
5264    return $this->retailPrice;
5265  }
5266  public function setSaleability($saleability)
5267  {
5268    $this->saleability = $saleability;
5269  }
5270  public function getSaleability()
5271  {
5272    return $this->saleability;
5273  }
5274}
5275
5276class Google_Service_Books_VolumeSaleInfoListPrice extends Google_Model
5277{
5278  protected $internal_gapi_mappings = array(
5279  );
5280  public $amount;
5281  public $currencyCode;
5282
5283
5284  public function setAmount($amount)
5285  {
5286    $this->amount = $amount;
5287  }
5288  public function getAmount()
5289  {
5290    return $this->amount;
5291  }
5292  public function setCurrencyCode($currencyCode)
5293  {
5294    $this->currencyCode = $currencyCode;
5295  }
5296  public function getCurrencyCode()
5297  {
5298    return $this->currencyCode;
5299  }
5300}
5301
5302class Google_Service_Books_VolumeSaleInfoOffers extends Google_Model
5303{
5304  protected $internal_gapi_mappings = array(
5305  );
5306  public $finskyOfferType;
5307  protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoOffersListPrice';
5308  protected $listPriceDataType = '';
5309  protected $rentalDurationType = 'Google_Service_Books_VolumeSaleInfoOffersRentalDuration';
5310  protected $rentalDurationDataType = '';
5311  protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoOffersRetailPrice';
5312  protected $retailPriceDataType = '';
5313
5314
5315  public function setFinskyOfferType($finskyOfferType)
5316  {
5317    $this->finskyOfferType = $finskyOfferType;
5318  }
5319  public function getFinskyOfferType()
5320  {
5321    return $this->finskyOfferType;
5322  }
5323  public function setListPrice(Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice)
5324  {
5325    $this->listPrice = $listPrice;
5326  }
5327  public function getListPrice()
5328  {
5329    return $this->listPrice;
5330  }
5331  public function setRentalDuration(Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration)
5332  {
5333    $this->rentalDuration = $rentalDuration;
5334  }
5335  public function getRentalDuration()
5336  {
5337    return $this->rentalDuration;
5338  }
5339  public function setRetailPrice(Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice)
5340  {
5341    $this->retailPrice = $retailPrice;
5342  }
5343  public function getRetailPrice()
5344  {
5345    return $this->retailPrice;
5346  }
5347}
5348
5349class Google_Service_Books_VolumeSaleInfoOffersListPrice extends Google_Model
5350{
5351  protected $internal_gapi_mappings = array(
5352  );
5353  public $amountInMicros;
5354  public $currencyCode;
5355
5356
5357  public function setAmountInMicros($amountInMicros)
5358  {
5359    $this->amountInMicros = $amountInMicros;
5360  }
5361  public function getAmountInMicros()
5362  {
5363    return $this->amountInMicros;
5364  }
5365  public function setCurrencyCode($currencyCode)
5366  {
5367    $this->currencyCode = $currencyCode;
5368  }
5369  public function getCurrencyCode()
5370  {
5371    return $this->currencyCode;
5372  }
5373}
5374
5375class Google_Service_Books_VolumeSaleInfoOffersRentalDuration extends Google_Model
5376{
5377  protected $internal_gapi_mappings = array(
5378  );
5379  public $count;
5380  public $unit;
5381
5382
5383  public function setCount($count)
5384  {
5385    $this->count = $count;
5386  }
5387  public function getCount()
5388  {
5389    return $this->count;
5390  }
5391  public function setUnit($unit)
5392  {
5393    $this->unit = $unit;
5394  }
5395  public function getUnit()
5396  {
5397    return $this->unit;
5398  }
5399}
5400
5401class Google_Service_Books_VolumeSaleInfoOffersRetailPrice extends Google_Model
5402{
5403  protected $internal_gapi_mappings = array(
5404  );
5405  public $amountInMicros;
5406  public $currencyCode;
5407
5408
5409  public function setAmountInMicros($amountInMicros)
5410  {
5411    $this->amountInMicros = $amountInMicros;
5412  }
5413  public function getAmountInMicros()
5414  {
5415    return $this->amountInMicros;
5416  }
5417  public function setCurrencyCode($currencyCode)
5418  {
5419    $this->currencyCode = $currencyCode;
5420  }
5421  public function getCurrencyCode()
5422  {
5423    return $this->currencyCode;
5424  }
5425}
5426
5427class Google_Service_Books_VolumeSaleInfoRetailPrice extends Google_Model
5428{
5429  protected $internal_gapi_mappings = array(
5430  );
5431  public $amount;
5432  public $currencyCode;
5433
5434
5435  public function setAmount($amount)
5436  {
5437    $this->amount = $amount;
5438  }
5439  public function getAmount()
5440  {
5441    return $this->amount;
5442  }
5443  public function setCurrencyCode($currencyCode)
5444  {
5445    $this->currencyCode = $currencyCode;
5446  }
5447  public function getCurrencyCode()
5448  {
5449    return $this->currencyCode;
5450  }
5451}
5452
5453class Google_Service_Books_VolumeSearchInfo extends Google_Model
5454{
5455  protected $internal_gapi_mappings = array(
5456  );
5457  public $textSnippet;
5458
5459
5460  public function setTextSnippet($textSnippet)
5461  {
5462    $this->textSnippet = $textSnippet;
5463  }
5464  public function getTextSnippet()
5465  {
5466    return $this->textSnippet;
5467  }
5468}
5469
5470class Google_Service_Books_VolumeUserInfo extends Google_Model
5471{
5472  protected $internal_gapi_mappings = array(
5473  );
5474  protected $copyType = 'Google_Service_Books_VolumeUserInfoCopy';
5475  protected $copyDataType = '';
5476  public $isInMyBooks;
5477  public $isPreordered;
5478  public $isPurchased;
5479  public $isUploaded;
5480  protected $readingPositionType = 'Google_Service_Books_ReadingPosition';
5481  protected $readingPositionDataType = '';
5482  protected $rentalPeriodType = 'Google_Service_Books_VolumeUserInfoRentalPeriod';
5483  protected $rentalPeriodDataType = '';
5484  public $rentalState;
5485  protected $reviewType = 'Google_Service_Books_Review';
5486  protected $reviewDataType = '';
5487  public $updated;
5488  protected $userUploadedVolumeInfoType = 'Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo';
5489  protected $userUploadedVolumeInfoDataType = '';
5490
5491
5492  public function setCopy(Google_Service_Books_VolumeUserInfoCopy $copy)
5493  {
5494    $this->copy = $copy;
5495  }
5496  public function getCopy()
5497  {
5498    return $this->copy;
5499  }
5500  public function setIsInMyBooks($isInMyBooks)
5501  {
5502    $this->isInMyBooks = $isInMyBooks;
5503  }
5504  public function getIsInMyBooks()
5505  {
5506    return $this->isInMyBooks;
5507  }
5508  public function setIsPreordered($isPreordered)
5509  {
5510    $this->isPreordered = $isPreordered;
5511  }
5512  public function getIsPreordered()
5513  {
5514    return $this->isPreordered;
5515  }
5516  public function setIsPurchased($isPurchased)
5517  {
5518    $this->isPurchased = $isPurchased;
5519  }
5520  public function getIsPurchased()
5521  {
5522    return $this->isPurchased;
5523  }
5524  public function setIsUploaded($isUploaded)
5525  {
5526    $this->isUploaded = $isUploaded;
5527  }
5528  public function getIsUploaded()
5529  {
5530    return $this->isUploaded;
5531  }
5532  public function setReadingPosition(Google_Service_Books_ReadingPosition $readingPosition)
5533  {
5534    $this->readingPosition = $readingPosition;
5535  }
5536  public function getReadingPosition()
5537  {
5538    return $this->readingPosition;
5539  }
5540  public function setRentalPeriod(Google_Service_Books_VolumeUserInfoRentalPeriod $rentalPeriod)
5541  {
5542    $this->rentalPeriod = $rentalPeriod;
5543  }
5544  public function getRentalPeriod()
5545  {
5546    return $this->rentalPeriod;
5547  }
5548  public function setRentalState($rentalState)
5549  {
5550    $this->rentalState = $rentalState;
5551  }
5552  public function getRentalState()
5553  {
5554    return $this->rentalState;
5555  }
5556  public function setReview(Google_Service_Books_Review $review)
5557  {
5558    $this->review = $review;
5559  }
5560  public function getReview()
5561  {
5562    return $this->review;
5563  }
5564  public function setUpdated($updated)
5565  {
5566    $this->updated = $updated;
5567  }
5568  public function getUpdated()
5569  {
5570    return $this->updated;
5571  }
5572  public function setUserUploadedVolumeInfo(Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo)
5573  {
5574    $this->userUploadedVolumeInfo = $userUploadedVolumeInfo;
5575  }
5576  public function getUserUploadedVolumeInfo()
5577  {
5578    return $this->userUploadedVolumeInfo;
5579  }
5580}
5581
5582class Google_Service_Books_VolumeUserInfoCopy extends Google_Model
5583{
5584  protected $internal_gapi_mappings = array(
5585  );
5586  public $allowedCharacterCount;
5587  public $limitType;
5588  public $remainingCharacterCount;
5589  public $updated;
5590
5591
5592  public function setAllowedCharacterCount($allowedCharacterCount)
5593  {
5594    $this->allowedCharacterCount = $allowedCharacterCount;
5595  }
5596  public function getAllowedCharacterCount()
5597  {
5598    return $this->allowedCharacterCount;
5599  }
5600  public function setLimitType($limitType)
5601  {
5602    $this->limitType = $limitType;
5603  }
5604  public function getLimitType()
5605  {
5606    return $this->limitType;
5607  }
5608  public function setRemainingCharacterCount($remainingCharacterCount)
5609  {
5610    $this->remainingCharacterCount = $remainingCharacterCount;
5611  }
5612  public function getRemainingCharacterCount()
5613  {
5614    return $this->remainingCharacterCount;
5615  }
5616  public function setUpdated($updated)
5617  {
5618    $this->updated = $updated;
5619  }
5620  public function getUpdated()
5621  {
5622    return $this->updated;
5623  }
5624}
5625
5626class Google_Service_Books_VolumeUserInfoRentalPeriod extends Google_Model
5627{
5628  protected $internal_gapi_mappings = array(
5629  );
5630  public $endUtcSec;
5631  public $startUtcSec;
5632
5633
5634  public function setEndUtcSec($endUtcSec)
5635  {
5636    $this->endUtcSec = $endUtcSec;
5637  }
5638  public function getEndUtcSec()
5639  {
5640    return $this->endUtcSec;
5641  }
5642  public function setStartUtcSec($startUtcSec)
5643  {
5644    $this->startUtcSec = $startUtcSec;
5645  }
5646  public function getStartUtcSec()
5647  {
5648    return $this->startUtcSec;
5649  }
5650}
5651
5652class Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo extends Google_Model
5653{
5654  protected $internal_gapi_mappings = array(
5655  );
5656  public $processingState;
5657
5658
5659  public function setProcessingState($processingState)
5660  {
5661    $this->processingState = $processingState;
5662  }
5663  public function getProcessingState()
5664  {
5665    return $this->processingState;
5666  }
5667}
5668
5669class Google_Service_Books_VolumeVolumeInfo extends Google_Collection
5670{
5671  protected $collection_key = 'industryIdentifiers';
5672  protected $internal_gapi_mappings = array(
5673  );
5674  public $authors;
5675  public $averageRating;
5676  public $canonicalVolumeLink;
5677  public $categories;
5678  public $contentVersion;
5679  public $description;
5680  protected $dimensionsType = 'Google_Service_Books_VolumeVolumeInfoDimensions';
5681  protected $dimensionsDataType = '';
5682  protected $imageLinksType = 'Google_Service_Books_VolumeVolumeInfoImageLinks';
5683  protected $imageLinksDataType = '';
5684  protected $industryIdentifiersType = 'Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers';
5685  protected $industryIdentifiersDataType = 'array';
5686  public $infoLink;
5687  public $language;
5688  public $mainCategory;
5689  public $pageCount;
5690  public $previewLink;
5691  public $printType;
5692  public $printedPageCount;
5693  public $publishedDate;
5694  public $publisher;
5695  public $ratingsCount;
5696  public $readingModes;
5697  public $subtitle;
5698  public $title;
5699
5700
5701  public function setAuthors($authors)
5702  {
5703    $this->authors = $authors;
5704  }
5705  public function getAuthors()
5706  {
5707    return $this->authors;
5708  }
5709  public function setAverageRating($averageRating)
5710  {
5711    $this->averageRating = $averageRating;
5712  }
5713  public function getAverageRating()
5714  {
5715    return $this->averageRating;
5716  }
5717  public function setCanonicalVolumeLink($canonicalVolumeLink)
5718  {
5719    $this->canonicalVolumeLink = $canonicalVolumeLink;
5720  }
5721  public function getCanonicalVolumeLink()
5722  {
5723    return $this->canonicalVolumeLink;
5724  }
5725  public function setCategories($categories)
5726  {
5727    $this->categories = $categories;
5728  }
5729  public function getCategories()
5730  {
5731    return $this->categories;
5732  }
5733  public function setContentVersion($contentVersion)
5734  {
5735    $this->contentVersion = $contentVersion;
5736  }
5737  public function getContentVersion()
5738  {
5739    return $this->contentVersion;
5740  }
5741  public function setDescription($description)
5742  {
5743    $this->description = $description;
5744  }
5745  public function getDescription()
5746  {
5747    return $this->description;
5748  }
5749  public function setDimensions(Google_Service_Books_VolumeVolumeInfoDimensions $dimensions)
5750  {
5751    $this->dimensions = $dimensions;
5752  }
5753  public function getDimensions()
5754  {
5755    return $this->dimensions;
5756  }
5757  public function setImageLinks(Google_Service_Books_VolumeVolumeInfoImageLinks $imageLinks)
5758  {
5759    $this->imageLinks = $imageLinks;
5760  }
5761  public function getImageLinks()
5762  {
5763    return $this->imageLinks;
5764  }
5765  public function setIndustryIdentifiers($industryIdentifiers)
5766  {
5767    $this->industryIdentifiers = $industryIdentifiers;
5768  }
5769  public function getIndustryIdentifiers()
5770  {
5771    return $this->industryIdentifiers;
5772  }
5773  public function setInfoLink($infoLink)
5774  {
5775    $this->infoLink = $infoLink;
5776  }
5777  public function getInfoLink()
5778  {
5779    return $this->infoLink;
5780  }
5781  public function setLanguage($language)
5782  {
5783    $this->language = $language;
5784  }
5785  public function getLanguage()
5786  {
5787    return $this->language;
5788  }
5789  public function setMainCategory($mainCategory)
5790  {
5791    $this->mainCategory = $mainCategory;
5792  }
5793  public function getMainCategory()
5794  {
5795    return $this->mainCategory;
5796  }
5797  public function setPageCount($pageCount)
5798  {
5799    $this->pageCount = $pageCount;
5800  }
5801  public function getPageCount()
5802  {
5803    return $this->pageCount;
5804  }
5805  public function setPreviewLink($previewLink)
5806  {
5807    $this->previewLink = $previewLink;
5808  }
5809  public function getPreviewLink()
5810  {
5811    return $this->previewLink;
5812  }
5813  public function setPrintType($printType)
5814  {
5815    $this->printType = $printType;
5816  }
5817  public function getPrintType()
5818  {
5819    return $this->printType;
5820  }
5821  public function setPrintedPageCount($printedPageCount)
5822  {
5823    $this->printedPageCount = $printedPageCount;
5824  }
5825  public function getPrintedPageCount()
5826  {
5827    return $this->printedPageCount;
5828  }
5829  public function setPublishedDate($publishedDate)
5830  {
5831    $this->publishedDate = $publishedDate;
5832  }
5833  public function getPublishedDate()
5834  {
5835    return $this->publishedDate;
5836  }
5837  public function setPublisher($publisher)
5838  {
5839    $this->publisher = $publisher;
5840  }
5841  public function getPublisher()
5842  {
5843    return $this->publisher;
5844  }
5845  public function setRatingsCount($ratingsCount)
5846  {
5847    $this->ratingsCount = $ratingsCount;
5848  }
5849  public function getRatingsCount()
5850  {
5851    return $this->ratingsCount;
5852  }
5853  public function setReadingModes($readingModes)
5854  {
5855    $this->readingModes = $readingModes;
5856  }
5857  public function getReadingModes()
5858  {
5859    return $this->readingModes;
5860  }
5861  public function setSubtitle($subtitle)
5862  {
5863    $this->subtitle = $subtitle;
5864  }
5865  public function getSubtitle()
5866  {
5867    return $this->subtitle;
5868  }
5869  public function setTitle($title)
5870  {
5871    $this->title = $title;
5872  }
5873  public function getTitle()
5874  {
5875    return $this->title;
5876  }
5877}
5878
5879class Google_Service_Books_VolumeVolumeInfoDimensions extends Google_Model
5880{
5881  protected $internal_gapi_mappings = array(
5882  );
5883  public $height;
5884  public $thickness;
5885  public $width;
5886
5887
5888  public function setHeight($height)
5889  {
5890    $this->height = $height;
5891  }
5892  public function getHeight()
5893  {
5894    return $this->height;
5895  }
5896  public function setThickness($thickness)
5897  {
5898    $this->thickness = $thickness;
5899  }
5900  public function getThickness()
5901  {
5902    return $this->thickness;
5903  }
5904  public function setWidth($width)
5905  {
5906    $this->width = $width;
5907  }
5908  public function getWidth()
5909  {
5910    return $this->width;
5911  }
5912}
5913
5914class Google_Service_Books_VolumeVolumeInfoImageLinks extends Google_Model
5915{
5916  protected $internal_gapi_mappings = array(
5917  );
5918  public $extraLarge;
5919  public $large;
5920  public $medium;
5921  public $small;
5922  public $smallThumbnail;
5923  public $thumbnail;
5924
5925
5926  public function setExtraLarge($extraLarge)
5927  {
5928    $this->extraLarge = $extraLarge;
5929  }
5930  public function getExtraLarge()
5931  {
5932    return $this->extraLarge;
5933  }
5934  public function setLarge($large)
5935  {
5936    $this->large = $large;
5937  }
5938  public function getLarge()
5939  {
5940    return $this->large;
5941  }
5942  public function setMedium($medium)
5943  {
5944    $this->medium = $medium;
5945  }
5946  public function getMedium()
5947  {
5948    return $this->medium;
5949  }
5950  public function setSmall($small)
5951  {
5952    $this->small = $small;
5953  }
5954  public function getSmall()
5955  {
5956    return $this->small;
5957  }
5958  public function setSmallThumbnail($smallThumbnail)
5959  {
5960    $this->smallThumbnail = $smallThumbnail;
5961  }
5962  public function getSmallThumbnail()
5963  {
5964    return $this->smallThumbnail;
5965  }
5966  public function setThumbnail($thumbnail)
5967  {
5968    $this->thumbnail = $thumbnail;
5969  }
5970  public function getThumbnail()
5971  {
5972    return $this->thumbnail;
5973  }
5974}
5975
5976class Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers extends Google_Model
5977{
5978  protected $internal_gapi_mappings = array(
5979  );
5980  public $identifier;
5981  public $type;
5982
5983
5984  public function setIdentifier($identifier)
5985  {
5986    $this->identifier = $identifier;
5987  }
5988  public function getIdentifier()
5989  {
5990    return $this->identifier;
5991  }
5992  public function setType($type)
5993  {
5994    $this->type = $type;
5995  }
5996  public function getType()
5997  {
5998    return $this->type;
5999  }
6000}
6001
6002class Google_Service_Books_Volumeannotation extends Google_Collection
6003{
6004  protected $collection_key = 'pageIds';
6005  protected $internal_gapi_mappings = array(
6006  );
6007  public $annotationDataId;
6008  public $annotationDataLink;
6009  public $annotationType;
6010  protected $contentRangesType = 'Google_Service_Books_VolumeannotationContentRanges';
6011  protected $contentRangesDataType = '';
6012  public $data;
6013  public $deleted;
6014  public $id;
6015  public $kind;
6016  public $layerId;
6017  public $pageIds;
6018  public $selectedText;
6019  public $selfLink;
6020  public $updated;
6021  public $volumeId;
6022
6023
6024  public function setAnnotationDataId($annotationDataId)
6025  {
6026    $this->annotationDataId = $annotationDataId;
6027  }
6028  public function getAnnotationDataId()
6029  {
6030    return $this->annotationDataId;
6031  }
6032  public function setAnnotationDataLink($annotationDataLink)
6033  {
6034    $this->annotationDataLink = $annotationDataLink;
6035  }
6036  public function getAnnotationDataLink()
6037  {
6038    return $this->annotationDataLink;
6039  }
6040  public function setAnnotationType($annotationType)
6041  {
6042    $this->annotationType = $annotationType;
6043  }
6044  public function getAnnotationType()
6045  {
6046    return $this->annotationType;
6047  }
6048  public function setContentRanges(Google_Service_Books_VolumeannotationContentRanges $contentRanges)
6049  {
6050    $this->contentRanges = $contentRanges;
6051  }
6052  public function getContentRanges()
6053  {
6054    return $this->contentRanges;
6055  }
6056  public function setData($data)
6057  {
6058    $this->data = $data;
6059  }
6060  public function getData()
6061  {
6062    return $this->data;
6063  }
6064  public function setDeleted($deleted)
6065  {
6066    $this->deleted = $deleted;
6067  }
6068  public function getDeleted()
6069  {
6070    return $this->deleted;
6071  }
6072  public function setId($id)
6073  {
6074    $this->id = $id;
6075  }
6076  public function getId()
6077  {
6078    return $this->id;
6079  }
6080  public function setKind($kind)
6081  {
6082    $this->kind = $kind;
6083  }
6084  public function getKind()
6085  {
6086    return $this->kind;
6087  }
6088  public function setLayerId($layerId)
6089  {
6090    $this->layerId = $layerId;
6091  }
6092  public function getLayerId()
6093  {
6094    return $this->layerId;
6095  }
6096  public function setPageIds($pageIds)
6097  {
6098    $this->pageIds = $pageIds;
6099  }
6100  public function getPageIds()
6101  {
6102    return $this->pageIds;
6103  }
6104  public function setSelectedText($selectedText)
6105  {
6106    $this->selectedText = $selectedText;
6107  }
6108  public function getSelectedText()
6109  {
6110    return $this->selectedText;
6111  }
6112  public function setSelfLink($selfLink)
6113  {
6114    $this->selfLink = $selfLink;
6115  }
6116  public function getSelfLink()
6117  {
6118    return $this->selfLink;
6119  }
6120  public function setUpdated($updated)
6121  {
6122    $this->updated = $updated;
6123  }
6124  public function getUpdated()
6125  {
6126    return $this->updated;
6127  }
6128  public function setVolumeId($volumeId)
6129  {
6130    $this->volumeId = $volumeId;
6131  }
6132  public function getVolumeId()
6133  {
6134    return $this->volumeId;
6135  }
6136}
6137
6138class Google_Service_Books_VolumeannotationContentRanges extends Google_Model
6139{
6140  protected $internal_gapi_mappings = array(
6141  );
6142  protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
6143  protected $cfiRangeDataType = '';
6144  public $contentVersion;
6145  protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
6146  protected $gbImageRangeDataType = '';
6147  protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
6148  protected $gbTextRangeDataType = '';
6149
6150
6151  public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
6152  {
6153    $this->cfiRange = $cfiRange;
6154  }
6155  public function getCfiRange()
6156  {
6157    return $this->cfiRange;
6158  }
6159  public function setContentVersion($contentVersion)
6160  {
6161    $this->contentVersion = $contentVersion;
6162  }
6163  public function getContentVersion()
6164  {
6165    return $this->contentVersion;
6166  }
6167  public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
6168  {
6169    $this->gbImageRange = $gbImageRange;
6170  }
6171  public function getGbImageRange()
6172  {
6173    return $this->gbImageRange;
6174  }
6175  public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
6176  {
6177    $this->gbTextRange = $gbTextRange;
6178  }
6179  public function getGbTextRange()
6180  {
6181    return $this->gbTextRange;
6182  }
6183}
6184
6185class Google_Service_Books_Volumeannotations extends Google_Collection
6186{
6187  protected $collection_key = 'items';
6188  protected $internal_gapi_mappings = array(
6189  );
6190  protected $itemsType = 'Google_Service_Books_Volumeannotation';
6191  protected $itemsDataType = 'array';
6192  public $kind;
6193  public $nextPageToken;
6194  public $totalItems;
6195  public $version;
6196
6197
6198  public function setItems($items)
6199  {
6200    $this->items = $items;
6201  }
6202  public function getItems()
6203  {
6204    return $this->items;
6205  }
6206  public function setKind($kind)
6207  {
6208    $this->kind = $kind;
6209  }
6210  public function getKind()
6211  {
6212    return $this->kind;
6213  }
6214  public function setNextPageToken($nextPageToken)
6215  {
6216    $this->nextPageToken = $nextPageToken;
6217  }
6218  public function getNextPageToken()
6219  {
6220    return $this->nextPageToken;
6221  }
6222  public function setTotalItems($totalItems)
6223  {
6224    $this->totalItems = $totalItems;
6225  }
6226  public function getTotalItems()
6227  {
6228    return $this->totalItems;
6229  }
6230  public function setVersion($version)
6231  {
6232    $this->version = $version;
6233  }
6234  public function getVersion()
6235  {
6236    return $this->version;
6237  }
6238}
6239
6240class Google_Service_Books_Volumes extends Google_Collection
6241{
6242  protected $collection_key = 'items';
6243  protected $internal_gapi_mappings = array(
6244  );
6245  protected $itemsType = 'Google_Service_Books_Volume';
6246  protected $itemsDataType = 'array';
6247  public $kind;
6248  public $totalItems;
6249
6250
6251  public function setItems($items)
6252  {
6253    $this->items = $items;
6254  }
6255  public function getItems()
6256  {
6257    return $this->items;
6258  }
6259  public function setKind($kind)
6260  {
6261    $this->kind = $kind;
6262  }
6263  public function getKind()
6264  {
6265    return $this->kind;
6266  }
6267  public function setTotalItems($totalItems)
6268  {
6269    $this->totalItems = $totalItems;
6270  }
6271  public function getTotalItems()
6272  {
6273    return $this->totalItems;
6274  }
6275}
6276