暫無描述

VolumeAccessInfo.php 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?php
  2. /*
  3. * Copyright 2014 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. class Google_Service_Books_VolumeAccessInfo extends Google_Model
  18. {
  19. public $accessViewStatus;
  20. public $country;
  21. protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
  22. protected $downloadAccessDataType = '';
  23. public $driveImportedContentLink;
  24. public $embeddable;
  25. protected $epubType = 'Google_Service_Books_VolumeAccessInfoEpub';
  26. protected $epubDataType = '';
  27. public $explicitOfflineLicenseManagement;
  28. protected $pdfType = 'Google_Service_Books_VolumeAccessInfoPdf';
  29. protected $pdfDataType = '';
  30. public $publicDomain;
  31. public $quoteSharingAllowed;
  32. public $textToSpeechPermission;
  33. public $viewOrderUrl;
  34. public $viewability;
  35. public $webReaderLink;
  36. public function setAccessViewStatus($accessViewStatus)
  37. {
  38. $this->accessViewStatus = $accessViewStatus;
  39. }
  40. public function getAccessViewStatus()
  41. {
  42. return $this->accessViewStatus;
  43. }
  44. public function setCountry($country)
  45. {
  46. $this->country = $country;
  47. }
  48. public function getCountry()
  49. {
  50. return $this->country;
  51. }
  52. /**
  53. * @param Google_Service_Books_DownloadAccessRestriction
  54. */
  55. public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
  56. {
  57. $this->downloadAccess = $downloadAccess;
  58. }
  59. /**
  60. * @return Google_Service_Books_DownloadAccessRestriction
  61. */
  62. public function getDownloadAccess()
  63. {
  64. return $this->downloadAccess;
  65. }
  66. public function setDriveImportedContentLink($driveImportedContentLink)
  67. {
  68. $this->driveImportedContentLink = $driveImportedContentLink;
  69. }
  70. public function getDriveImportedContentLink()
  71. {
  72. return $this->driveImportedContentLink;
  73. }
  74. public function setEmbeddable($embeddable)
  75. {
  76. $this->embeddable = $embeddable;
  77. }
  78. public function getEmbeddable()
  79. {
  80. return $this->embeddable;
  81. }
  82. /**
  83. * @param Google_Service_Books_VolumeAccessInfoEpub
  84. */
  85. public function setEpub(Google_Service_Books_VolumeAccessInfoEpub $epub)
  86. {
  87. $this->epub = $epub;
  88. }
  89. /**
  90. * @return Google_Service_Books_VolumeAccessInfoEpub
  91. */
  92. public function getEpub()
  93. {
  94. return $this->epub;
  95. }
  96. public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
  97. {
  98. $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
  99. }
  100. public function getExplicitOfflineLicenseManagement()
  101. {
  102. return $this->explicitOfflineLicenseManagement;
  103. }
  104. /**
  105. * @param Google_Service_Books_VolumeAccessInfoPdf
  106. */
  107. public function setPdf(Google_Service_Books_VolumeAccessInfoPdf $pdf)
  108. {
  109. $this->pdf = $pdf;
  110. }
  111. /**
  112. * @return Google_Service_Books_VolumeAccessInfoPdf
  113. */
  114. public function getPdf()
  115. {
  116. return $this->pdf;
  117. }
  118. public function setPublicDomain($publicDomain)
  119. {
  120. $this->publicDomain = $publicDomain;
  121. }
  122. public function getPublicDomain()
  123. {
  124. return $this->publicDomain;
  125. }
  126. public function setQuoteSharingAllowed($quoteSharingAllowed)
  127. {
  128. $this->quoteSharingAllowed = $quoteSharingAllowed;
  129. }
  130. public function getQuoteSharingAllowed()
  131. {
  132. return $this->quoteSharingAllowed;
  133. }
  134. public function setTextToSpeechPermission($textToSpeechPermission)
  135. {
  136. $this->textToSpeechPermission = $textToSpeechPermission;
  137. }
  138. public function getTextToSpeechPermission()
  139. {
  140. return $this->textToSpeechPermission;
  141. }
  142. public function setViewOrderUrl($viewOrderUrl)
  143. {
  144. $this->viewOrderUrl = $viewOrderUrl;
  145. }
  146. public function getViewOrderUrl()
  147. {
  148. return $this->viewOrderUrl;
  149. }
  150. public function setViewability($viewability)
  151. {
  152. $this->viewability = $viewability;
  153. }
  154. public function getViewability()
  155. {
  156. return $this->viewability;
  157. }
  158. public function setWebReaderLink($webReaderLink)
  159. {
  160. $this->webReaderLink = $webReaderLink;
  161. }
  162. public function getWebReaderLink()
  163. {
  164. return $this->webReaderLink;
  165. }
  166. }