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