/includes/api-libs/Google/Service/Books.php

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