source: vendor/google/apiclient-services/src/Books/VolumeAccessInfo.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 10 days ago

Upload project files

  • Property mode set to 100644
File size: 5.3 KB
Line 
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
18namespace Google\Service\Books;
19
20class VolumeAccessInfo extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $accessViewStatus;
26 /**
27 * @var string
28 */
29 public $country;
30 protected $downloadAccessType = DownloadAccessRestriction::class;
31 protected $downloadAccessDataType = '';
32 /**
33 * @var string
34 */
35 public $driveImportedContentLink;
36 /**
37 * @var bool
38 */
39 public $embeddable;
40 protected $epubType = VolumeAccessInfoEpub::class;
41 protected $epubDataType = '';
42 /**
43 * @var bool
44 */
45 public $explicitOfflineLicenseManagement;
46 protected $pdfType = VolumeAccessInfoPdf::class;
47 protected $pdfDataType = '';
48 /**
49 * @var bool
50 */
51 public $publicDomain;
52 /**
53 * @var bool
54 */
55 public $quoteSharingAllowed;
56 /**
57 * @var string
58 */
59 public $textToSpeechPermission;
60 /**
61 * @var string
62 */
63 public $viewOrderUrl;
64 /**
65 * @var string
66 */
67 public $viewability;
68 /**
69 * @var string
70 */
71 public $webReaderLink;
72
73 /**
74 * @param string
75 */
76 public function setAccessViewStatus($accessViewStatus)
77 {
78 $this->accessViewStatus = $accessViewStatus;
79 }
80 /**
81 * @return string
82 */
83 public function getAccessViewStatus()
84 {
85 return $this->accessViewStatus;
86 }
87 /**
88 * @param string
89 */
90 public function setCountry($country)
91 {
92 $this->country = $country;
93 }
94 /**
95 * @return string
96 */
97 public function getCountry()
98 {
99 return $this->country;
100 }
101 /**
102 * @param DownloadAccessRestriction
103 */
104 public function setDownloadAccess(DownloadAccessRestriction $downloadAccess)
105 {
106 $this->downloadAccess = $downloadAccess;
107 }
108 /**
109 * @return DownloadAccessRestriction
110 */
111 public function getDownloadAccess()
112 {
113 return $this->downloadAccess;
114 }
115 /**
116 * @param string
117 */
118 public function setDriveImportedContentLink($driveImportedContentLink)
119 {
120 $this->driveImportedContentLink = $driveImportedContentLink;
121 }
122 /**
123 * @return string
124 */
125 public function getDriveImportedContentLink()
126 {
127 return $this->driveImportedContentLink;
128 }
129 /**
130 * @param bool
131 */
132 public function setEmbeddable($embeddable)
133 {
134 $this->embeddable = $embeddable;
135 }
136 /**
137 * @return bool
138 */
139 public function getEmbeddable()
140 {
141 return $this->embeddable;
142 }
143 /**
144 * @param VolumeAccessInfoEpub
145 */
146 public function setEpub(VolumeAccessInfoEpub $epub)
147 {
148 $this->epub = $epub;
149 }
150 /**
151 * @return VolumeAccessInfoEpub
152 */
153 public function getEpub()
154 {
155 return $this->epub;
156 }
157 /**
158 * @param bool
159 */
160 public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
161 {
162 $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
163 }
164 /**
165 * @return bool
166 */
167 public function getExplicitOfflineLicenseManagement()
168 {
169 return $this->explicitOfflineLicenseManagement;
170 }
171 /**
172 * @param VolumeAccessInfoPdf
173 */
174 public function setPdf(VolumeAccessInfoPdf $pdf)
175 {
176 $this->pdf = $pdf;
177 }
178 /**
179 * @return VolumeAccessInfoPdf
180 */
181 public function getPdf()
182 {
183 return $this->pdf;
184 }
185 /**
186 * @param bool
187 */
188 public function setPublicDomain($publicDomain)
189 {
190 $this->publicDomain = $publicDomain;
191 }
192 /**
193 * @return bool
194 */
195 public function getPublicDomain()
196 {
197 return $this->publicDomain;
198 }
199 /**
200 * @param bool
201 */
202 public function setQuoteSharingAllowed($quoteSharingAllowed)
203 {
204 $this->quoteSharingAllowed = $quoteSharingAllowed;
205 }
206 /**
207 * @return bool
208 */
209 public function getQuoteSharingAllowed()
210 {
211 return $this->quoteSharingAllowed;
212 }
213 /**
214 * @param string
215 */
216 public function setTextToSpeechPermission($textToSpeechPermission)
217 {
218 $this->textToSpeechPermission = $textToSpeechPermission;
219 }
220 /**
221 * @return string
222 */
223 public function getTextToSpeechPermission()
224 {
225 return $this->textToSpeechPermission;
226 }
227 /**
228 * @param string
229 */
230 public function setViewOrderUrl($viewOrderUrl)
231 {
232 $this->viewOrderUrl = $viewOrderUrl;
233 }
234 /**
235 * @return string
236 */
237 public function getViewOrderUrl()
238 {
239 return $this->viewOrderUrl;
240 }
241 /**
242 * @param string
243 */
244 public function setViewability($viewability)
245 {
246 $this->viewability = $viewability;
247 }
248 /**
249 * @return string
250 */
251 public function getViewability()
252 {
253 return $this->viewability;
254 }
255 /**
256 * @param string
257 */
258 public function setWebReaderLink($webReaderLink)
259 {
260 $this->webReaderLink = $webReaderLink;
261 }
262 /**
263 * @return string
264 */
265 public function getWebReaderLink()
266 {
267 return $this->webReaderLink;
268 }
269}
270
271// Adding a class alias for backwards compatibility with the previous class name.
272class_alias(VolumeAccessInfo::class, 'Google_Service_Books_VolumeAccessInfo');
Note: See TracBrowser for help on using the repository browser.