[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Books.php (source)

   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.
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/books/docs/v1/getting_started" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_Books extends Google_Service
  33  {
  34    /** Manage your books. */
  35    const BOOKS = "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   */
1315  class 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
1323     * ID of user for whom to retrieve bookshelves.
1324     * @param string $shelf
1325     * ID of bookshelf to retrieve.
1326     * @param array $optParams Optional parameters.
1327     *
1328     * @opt_param string source
1329     * String to identify the originator of this request.
1330     * @return Google_Service_Books_Bookshelf
1331     */
1332    public function get($userId, $shelf, $optParams = array())
1333    {
1334      $params = array('userId' => $userId, 'shelf' => $shelf);
1335      $params = array_merge($params, $optParams);
1336      return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
1337    }
1338    /**
1339     * Retrieves a list of public bookshelves for the specified user.
1340     * (bookshelves.listBookshelves)
1341     *
1342     * @param string $userId
1343     * ID of user for whom to retrieve bookshelves.
1344     * @param array $optParams Optional parameters.
1345     *
1346     * @opt_param string source
1347     * String to identify the originator of this request.
1348     * @return Google_Service_Books_Bookshelves
1349     */
1350    public function listBookshelves($userId, $optParams = array())
1351    {
1352      $params = array('userId' => $userId);
1353      $params = array_merge($params, $optParams);
1354      return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
1355    }
1356  }
1357  
1358  /**
1359   * The "volumes" collection of methods.
1360   * Typical usage is:
1361   *  <code>
1362   *   $booksService = new Google_Service_Books(...);
1363   *   $volumes = $booksService->volumes;
1364   *  </code>
1365   */
1366  class Google_Service_Books_BookshelvesVolumes_Resource extends Google_Service_Resource
1367  {
1368  
1369    /**
1370     * Retrieves volumes in a specific bookshelf for the specified user.
1371     * (volumes.listBookshelvesVolumes)
1372     *
1373     * @param string $userId
1374     * ID of user for whom to retrieve bookshelf volumes.
1375     * @param string $shelf
1376     * ID of bookshelf to retrieve volumes.
1377     * @param array $optParams Optional parameters.
1378     *
1379     * @opt_param bool showPreorders
1380     * Set to true to show pre-ordered books. Defaults to false.
1381     * @opt_param string maxResults
1382     * Maximum number of results to return
1383     * @opt_param string source
1384     * String to identify the originator of this request.
1385     * @opt_param string startIndex
1386     * Index of the first element to return (starts at 0)
1387     * @return Google_Service_Books_Volumes
1388     */
1389    public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
1390    {
1391      $params = array('userId' => $userId, 'shelf' => $shelf);
1392      $params = array_merge($params, $optParams);
1393      return $this->call('list', array($params), "Google_Service_Books_Volumes");
1394    }
1395  }
1396  
1397  /**
1398   * The "cloudloading" collection of methods.
1399   * Typical usage is:
1400   *  <code>
1401   *   $booksService = new Google_Service_Books(...);
1402   *   $cloudloading = $booksService->cloudloading;
1403   *  </code>
1404   */
1405  class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource
1406  {
1407  
1408    /**
1409     * (cloudloading.addBook)
1410     *
1411     * @param array $optParams Optional parameters.
1412     *
1413     * @opt_param string upload_client_token
1414     *
1415     * @opt_param string drive_document_id
1416     * A drive document id. The upload_client_token must not be set.
1417     * @opt_param string mime_type
1418     * The document MIME type. It can be set only if the drive_document_id is set.
1419     * @opt_param string name
1420     * The document name. It can be set only if the drive_document_id is set.
1421     * @return Google_Service_Books_BooksCloudloadingResource
1422     */
1423    public function addBook($optParams = array())
1424    {
1425      $params = array();
1426      $params = array_merge($params, $optParams);
1427      return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1428    }
1429    /**
1430     * Remove the book and its contents (cloudloading.deleteBook)
1431     *
1432     * @param string $volumeId
1433     * The id of the book to be removed.
1434     * @param array $optParams Optional parameters.
1435     */
1436    public function deleteBook($volumeId, $optParams = array())
1437    {
1438      $params = array('volumeId' => $volumeId);
1439      $params = array_merge($params, $optParams);
1440      return $this->call('deleteBook', array($params));
1441    }
1442    /**
1443     * (cloudloading.updateBook)
1444     *
1445     * @param Google_BooksCloudloadingResource $postBody
1446     * @param array $optParams Optional parameters.
1447     * @return Google_Service_Books_BooksCloudloadingResource
1448     */
1449    public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
1450    {
1451      $params = array('postBody' => $postBody);
1452      $params = array_merge($params, $optParams);
1453      return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1454    }
1455  }
1456  
1457  /**
1458   * The "layers" collection of methods.
1459   * Typical usage is:
1460   *  <code>
1461   *   $booksService = new Google_Service_Books(...);
1462   *   $layers = $booksService->layers;
1463   *  </code>
1464   */
1465  class Google_Service_Books_Layers_Resource extends Google_Service_Resource
1466  {
1467  
1468    /**
1469     * Gets the layer summary for a volume. (layers.get)
1470     *
1471     * @param string $volumeId
1472     * The volume to retrieve layers for.
1473     * @param string $summaryId
1474     * The ID for the layer to get the summary for.
1475     * @param array $optParams Optional parameters.
1476     *
1477     * @opt_param string source
1478     * String to identify the originator of this request.
1479     * @opt_param string contentVersion
1480     * The content version for the requested volume.
1481     * @return Google_Service_Books_Layersummary
1482     */
1483    public function get($volumeId, $summaryId, $optParams = array())
1484    {
1485      $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
1486      $params = array_merge($params, $optParams);
1487      return $this->call('get', array($params), "Google_Service_Books_Layersummary");
1488    }
1489    /**
1490     * List the layer summaries for a volume. (layers.listLayers)
1491     *
1492     * @param string $volumeId
1493     * The volume to retrieve layers for.
1494     * @param array $optParams Optional parameters.
1495     *
1496     * @opt_param string pageToken
1497     * The value of the nextToken from the previous page.
1498     * @opt_param string contentVersion
1499     * The content version for the requested volume.
1500     * @opt_param string maxResults
1501     * Maximum number of results to return
1502     * @opt_param string source
1503     * String to identify the originator of this request.
1504     * @return Google_Service_Books_Layersummaries
1505     */
1506    public function listLayers($volumeId, $optParams = array())
1507    {
1508      $params = array('volumeId' => $volumeId);
1509      $params = array_merge($params, $optParams);
1510      return $this->call('list', array($params), "Google_Service_Books_Layersummaries");
1511    }
1512  }
1513  
1514  /**
1515   * The "annotationData" collection of methods.
1516   * Typical usage is:
1517   *  <code>
1518   *   $booksService = new Google_Service_Books(...);
1519   *   $annotationData = $booksService->annotationData;
1520   *  </code>
1521   */
1522  class Google_Service_Books_LayersAnnotationData_Resource extends Google_Service_Resource
1523  {
1524  
1525    /**
1526     * Gets the annotation data. (annotationData.get)
1527     *
1528     * @param string $volumeId
1529     * The volume to retrieve annotations for.
1530     * @param string $layerId
1531     * The ID for the layer to get the annotations.
1532     * @param string $annotationDataId
1533     * The ID of the annotation data to retrieve.
1534     * @param string $contentVersion
1535     * The content version for the volume you are trying to retrieve.
1536     * @param array $optParams Optional parameters.
1537     *
1538     * @opt_param int scale
1539     * The requested scale for the image.
1540     * @opt_param string source
1541     * String to identify the originator of this request.
1542     * @opt_param bool allowWebDefinitions
1543     * For the dictionary layer. Whether or not to allow web definitions.
1544     * @opt_param int h
1545     * The requested pixel height for any images. If height is provided width must also be provided.
1546     * @opt_param string locale
1547     * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1548      * 'en_US'.
1549     * @opt_param int w
1550     * The requested pixel width for any images. If width is provided height must also be provided.
1551     * @return Google_Service_Books_Annotationdata
1552     */
1553    public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
1554    {
1555      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
1556      $params = array_merge($params, $optParams);
1557      return $this->call('get', array($params), "Google_Service_Books_Annotationdata");
1558    }
1559    /**
1560     * Gets the annotation data for a volume and layer.
1561     * (annotationData.listLayersAnnotationData)
1562     *
1563     * @param string $volumeId
1564     * The volume to retrieve annotation data for.
1565     * @param string $layerId
1566     * The ID for the layer to get the annotation data.
1567     * @param string $contentVersion
1568     * The content version for the requested volume.
1569     * @param array $optParams Optional parameters.
1570     *
1571     * @opt_param int scale
1572     * The requested scale for the image.
1573     * @opt_param string source
1574     * String to identify the originator of this request.
1575     * @opt_param string locale
1576     * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1577      * 'en_US'.
1578     * @opt_param int h
1579     * The requested pixel height for any images. If height is provided width must also be provided.
1580     * @opt_param string updatedMax
1581     * RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
1582     * @opt_param string maxResults
1583     * Maximum number of results to return
1584     * @opt_param string annotationDataId
1585     * The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.
1586     * @opt_param string pageToken
1587     * The value of the nextToken from the previous page.
1588     * @opt_param int w
1589     * The requested pixel width for any images. If width is provided height must also be provided.
1590     * @opt_param string updatedMin
1591     * RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
1592     * @return Google_Service_Books_Annotationsdata
1593     */
1594    public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
1595    {
1596      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1597      $params = array_merge($params, $optParams);
1598      return $this->call('list', array($params), "Google_Service_Books_Annotationsdata");
1599    }
1600  }
1601  /**
1602   * The "volumeAnnotations" collection of methods.
1603   * Typical usage is:
1604   *  <code>
1605   *   $booksService = new Google_Service_Books(...);
1606   *   $volumeAnnotations = $booksService->volumeAnnotations;
1607   *  </code>
1608   */
1609  class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Service_Resource
1610  {
1611  
1612    /**
1613     * Gets the volume annotation. (volumeAnnotations.get)
1614     *
1615     * @param string $volumeId
1616     * The volume to retrieve annotations for.
1617     * @param string $layerId
1618     * The ID for the layer to get the annotations.
1619     * @param string $annotationId
1620     * The ID of the volume annotation to retrieve.
1621     * @param array $optParams Optional parameters.
1622     *
1623     * @opt_param string locale
1624     * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1625      * 'en_US'.
1626     * @opt_param string source
1627     * String to identify the originator of this request.
1628     * @return Google_Service_Books_Volumeannotation
1629     */
1630    public function get($volumeId, $layerId, $annotationId, $optParams = array())
1631    {
1632      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
1633      $params = array_merge($params, $optParams);
1634      return $this->call('get', array($params), "Google_Service_Books_Volumeannotation");
1635    }
1636    /**
1637     * Gets the volume annotations for a volume and layer.
1638     * (volumeAnnotations.listLayersVolumeAnnotations)
1639     *
1640     * @param string $volumeId
1641     * The volume to retrieve annotations for.
1642     * @param string $layerId
1643     * The ID for the layer to get the annotations.
1644     * @param string $contentVersion
1645     * The content version for the requested volume.
1646     * @param array $optParams Optional parameters.
1647     *
1648     * @opt_param bool showDeleted
1649     * Set to true to return deleted annotations. updatedMin must be in the request to use this.
1650      * Defaults to false.
1651     * @opt_param string volumeAnnotationsVersion
1652     * The version of the volume annotations that you are requesting.
1653     * @opt_param string endPosition
1654     * The end position to end retrieving data from.
1655     * @opt_param string endOffset
1656     * The end offset to end retrieving data from.
1657     * @opt_param string locale
1658     * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1659      * 'en_US'.
1660     * @opt_param string updatedMin
1661     * RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
1662     * @opt_param string updatedMax
1663     * RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
1664     * @opt_param string maxResults
1665     * Maximum number of results to return
1666     * @opt_param string pageToken
1667     * The value of the nextToken from the previous page.
1668     * @opt_param string source
1669     * String to identify the originator of this request.
1670     * @opt_param string startOffset
1671     * The start offset to start retrieving data from.
1672     * @opt_param string startPosition
1673     * The start position to start retrieving data from.
1674     * @return Google_Service_Books_Volumeannotations
1675     */
1676    public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
1677    {
1678      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1679      $params = array_merge($params, $optParams);
1680      return $this->call('list', array($params), "Google_Service_Books_Volumeannotations");
1681    }
1682  }
1683  
1684  /**
1685   * The "myconfig" collection of methods.
1686   * Typical usage is:
1687   *  <code>
1688   *   $booksService = new Google_Service_Books(...);
1689   *   $myconfig = $booksService->myconfig;
1690   *  </code>
1691   */
1692  class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1693  {
1694  
1695    /**
1696     * Release downloaded content access restriction.
1697     * (myconfig.releaseDownloadAccess)
1698     *
1699     * @param string $volumeIds
1700     * The volume(s) to release restrictions for.
1701     * @param string $cpksver
1702     * The device/version ID from which to release the restriction.
1703     * @param array $optParams Optional parameters.
1704     *
1705     * @opt_param string locale
1706     * ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
1707     * @opt_param string source
1708     * String to identify the originator of this request.
1709     * @return Google_Service_Books_DownloadAccesses
1710     */
1711    public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
1712    {
1713      $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
1714      $params = array_merge($params, $optParams);
1715      return $this->call('releaseDownloadAccess', array($params), "Google_Service_Books_DownloadAccesses");
1716    }
1717    /**
1718     * Request concurrent and download access restrictions. (myconfig.requestAccess)
1719     *
1720     * @param string $source
1721     * String to identify the originator of this request.
1722     * @param string $volumeId
1723     * The volume to request concurrent/download restrictions for.
1724     * @param string $nonce
1725     * The client nonce value.
1726     * @param string $cpksver
1727     * The device/version ID from which to request the restrictions.
1728     * @param array $optParams Optional parameters.
1729     *
1730     * @opt_param string licenseTypes
1731     * The type of access license to request. If not specified, the default is BOTH.
1732     * @opt_param string locale
1733     * ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
1734     * @return Google_Service_Books_RequestAccess
1735     */
1736    public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
1737    {
1738      $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
1739      $params = array_merge($params, $optParams);
1740      return $this->call('requestAccess', array($params), "Google_Service_Books_RequestAccess");
1741    }
1742    /**
1743     * Request downloaded content access for specified volumes on the My eBooks
1744     * shelf. (myconfig.syncVolumeLicenses)
1745     *
1746     * @param string $source
1747     * String to identify the originator of this request.
1748     * @param string $nonce
1749     * The client nonce value.
1750     * @param string $cpksver
1751     * The device/version ID from which to release the restriction.
1752     * @param array $optParams Optional parameters.
1753     *
1754     * @opt_param string features
1755     * List of features supported by the client, i.e., 'RENTALS'
1756     * @opt_param string locale
1757     * ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
1758     * @opt_param bool showPreorders
1759     * Set to true to show pre-ordered books. Defaults to false.
1760     * @opt_param string volumeIds
1761     * The volume(s) to request download restrictions for.
1762     * @return Google_Service_Books_Volumes
1763     */
1764    public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
1765    {
1766      $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
1767      $params = array_merge($params, $optParams);
1768      return $this->call('syncVolumeLicenses', array($params), "Google_Service_Books_Volumes");
1769    }
1770  }
1771  
1772  /**
1773   * The "mylibrary" collection of methods.
1774   * Typical usage is:
1775   *  <code>
1776   *   $booksService = new Google_Service_Books(...);
1777   *   $mylibrary = $booksService->mylibrary;
1778   *  </code>
1779   */
1780  class Google_Service_Books_Mylibrary_Resource extends Google_Service_Resource
1781  {
1782  
1783  }
1784  
1785  /**
1786   * The "annotations" collection of methods.
1787   * Typical usage is:
1788   *  <code>
1789   *   $booksService = new Google_Service_Books(...);
1790   *   $annotations = $booksService->annotations;
1791   *  </code>
1792   */
1793  class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_Resource
1794  {
1795  
1796    /**
1797     * Deletes an annotation. (annotations.delete)
1798     *
1799     * @param string $annotationId
1800     * The ID for the annotation to delete.
1801     * @param array $optParams Optional parameters.
1802     *
1803     * @opt_param string source
1804     * String to identify the originator of this request.
1805     */
1806    public function delete($annotationId, $optParams = array())
1807    {
1808      $params = array('annotationId' => $annotationId);
1809      $params = array_merge($params, $optParams);
1810      return $this->call('delete', array($params));
1811    }
1812    /**
1813     * Gets an annotation by its ID. (annotations.get)
1814     *
1815     * @param string $annotationId
1816     * The ID for the annotation to retrieve.
1817     * @param array $optParams Optional parameters.
1818     *
1819     * @opt_param string source
1820     * String to identify the originator of this request.
1821     * @return Google_Service_Books_Annotation
1822     */
1823    public function get($annotationId, $optParams = array())
1824    {
1825      $params = array('annotationId' => $annotationId);
1826      $params = array_merge($params, $optParams);
1827      return $this->call('get', array($params), "Google_Service_Books_Annotation");
1828    }
1829    /**
1830     * Inserts a new annotation. (annotations.insert)
1831     *
1832     * @param Google_Annotation $postBody
1833     * @param array $optParams Optional parameters.
1834     *
1835     * @opt_param string source
1836     * String to identify the originator of this request.
1837     * @opt_param bool showOnlySummaryInResponse
1838     * Requests that only the summary of the specified layer be provided in the response.
1839     * @return Google_Service_Books_Annotation
1840     */
1841    public function insert(Google_Service_Books_Annotation $postBody, $optParams = array())
1842    {
1843      $params = array('postBody' => $postBody);
1844      $params = array_merge($params, $optParams);
1845      return $this->call('insert', array($params), "Google_Service_Books_Annotation");
1846    }
1847    /**
1848     * Retrieves a list of annotations, possibly filtered.
1849     * (annotations.listMylibraryAnnotations)
1850     *
1851     * @param array $optParams Optional parameters.
1852     *
1853     * @opt_param bool showDeleted
1854     * Set to true to return deleted annotations. updatedMin must be in the request to use this.
1855      * Defaults to false.
1856     * @opt_param string updatedMin
1857     * RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
1858     * @opt_param string layerIds
1859     * The layer ID(s) to limit annotation by.
1860     * @opt_param string volumeId
1861     * The volume to restrict annotations to.
1862     * @opt_param string maxResults
1863     * Maximum number of results to return
1864     * @opt_param string pageToken
1865     * The value of the nextToken from the previous page.
1866     * @opt_param string pageIds
1867     * The page ID(s) for the volume that is being queried.
1868     * @opt_param string contentVersion
1869     * The content version for the requested volume.
1870     * @opt_param string source
1871     * String to identify the originator of this request.
1872     * @opt_param string layerId
1873     * The layer ID to limit annotation by.
1874     * @opt_param string updatedMax
1875     * RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
1876     * @return Google_Service_Books_Annotations
1877     */
1878    public function listMylibraryAnnotations($optParams = array())
1879    {
1880      $params = array();
1881      $params = array_merge($params, $optParams);
1882      return $this->call('list', array($params), "Google_Service_Books_Annotations");
1883    }
1884    /**
1885     * Gets the summary of specified layers. (annotations.summary)
1886     *
1887     * @param string $layerIds
1888     * Array of layer IDs to get the summary for.
1889     * @param string $volumeId
1890     * Volume id to get the summary for.
1891     * @param array $optParams Optional parameters.
1892     * @return Google_Service_Books_AnnotationsSummary
1893     */
1894    public function summary($layerIds, $volumeId, $optParams = array())
1895    {
1896      $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId);
1897      $params = array_merge($params, $optParams);
1898      return $this->call('summary', array($params), "Google_Service_Books_AnnotationsSummary");
1899    }
1900    /**
1901     * Updates an existing annotation. (annotations.update)
1902     *
1903     * @param string $annotationId
1904     * The ID for the annotation to update.
1905     * @param Google_Annotation $postBody
1906     * @param array $optParams Optional parameters.
1907     *
1908     * @opt_param string source
1909     * String to identify the originator of this request.
1910     * @return Google_Service_Books_Annotation
1911     */
1912    public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array())
1913    {
1914      $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
1915      $params = array_merge($params, $optParams);
1916      return $this->call('update', array($params), "Google_Service_Books_Annotation");
1917    }
1918  }
1919  /**
1920   * The "bookshelves" collection of methods.
1921   * Typical usage is:
1922   *  <code>
1923   *   $booksService = new Google_Service_Books(...);
1924   *   $bookshelves = $booksService->bookshelves;
1925   *  </code>
1926   */
1927  class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_Resource
1928  {
1929  
1930    /**
1931     * Adds a volume to a bookshelf. (bookshelves.addVolume)
1932     *
1933     * @param string $shelf
1934     * ID of bookshelf to which to add a volume.
1935     * @param string $volumeId
1936     * ID of volume to add.
1937     * @param array $optParams Optional parameters.
1938     *
1939     * @opt_param string source
1940     * String to identify the originator of this request.
1941     */
1942    public function addVolume($shelf, $volumeId, $optParams = array())
1943    {
1944      $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
1945      $params = array_merge($params, $optParams);
1946      return $this->call('addVolume', array($params));
1947    }
1948    /**
1949     * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
1950     *
1951     * @param string $shelf
1952     * ID of bookshelf from which to remove a volume.
1953     * @param array $optParams Optional parameters.
1954     *
1955     * @opt_param string source
1956     * String to identify the originator of this request.
1957     */
1958    public function clearVolumes($shelf, $optParams = array())
1959    {
1960      $params = array('shelf' => $shelf);
1961      $params = array_merge($params, $optParams);
1962      return $this->call('clearVolumes', array($params));
1963    }
1964    /**
1965     * Retrieves metadata for a specific bookshelf belonging to the authenticated
1966     * user. (bookshelves.get)
1967     *
1968     * @param string $shelf
1969     * ID of bookshelf to retrieve.
1970     * @param array $optParams Optional parameters.
1971     *
1972     * @opt_param string source
1973     * String to identify the originator of this request.
1974     * @return Google_Service_Books_Bookshelf
1975     */
1976    public function get($shelf, $optParams = array())
1977    {
1978      $params = array('shelf' => $shelf);
1979      $params = array_merge($params, $optParams);
1980      return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
1981    }
1982    /**
1983     * Retrieves a list of bookshelves belonging to the authenticated user.
1984     * (bookshelves.listMylibraryBookshelves)
1985     *
1986     * @param array $optParams Optional parameters.
1987     *
1988     * @opt_param string source
1989     * String to identify the originator of this request.
1990     * @return Google_Service_Books_Bookshelves
1991     */
1992    public function listMylibraryBookshelves($optParams = array())
1993    {
1994      $params = array();
1995      $params = array_merge($params, $optParams);
1996      return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
1997    }
1998    /**
1999     * Moves a volume within a bookshelf. (bookshelves.moveVolume)
2000     *
2001     * @param string $shelf
2002     * ID of bookshelf with the volume.
2003     * @param string $volumeId
2004     * ID of volume to move.
2005     * @param int $volumePosition
2006     * Position on shelf to move the item (0 puts the item before the current first item, 1 puts it
2007      * between the first and the second and so on.)
2008     * @param array $optParams Optional parameters.
2009     *
2010     * @opt_param string source
2011     * String to identify the originator of this request.
2012     */
2013    public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array())
2014    {
2015      $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition);
2016      $params = array_merge($params, $optParams);
2017      return $this->call('moveVolume', array($params));
2018    }
2019    /**
2020     * Removes a volume from a bookshelf. (bookshelves.removeVolume)
2021     *
2022     * @param string $shelf
2023     * ID of bookshelf from which to remove a volume.
2024     * @param string $volumeId
2025     * ID of volume to remove.
2026     * @param array $optParams Optional parameters.
2027     *
2028     * @opt_param string source
2029     * String to identify the originator of this request.
2030     */
2031    public function removeVolume($shelf, $volumeId, $optParams = array())
2032    {
2033      $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
2034      $params = array_merge($params, $optParams);
2035      return $this->call('removeVolume', array($params));
2036    }
2037  }
2038  
2039  /**
2040   * The "volumes" collection of methods.
2041   * Typical usage is:
2042   *  <code>
2043   *   $booksService = new Google_Service_Books(...);
2044   *   $volumes = $booksService->volumes;
2045   *  </code>
2046   */
2047  class Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Google_Service_Resource
2048  {
2049  
2050    /**
2051     * Gets volume information for volumes on a bookshelf.
2052     * (volumes.listMylibraryBookshelvesVolumes)
2053     *
2054     * @param string $shelf
2055     * The bookshelf ID or name retrieve volumes for.
2056     * @param array $optParams Optional parameters.
2057     *
2058     * @opt_param string projection
2059     * Restrict information returned to a set of selected fields.
2060     * @opt_param string country
2061     * ISO-3166-1 code to override the IP-based location.
2062     * @opt_param bool showPreorders
2063     * Set to true to show pre-ordered books. Defaults to false.
2064     * @opt_param string maxResults
2065     * Maximum number of results to return
2066     * @opt_param string q
2067     * Full-text search query string in this bookshelf.
2068     * @opt_param string source
2069     * String to identify the originator of this request.
2070     * @opt_param string startIndex
2071     * Index of the first element to return (starts at 0)
2072     * @return Google_Service_Books_Volumes
2073     */
2074    public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
2075    {
2076      $params = array('shelf' => $shelf);
2077      $params = array_merge($params, $optParams);
2078      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2079    }
2080  }
2081  /**
2082   * The "readingpositions" collection of methods.
2083   * Typical usage is:
2084   *  <code>
2085   *   $booksService = new Google_Service_Books(...);
2086   *   $readingpositions = $booksService->readingpositions;
2087   *  </code>
2088   */
2089  class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Service_Resource
2090  {
2091  
2092    /**
2093     * Retrieves my reading position information for a volume.
2094     * (readingpositions.get)
2095     *
2096     * @param string $volumeId
2097     * ID of volume for which to retrieve a reading position.
2098     * @param array $optParams Optional parameters.
2099     *
2100     * @opt_param string source
2101     * String to identify the originator of this request.
2102     * @opt_param string contentVersion
2103     * Volume content version for which this reading position is requested.
2104     * @return Google_Service_Books_ReadingPosition
2105     */
2106    public function get($volumeId, $optParams = array())
2107    {
2108      $params = array('volumeId' => $volumeId);
2109      $params = array_merge($params, $optParams);
2110      return $this->call('get', array($params), "Google_Service_Books_ReadingPosition");
2111    }
2112    /**
2113     * Sets my reading position information for a volume.
2114     * (readingpositions.setPosition)
2115     *
2116     * @param string $volumeId
2117     * ID of volume for which to update the reading position.
2118     * @param string $timestamp
2119     * RFC 3339 UTC format timestamp associated with this reading position.
2120     * @param string $position
2121     * Position string for the new volume reading position.
2122     * @param array $optParams Optional parameters.
2123     *
2124     * @opt_param string deviceCookie
2125     * Random persistent device cookie optional on set position.
2126     * @opt_param string source
2127     * String to identify the originator of this request.
2128     * @opt_param string contentVersion
2129     * Volume content version for which this reading position applies.
2130     * @opt_param string action
2131     * Action that caused this reading position to be set.
2132     */
2133    public function setPosition($volumeId, $timestamp, $position, $optParams = array())
2134    {
2135      $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position);
2136      $params = array_merge($params, $optParams);
2137      return $this->call('setPosition', array($params));
2138    }
2139  }
2140  
2141  /**
2142   * The "promooffer" collection of methods.
2143   * Typical usage is:
2144   *  <code>
2145   *   $booksService = new Google_Service_Books(...);
2146   *   $promooffer = $booksService->promooffer;
2147   *  </code>
2148   */
2149  class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
2150  {
2151  
2152    /**
2153     * (promooffer.accept)
2154     *
2155     * @param array $optParams Optional parameters.
2156     *
2157     * @opt_param string product
2158     * device product
2159     * @opt_param string volumeId
2160     * Volume id to exercise the offer
2161     * @opt_param string offerId
2162     *
2163     * @opt_param string androidId
2164     * device android_id
2165     * @opt_param string device
2166     * device device
2167     * @opt_param string model
2168     * device model
2169     * @opt_param string serial
2170     * device serial
2171     * @opt_param string manufacturer
2172     * device manufacturer
2173     */
2174    public function accept($optParams = array())
2175    {
2176      $params = array();
2177      $params = array_merge($params, $optParams);
2178      return $this->call('accept', array($params));
2179    }
2180    /**
2181     * (promooffer.dismiss)
2182     *
2183     * @param array $optParams Optional parameters.
2184     *
2185     * @opt_param string product
2186     * device product
2187     * @opt_param string offerId
2188     * Offer to dimiss
2189     * @opt_param string androidId
2190     * device android_id
2191     * @opt_param string device
2192     * device device
2193     * @opt_param string model
2194     * device model
2195     * @opt_param string serial
2196     * device serial
2197     * @opt_param string manufacturer
2198     * device manufacturer
2199     */
2200    public function dismiss($optParams = array())
2201    {
2202      $params = array();
2203      $params = array_merge($params, $optParams);
2204      return $this->call('dismiss', array($params));
2205    }
2206    /**
2207     * Returns a list of promo offers available to the user (promooffer.get)
2208     *
2209     * @param array $optParams Optional parameters.
2210     *
2211     * @opt_param string product
2212     * device product
2213     * @opt_param string androidId
2214     * device android_id
2215     * @opt_param string device
2216     * device device
2217     * @opt_param string model
2218     * device model
2219     * @opt_param string serial
2220     * device serial
2221     * @opt_param string manufacturer
2222     * device manufacturer
2223     * @return Google_Service_Books_Offers
2224     */
2225    public function get($optParams = array())
2226    {
2227      $params = array();
2228      $params = array_merge($params, $optParams);
2229      return $this->call('get', array($params), "Google_Service_Books_Offers");
2230    }
2231  }
2232  
2233  /**
2234   * The "volumes" collection of methods.
2235   * Typical usage is:
2236   *  <code>
2237   *   $booksService = new Google_Service_Books(...);
2238   *   $volumes = $booksService->volumes;
2239   *  </code>
2240   */
2241  class Google_Service_Books_Volumes_Resource extends Google_Service_Resource
2242  {
2243  
2244    /**
2245     * Gets volume information for a single volume. (volumes.get)
2246     *
2247     * @param string $volumeId
2248     * ID of volume to retrieve.
2249     * @param array $optParams Optional parameters.
2250     *
2251     * @opt_param string source
2252     * String to identify the originator of this request.
2253     * @opt_param string country
2254     * ISO-3166-1 code to override the IP-based location.
2255     * @opt_param string projection
2256     * Restrict information returned to a set of selected fields.
2257     * @opt_param string partner
2258     * Brand results for partner ID.
2259     * @return Google_Service_Books_Volume
2260     */
2261    public function get($volumeId, $optParams = array())
2262    {
2263      $params = array('volumeId' => $volumeId);
2264      $params = array_merge($params, $optParams);
2265      return $this->call('get', array($params), "Google_Service_Books_Volume");
2266    }
2267    /**
2268     * Performs a book search. (volumes.listVolumes)
2269     *
2270     * @param string $q
2271     * Full-text search query string.
2272     * @param array $optParams Optional parameters.
2273     *
2274     * @opt_param string orderBy
2275     * Sort search results.
2276     * @opt_param string projection
2277     * Restrict information returned to a set of selected fields.
2278     * @opt_param string libraryRestrict
2279     * Restrict search to this user's library.
2280     * @opt_param string langRestrict
2281     * Restrict results to books with this language code.
2282     * @opt_param bool showPreorders
2283     * Set to true to show books available for preorder. Defaults to false.
2284     * @opt_param string printType
2285     * Restrict to books or magazines.
2286     * @opt_param string maxResults
2287     * Maximum number of results to return.
2288     * @opt_param string filter
2289     * Filter search results.
2290     * @opt_param string source
2291     * String to identify the originator of this request.
2292     * @opt_param string startIndex
2293     * Index of the first result to return (starts at 0)
2294     * @opt_param string download
2295     * Restrict to volumes by download availability.
2296     * @opt_param string partner
2297     * Restrict and brand results for partner ID.
2298     * @return Google_Service_Books_Volumes
2299     */
2300    public function listVolumes($q, $optParams = array())
2301    {
2302      $params = array('q' => $q);
2303      $params = array_merge($params, $optParams);
2304      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2305    }
2306  }
2307  
2308  /**
2309   * The "associated" collection of methods.
2310   * Typical usage is:
2311   *  <code>
2312   *   $booksService = new Google_Service_Books(...);
2313   *   $associated = $booksService->associated;
2314   *  </code>
2315   */
2316  class Google_Service_Books_VolumesAssociated_Resource extends Google_Service_Resource
2317  {
2318  
2319    /**
2320     * Return a list of associated books. (associated.listVolumesAssociated)
2321     *
2322     * @param string $volumeId
2323     * ID of the source volume.
2324     * @param array $optParams Optional parameters.
2325     *
2326     * @opt_param string locale
2327     * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2328      * recommendations.
2329     * @opt_param string source
2330     * String to identify the originator of this request.
2331     * @opt_param string association
2332     * Association type.
2333     * @return Google_Service_Books_Volumes
2334     */
2335    public function listVolumesAssociated($volumeId, $optParams = array())
2336    {
2337      $params = array('volumeId' => $volumeId);
2338      $params = array_merge($params, $optParams);
2339      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2340    }
2341  }
2342  /**
2343   * The "mybooks" collection of methods.
2344   * Typical usage is:
2345   *  <code>
2346   *   $booksService = new Google_Service_Books(...);
2347   *   $mybooks = $booksService->mybooks;
2348   *  </code>
2349   */
2350  class Google_Service_Books_VolumesMybooks_Resource extends Google_Service_Resource
2351  {
2352  
2353    /**
2354     * Return a list of books in My Library. (mybooks.listVolumesMybooks)
2355     *
2356     * @param array $optParams Optional parameters.
2357     *
2358     * @opt_param string locale
2359     * ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations.
2360     * @opt_param string startIndex
2361     * Index of the first result to return (starts at 0)
2362     * @opt_param string maxResults
2363     * Maximum number of results to return.
2364     * @opt_param string source
2365     * String to identify the originator of this request.
2366     * @opt_param string acquireMethod
2367     * How the book was aquired
2368     * @opt_param string processingState
2369     * The processing state of the user uploaded volumes to be returned. Applicable only if the
2370      * UPLOADED is specified in the acquireMethod.
2371     * @return Google_Service_Books_Volumes
2372     */
2373    public function listVolumesMybooks($optParams = array())
2374    {
2375      $params = array();
2376      $params = array_merge($params, $optParams);
2377      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2378    }
2379  }
2380  /**
2381   * The "recommended" collection of methods.
2382   * Typical usage is:
2383   *  <code>
2384   *   $booksService = new Google_Service_Books(...);
2385   *   $recommended = $booksService->recommended;
2386   *  </code>
2387   */
2388  class Google_Service_Books_VolumesRecommended_Resource extends Google_Service_Resource
2389  {
2390  
2391    /**
2392     * Return a list of recommended books for the current user.
2393     * (recommended.listVolumesRecommended)
2394     *
2395     * @param array $optParams Optional parameters.
2396     *
2397     * @opt_param string locale
2398     * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2399      * recommendations.
2400     * @opt_param string source
2401     * String to identify the originator of this request.
2402     * @return Google_Service_Books_Volumes
2403     */
2404    public function listVolumesRecommended($optParams = array())
2405    {
2406      $params = array();
2407      $params = array_merge($params, $optParams);
2408      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2409    }
2410    /**
2411     * Rate a recommended book for the current user. (recommended.rate)
2412     *
2413     * @param string $rating
2414     * Rating to be given to the volume.
2415     * @param string $volumeId
2416     * ID of the source volume.
2417     * @param array $optParams Optional parameters.
2418     *
2419     * @opt_param string locale
2420     * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2421      * recommendations.
2422     * @opt_param string source
2423     * String to identify the originator of this request.
2424     * @return Google_Service_Books_BooksVolumesRecommendedRateResponse
2425     */
2426    public function rate($rating, $volumeId, $optParams = array())
2427    {
2428      $params = array('rating' => $rating, 'volumeId' => $volumeId);
2429      $params = array_merge($params, $optParams);
2430      return $this->call('rate', array($params), "Google_Service_Books_BooksVolumesRecommendedRateResponse");
2431    }
2432  }
2433  /**
2434   * The "useruploaded" collection of methods.
2435   * Typical usage is:
2436   *  <code>
2437   *   $booksService = new Google_Service_Books(...);
2438   *   $useruploaded = $booksService->useruploaded;
2439   *  </code>
2440   */
2441  class Google_Service_Books_VolumesUseruploaded_Resource extends Google_Service_Resource
2442  {
2443  
2444    /**
2445     * Return a list of books uploaded by the current user.
2446     * (useruploaded.listVolumesUseruploaded)
2447     *
2448     * @param array $optParams Optional parameters.
2449     *
2450     * @opt_param string locale
2451     * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2452      * recommendations.
2453     * @opt_param string volumeId
2454     * The ids of the volumes to be returned. If not specified all that match the processingState are
2455      * returned.
2456     * @opt_param string maxResults
2457     * Maximum number of results to return.
2458     * @opt_param string source
2459     * String to identify the originator of this request.
2460     * @opt_param string startIndex
2461     * Index of the first result to return (starts at 0)
2462     * @opt_param string processingState
2463     * The processing state of the user uploaded volumes to be returned.
2464     * @return Google_Service_Books_Volumes
2465     */
2466    public function listVolumesUseruploaded($optParams = array())
2467    {
2468      $params = array();
2469      $params = array_merge($params, $optParams);
2470      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2471    }
2472  }
2473  
2474  
2475  
2476  
2477  class Google_Service_Books_Annotation extends Google_Collection
2478  {
2479    protected $collection_key = 'pageIds';
2480    public $afterSelectedText;
2481    public $beforeSelectedText;
2482    protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
2483    protected $clientVersionRangesDataType = '';
2484    public $created;
2485    protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges';
2486    protected $currentVersionRangesDataType = '';
2487    public $data;
2488    public $deleted;
2489    public $highlightStyle;
2490    public $id;
2491    public $kind;
2492    public $layerId;
2493    protected $layerSummaryType = 'Google_Service_Books_AnnotationLayerSummary';
2494    protected $layerSummaryDataType = '';
2495    public $pageIds;
2496    public $selectedText;
2497    public $selfLink;
2498    public $updated;
2499    public $volumeId;
2500  
2501    public function setAfterSelectedText($afterSelectedText)
2502    {
2503      $this->afterSelectedText = $afterSelectedText;
2504    }
2505  
2506    public function getAfterSelectedText()
2507    {
2508      return $this->afterSelectedText;
2509    }
2510  
2511    public function setBeforeSelectedText($beforeSelectedText)
2512    {
2513      $this->beforeSelectedText = $beforeSelectedText;
2514    }
2515  
2516    public function getBeforeSelectedText()
2517    {
2518      return $this->beforeSelectedText;
2519    }
2520  
2521    public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
2522    {
2523      $this->clientVersionRanges = $clientVersionRanges;
2524    }
2525  
2526    public function getClientVersionRanges()
2527    {
2528      return $this->clientVersionRanges;
2529    }
2530  
2531    public function setCreated($created)
2532    {
2533      $this->created = $created;
2534    }
2535  
2536    public function getCreated()
2537    {
2538      return $this->created;
2539    }
2540  
2541    public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
2542    {
2543      $this->currentVersionRanges = $currentVersionRanges;
2544    }
2545  
2546    public function getCurrentVersionRanges()
2547    {
2548      return $this->currentVersionRanges;
2549    }
2550  
2551    public function setData($data)
2552    {
2553      $this->data = $data;
2554    }
2555  
2556    public function getData()
2557    {
2558      return $this->data;
2559    }
2560  
2561    public function setDeleted($deleted)
2562    {
2563      $this->deleted = $deleted;
2564    }
2565  
2566    public function getDeleted()
2567    {
2568      return $this->deleted;
2569    }
2570  
2571    public function setHighlightStyle($highlightStyle)
2572    {
2573      $this->highlightStyle = $highlightStyle;
2574    }
2575  
2576    public function getHighlightStyle()
2577    {
2578      return $this->highlightStyle;
2579    }
2580  
2581    public function setId($id)
2582    {
2583      $this->id = $id;
2584    }
2585  
2586    public function getId()
2587    {
2588      return $this->id;
2589    }
2590  
2591    public function setKind($kind)
2592    {
2593      $this->kind = $kind;
2594    }
2595  
2596    public function getKind()
2597    {
2598      return $this->kind;
2599    }
2600  
2601    public function setLayerId($layerId)
2602    {
2603      $this->layerId = $layerId;
2604    }
2605  
2606    public function getLayerId()
2607    {
2608      return $this->layerId;
2609    }
2610  
2611    public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary)
2612    {
2613      $this->layerSummary = $layerSummary;
2614    }
2615  
2616    public function getLayerSummary()
2617    {
2618      return $this->layerSummary;
2619    }
2620  
2621    public function setPageIds($pageIds)
2622    {
2623      $this->pageIds = $pageIds;
2624    }
2625  
2626    public function getPageIds()
2627    {
2628      return $this->pageIds;
2629    }
2630  
2631    public function setSelectedText($selectedText)
2632    {
2633      $this->selectedText = $selectedText;
2634    }
2635  
2636    public function getSelectedText()
2637    {
2638      return $this->selectedText;
2639    }
2640  
2641    public function setSelfLink($selfLink)
2642    {
2643      $this->selfLink = $selfLink;
2644    }
2645  
2646    public function getSelfLink()
2647    {
2648      return $this->selfLink;
2649    }
2650  
2651    public function setUpdated($updated)
2652    {
2653      $this->updated = $updated;
2654    }
2655  
2656    public function getUpdated()
2657    {
2658      return $this->updated;
2659    }
2660  
2661    public function setVolumeId($volumeId)
2662    {
2663      $this->volumeId = $volumeId;
2664    }
2665  
2666    public function getVolumeId()
2667    {
2668      return $this->volumeId;
2669    }
2670  }
2671  
2672  class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2673  {
2674    protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2675    protected $cfiRangeDataType = '';
2676    public $contentVersion;
2677    protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2678    protected $gbImageRangeDataType = '';
2679    protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2680    protected $gbTextRangeDataType = '';
2681    protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2682    protected $imageCfiRangeDataType = '';
2683  
2684    public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
2685    {
2686      $this->cfiRange = $cfiRange;
2687    }
2688  
2689    public function getCfiRange()
2690    {
2691      return $this->cfiRange;
2692    }
2693  
2694    public function setContentVersion($contentVersion)
2695    {
2696      $this->contentVersion = $contentVersion;
2697    }
2698  
2699    public function getContentVersion()
2700    {
2701      return $this->contentVersion;
2702    }
2703  
2704    public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2705    {
2706      $this->gbImageRange = $gbImageRange;
2707    }
2708  
2709    public function getGbImageRange()
2710    {
2711      return $this->gbImageRange;
2712    }
2713  
2714    public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2715    {
2716      $this->gbTextRange = $gbTextRange;
2717    }
2718  
2719    public function getGbTextRange()
2720    {
2721      return $this->gbTextRange;
2722    }
2723  
2724    public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2725    {
2726      $this->imageCfiRange = $imageCfiRange;
2727    }
2728  
2729    public function getImageCfiRange()
2730    {
2731      return $this->imageCfiRange;
2732    }
2733  }
2734  
2735  class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
2736  {
2737    protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2738    protected $cfiRangeDataType = '';
2739    public $contentVersion;
2740    protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2741    protected $gbImageRangeDataType = '';
2742    protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2743    protected $gbTextRangeDataType = '';
2744    protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2745    protected $imageCfiRangeDataType = '';
2746  
2747    public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
2748    {
2749      $this->cfiRange = $cfiRange;
2750    }
2751  
2752    public function getCfiRange()
2753    {
2754      return $this->cfiRange;
2755    }
2756  
2757    public function setContentVersion($contentVersion)
2758    {
2759      $this->contentVersion = $contentVersion;
2760    }
2761  
2762    public function getContentVersion()
2763    {
2764      return $this->contentVersion;
2765    }
2766  
2767    public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2768    {
2769      $this->gbImageRange = $gbImageRange;
2770    }
2771  
2772    public function getGbImageRange()
2773    {
2774      return $this->gbImageRange;
2775    }
2776  
2777    public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2778    {
2779      $this->gbTextRange = $gbTextRange;
2780    }
2781  
2782    public function getGbTextRange()
2783    {
2784      return $this->gbTextRange;
2785    }
2786  
2787    public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2788    {
2789      $this->imageCfiRange = $imageCfiRange;
2790    }
2791  
2792    public function getImageCfiRange()
2793    {
2794      return $this->imageCfiRange;
2795    }
2796  }
2797  
2798  class Google_Service_Books_AnnotationLayerSummary extends Google_Model
2799  {
2800    public $allowedCharacterCount;
2801    public $limitType;
2802    public $remainingCharacterCount;
2803  
2804    public function setAllowedCharacterCount($allowedCharacterCount)
2805    {
2806      $this->allowedCharacterCount = $allowedCharacterCount;
2807    }
2808  
2809    public function getAllowedCharacterCount()
2810    {
2811      return $this->allowedCharacterCount;
2812    }
2813  
2814    public function setLimitType($limitType)
2815    {
2816      $this->limitType = $limitType;
2817    }
2818  
2819    public function getLimitType()
2820    {
2821      return $this->limitType;
2822    }
2823  
2824    public function setRemainingCharacterCount($remainingCharacterCount)
2825    {
2826      $this->remainingCharacterCount = $remainingCharacterCount;
2827    }
2828  
2829    public function getRemainingCharacterCount()
2830    {
2831      return $this->remainingCharacterCount;
2832    }
2833  }
2834  
2835  class Google_Service_Books_Annotationdata extends Google_Model
2836  {
2837    public $annotationType;
2838    public $data;
2839    public $encodedData;
2840    public $id;
2841    public $kind;
2842    public $layerId;
2843    public $selfLink;
2844    public $updated;
2845    public $volumeId;
2846  
2847    public function setAnnotationType($annotationType)
2848    {
2849      $this->annotationType = $annotationType;
2850    }
2851  
2852    public function getAnnotationType()
2853    {
2854      return $this->annotationType;
2855    }
2856  
2857    public function setData($data)
2858    {
2859      $this->data = $data;
2860    }
2861  
2862    public function getData()
2863    {
2864      return $this->data;
2865    }
2866  
2867    public function setEncodedData($encodedData)
2868    {
2869      $this->encodedData = $encodedData;
2870    }
2871  
2872    public function getEncodedData()
2873    {
2874      return $this->encodedData;
2875    }
2876  
2877    public function setId($id)
2878    {
2879      $this->id = $id;
2880    }
2881  
2882    public function getId()
2883    {
2884      return $this->id;
2885    }
2886  
2887    public function setKind($kind)
2888    {
2889      $this->kind = $kind;
2890    }
2891  
2892    public function getKind()
2893    {
2894      return $this->kind;
2895    }
2896  
2897    public function setLayerId($layerId)
2898    {
2899      $this->layerId = $layerId;
2900    }
2901  
2902    public function getLayerId()
2903    {
2904      return $this->layerId;
2905    }
2906  
2907    public function setSelfLink($selfLink)
2908    {
2909      $this->selfLink = $selfLink;
2910    }
2911  
2912    public function getSelfLink()
2913    {
2914      return $this->selfLink;
2915    }
2916  
2917    public function setUpdated($updated)
2918    {
2919      $this->updated = $updated;
2920    }
2921  
2922    public function getUpdated()
2923    {
2924      return $this->updated;
2925    }
2926  
2927    public function setVolumeId($volumeId)
2928    {
2929      $this->volumeId = $volumeId;
2930    }
2931  
2932    public function getVolumeId()
2933    {
2934      return $this->volumeId;
2935    }
2936  }
2937  
2938  class Google_Service_Books_Annotations extends Google_Collection
2939  {
2940    protected $collection_key = 'items';
2941    protected $itemsType = 'Google_Service_Books_Annotation';
2942    protected $itemsDataType = 'array';
2943    public $kind;
2944    public $nextPageToken;
2945    public $totalItems;
2946  
2947    public function setItems($items)
2948    {
2949      $this->items = $items;
2950    }
2951  
2952    public function getItems()
2953    {
2954      return $this->items;
2955    }
2956  
2957    public function setKind($kind)
2958    {
2959      $this->kind = $kind;
2960    }
2961  
2962    public function getKind()
2963    {
2964      return $this->kind;
2965    }
2966  
2967    public function setNextPageToken($nextPageToken)
2968    {
2969      $this->nextPageToken = $nextPageToken;
2970    }
2971  
2972    public function getNextPageToken()
2973    {
2974      return $this->nextPageToken;
2975    }
2976  
2977    public function setTotalItems($totalItems)
2978    {
2979      $this->totalItems = $totalItems;
2980    }
2981  
2982    public function getTotalItems()
2983    {
2984      return $this->totalItems;
2985    }
2986  }
2987  
2988  class Google_Service_Books_AnnotationsSummary extends Google_Collection
2989  {
2990    protected $collection_key = 'layers';
2991    public $kind;
2992    protected $layersType = 'Google_Service_Books_AnnotationsSummaryLayers';
2993    protected $layersDataType = 'array';
2994  
2995    public function setKind($kind)
2996    {
2997      $this->kind = $kind;
2998    }
2999  
3000    public function getKind()
3001    {
3002      return $this->kind;
3003    }
3004  
3005    public function setLayers($layers)
3006    {
3007      $this->layers = $layers;
3008    }
3009  
3010    public function getLayers()
3011    {
3012      return $this->layers;
3013    }
3014  }
3015  
3016  class Google_Service_Books_AnnotationsSummaryLayers extends Google_Model
3017  {
3018    public $allowedCharacterCount;
3019    public $layerId;
3020    public $limitType;
3021    public $remainingCharacterCount;
3022    public $updated;
3023  
3024    public function setAllowedCharacterCount($allowedCharacterCount)
3025    {
3026      $this->allowedCharacterCount = $allowedCharacterCount;
3027    }
3028  
3029    public function getAllowedCharacterCount()
3030    {
3031      return $this->allowedCharacterCount;
3032    }
3033  
3034    public function setLayerId($layerId)
3035    {
3036      $this->layerId = $layerId;
3037    }
3038  
3039    public function getLayerId()
3040    {
3041      return $this->layerId;
3042    }
3043  
3044    public function setLimitType($limitType)
3045    {
3046      $this->limitType = $limitType;
3047    }
3048  
3049    public function getLimitType()
3050    {
3051      return $this->limitType;
3052    }
3053  
3054    public function setRemainingCharacterCount($remainingCharacterCount)
3055    {
3056      $this->remainingCharacterCount = $remainingCharacterCount;
3057    }
3058  
3059    public function getRemainingCharacterCount()
3060    {
3061      return $this->remainingCharacterCount;
3062    }
3063  
3064    public function setUpdated($updated)
3065    {
3066      $this->updated = $updated;
3067    }
3068  
3069    public function getUpdated()
3070    {
3071      return $this->updated;
3072    }
3073  }
3074  
3075  class Google_Service_Books_Annotationsdata extends Google_Collection
3076  {
3077    protected $collection_key = 'items';
3078    protected $itemsType = 'Google_Service_Books_Annotationdata';
3079    protected $itemsDataType = 'array';
3080    public $kind;
3081    public $nextPageToken;
3082    public $totalItems;
3083  
3084    public function setItems($items)
3085    {
3086      $this->items = $items;
3087    }
3088  
3089    public function getItems()
3090    {
3091      return $this->items;
3092    }
3093  
3094    public function setKind($kind)
3095    {
3096      $this->kind = $kind;
3097    }
3098  
3099    public function getKind()
3100    {
3101      return $this->kind;
3102    }
3103  
3104    public function setNextPageToken($nextPageToken)
3105    {
3106      $this->nextPageToken = $nextPageToken;
3107    }
3108  
3109    public function getNextPageToken()
3110    {
3111      return $this->nextPageToken;
3112    }
3113  
3114    public function setTotalItems($totalItems)
3115    {
3116      $this->totalItems = $totalItems;
3117    }
3118  
3119    public function getTotalItems()
3120    {
3121      return $this->totalItems;
3122    }
3123  }
3124  
3125  class Google_Service_Books_BooksAnnotationsRange extends Google_Model
3126  {
3127    public $endOffset;
3128    public $endPosition;
3129    public $startOffset;
3130    public $startPosition;
3131  
3132    public function setEndOffset($endOffset)
3133    {
3134      $this->endOffset = $endOffset;
3135    }
3136  
3137    public function getEndOffset()
3138    {
3139      return $this->endOffset;
3140    }
3141  
3142    public function setEndPosition($endPosition)
3143    {
3144      $this->endPosition = $endPosition;
3145    }
3146  
3147    public function getEndPosition()
3148    {
3149      return $this->endPosition;
3150    }
3151  
3152    public function setStartOffset($startOffset)
3153    {
3154      $this->startOffset = $startOffset;
3155    }
3156  
3157    public function getStartOffset()
3158    {
3159      return $this->startOffset;
3160    }
3161  
3162    public function setStartPosition($startPosition)
3163    {
3164      $this->startPosition = $startPosition;
3165    }
3166  
3167    public function getStartPosition()
3168    {
3169      return $this->startPosition;
3170    }
3171  }
3172  
3173  class Google_Service_Books_BooksCloudloadingResource extends Google_Model
3174  {
3175    public $author;
3176    public $processingState;
3177    public $title;
3178    public $volumeId;
3179  
3180    public function setAuthor($author)
3181    {
3182      $this->author = $author;
3183    }
3184  
3185    public function getAuthor()
3186    {
3187      return $this->author;
3188    }
3189  
3190    public function setProcessingState($processingState)
3191    {
3192      $this->processingState = $processingState;
3193    }
3194  
3195    public function getProcessingState()
3196    {
3197      return $this->processingState;
3198    }
3199  
3200    public function setTitle($title)
3201    {
3202      $this->title = $title;
3203    }
3204  
3205    public function getTitle()
3206    {
3207      return $this->title;
3208    }
3209  
3210    public function setVolumeId($volumeId)
3211    {
3212      $this->volumeId = $volumeId;
3213    }
3214  
3215    public function getVolumeId()
3216    {
3217      return $this->volumeId;
3218    }
3219  }
3220  
3221  class Google_Service_Books_BooksVolumesRecommendedRateResponse extends Google_Model
3222  {
3223    public $consistencyToken;
3224  
3225    public function setConsistencyToken($consistencyToken)
3226    {
3227      $this->consistencyToken = $consistencyToken;
3228    }
3229  
3230    public function getConsistencyToken()
3231    {
3232      return $this->consistencyToken;
3233    }
3234  }
3235  
3236  class Google_Service_Books_Bookshelf extends Google_Model
3237  {
3238    public $access;
3239    public $created;
3240    public $description;
3241    public $id;
3242    public $kind;
3243    public $selfLink;
3244    public $title;
3245    public $updated;
3246    public $volumeCount;
3247    public $volumesLastUpdated;
3248  
3249    public function setAccess($access)
3250    {
3251      $this->access = $access;
3252    }
3253  
3254    public function getAccess()
3255    {
3256      return $this->access;
3257    }
3258  
3259    public function setCreated($created)
3260    {
3261      $this->created = $created;
3262    }
3263  
3264    public function getCreated()
3265    {
3266      return $this->created;
3267    }
3268  
3269    public function setDescription($description)
3270    {
3271      $this->description = $description;
3272    }
3273  
3274    public function getDescription()
3275    {
3276      return $this->description;
3277    }
3278  
3279    public function setId($id)
3280    {
3281      $this->id = $id;
3282    }
3283  
3284    public function getId()
3285    {
3286      return $this->id;
3287    }
3288  
3289    public function setKind($kind)
3290    {
3291      $this->kind = $kind;
3292    }
3293  
3294    public function getKind()
3295    {
3296      return $this->kind;
3297    }
3298  
3299    public function setSelfLink($selfLink)
3300    {
3301      $this->selfLink = $selfLink;
3302    }
3303  
3304    public function getSelfLink()
3305    {
3306      return $this->selfLink;
3307    }
3308  
3309    public function setTitle($title)
3310    {
3311      $this->title = $title;
3312    }
3313  
3314    public function getTitle()
3315    {
3316      return $this->title;
3317    }
3318  
3319    public function setUpdated($updated)
3320    {
3321      $this->updated = $updated;
3322    }
3323  
3324    public function getUpdated()
3325    {
3326      return $this->updated;
3327    }
3328  
3329    public function setVolumeCount($volumeCount)
3330    {
3331      $this->volumeCount = $volumeCount;
3332    }
3333  
3334    public function getVolumeCount()
3335    {
3336      return $this->volumeCount;
3337    }
3338  
3339    public function setVolumesLastUpdated($volumesLastUpdated)
3340    {
3341      $this->volumesLastUpdated = $volumesLastUpdated;
3342    }
3343  
3344    public function getVolumesLastUpdated()
3345    {
3346      return $this->volumesLastUpdated;
3347    }
3348  }
3349  
3350  class Google_Service_Books_Bookshelves extends Google_Collection
3351  {
3352    protected $collection_key = 'items';
3353    protected $itemsType = 'Google_Service_Books_Bookshelf';
3354    protected $itemsDataType = 'array';
3355    public $kind;
3356  
3357    public function setItems($items)
3358    {
3359      $this->items = $items;
3360    }
3361  
3362    public function getItems()
3363    {
3364      return $this->items;
3365    }
3366  
3367    public function setKind($kind)
3368    {
3369      $this->kind = $kind;
3370    }
3371  
3372    public function getKind()
3373    {
3374      return $this->kind;
3375    }
3376  }
3377  
3378  class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
3379  {
3380    public $deviceAllowed;
3381    public $kind;
3382    public $maxConcurrentDevices;
3383    public $message;
3384    public $nonce;
3385    public $reasonCode;
3386    public $restricted;
3387    public $signature;
3388    public $source;
3389    public $timeWindowSeconds;
3390    public $volumeId;
3391  
3392    public function setDeviceAllowed($deviceAllowed)
3393    {
3394      $this->deviceAllowed = $deviceAllowed;
3395    }
3396  
3397    public function getDeviceAllowed()
3398    {
3399      return $this->deviceAllowed;
3400    }
3401  
3402    public function setKind($kind)
3403    {
3404      $this->kind = $kind;
3405    }
3406  
3407    public function getKind()
3408    {
3409      return $this->kind;
3410    }
3411  
3412    public function setMaxConcurrentDevices($maxConcurrentDevices)
3413    {
3414      $this->maxConcurrentDevices = $maxConcurrentDevices;
3415    }
3416  
3417    public function getMaxConcurrentDevices()
3418    {
3419      return $this->maxConcurrentDevices;
3420    }
3421  
3422    public function setMessage($message)
3423    {
3424      $this->message = $message;
3425    }
3426  
3427    public function getMessage()
3428    {
3429      return $this->message;
3430    }
3431  
3432    public function setNonce($nonce)
3433    {
3434      $this->nonce = $nonce;
3435    }
3436  
3437    public function getNonce()
3438    {
3439      return $this->nonce;
3440    }
3441  
3442    public function setReasonCode($reasonCode)
3443    {
3444      $this->reasonCode = $reasonCode;
3445    }
3446  
3447    public function getReasonCode()
3448    {
3449      return $this->reasonCode;
3450    }
3451  
3452    public function setRestricted($restricted)
3453    {
3454      $this->restricted = $restricted;
3455    }
3456  
3457    public function getRestricted()
3458    {
3459      return $this->restricted;
3460    }
3461  
3462    public function setSignature($signature)
3463    {
3464      $this->signature = $signature;
3465    }
3466  
3467    public function getSignature()
3468    {
3469      return $this->signature;
3470    }
3471  
3472    public function setSource($source)
3473    {
3474      $this->source = $source;
3475    }
3476  
3477    public function getSource()
3478    {
3479      return $this->source;
3480    }
3481  
3482    public function setTimeWindowSeconds($timeWindowSeconds)
3483    {
3484      $this->timeWindowSeconds = $timeWindowSeconds;
3485    }
3486  
3487    public function getTimeWindowSeconds()
3488    {
3489      return $this->timeWindowSeconds;
3490    }
3491  
3492    public function setVolumeId($volumeId)
3493    {
3494      $this->volumeId = $volumeId;
3495    }
3496  
3497    public function getVolumeId()
3498    {
3499      return $this->volumeId;
3500    }
3501  }
3502  
3503  class Google_Service_Books_Dictlayerdata extends Google_Model
3504  {
3505    protected $commonType = 'Google_Service_Books_DictlayerdataCommon';
3506    protected $commonDataType = '';
3507    protected $dictType = 'Google_Service_Books_DictlayerdataDict';
3508    protected $dictDataType = '';
3509    public $kind;
3510  
3511    public function setCommon(Google_Service_Books_DictlayerdataCommon $common)
3512    {
3513      $this->common = $common;
3514    }
3515  
3516    public function getCommon()
3517    {
3518      return $this->common;
3519    }
3520  
3521    public function setDict(Google_Service_Books_DictlayerdataDict $dict)
3522    {
3523      $this->dict = $dict;
3524    }
3525  
3526    public function getDict()
3527    {
3528      return $this->dict;
3529    }
3530  
3531    public function setKind($kind)
3532    {
3533      $this->kind = $kind;
3534    }
3535  
3536    public function getKind()
3537    {
3538      return $this->kind;
3539    }
3540  }
3541  
3542  class Google_Service_Books_DictlayerdataCommon extends Google_Model
3543  {
3544    public $title;
3545  
3546    public function setTitle($title)
3547    {
3548      $this->title = $title;
3549    }
3550  
3551    public function getTitle()
3552    {
3553      return $this->title;
3554    }
3555  }
3556  
3557  class Google_Service_Books_DictlayerdataDict extends Google_Collection
3558  {
3559    protected $collection_key = 'words';
3560    protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource';
3561    protected $sourceDataType = '';
3562    protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords';
3563    protected $wordsDataType = 'array';
3564  
3565    public function setSource(Google_Service_Books_DictlayerdataDictSource $source)
3566    {
3567      $this->source = $source;
3568    }
3569  
3570    public function getSource()
3571    {
3572      return $this->source;
3573    }
3574  
3575    public function setWords($words)
3576    {
3577      $this->words = $words;
3578    }
3579  
3580    public function getWords()
3581    {
3582      return $this->words;
3583    }
3584  }
3585  
3586  class Google_Service_Books_DictlayerdataDictSource extends Google_Model
3587  {
3588    public $attribution;
3589    public $url;
3590  
3591    public function setAttribution($attribution)
3592    {
3593      $this->attribution = $attribution;
3594    }
3595  
3596    public function getAttribution()
3597    {
3598      return $this->attribution;
3599    }
3600  
3601    public function setUrl($url)
3602    {
3603      $this->url = $url;
3604    }
3605  
3606    public function getUrl()
3607    {
3608      return $this->url;
3609    }
3610  }
3611  
3612  class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
3613  {
3614    protected $collection_key = 'senses';
3615    protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives';
3616    protected $derivativesDataType = 'array';
3617    protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples';
3618    protected $examplesDataType = 'array';
3619    protected $sensesType = 'Google_Service_Books_DictlayerdataDictWordsSenses';
3620    protected $sensesDataType = 'array';
3621    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSource';
3622    protected $sourceDataType = '';
3623  
3624    public function setDerivatives($derivatives)
3625    {
3626      $this->derivatives = $derivatives;
3627    }
3628  
3629    public function getDerivatives()
3630    {
3631      return $this->derivatives;
3632    }
3633  
3634    public function setExamples($examples)
3635    {
3636      $this->examples = $examples;
3637    }
3638  
3639    public function getExamples()
3640    {
3641      return $this->examples;
3642    }
3643  
3644    public function setSenses($senses)
3645    {
3646      $this->senses = $senses;
3647    }
3648  
3649    public function getSenses()
3650    {
3651      return $this->senses;
3652    }
3653  
3654    public function setSource(Google_Service_Books_DictlayerdataDictWordsSource $source)
3655    {
3656      $this->source = $source;
3657    }
3658  
3659    public function getSource()
3660    {
3661      return $this->source;
3662    }
3663  }
3664  
3665  class Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Model
3666  {
3667    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
3668    protected $sourceDataType = '';
3669    public $text;
3670  
3671    public function setSource(Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
3672    {
3673      $this->source = $source;
3674    }
3675  
3676    public function getSource()
3677    {
3678      return $this->source;
3679    }
3680  
3681    public function setText($text)
3682    {
3683      $this->text = $text;
3684    }
3685  
3686    public function getText()
3687    {
3688      return $this->text;
3689    }
3690  }
3691  
3692  class Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Google_Model
3693  {
3694    public $attribution;
3695    public $url;
3696  
3697    public function setAttribution($attribution)
3698    {
3699      $this->attribution = $attribution;
3700    }
3701  
3702    public function getAttribution()
3703    {
3704      return $this->attribution;
3705    }
3706  
3707    public function setUrl($url)
3708    {
3709      $this->url = $url;
3710    }
3711  
3712    public function getUrl()
3713    {
3714      return $this->url;
3715    }
3716  }
3717  
3718  class Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model
3719  {
3720    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsExamplesSource';
3721    protected $sourceDataType = '';
3722    public $text;
3723  
3724    public function setSource(Google_Service_Books_DictlayerdataDictWordsExamplesSource $source)
3725    {
3726      $this->source = $source;
3727    }
3728  
3729    public function getSource()
3730    {
3731      return $this->source;
3732    }
3733  
3734    public function setText($text)
3735    {
3736      $this->text = $text;
3737    }
3738  
3739    public function getText()
3740    {
3741      return $this->text;
3742    }
3743  }
3744  
3745  class Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_Model
3746  {
3747    public $attribution;
3748    public $url;
3749  
3750    public function setAttribution($attribution)
3751    {
3752      $this->attribution = $attribution;
3753    }
3754  
3755    public function getAttribution()
3756    {
3757      return $this->attribution;
3758    }
3759  
3760    public function setUrl($url)
3761    {
3762      $this->url = $url;
3763    }
3764  
3765    public function getUrl()
3766    {
3767      return $this->url;
3768    }
3769  }
3770  
3771  class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection
3772  {
3773    protected $collection_key = 'synonyms';
3774    protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
3775    protected $conjugationsDataType = 'array';
3776    protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
3777    protected $definitionsDataType = 'array';
3778    public $partOfSpeech;
3779    public $pronunciation;
3780    public $pronunciationUrl;
3781    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSource';
3782    protected $sourceDataType = '';
3783    public $syllabification;
3784    protected $synonymsType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms';
3785    protected $synonymsDataType = 'array';
3786  
3787    public function setConjugations($conjugations)
3788    {
3789      $this->conjugations = $conjugations;
3790    }
3791  
3792    public function getConjugations()
3793    {
3794      return $this->conjugations;
3795    }
3796  
3797    public function setDefinitions($definitions)
3798    {
3799      $this->definitions = $definitions;
3800    }
3801  
3802    public function getDefinitions()
3803    {
3804      return $this->definitions;
3805    }
3806  
3807    public function setPartOfSpeech($partOfSpeech)
3808    {
3809      $this->partOfSpeech = $partOfSpeech;
3810    }
3811  
3812    public function getPartOfSpeech()
3813    {
3814      return $this->partOfSpeech;
3815    }
3816  
3817    public function setPronunciation($pronunciation)
3818    {
3819      $this->pronunciation = $pronunciation;
3820    }
3821  
3822    public function getPronunciation()
3823    {
3824      return $this->pronunciation;
3825    }
3826  
3827    public function setPronunciationUrl($pronunciationUrl)
3828    {
3829      $this->pronunciationUrl = $pronunciationUrl;
3830    }
3831  
3832    public function getPronunciationUrl()
3833    {
3834      return $this->pronunciationUrl;
3835    }
3836  
3837    public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSource $source)
3838    {
3839      $this->source = $source;
3840    }
3841  
3842    public function getSource()
3843    {
3844      return $this->source;
3845    }
3846  
3847    public function setSyllabification($syllabification)
3848    {
3849      $this->syllabification = $syllabification;
3850    }
3851  
3852    public function getSyllabification()
3853    {
3854      return $this->syllabification;
3855    }
3856  
3857    public function setSynonyms($synonyms)
3858    {
3859      $this->synonyms = $synonyms;
3860    }
3861  
3862    public function getSynonyms()
3863    {
3864      return $this->synonyms;
3865    }
3866  }
3867  
3868  class Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Google_Model
3869  {
3870    public $type;
3871    public $value;
3872  
3873    public function setType($type)
3874    {
3875      $this->type = $type;
3876    }
3877  
3878    public function getType()
3879    {
3880      return $this->type;
3881    }
3882  
3883    public function setValue($value)
3884    {
3885      $this->value = $value;
3886    }
3887  
3888    public function getValue()
3889    {
3890      return $this->value;
3891    }
3892  }
3893  
3894  class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection
3895  {
3896    protected $collection_key = 'examples';
3897    public $definition;
3898    protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
3899    protected $examplesDataType = 'array';
3900  
3901    public function setDefinition($definition)
3902    {
3903      $this->definition = $definition;
3904    }
3905  
3906    public function getDefinition()
3907    {
3908      return $this->definition;
3909    }
3910  
3911    public function setExamples($examples)
3912    {
3913      $this->examples = $examples;
3914    }
3915  
3916    public function getExamples()
3917    {
3918      return $this->examples;
3919    }
3920  }
3921  
3922  class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Google_Model
3923  {
3924    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
3925    protected $sourceDataType = '';
3926    public $text;
3927  
3928    public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
3929    {
3930      $this->source = $source;
3931    }
3932  
3933    public function getSource()
3934    {
3935      return $this->source;
3936    }
3937  
3938    public function setText($text)
3939    {
3940      $this->text = $text;
3941    }
3942  
3943    public function getText()
3944    {
3945      return $this->text;
3946    }
3947  }
3948  
3949  class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Google_Model
3950  {
3951    public $attribution;
3952    public $url;
3953  
3954    public function setAttribution($attribution)
3955    {
3956      $this->attribution = $attribution;
3957    }
3958  
3959    public function getAttribution()
3960    {
3961      return $this->attribution;
3962    }
3963  
3964    public function setUrl($url)
3965    {
3966      $this->url = $url;
3967    }
3968  
3969    public function getUrl()
3970    {
3971      return $this->url;
3972    }
3973  }
3974  
3975  class Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Model
3976  {
3977    public $attribution;
3978    public $url;
3979  
3980    public function setAttribution($attribution)
3981    {
3982      $this->attribution = $attribution;
3983    }
3984  
3985    public function getAttribution()
3986    {
3987      return $this->attribution;
3988    }
3989  
3990    public function setUrl($url)
3991    {
3992      $this->url = $url;
3993    }
3994  
3995    public function getUrl()
3996    {
3997      return $this->url;
3998    }
3999  }
4000  
4001  class Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_Model
4002  {
4003    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
4004    protected $sourceDataType = '';
4005    public $text;
4006  
4007    public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
4008    {
4009      $this->source = $source;
4010    }
4011  
4012    public function getSource()
4013    {
4014      return $this->source;
4015    }
4016  
4017    public function setText($text)
4018    {
4019      $this->text = $text;
4020    }
4021  
4022    public function getText()
4023    {
4024      return $this->text;
4025    }
4026  }
4027  
4028  class Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Google_Model
4029  {
4030    public $attribution;
4031    public $url;
4032  
4033    public function setAttribution($attribution)
4034    {
4035      $this->attribution = $attribution;
4036    }
4037  
4038    public function getAttribution()
4039    {
4040      return $this->attribution;
4041    }
4042  
4043    public function setUrl($url)
4044    {
4045      $this->url = $url;
4046    }
4047  
4048    public function getUrl()
4049    {
4050      return $this->url;
4051    }
4052  }
4053  
4054  class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
4055  {
4056    public $attribution;
4057    public $url;
4058  
4059    public function setAttribution($attribution)
4060    {
4061      $this->attribution = $attribution;
4062    }
4063  
4064    public function getAttribution()
4065    {
4066      return $this->attribution;
4067    }
4068  
4069    public function setUrl($url)
4070    {
4071      $this->url = $url;
4072    }
4073  
4074    public function getUrl()
4075    {
4076      return $this->url;
4077    }
4078  }
4079  
4080  class Google_Service_Books_DownloadAccessRestriction extends Google_Model
4081  {
4082    public $deviceAllowed;
4083    public $downloadsAcquired;
4084    public $justAcquired;
4085    public $kind;
4086    public $maxDownloadDevices;
4087    public $message;
4088    public $nonce;
4089    public $reasonCode;
4090    public $restricted;
4091    public $signature;
4092    public $source;
4093    public $volumeId;
4094  
4095    public function setDeviceAllowed($deviceAllowed)
4096    {
4097      $this->deviceAllowed = $deviceAllowed;
4098    }
4099  
4100    public function getDeviceAllowed()
4101    {
4102      return $this->deviceAllowed;
4103    }
4104  
4105    public function setDownloadsAcquired($downloadsAcquired)
4106    {
4107      $this->downloadsAcquired = $downloadsAcquired;
4108    }
4109  
4110    public function getDownloadsAcquired()
4111    {
4112      return $this->downloadsAcquired;
4113    }
4114  
4115    public function setJustAcquired($justAcquired)
4116    {
4117      $this->justAcquired = $justAcquired;
4118    }
4119  
4120    public function getJustAcquired()
4121    {
4122      return $this->justAcquired;
4123    }
4124  
4125    public function setKind($kind)
4126    {
4127      $this->kind = $kind;
4128    }
4129  
4130    public function getKind()
4131    {
4132      return $this->kind;
4133    }
4134  
4135    public function setMaxDownloadDevices($maxDownloadDevices)
4136    {
4137      $this->maxDownloadDevices = $maxDownloadDevices;
4138    }
4139  
4140    public function getMaxDownloadDevices()
4141    {
4142      return $this->maxDownloadDevices;
4143    }
4144  
4145    public function setMessage($message)
4146    {
4147      $this->message = $message;
4148    }
4149  
4150    public function getMessage()
4151    {
4152      return $this->message;
4153    }
4154  
4155    public function setNonce($nonce)
4156    {
4157      $this->nonce = $nonce;
4158    }
4159  
4160    public function getNonce()
4161    {
4162      return $this->nonce;
4163    }
4164  
4165    public function setReasonCode($reasonCode)
4166    {
4167      $this->reasonCode = $reasonCode;
4168    }
4169  
4170    public function getReasonCode()
4171    {
4172      return $this->reasonCode;
4173    }
4174  
4175    public function setRestricted($restricted)
4176    {
4177      $this->restricted = $restricted;
4178    }
4179  
4180    public function getRestricted()
4181    {
4182      return $this->restricted;
4183    }
4184  
4185    public function setSignature($signature)
4186    {
4187      $this->signature = $signature;
4188    }
4189  
4190    public function getSignature()
4191    {
4192      return $this->signature;
4193    }
4194  
4195    public function setSource($source)
4196    {
4197      $this->source = $source;
4198    }
4199  
4200    public function getSource()
4201    {
4202      return $this->source;
4203    }
4204  
4205    public function setVolumeId($volumeId)
4206    {
4207      $this->volumeId = $volumeId;
4208    }
4209  
4210    public function getVolumeId()
4211    {
4212      return $this->volumeId;
4213    }
4214  }
4215  
4216  class Google_Service_Books_DownloadAccesses extends Google_Collection
4217  {
4218    protected $collection_key = 'downloadAccessList';
4219    protected $downloadAccessListType = 'Google_Service_Books_DownloadAccessRestriction';
4220    protected $downloadAccessListDataType = 'array';
4221    public $kind;
4222  
4223    public function setDownloadAccessList($downloadAccessList)
4224    {
4225      $this->downloadAccessList = $downloadAccessList;
4226    }
4227  
4228    public function getDownloadAccessList()
4229    {
4230      return $this->downloadAccessList;
4231    }
4232  
4233    public function setKind($kind)
4234    {
4235      $this->kind = $kind;
4236    }
4237  
4238    public function getKind()
4239    {
4240      return $this->kind;
4241    }
4242  }
4243  
4244  class Google_Service_Books_Geolayerdata extends Google_Model
4245  {
4246    protected $commonType = 'Google_Service_Books_GeolayerdataCommon';
4247    protected $commonDataType = '';
4248    protected $geoType = 'Google_Service_Books_GeolayerdataGeo';
4249    protected $geoDataType = '';
4250    public $kind;
4251  
4252    public function setCommon(Google_Service_Books_GeolayerdataCommon $common)
4253    {
4254      $this->common = $common;
4255    }
4256  
4257    public function getCommon()
4258    {
4259      return $this->common;
4260    }
4261  
4262    public function setGeo(Google_Service_Books_GeolayerdataGeo $geo)
4263    {
4264      $this->geo = $geo;
4265    }
4266  
4267    public function getGeo()
4268    {
4269      return $this->geo;
4270    }
4271  
4272    public function setKind($kind)
4273    {
4274      $this->kind = $kind;
4275    }
4276  
4277    public function getKind()
4278    {
4279      return $this->kind;
4280    }
4281  }
4282  
4283  class Google_Service_Books_GeolayerdataCommon extends Google_Model
4284  {
4285    public $lang;
4286    public $previewImageUrl;
4287    public $snippet;
4288    public $snippetUrl;
4289    public $title;
4290  
4291    public function setLang($lang)
4292    {
4293      $this->lang = $lang;
4294    }
4295  
4296    public function getLang()
4297    {
4298      return $this->lang;
4299    }
4300  
4301    public function setPreviewImageUrl($previewImageUrl)
4302    {
4303      $this->previewImageUrl = $previewImageUrl;
4304    }
4305  
4306    public function getPreviewImageUrl()
4307    {
4308      return $this->previewImageUrl;
4309    }
4310  
4311    public function setSnippet($snippet)
4312    {
4313      $this->snippet = $snippet;
4314    }
4315  
4316    public function getSnippet()
4317    {
4318      return $this->snippet;
4319    }
4320  
4321    public function setSnippetUrl($snippetUrl)
4322    {
4323      $this->snippetUrl = $snippetUrl;
4324    }
4325  
4326    public function getSnippetUrl()
4327    {
4328      return $this->snippetUrl;
4329    }
4330  
4331    public function setTitle($title)
4332    {
4333      $this->title = $title;
4334    }
4335  
4336    public function getTitle()
4337    {
4338      return $this->title;
4339    }
4340  }
4341  
4342  class Google_Service_Books_GeolayerdataGeo extends Google_Collection
4343  {
4344    protected $collection_key = 'boundary';
4345    protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary';
4346    protected $boundaryDataType = 'array';
4347    public $cachePolicy;
4348    public $countryCode;
4349    public $latitude;
4350    public $longitude;
4351    public $mapType;
4352    protected $viewportType = 'Google_Service_Books_GeolayerdataGeoViewport';
4353    protected $viewportDataType = '';
4354    public $zoom;
4355  
4356    public function setBoundary($boundary)
4357    {
4358      $this->boundary = $boundary;
4359    }
4360  
4361    public function getBoundary()
4362    {
4363      return $this->boundary;
4364    }
4365  
4366    public function setCachePolicy($cachePolicy)
4367    {
4368      $this->cachePolicy = $cachePolicy;
4369    }
4370  
4371    public function getCachePolicy()
4372    {
4373      return $this->cachePolicy;
4374    }
4375  
4376    public function setCountryCode($countryCode)
4377    {
4378      $this->countryCode = $countryCode;
4379    }
4380  
4381    public function getCountryCode()
4382    {
4383      return $this->countryCode;
4384    }
4385  
4386    public function setLatitude($latitude)
4387    {
4388      $this->latitude = $latitude;
4389    }
4390  
4391    public function getLatitude()
4392    {
4393      return $this->latitude;
4394    }
4395  
4396    public function setLongitude($longitude)
4397    {
4398      $this->longitude = $longitude;
4399    }
4400  
4401    public function getLongitude()
4402    {
4403      return $this->longitude;
4404    }
4405  
4406    public function setMapType($mapType)
4407    {
4408      $this->mapType = $mapType;
4409    }
4410  
4411    public function getMapType()
4412    {
4413      return $this->mapType;
4414    }
4415  
4416    public function setViewport(Google_Service_Books_GeolayerdataGeoViewport $viewport)
4417    {
4418      $this->viewport = $viewport;
4419    }
4420  
4421    public function getViewport()
4422    {
4423      return $this->viewport;
4424    }
4425  
4426    public function setZoom($zoom)
4427    {
4428      $this->zoom = $zoom;
4429    }
4430  
4431    public function getZoom()
4432    {
4433      return $this->zoom;
4434    }
4435  }
4436  
4437  class Google_Service_Books_GeolayerdataGeoBoundary extends Google_Model
4438  {
4439    public $latitude;
4440    public $longitude;
4441  
4442    public function setLatitude($latitude)
4443    {
4444      $this->latitude = $latitude;
4445    }
4446  
4447    public function getLatitude()
4448    {
4449      return $this->latitude;
4450    }
4451  
4452    public function setLongitude($longitude)
4453    {
4454      $this->longitude = $longitude;
4455    }
4456  
4457    public function getLongitude()
4458    {
4459      return $this->longitude;
4460    }
4461  }
4462  
4463  class Google_Service_Books_GeolayerdataGeoViewport extends Google_Model
4464  {
4465    protected $hiType = 'Google_Service_Books_GeolayerdataGeoViewportHi';
4466    protected $hiDataType = '';
4467    protected $loType = 'Google_Service_Books_GeolayerdataGeoViewportLo';
4468    protected $loDataType = '';
4469  
4470    public function setHi(Google_Service_Books_GeolayerdataGeoViewportHi $hi)
4471    {
4472      $this->hi = $hi;
4473    }
4474  
4475    public function getHi()
4476    {
4477      return $this->hi;
4478    }
4479  
4480    public function setLo(Google_Service_Books_GeolayerdataGeoViewportLo $lo)
4481    {
4482      $this->lo = $lo;
4483    }
4484  
4485    public function getLo()
4486    {
4487      return $this->lo;
4488    }
4489  }
4490  
4491  class Google_Service_Books_GeolayerdataGeoViewportHi extends Google_Model
4492  {
4493    public $latitude;
4494    public $longitude;
4495  
4496    public function setLatitude($latitude)
4497    {
4498      $this->latitude = $latitude;
4499    }
4500  
4501    public function getLatitude()
4502    {
4503      return $this->latitude;
4504    }
4505  
4506    public function setLongitude($longitude)
4507    {
4508      $this->longitude = $longitude;
4509    }
4510  
4511    public function getLongitude()
4512    {
4513      return $this->longitude;
4514    }
4515  }
4516  
4517  class Google_Service_Books_GeolayerdataGeoViewportLo extends Google_Model
4518  {
4519    public $latitude;
4520    public $longitude;
4521  
4522    public function setLatitude($latitude)
4523    {
4524      $this->latitude = $latitude;
4525    }
4526  
4527    public function getLatitude()
4528    {
4529      return $this->latitude;
4530    }
4531  
4532    public function setLongitude($longitude)
4533    {
4534      $this->longitude = $longitude;
4535    }
4536  
4537    public function getLongitude()
4538    {
4539      return $this->longitude;
4540    }
4541  }
4542  
4543  class Google_Service_Books_Layersummaries extends Google_Collection
4544  {
4545    protected $collection_key = 'items';
4546    protected $itemsType = 'Google_Service_Books_Layersummary';
4547    protected $itemsDataType = 'array';
4548    public $kind;
4549    public $totalItems;
4550  
4551    public function setItems($items)
4552    {
4553      $this->items = $items;
4554    }
4555  
4556    public function getItems()
4557    {
4558      return $this->items;
4559    }
4560  
4561    public function setKind($kind)
4562    {
4563      $this->kind = $kind;
4564    }
4565  
4566    public function getKind()
4567    {
4568      return $this->kind;
4569    }
4570  
4571    public function setTotalItems($totalItems)
4572    {
4573      $this->totalItems = $totalItems;
4574    }
4575  
4576    public function getTotalItems()
4577    {
4578      return $this->totalItems;
4579    }
4580  }
4581  
4582  class Google_Service_Books_Layersummary extends Google_Collection
4583  {
4584    protected $collection_key = 'annotationTypes';
4585    public $annotationCount;
4586    public $annotationTypes;
4587    public $annotationsDataLink;
4588    public $annotationsLink;
4589    public $contentVersion;
4590    public $dataCount;
4591    public $id;
4592    public $kind;
4593    public $layerId;
4594    public $selfLink;
4595    public $updated;
4596    public $volumeAnnotationsVersion;
4597    public $volumeId;
4598  
4599    public function setAnnotationCount($annotationCount)
4600    {
4601      $this->annotationCount = $annotationCount;
4602    }
4603  
4604    public function getAnnotationCount()
4605    {
4606      return $this->annotationCount;
4607    }
4608  
4609    public function setAnnotationTypes($annotationTypes)
4610    {
4611      $this->annotationTypes = $annotationTypes;
4612    }
4613  
4614    public function getAnnotationTypes()
4615    {
4616      return $this->annotationTypes;
4617    }
4618  
4619    public function setAnnotationsDataLink($annotationsDataLink)
4620    {
4621      $this->annotationsDataLink = $annotationsDataLink;
4622    }
4623  
4624    public function getAnnotationsDataLink()
4625    {
4626      return $this->annotationsDataLink;
4627    }
4628  
4629    public function setAnnotationsLink($annotationsLink)
4630    {
4631      $this->annotationsLink = $annotationsLink;
4632    }
4633  
4634    public function getAnnotationsLink()
4635    {
4636      return $this->annotationsLink;
4637    }
4638  
4639    public function setContentVersion($contentVersion)
4640    {
4641      $this->contentVersion = $contentVersion;
4642    }
4643  
4644    public function getContentVersion()
4645    {
4646      return $this->contentVersion;
4647    }
4648  
4649    public function setDataCount($dataCount)
4650    {
4651      $this->dataCount = $dataCount;
4652    }
4653  
4654    public function getDataCount()
4655    {
4656      return $this->dataCount;
4657    }
4658  
4659    public function setId($id)
4660    {
4661      $this->id = $id;
4662    }
4663  
4664    public function getId()
4665    {
4666      return $this->id;
4667    }
4668  
4669    public function setKind($kind)
4670    {
4671      $this->kind = $kind;
4672    }
4673  
4674    public function getKind()
4675    {
4676      return $this->kind;
4677    }
4678  
4679    public function setLayerId($layerId)
4680    {
4681      $this->layerId = $layerId;
4682    }
4683  
4684    public function getLayerId()
4685    {
4686      return $this->layerId;
4687    }
4688  
4689    public function setSelfLink($selfLink)
4690    {
4691      $this->selfLink = $selfLink;
4692    }
4693  
4694    public function getSelfLink()
4695    {
4696      return $this->selfLink;
4697    }
4698  
4699    public function setUpdated($updated)
4700    {
4701      $this->updated = $updated;
4702    }
4703  
4704    public function getUpdated()
4705    {
4706      return $this->updated;
4707    }
4708  
4709    public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
4710    {
4711      $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
4712    }
4713  
4714    public function getVolumeAnnotationsVersion()
4715    {
4716      return $this->volumeAnnotationsVersion;
4717    }
4718  
4719    public function setVolumeId($volumeId)
4720    {
4721      $this->volumeId = $volumeId;
4722    }
4723  
4724    public function getVolumeId()
4725    {
4726      return $this->volumeId;
4727    }
4728  }
4729  
4730  class Google_Service_Books_Offers extends Google_Collection
4731  {
4732    protected $collection_key = 'items';
4733    protected $itemsType = 'Google_Service_Books_OffersItems';
4734    protected $itemsDataType = 'array';
4735    public $kind;
4736  
4737    public function setItems($items)
4738    {
4739      $this->items = $items;
4740    }
4741  
4742    public function getItems()
4743    {
4744      return $this->items;
4745    }
4746  
4747    public function setKind($kind)
4748    {
4749      $this->kind = $kind;
4750    }
4751  
4752    public function getKind()
4753    {
4754      return $this->kind;
4755    }
4756  }
4757  
4758  class Google_Service_Books_OffersItems extends Google_Collection
4759  {
4760    protected $collection_key = 'items';
4761    public $artUrl;
4762    public $id;
4763    protected $itemsType = 'Google_Service_Books_OffersItemsItems';
4764    protected $itemsDataType = 'array';
4765  
4766    public function setArtUrl($artUrl)
4767    {
4768      $this->artUrl = $artUrl;
4769    }
4770  
4771    public function getArtUrl()
4772    {
4773      return $this->artUrl;
4774    }
4775  
4776    public function setId($id)
4777    {
4778      $this->id = $id;
4779    }
4780  
4781    public function getId()
4782    {
4783      return $this->id;
4784    }
4785  
4786    public function setItems($items)
4787    {
4788      $this->items = $items;
4789    }
4790  
4791    public function getItems()
4792    {
4793      return $this->items;
4794    }
4795  }
4796  
4797  class Google_Service_Books_OffersItemsItems extends Google_Model
4798  {
4799    public $author;
4800    public $canonicalVolumeLink;
4801    public $coverUrl;
4802    public $description;
4803    public $title;
4804    public $volumeId;
4805  
4806    public function setAuthor($author)
4807    {
4808      $this->author = $author;
4809    }
4810  
4811    public function getAuthor()
4812    {
4813      return $this->author;
4814    }
4815  
4816    public function setCanonicalVolumeLink($canonicalVolumeLink)
4817    {
4818      $this->canonicalVolumeLink = $canonicalVolumeLink;
4819    }
4820  
4821    public function getCanonicalVolumeLink()
4822    {
4823      return $this->canonicalVolumeLink;
4824    }
4825  
4826    public function setCoverUrl($coverUrl)
4827    {
4828      $this->coverUrl = $coverUrl;
4829    }
4830  
4831    public function getCoverUrl()
4832    {
4833      return $this->coverUrl;
4834    }
4835  
4836    public function setDescription($description)
4837    {
4838      $this->description = $description;
4839    }
4840  
4841    public function getDescription()
4842    {
4843      return $this->description;
4844    }
4845  
4846    public function setTitle($title)
4847    {
4848      $this->title = $title;
4849    }
4850  
4851    public function getTitle()
4852    {
4853      return $this->title;
4854    }
4855  
4856    public function setVolumeId($volumeId)
4857    {
4858      $this->volumeId = $volumeId;
4859    }
4860  
4861    public function getVolumeId()
4862    {
4863      return $this->volumeId;
4864    }
4865  }
4866  
4867  class Google_Service_Books_ReadingPosition extends Google_Model
4868  {
4869    public $epubCfiPosition;
4870    public $gbImagePosition;
4871    public $gbTextPosition;
4872    public $kind;
4873    public $pdfPosition;
4874    public $updated;
4875    public $volumeId;
4876  
4877    public function setEpubCfiPosition($epubCfiPosition)
4878    {
4879      $this->epubCfiPosition = $epubCfiPosition;
4880    }
4881  
4882    public function getEpubCfiPosition()
4883    {
4884      return $this->epubCfiPosition;
4885    }
4886  
4887    public function setGbImagePosition($gbImagePosition)
4888    {
4889      $this->gbImagePosition = $gbImagePosition;
4890    }
4891  
4892    public function getGbImagePosition()
4893    {
4894      return $this->gbImagePosition;
4895    }
4896  
4897    public function setGbTextPosition($gbTextPosition)
4898    {
4899      $this->gbTextPosition = $gbTextPosition;
4900    }
4901  
4902    public function getGbTextPosition()
4903    {
4904      return $this->gbTextPosition;
4905    }
4906  
4907    public function setKind($kind)
4908    {
4909      $this->kind = $kind;
4910    }
4911  
4912    public function getKind()
4913    {
4914      return $this->kind;
4915    }
4916  
4917    public function setPdfPosition($pdfPosition)
4918    {
4919      $this->pdfPosition = $pdfPosition;
4920    }
4921  
4922    public function getPdfPosition()
4923    {
4924      return $this->pdfPosition;
4925    }
4926  
4927    public function setUpdated($updated)
4928    {
4929      $this->updated = $updated;
4930    }
4931  
4932    public function getUpdated()
4933    {
4934      return $this->updated;
4935    }
4936  
4937    public function setVolumeId($volumeId)
4938    {
4939      $this->volumeId = $volumeId;
4940    }
4941  
4942    public function getVolumeId()
4943    {
4944      return $this->volumeId;
4945    }
4946  }
4947  
4948  class Google_Service_Books_RequestAccess extends Google_Model
4949  {
4950    protected $concurrentAccessType = 'Google_Service_Books_ConcurrentAccessRestriction';
4951    protected $concurrentAccessDataType = '';
4952    protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
4953    protected $downloadAccessDataType = '';
4954    public $kind;
4955  
4956    public function setConcurrentAccess(Google_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
4957    {
4958      $this->concurrentAccess = $concurrentAccess;
4959    }
4960  
4961    public function getConcurrentAccess()
4962    {
4963      return $this->concurrentAccess;
4964    }
4965  
4966    public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
4967    {
4968      $this->downloadAccess = $downloadAccess;
4969    }
4970  
4971    public function getDownloadAccess()
4972    {
4973      return $this->downloadAccess;
4974    }
4975  
4976    public function setKind($kind)
4977    {
4978      $this->kind = $kind;
4979    }
4980  
4981    public function getKind()
4982    {
4983      return $this->kind;
4984    }
4985  }
4986  
4987  class Google_Service_Books_Review extends Google_Model
4988  {
4989    protected $authorType = 'Google_Service_Books_ReviewAuthor';
4990    protected $authorDataType = '';
4991    public $content;
4992    public $date;
4993    public $fullTextUrl;
4994    public $kind;
4995    public $rating;
4996    protected $sourceType = 'Google_Service_Books_ReviewSource';
4997    protected $sourceDataType = '';
4998    public $title;
4999    public $type;
5000    public $volumeId;
5001  
5002    public function setAuthor(Google_Service_Books_ReviewAuthor $author)
5003    {
5004      $this->author = $author;
5005    }
5006  
5007    public function getAuthor()
5008    {
5009      return $this->author;
5010    }
5011  
5012    public function setContent($content)
5013    {
5014      $this->content = $content;
5015    }
5016  
5017    public function getContent()
5018    {
5019      return $this->content;
5020    }
5021  
5022    public function setDate($date)
5023    {
5024      $this->date = $date;
5025    }
5026  
5027    public function getDate()
5028    {
5029      return $this->date;
5030    }
5031  
5032    public function setFullTextUrl($fullTextUrl)
5033    {
5034      $this->fullTextUrl = $fullTextUrl;
5035    }
5036  
5037    public function getFullTextUrl()
5038    {
5039      return $this->fullTextUrl;
5040    }
5041  
5042    public function setKind($kind)
5043    {
5044      $this->kind = $kind;
5045    }
5046  
5047    public function getKind()
5048    {
5049      return $this->kind;
5050    }
5051  
5052    public function setRating($rating)
5053    {
5054      $this->rating = $rating;
5055    }
5056  
5057    public function getRating()
5058    {
5059      return $this->rating;
5060    }
5061  
5062    public function setSource(Google_Service_Books_ReviewSource $source)
5063    {
5064      $this->source = $source;
5065    }
5066  
5067    public function getSource()
5068    {
5069      return $this->source;
5070    }
5071  
5072    public function setTitle($title)
5073    {
5074      $this->title = $title;
5075    }
5076  
5077    public function getTitle()
5078    {
5079      return $this->title;
5080    }
5081  
5082    public function setType($type)
5083    {
5084      $this->type = $type;
5085    }
5086  
5087    public function getType()
5088    {
5089      return $this->type;
5090    }
5091  
5092    public function setVolumeId($volumeId)
5093    {
5094      $this->volumeId = $volumeId;
5095    }
5096  
5097    public function getVolumeId()
5098    {
5099      return $this->volumeId;
5100    }
5101  }
5102  
5103  class Google_Service_Books_ReviewAuthor extends Google_Model
5104  {
5105    public $displayName;
5106  
5107    public function setDisplayName($displayName)
5108    {
5109      $this->displayName = $displayName;
5110    }
5111  
5112    public function getDisplayName()
5113    {
5114      return $this->displayName;
5115    }
5116  }
5117  
5118  class Google_Service_Books_ReviewSource extends Google_Model
5119  {
5120    public $description;
5121    public $extraDescription;
5122    public $url;
5123  
5124    public function setDescription($description)
5125    {
5126      $this->description = $description;
5127    }
5128  
5129    public function getDescription()
5130    {
5131      return $this->description;
5132    }
5133  
5134    public function setExtraDescription($extraDescription)
5135    {
5136      $this->extraDescription = $extraDescription;
5137    }
5138  
5139    public function getExtraDescription()
5140    {
5141      return $this->extraDescription;
5142    }
5143  
5144    public function setUrl($url)
5145    {
5146      $this->url = $url;
5147    }
5148  
5149    public function getUrl()
5150    {
5151      return $this->url;
5152    }
5153  }
5154  
5155  class Google_Service_Books_Volume extends Google_Model
5156  {
5157    protected $accessInfoType = 'Google_Service_Books_VolumeAccessInfo';
5158    protected $accessInfoDataType = '';
5159    public $etag;
5160    public $id;
5161    public $kind;
5162    protected $layerInfoType = 'Google_Service_Books_VolumeLayerInfo';
5163    protected $layerInfoDataType = '';
5164    protected $recommendedInfoType = 'Google_Service_Books_VolumeRecommendedInfo';
5165    protected $recommendedInfoDataType = '';
5166    protected $saleInfoType = 'Google_Service_Books_VolumeSaleInfo';
5167    protected $saleInfoDataType = '';
5168    protected $searchInfoType = 'Google_Service_Books_VolumeSearchInfo';
5169    protected $searchInfoDataType = '';
5170    public $selfLink;
5171    protected $userInfoType = 'Google_Service_Books_VolumeUserInfo';
5172    protected $userInfoDataType = '';
5173    protected $volumeInfoType = 'Google_Service_Books_VolumeVolumeInfo';
5174    protected $volumeInfoDataType = '';
5175  
5176    public function setAccessInfo(Google_Service_Books_VolumeAccessInfo $accessInfo)
5177    {
5178      $this->accessInfo = $accessInfo;
5179    }
5180  
5181    public function getAccessInfo()
5182    {
5183      return $this->accessInfo;
5184    }
5185  
5186    public function setEtag($etag)
5187    {
5188      $this->etag = $etag;
5189    }
5190  
5191    public function getEtag()
5192    {
5193      return $this->etag;
5194    }
5195  
5196    public function setId($id)
5197    {
5198      $this->id = $id;
5199    }
5200  
5201    public function getId()
5202    {
5203      return $this->id;
5204    }
5205  
5206    public function setKind($kind)
5207    {
5208      $this->kind = $kind;
5209    }
5210  
5211    public function getKind()
5212    {
5213      return $this->kind;
5214    }
5215  
5216    public function setLayerInfo(Google_Service_Books_VolumeLayerInfo $layerInfo)
5217    {
5218      $this->layerInfo = $layerInfo;
5219    }
5220  
5221    public function getLayerInfo()
5222    {
5223      return $this->layerInfo;
5224    }
5225  
5226    public function setRecommendedInfo(Google_Service_Books_VolumeRecommendedInfo $recommendedInfo)
5227    {
5228      $this->recommendedInfo = $recommendedInfo;
5229    }
5230  
5231    public function getRecommendedInfo()
5232    {
5233      return $this->recommendedInfo;
5234    }
5235  
5236    public function setSaleInfo(Google_Service_Books_VolumeSaleInfo $saleInfo)
5237    {
5238      $this->saleInfo = $saleInfo;
5239    }
5240  
5241    public function getSaleInfo()
5242    {
5243      return $this->saleInfo;
5244    }
5245  
5246    public function setSearchInfo(Google_Service_Books_VolumeSearchInfo $searchInfo)
5247    {
5248      $this->searchInfo = $searchInfo;
5249    }
5250  
5251    public function getSearchInfo()
5252    {
5253      return $this->searchInfo;
5254    }
5255  
5256    public function setSelfLink($selfLink)
5257    {
5258      $this->selfLink = $selfLink;
5259    }
5260  
5261    public function getSelfLink()
5262    {
5263      return $this->selfLink;
5264    }
5265  
5266    public function setUserInfo(Google_Service_Books_VolumeUserInfo $userInfo)
5267    {
5268      $this->userInfo = $userInfo;
5269    }
5270  
5271    public function getUserInfo()
5272    {
5273      return $this->userInfo;
5274    }
5275  
5276    public function setVolumeInfo(Google_Service_Books_VolumeVolumeInfo $volumeInfo)
5277    {
5278      $this->volumeInfo = $volumeInfo;
5279    }
5280  
5281    public function getVolumeInfo()
5282    {
5283      return $this->volumeInfo;
5284    }
5285  }
5286  
5287  class Google_Service_Books_VolumeAccessInfo extends Google_Model
5288  {
5289    public $accessViewStatus;
5290    public $country;
5291    protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
5292    protected $downloadAccessDataType = '';
5293    public $driveImportedContentLink;
5294    public $embeddable;
5295    protected $epubType = 'Google_Service_Books_VolumeAccessInfoEpub';
5296    protected $epubDataType = '';
5297    public $explicitOfflineLicenseManagement;
5298    protected $pdfType = 'Google_Service_Books_VolumeAccessInfoPdf';
5299    protected $pdfDataType = '';
5300    public $publicDomain;
5301    public $quoteSharingAllowed;
5302    public $textToSpeechPermission;
5303    public $viewOrderUrl;
5304    public $viewability;
5305    public $webReaderLink;
5306  
5307    public function setAccessViewStatus($accessViewStatus)
5308    {
5309      $this->accessViewStatus = $accessViewStatus;
5310    }
5311  
5312    public function getAccessViewStatus()
5313    {
5314      return $this->accessViewStatus;
5315    }
5316  
5317    public function setCountry($country)
5318    {
5319      $this->country = $country;
5320    }
5321  
5322    public function getCountry()
5323    {
5324      return $this->country;
5325    }
5326  
5327    public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
5328    {
5329      $this->downloadAccess = $downloadAccess;
5330    }
5331  
5332    public function getDownloadAccess()
5333    {
5334      return $this->downloadAccess;
5335    }
5336  
5337    public function setDriveImportedContentLink($driveImportedContentLink)
5338    {
5339      $this->driveImportedContentLink = $driveImportedContentLink;
5340    }
5341  
5342    public function getDriveImportedContentLink()
5343    {
5344      return $this->driveImportedContentLink;
5345    }
5346  
5347    public function setEmbeddable($embeddable)
5348    {
5349      $this->embeddable = $embeddable;
5350    }
5351  
5352    public function getEmbeddable()
5353    {
5354      return $this->embeddable;
5355    }
5356  
5357    public function setEpub(Google_Service_Books_VolumeAccessInfoEpub $epub)
5358    {
5359      $this->epub = $epub;
5360    }
5361  
5362    public function getEpub()
5363    {
5364      return $this->epub;
5365    }
5366  
5367    public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
5368    {
5369      $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
5370    }
5371  
5372    public function getExplicitOfflineLicenseManagement()
5373    {
5374      return $this->explicitOfflineLicenseManagement;
5375    }
5376  
5377    public function setPdf(Google_Service_Books_VolumeAccessInfoPdf $pdf)
5378    {
5379      $this->pdf = $pdf;
5380    }
5381  
5382    public function getPdf()
5383    {
5384      return $this->pdf;
5385    }
5386  
5387    public function setPublicDomain($publicDomain)
5388    {
5389      $this->publicDomain = $publicDomain;
5390    }
5391  
5392    public function getPublicDomain()
5393    {
5394      return $this->publicDomain;
5395    }
5396  
5397    public function setQuoteSharingAllowed($quoteSharingAllowed)
5398    {
5399      $this->quoteSharingAllowed = $quoteSharingAllowed;
5400    }
5401  
5402    public function getQuoteSharingAllowed()
5403    {
5404      return $this->quoteSharingAllowed;
5405    }
5406  
5407    public function setTextToSpeechPermission($textToSpeechPermission)
5408    {
5409      $this->textToSpeechPermission = $textToSpeechPermission;
5410    }
5411  
5412    public function getTextToSpeechPermission()
5413    {
5414      return $this->textToSpeechPermission;
5415    }
5416  
5417    public function setViewOrderUrl($viewOrderUrl)
5418    {
5419      $this->viewOrderUrl = $viewOrderUrl;
5420    }
5421  
5422    public function getViewOrderUrl()
5423    {
5424      return $this->viewOrderUrl;
5425    }
5426  
5427    public function setViewability($viewability)
5428    {
5429      $this->viewability = $viewability;
5430    }
5431  
5432    public function getViewability()
5433    {
5434      return $this->viewability;
5435    }
5436  
5437    public function setWebReaderLink($webReaderLink)
5438    {
5439      $this->webReaderLink = $webReaderLink;
5440    }
5441  
5442    public function getWebReaderLink()
5443    {
5444      return $this->webReaderLink;
5445    }
5446  }
5447  
5448  class Google_Service_Books_VolumeAccessInfoEpub extends Google_Model
5449  {
5450    public $acsTokenLink;
5451    public $downloadLink;
5452    public $isAvailable;
5453  
5454    public function setAcsTokenLink($acsTokenLink)
5455    {
5456      $this->acsTokenLink = $acsTokenLink;
5457    }
5458  
5459    public function getAcsTokenLink()
5460    {
5461      return $this->acsTokenLink;
5462    }
5463  
5464    public function setDownloadLink($downloadLink)
5465    {
5466      $this->downloadLink = $downloadLink;
5467    }
5468  
5469    public function getDownloadLink()
5470    {
5471      return $this->downloadLink;
5472    }
5473  
5474    public function setIsAvailable($isAvailable)
5475    {
5476      $this->isAvailable = $isAvailable;
5477    }
5478  
5479    public function getIsAvailable()
5480    {
5481      return $this->isAvailable;
5482    }
5483  }
5484  
5485  class Google_Service_Books_VolumeAccessInfoPdf extends Google_Model
5486  {
5487    public $acsTokenLink;
5488    public $downloadLink;
5489    public $isAvailable;
5490  
5491    public function setAcsTokenLink($acsTokenLink)
5492    {
5493      $this->acsTokenLink = $acsTokenLink;
5494    }
5495  
5496    public function getAcsTokenLink()
5497    {
5498      return $this->acsTokenLink;
5499    }
5500  
5501    public function setDownloadLink($downloadLink)
5502    {
5503      $this->downloadLink = $downloadLink;
5504    }
5505  
5506    public function getDownloadLink()
5507    {
5508      return $this->downloadLink;
5509    }
5510  
5511    public function setIsAvailable($isAvailable)
5512    {
5513      $this->isAvailable = $isAvailable;
5514    }
5515  
5516    public function getIsAvailable()
5517    {
5518      return $this->isAvailable;
5519    }
5520  }
5521  
5522  class Google_Service_Books_VolumeLayerInfo extends Google_Collection
5523  {
5524    protected $collection_key = 'layers';
5525    protected $layersType = 'Google_Service_Books_VolumeLayerInfoLayers';
5526    protected $layersDataType = 'array';
5527  
5528    public function setLayers($layers)
5529    {
5530      $this->layers = $layers;
5531    }
5532  
5533    public function getLayers()
5534    {
5535      return $this->layers;
5536    }
5537  }
5538  
5539  class Google_Service_Books_VolumeLayerInfoLayers extends Google_Model
5540  {
5541    public $layerId;
5542    public $volumeAnnotationsVersion;
5543  
5544    public function setLayerId($layerId)
5545    {
5546      $this->layerId = $layerId;
5547    }
5548  
5549    public function getLayerId()
5550    {
5551      return $this->layerId;
5552    }
5553  
5554    public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
5555    {
5556      $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
5557    }
5558  
5559    public function getVolumeAnnotationsVersion()
5560    {
5561      return $this->volumeAnnotationsVersion;
5562    }
5563  }
5564  
5565  class Google_Service_Books_VolumeRecommendedInfo extends Google_Model
5566  {
5567    public $explanation;
5568  
5569    public function setExplanation($explanation)
5570    {
5571      $this->explanation = $explanation;
5572    }
5573  
5574    public function getExplanation()
5575    {
5576      return $this->explanation;
5577    }
5578  }
5579  
5580  class Google_Service_Books_VolumeSaleInfo extends Google_Collection
5581  {
5582    protected $collection_key = 'offers';
5583    public $buyLink;
5584    public $country;
5585    public $isEbook;
5586    protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoListPrice';
5587    protected $listPriceDataType = '';
5588    protected $offersType = 'Google_Service_Books_VolumeSaleInfoOffers';
5589    protected $offersDataType = 'array';
5590    public $onSaleDate;
5591    protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoRetailPrice';
5592    protected $retailPriceDataType = '';
5593    public $saleability;
5594  
5595    public function setBuyLink($buyLink)
5596    {
5597      $this->buyLink = $buyLink;
5598    }
5599  
5600    public function getBuyLink()
5601    {
5602      return $this->buyLink;
5603    }
5604  
5605    public function setCountry($country)
5606    {
5607      $this->country = $country;
5608    }
5609  
5610    public function getCountry()
5611    {
5612      return $this->country;
5613    }
5614  
5615    public function setIsEbook($isEbook)
5616    {
5617      $this->isEbook = $isEbook;
5618    }
5619  
5620    public function getIsEbook()
5621    {
5622      return $this->isEbook;
5623    }
5624  
5625    public function setListPrice(Google_Service_Books_VolumeSaleInfoListPrice $listPrice)
5626    {
5627      $this->listPrice = $listPrice;
5628    }
5629  
5630    public function getListPrice()
5631    {
5632      return $this->listPrice;
5633    }
5634  
5635    public function setOffers($offers)
5636    {
5637      $this->offers = $offers;
5638    }
5639  
5640    public function getOffers()
5641    {
5642      return $this->offers;
5643    }
5644  
5645    public function setOnSaleDate($onSaleDate)
5646    {
5647      $this->onSaleDate = $onSaleDate;
5648    }
5649  
5650    public function getOnSaleDate()
5651    {
5652      return $this->onSaleDate;
5653    }
5654  
5655    public function setRetailPrice(Google_Service_Books_VolumeSaleInfoRetailPrice $retailPrice)
5656    {
5657      $this->retailPrice = $retailPrice;
5658    }
5659  
5660    public function getRetailPrice()
5661    {
5662      return $this->retailPrice;
5663    }
5664  
5665    public function setSaleability($saleability)
5666    {
5667      $this->saleability = $saleability;
5668    }
5669  
5670    public function getSaleability()
5671    {
5672      return $this->saleability;
5673    }
5674  }
5675  
5676  class Google_Service_Books_VolumeSaleInfoListPrice extends Google_Model
5677  {
5678    public $amount;
5679    public $currencyCode;
5680  
5681    public function setAmount($amount)
5682    {
5683      $this->amount = $amount;
5684    }
5685  
5686    public function getAmount()
5687    {
5688      return $this->amount;
5689    }
5690  
5691    public function setCurrencyCode($currencyCode)
5692    {
5693      $this->currencyCode = $currencyCode;
5694    }
5695  
5696    public function getCurrencyCode()
5697    {
5698      return $this->currencyCode;
5699    }
5700  }
5701  
5702  class Google_Service_Books_VolumeSaleInfoOffers extends Google_Model
5703  {
5704    public $finskyOfferType;
5705    protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoOffersListPrice';
5706    protected $listPriceDataType = '';
5707    protected $rentalDurationType = 'Google_Service_Books_VolumeSaleInfoOffersRentalDuration';
5708    protected $rentalDurationDataType = '';
5709    protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoOffersRetailPrice';
5710    protected $retailPriceDataType = '';
5711  
5712    public function setFinskyOfferType($finskyOfferType)
5713    {
5714      $this->finskyOfferType = $finskyOfferType;
5715    }
5716  
5717    public function getFinskyOfferType()
5718    {
5719      return $this->finskyOfferType;
5720    }
5721  
5722    public function setListPrice(Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice)
5723    {
5724      $this->listPrice = $listPrice;
5725    }
5726  
5727    public function getListPrice()
5728    {
5729      return $this->listPrice;
5730    }
5731  
5732    public function setRentalDuration(Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration)
5733    {
5734      $this->rentalDuration = $rentalDuration;
5735    }
5736  
5737    public function getRentalDuration()
5738    {
5739      return $this->rentalDuration;
5740    }
5741  
5742    public function setRetailPrice(Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice)
5743    {
5744      $this->retailPrice = $retailPrice;
5745    }
5746  
5747    public function getRetailPrice()
5748    {
5749      return $this->retailPrice;
5750    }
5751  }
5752  
5753  class Google_Service_Books_VolumeSaleInfoOffersListPrice extends Google_Model
5754  {
5755    public $amountInMicros;
5756    public $currencyCode;
5757  
5758    public function setAmountInMicros($amountInMicros)
5759    {
5760      $this->amountInMicros = $amountInMicros;
5761    }
5762  
5763    public function getAmountInMicros()
5764    {
5765      return $this->amountInMicros;
5766    }
5767  
5768    public function setCurrencyCode($currencyCode)
5769    {
5770      $this->currencyCode = $currencyCode;
5771    }
5772  
5773    public function getCurrencyCode()
5774    {
5775      return $this->currencyCode;
5776    }
5777  }
5778  
5779  class Google_Service_Books_VolumeSaleInfoOffersRentalDuration extends Google_Model
5780  {
5781    public $count;
5782    public $unit;
5783  
5784    public function setCount($count)
5785    {
5786      $this->count = $count;
5787    }
5788  
5789    public function getCount()
5790    {
5791      return $this->count;
5792    }
5793  
5794    public function setUnit($unit)
5795    {
5796      $this->unit = $unit;
5797    }
5798  
5799    public function getUnit()
5800    {
5801      return $this->unit;
5802    }
5803  }
5804  
5805  class Google_Service_Books_VolumeSaleInfoOffersRetailPrice extends Google_Model
5806  {
5807    public $amountInMicros;
5808    public $currencyCode;
5809  
5810    public function setAmountInMicros($amountInMicros)
5811    {
5812      $this->amountInMicros = $amountInMicros;
5813    }
5814  
5815    public function getAmountInMicros()
5816    {
5817      return $this->amountInMicros;
5818    }
5819  
5820    public function setCurrencyCode($currencyCode)
5821    {
5822      $this->currencyCode = $currencyCode;
5823    }
5824  
5825    public function getCurrencyCode()
5826    {
5827      return $this->currencyCode;
5828    }
5829  }
5830  
5831  class Google_Service_Books_VolumeSaleInfoRetailPrice extends Google_Model
5832  {
5833    public $amount;
5834    public $currencyCode;
5835  
5836    public function setAmount($amount)
5837    {
5838      $this->amount = $amount;
5839    }
5840  
5841    public function getAmount()
5842    {
5843      return $this->amount;
5844    }
5845  
5846    public function setCurrencyCode($currencyCode)
5847    {
5848      $this->currencyCode = $currencyCode;
5849    }
5850  
5851    public function getCurrencyCode()
5852    {
5853      return $this->currencyCode;
5854    }
5855  }
5856  
5857  class Google_Service_Books_VolumeSearchInfo extends Google_Model
5858  {
5859    public $textSnippet;
5860  
5861    public function setTextSnippet($textSnippet)
5862    {
5863      $this->textSnippet = $textSnippet;
5864    }
5865  
5866    public function getTextSnippet()
5867    {
5868      return $this->textSnippet;
5869    }
5870  }
5871  
5872  class Google_Service_Books_VolumeUserInfo extends Google_Model
5873  {
5874    protected $copyType = 'Google_Service_Books_VolumeUserInfoCopy';
5875    protected $copyDataType = '';
5876    public $isInMyBooks;
5877    public $isPreordered;
5878    public $isPurchased;
5879    public $isUploaded;
5880    protected $readingPositionType = 'Google_Service_Books_ReadingPosition';
5881    protected $readingPositionDataType = '';
5882    protected $rentalPeriodType = 'Google_Service_Books_VolumeUserInfoRentalPeriod';
5883    protected $rentalPeriodDataType = '';
5884    public $rentalState;
5885    protected $reviewType = 'Google_Service_Books_Review';
5886    protected $reviewDataType = '';
5887    public $updated;
5888    protected $userUploadedVolumeInfoType = 'Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo';
5889    protected $userUploadedVolumeInfoDataType = '';
5890  
5891    public function setCopy(Google_Service_Books_VolumeUserInfoCopy $copy)
5892    {
5893      $this->copy = $copy;
5894    }
5895  
5896    public function getCopy()
5897    {
5898      return $this->copy;
5899    }
5900  
5901    public function setIsInMyBooks($isInMyBooks)
5902    {
5903      $this->isInMyBooks = $isInMyBooks;
5904    }
5905  
5906    public function getIsInMyBooks()
5907    {
5908      return $this->isInMyBooks;
5909    }
5910  
5911    public function setIsPreordered($isPreordered)
5912    {
5913      $this->isPreordered = $isPreordered;
5914    }
5915  
5916    public function getIsPreordered()
5917    {
5918      return $this->isPreordered;
5919    }
5920  
5921    public function setIsPurchased($isPurchased)
5922    {
5923      $this->isPurchased = $isPurchased;
5924    }
5925  
5926    public function getIsPurchased()
5927    {
5928      return $this->isPurchased;
5929    }
5930  
5931    public function setIsUploaded($isUploaded)
5932    {
5933      $this->isUploaded = $isUploaded;
5934    }
5935  
5936    public function getIsUploaded()
5937    {
5938      return $this->isUploaded;
5939    }
5940  
5941    public function setReadingPosition(Google_Service_Books_ReadingPosition $readingPosition)
5942    {
5943      $this->readingPosition = $readingPosition;
5944    }
5945  
5946    public function getReadingPosition()
5947    {
5948      return $this->readingPosition;
5949    }
5950  
5951    public function setRentalPeriod(Google_Service_Books_VolumeUserInfoRentalPeriod $rentalPeriod)
5952    {
5953      $this->rentalPeriod = $rentalPeriod;
5954    }
5955  
5956    public function getRentalPeriod()
5957    {
5958      return $this->rentalPeriod;
5959    }
5960  
5961    public function setRentalState($rentalState)
5962    {
5963      $this->rentalState = $rentalState;
5964    }
5965  
5966    public function getRentalState()
5967    {
5968      return $this->rentalState;
5969    }
5970  
5971    public function setReview(Google_Service_Books_Review $review)
5972    {
5973      $this->review = $review;
5974    }
5975  
5976    public function getReview()
5977    {
5978      return $this->review;
5979    }
5980  
5981    public function setUpdated($updated)
5982    {
5983      $this->updated = $updated;
5984    }
5985  
5986    public function getUpdated()
5987    {
5988      return $this->updated;
5989    }
5990  
5991    public function setUserUploadedVolumeInfo(Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo)
5992    {
5993      $this->userUploadedVolumeInfo = $userUploadedVolumeInfo;
5994    }
5995  
5996    public function getUserUploadedVolumeInfo()
5997    {
5998      return $this->userUploadedVolumeInfo;
5999    }
6000  }
6001  
6002  class Google_Service_Books_VolumeUserInfoCopy extends Google_Model
6003  {
6004    public $allowedCharacterCount;
6005    public $limitType;
6006    public $remainingCharacterCount;
6007    public $updated;
6008  
6009    public function setAllowedCharacterCount($allowedCharacterCount)
6010    {
6011      $this->allowedCharacterCount = $allowedCharacterCount;
6012    }
6013  
6014    public function getAllowedCharacterCount()
6015    {
6016      return $this->allowedCharacterCount;
6017    }
6018  
6019    public function setLimitType($limitType)
6020    {
6021      $this->limitType = $limitType;
6022    }
6023  
6024    public function getLimitType()
6025    {
6026      return $this->limitType;
6027    }
6028  
6029    public function setRemainingCharacterCount($remainingCharacterCount)
6030    {
6031      $this->remainingCharacterCount = $remainingCharacterCount;
6032    }
6033  
6034    public function getRemainingCharacterCount()
6035    {
6036      return $this->remainingCharacterCount;
6037    }
6038  
6039    public function setUpdated($updated)
6040    {
6041      $this->updated = $updated;
6042    }
6043  
6044    public function getUpdated()
6045    {
6046      return $this->updated;
6047    }
6048  }
6049  
6050  class Google_Service_Books_VolumeUserInfoRentalPeriod extends Google_Model
6051  {
6052    public $endUtcSec;
6053    public $startUtcSec;
6054  
6055    public function setEndUtcSec($endUtcSec)
6056    {
6057      $this->endUtcSec = $endUtcSec;
6058    }
6059  
6060    public function getEndUtcSec()
6061    {
6062      return $this->endUtcSec;
6063    }
6064  
6065    public function setStartUtcSec($startUtcSec)
6066    {
6067      $this->startUtcSec = $startUtcSec;
6068    }
6069  
6070    public function getStartUtcSec()
6071    {
6072      return $this->startUtcSec;
6073    }
6074  }
6075  
6076  class Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo extends Google_Model
6077  {
6078    public $processingState;
6079  
6080    public function setProcessingState($processingState)
6081    {
6082      $this->processingState = $processingState;
6083    }
6084  
6085    public function getProcessingState()
6086    {
6087      return $this->processingState;
6088    }
6089  }
6090  
6091  class Google_Service_Books_VolumeVolumeInfo extends Google_Collection
6092  {
6093    protected $collection_key = 'industryIdentifiers';
6094    public $authors;
6095    public $averageRating;
6096    public $canonicalVolumeLink;
6097    public $categories;
6098    public $contentVersion;
6099    public $description;
6100    protected $dimensionsType = 'Google_Service_Books_VolumeVolumeInfoDimensions';
6101    protected $dimensionsDataType = '';
6102    protected $imageLinksType = 'Google_Service_Books_VolumeVolumeInfoImageLinks';
6103    protected $imageLinksDataType = '';
6104    protected $industryIdentifiersType = 'Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers';
6105    protected $industryIdentifiersDataType = 'array';
6106    public $infoLink;
6107    public $language;
6108    public $mainCategory;
6109    public $pageCount;
6110    public $previewLink;
6111    public $printType;
6112    public $printedPageCount;
6113    public $publishedDate;
6114    public $publisher;
6115    public $ratingsCount;
6116    public $readingModes;
6117    public $subtitle;
6118    public $title;
6119  
6120    public function setAuthors($authors)
6121    {
6122      $this->authors = $authors;
6123    }
6124  
6125    public function getAuthors()
6126    {
6127      return $this->authors;
6128    }
6129  
6130    public function setAverageRating($averageRating)
6131    {
6132      $this->averageRating = $averageRating;
6133    }
6134  
6135    public function getAverageRating()
6136    {
6137      return $this->averageRating;
6138    }
6139  
6140    public function setCanonicalVolumeLink($canonicalVolumeLink)
6141    {
6142      $this->canonicalVolumeLink = $canonicalVolumeLink;
6143    }
6144  
6145    public function getCanonicalVolumeLink()
6146    {
6147      return $this->canonicalVolumeLink;
6148    }
6149  
6150    public function setCategories($categories)
6151    {
6152      $this->categories = $categories;
6153    }
6154  
6155    public function getCategories()
6156    {
6157      return $this->categories;
6158    }
6159  
6160    public function setContentVersion($contentVersion)
6161    {
6162      $this->contentVersion = $contentVersion;
6163    }
6164  
6165    public function getContentVersion()
6166    {
6167      return $this->contentVersion;
6168    }
6169  
6170    public function setDescription($description)
6171    {
6172      $this->description = $description;
6173    }
6174  
6175    public function getDescription()
6176    {
6177      return $this->description;
6178    }
6179  
6180    public function setDimensions(Google_Service_Books_VolumeVolumeInfoDimensions $dimensions)
6181    {
6182      $this->dimensions = $dimensions;
6183    }
6184  
6185    public function getDimensions()
6186    {
6187      return $this->dimensions;
6188    }
6189  
6190    public function setImageLinks(Google_Service_Books_VolumeVolumeInfoImageLinks $imageLinks)
6191    {
6192      $this->imageLinks = $imageLinks;
6193    }
6194  
6195    public function getImageLinks()
6196    {
6197      return $this->imageLinks;
6198    }
6199  
6200    public function setIndustryIdentifiers($industryIdentifiers)
6201    {
6202      $this->industryIdentifiers = $industryIdentifiers;
6203    }
6204  
6205    public function getIndustryIdentifiers()
6206    {
6207      return $this->industryIdentifiers;
6208    }
6209  
6210    public function setInfoLink($infoLink)
6211    {
6212      $this->infoLink = $infoLink;
6213    }
6214  
6215    public function getInfoLink()
6216    {
6217      return $this->infoLink;
6218    }
6219  
6220    public function setLanguage($language)
6221    {
6222      $this->language = $language;
6223    }
6224  
6225    public function getLanguage()
6226    {
6227      return $this->language;
6228    }
6229  
6230    public function setMainCategory($mainCategory)
6231    {
6232      $this->mainCategory = $mainCategory;
6233    }
6234  
6235    public function getMainCategory()
6236    {
6237      return $this->mainCategory;
6238    }
6239  
6240    public function setPageCount($pageCount)
6241    {
6242      $this->pageCount = $pageCount;
6243    }
6244  
6245    public function getPageCount()
6246    {
6247      return $this->pageCount;
6248    }
6249  
6250    public function setPreviewLink($previewLink)
6251    {
6252      $this->previewLink = $previewLink;
6253    }
6254  
6255    public function getPreviewLink()
6256    {
6257      return $this->previewLink;
6258    }
6259  
6260    public function setPrintType($printType)
6261    {
6262      $this->printType = $printType;
6263    }
6264  
6265    public function getPrintType()
6266    {
6267      return $this->printType;
6268    }
6269  
6270    public function setPrintedPageCount($printedPageCount)
6271    {
6272      $this->printedPageCount = $printedPageCount;
6273    }
6274  
6275    public function getPrintedPageCount()
6276    {
6277      return $this->printedPageCount;
6278    }
6279  
6280    public function setPublishedDate($publishedDate)
6281    {
6282      $this->publishedDate = $publishedDate;
6283    }
6284  
6285    public function getPublishedDate()
6286    {
6287      return $this->publishedDate;
6288    }
6289  
6290    public function setPublisher($publisher)
6291    {
6292      $this->publisher = $publisher;
6293    }
6294  
6295    public function getPublisher()
6296    {
6297      return $this->publisher;
6298    }
6299  
6300    public function setRatingsCount($ratingsCount)
6301    {
6302      $this->ratingsCount = $ratingsCount;
6303    }
6304  
6305    public function getRatingsCount()
6306    {
6307      return $this->ratingsCount;
6308    }
6309  
6310    public function setReadingModes($readingModes)
6311    {
6312      $this->readingModes = $readingModes;
6313    }
6314  
6315    public function getReadingModes()
6316    {
6317      return $this->readingModes;
6318    }
6319  
6320    public function setSubtitle($subtitle)
6321    {
6322      $this->subtitle = $subtitle;
6323    }
6324  
6325    public function getSubtitle()
6326    {
6327      return $this->subtitle;
6328    }
6329  
6330    public function setTitle($title)
6331    {
6332      $this->title = $title;
6333    }
6334  
6335    public function getTitle()
6336    {
6337      return $this->title;
6338    }
6339  }
6340  
6341  class Google_Service_Books_VolumeVolumeInfoDimensions extends Google_Model
6342  {
6343    public $height;
6344    public $thickness;
6345    public $width;
6346  
6347    public function setHeight($height)
6348    {
6349      $this->height = $height;
6350    }
6351  
6352    public function getHeight()
6353    {
6354      return $this->height;
6355    }
6356  
6357    public function setThickness($thickness)
6358    {
6359      $this->thickness = $thickness;
6360    }
6361  
6362    public function getThickness()
6363    {
6364      return $this->thickness;
6365    }
6366  
6367    public function setWidth($width)
6368    {
6369      $this->width = $width;
6370    }
6371  
6372    public function getWidth()
6373    {
6374      return $this->width;
6375    }
6376  }
6377  
6378  class Google_Service_Books_VolumeVolumeInfoImageLinks extends Google_Model
6379  {
6380    public $extraLarge;
6381    public $large;
6382    public $medium;
6383    public $small;
6384    public $smallThumbnail;
6385    public $thumbnail;
6386  
6387    public function setExtraLarge($extraLarge)
6388    {
6389      $this->extraLarge = $extraLarge;
6390    }
6391  
6392    public function getExtraLarge()
6393    {
6394      return $this->extraLarge;
6395    }
6396  
6397    public function setLarge($large)
6398    {
6399      $this->large = $large;
6400    }
6401  
6402    public function getLarge()
6403    {
6404      return $this->large;
6405    }
6406  
6407    public function setMedium($medium)
6408    {
6409      $this->medium = $medium;
6410    }
6411  
6412    public function getMedium()
6413    {
6414      return $this->medium;
6415    }
6416  
6417    public function setSmall($small)
6418    {
6419      $this->small = $small;
6420    }
6421  
6422    public function getSmall()
6423    {
6424      return $this->small;
6425    }
6426  
6427    public function setSmallThumbnail($smallThumbnail)
6428    {
6429      $this->smallThumbnail = $smallThumbnail;
6430    }
6431  
6432    public function getSmallThumbnail()
6433    {
6434      return $this->smallThumbnail;
6435    }
6436  
6437    public function setThumbnail($thumbnail)
6438    {
6439      $this->thumbnail = $thumbnail;
6440    }
6441  
6442    public function getThumbnail()
6443    {
6444      return $this->thumbnail;
6445    }
6446  }
6447  
6448  class Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers extends Google_Model
6449  {
6450    public $identifier;
6451    public $type;
6452  
6453    public function setIdentifier($identifier)
6454    {
6455      $this->identifier = $identifier;
6456    }
6457  
6458    public function getIdentifier()
6459    {
6460      return $this->identifier;
6461    }
6462  
6463    public function setType($type)
6464    {
6465      $this->type = $type;
6466    }
6467  
6468    public function getType()
6469    {
6470      return $this->type;
6471    }
6472  }
6473  
6474  class Google_Service_Books_Volumeannotation extends Google_Collection
6475  {
6476    protected $collection_key = 'pageIds';
6477    public $annotationDataId;
6478    public $annotationDataLink;
6479    public $annotationType;
6480    protected $contentRangesType = 'Google_Service_Books_VolumeannotationContentRanges';
6481    protected $contentRangesDataType = '';
6482    public $data;
6483    public $deleted;
6484    public $id;
6485    public $kind;
6486    public $layerId;
6487    public $pageIds;
6488    public $selectedText;
6489    public $selfLink;
6490    public $updated;
6491    public $volumeId;
6492  
6493    public function setAnnotationDataId($annotationDataId)
6494    {
6495      $this->annotationDataId = $annotationDataId;
6496    }
6497  
6498    public function getAnnotationDataId()
6499    {
6500      return $this->annotationDataId;
6501    }
6502  
6503    public function setAnnotationDataLink($annotationDataLink)
6504    {
6505      $this->annotationDataLink = $annotationDataLink;
6506    }
6507  
6508    public function getAnnotationDataLink()
6509    {
6510      return $this->annotationDataLink;
6511    }
6512  
6513    public function setAnnotationType($annotationType)
6514    {
6515      $this->annotationType = $annotationType;
6516    }
6517  
6518    public function getAnnotationType()
6519    {
6520      return $this->annotationType;
6521    }
6522  
6523    public function setContentRanges(Google_Service_Books_VolumeannotationContentRanges $contentRanges)
6524    {
6525      $this->contentRanges = $contentRanges;
6526    }
6527  
6528    public function getContentRanges()
6529    {
6530      return $this->contentRanges;
6531    }
6532  
6533    public function setData($data)
6534    {
6535      $this->data = $data;
6536    }
6537  
6538    public function getData()
6539    {
6540      return $this->data;
6541    }
6542  
6543    public function setDeleted($deleted)
6544    {
6545      $this->deleted = $deleted;
6546    }
6547  
6548    public function getDeleted()
6549    {
6550      return $this->deleted;
6551    }
6552  
6553    public function setId($id)
6554    {
6555      $this->id = $id;
6556    }
6557  
6558    public function getId()
6559    {
6560      return $this->id;
6561    }
6562  
6563    public function setKind($kind)
6564    {
6565      $this->kind = $kind;
6566    }
6567  
6568    public function getKind()
6569    {
6570      return $this->kind;
6571    }
6572  
6573    public function setLayerId($layerId)
6574    {
6575      $this->layerId = $layerId;
6576    }
6577  
6578    public function getLayerId()
6579    {
6580      return $this->layerId;
6581    }
6582  
6583    public function setPageIds($pageIds)
6584    {
6585      $this->pageIds = $pageIds;
6586    }
6587  
6588    public function getPageIds()
6589    {
6590      return $this->pageIds;
6591    }
6592  
6593    public function setSelectedText($selectedText)
6594    {
6595      $this->selectedText = $selectedText;
6596    }
6597  
6598    public function getSelectedText()
6599    {
6600      return $this->selectedText;
6601    }
6602  
6603    public function setSelfLink($selfLink)
6604    {
6605      $this->selfLink = $selfLink;
6606    }
6607  
6608    public function getSelfLink()
6609    {
6610      return $this->selfLink;
6611    }
6612  
6613    public function setUpdated($updated)
6614    {
6615      $this->updated = $updated;
6616    }
6617  
6618    public function getUpdated()
6619    {
6620      return $this->updated;
6621    }
6622  
6623    public function setVolumeId($volumeId)
6624    {
6625      $this->volumeId = $volumeId;
6626    }
6627  
6628    public function getVolumeId()
6629    {
6630      return $this->volumeId;
6631    }
6632  }
6633  
6634  class Google_Service_Books_VolumeannotationContentRanges extends Google_Model
6635  {
6636    protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
6637    protected $cfiRangeDataType = '';
6638    public $contentVersion;
6639    protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
6640    protected $gbImageRangeDataType = '';
6641    protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
6642    protected $gbTextRangeDataType = '';
6643  
6644    public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
6645    {
6646      $this->cfiRange = $cfiRange;
6647    }
6648  
6649    public function getCfiRange()
6650    {
6651      return $this->cfiRange;
6652    }
6653  
6654    public function setContentVersion($contentVersion)
6655    {
6656      $this->contentVersion = $contentVersion;
6657    }
6658  
6659    public function getContentVersion()
6660    {
6661      return $this->contentVersion;
6662    }
6663  
6664    public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
6665    {
6666      $this->gbImageRange = $gbImageRange;
6667    }
6668  
6669    public function getGbImageRange()
6670    {
6671      return $this->gbImageRange;
6672    }
6673  
6674    public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
6675    {
6676      $this->gbTextRange = $gbTextRange;
6677    }
6678  
6679    public function getGbTextRange()
6680    {
6681      return $this->gbTextRange;
6682    }
6683  }
6684  
6685  class Google_Service_Books_Volumeannotations extends Google_Collection
6686  {
6687    protected $collection_key = 'items';
6688    protected $itemsType = 'Google_Service_Books_Volumeannotation';
6689    protected $itemsDataType = 'array';
6690    public $kind;
6691    public $nextPageToken;
6692    public $totalItems;
6693    public $version;
6694  
6695    public function setItems($items)
6696    {
6697      $this->items = $items;
6698    }
6699  
6700    public function getItems()
6701    {
6702      return $this->items;
6703    }
6704  
6705    public function setKind($kind)
6706    {
6707      $this->kind = $kind;
6708    }
6709  
6710    public function getKind()
6711    {
6712      return $this->kind;
6713    }
6714  
6715    public function setNextPageToken($nextPageToken)
6716    {
6717      $this->nextPageToken = $nextPageToken;
6718    }
6719  
6720    public function getNextPageToken()
6721    {
6722      return $this->nextPageToken;
6723    }
6724  
6725    public function setTotalItems($totalItems)
6726    {
6727      $this->totalItems = $totalItems;
6728    }
6729  
6730    public function getTotalItems()
6731    {
6732      return $this->totalItems;
6733    }
6734  
6735    public function setVersion($version)
6736    {
6737      $this->version = $version;
6738    }
6739  
6740    public function getVersion()
6741    {
6742      return $this->version;
6743    }
6744  }
6745  
6746  class Google_Service_Books_Volumes extends Google_Collection
6747  {
6748    protected $collection_key = 'items';
6749    protected $itemsType = 'Google_Service_Books_Volume';
6750    protected $itemsDataType = 'array';
6751    public $kind;
6752    public $totalItems;
6753  
6754    public function setItems($items)
6755    {
6756      $this->items = $items;
6757    }
6758  
6759    public function getItems()
6760    {
6761      return $this->items;
6762    }
6763  
6764    public function setKind($kind)
6765    {
6766      $this->kind = $kind;
6767    }
6768  
6769    public function getKind()
6770    {
6771      return $this->kind;
6772    }
6773  
6774    public function setTotalItems($totalItems)
6775    {
6776      $this->totalItems = $totalItems;
6777    }
6778  
6779    public function getTotalItems()
6780    {
6781      return $this->totalItems;
6782    }
6783  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1