PageRenderTime 69ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/lib/google/src/Google/Service/Books.php

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