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 |
|
---|
18 | namespace Google\Service\PolyService;
|
---|
19 |
|
---|
20 | class Asset extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'formats';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $authorName;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $createTime;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $description;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $displayName;
|
---|
39 | /**
|
---|
40 | * @var Format[]
|
---|
41 | */
|
---|
42 | public $formats;
|
---|
43 | protected $formatsType = Format::class;
|
---|
44 | protected $formatsDataType = 'array';
|
---|
45 | /**
|
---|
46 | * @var bool
|
---|
47 | */
|
---|
48 | public $isCurated;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $license;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $metadata;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $name;
|
---|
61 | /**
|
---|
62 | * @var PresentationParams
|
---|
63 | */
|
---|
64 | public $presentationParams;
|
---|
65 | protected $presentationParamsType = PresentationParams::class;
|
---|
66 | protected $presentationParamsDataType = '';
|
---|
67 | /**
|
---|
68 | * @var RemixInfo
|
---|
69 | */
|
---|
70 | public $remixInfo;
|
---|
71 | protected $remixInfoType = RemixInfo::class;
|
---|
72 | protected $remixInfoDataType = '';
|
---|
73 | /**
|
---|
74 | * @var PolyFile
|
---|
75 | */
|
---|
76 | public $thumbnail;
|
---|
77 | protected $thumbnailType = PolyFile::class;
|
---|
78 | protected $thumbnailDataType = '';
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $updateTime;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $visibility;
|
---|
87 |
|
---|
88 | /**
|
---|
89 | * @param string
|
---|
90 | */
|
---|
91 | public function setAuthorName($authorName)
|
---|
92 | {
|
---|
93 | $this->authorName = $authorName;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @return string
|
---|
97 | */
|
---|
98 | public function getAuthorName()
|
---|
99 | {
|
---|
100 | return $this->authorName;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @param string
|
---|
104 | */
|
---|
105 | public function setCreateTime($createTime)
|
---|
106 | {
|
---|
107 | $this->createTime = $createTime;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @return string
|
---|
111 | */
|
---|
112 | public function getCreateTime()
|
---|
113 | {
|
---|
114 | return $this->createTime;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @param string
|
---|
118 | */
|
---|
119 | public function setDescription($description)
|
---|
120 | {
|
---|
121 | $this->description = $description;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @return string
|
---|
125 | */
|
---|
126 | public function getDescription()
|
---|
127 | {
|
---|
128 | return $this->description;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @param string
|
---|
132 | */
|
---|
133 | public function setDisplayName($displayName)
|
---|
134 | {
|
---|
135 | $this->displayName = $displayName;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @return string
|
---|
139 | */
|
---|
140 | public function getDisplayName()
|
---|
141 | {
|
---|
142 | return $this->displayName;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @param Format[]
|
---|
146 | */
|
---|
147 | public function setFormats($formats)
|
---|
148 | {
|
---|
149 | $this->formats = $formats;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @return Format[]
|
---|
153 | */
|
---|
154 | public function getFormats()
|
---|
155 | {
|
---|
156 | return $this->formats;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @param bool
|
---|
160 | */
|
---|
161 | public function setIsCurated($isCurated)
|
---|
162 | {
|
---|
163 | $this->isCurated = $isCurated;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @return bool
|
---|
167 | */
|
---|
168 | public function getIsCurated()
|
---|
169 | {
|
---|
170 | return $this->isCurated;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @param string
|
---|
174 | */
|
---|
175 | public function setLicense($license)
|
---|
176 | {
|
---|
177 | $this->license = $license;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @return string
|
---|
181 | */
|
---|
182 | public function getLicense()
|
---|
183 | {
|
---|
184 | return $this->license;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @param string
|
---|
188 | */
|
---|
189 | public function setMetadata($metadata)
|
---|
190 | {
|
---|
191 | $this->metadata = $metadata;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @return string
|
---|
195 | */
|
---|
196 | public function getMetadata()
|
---|
197 | {
|
---|
198 | return $this->metadata;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @param string
|
---|
202 | */
|
---|
203 | public function setName($name)
|
---|
204 | {
|
---|
205 | $this->name = $name;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @return string
|
---|
209 | */
|
---|
210 | public function getName()
|
---|
211 | {
|
---|
212 | return $this->name;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @param PresentationParams
|
---|
216 | */
|
---|
217 | public function setPresentationParams(PresentationParams $presentationParams)
|
---|
218 | {
|
---|
219 | $this->presentationParams = $presentationParams;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @return PresentationParams
|
---|
223 | */
|
---|
224 | public function getPresentationParams()
|
---|
225 | {
|
---|
226 | return $this->presentationParams;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @param RemixInfo
|
---|
230 | */
|
---|
231 | public function setRemixInfo(RemixInfo $remixInfo)
|
---|
232 | {
|
---|
233 | $this->remixInfo = $remixInfo;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @return RemixInfo
|
---|
237 | */
|
---|
238 | public function getRemixInfo()
|
---|
239 | {
|
---|
240 | return $this->remixInfo;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @param PolyFile
|
---|
244 | */
|
---|
245 | public function setThumbnail(PolyFile $thumbnail)
|
---|
246 | {
|
---|
247 | $this->thumbnail = $thumbnail;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @return PolyFile
|
---|
251 | */
|
---|
252 | public function getThumbnail()
|
---|
253 | {
|
---|
254 | return $this->thumbnail;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @param string
|
---|
258 | */
|
---|
259 | public function setUpdateTime($updateTime)
|
---|
260 | {
|
---|
261 | $this->updateTime = $updateTime;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @return string
|
---|
265 | */
|
---|
266 | public function getUpdateTime()
|
---|
267 | {
|
---|
268 | return $this->updateTime;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @param string
|
---|
272 | */
|
---|
273 | public function setVisibility($visibility)
|
---|
274 | {
|
---|
275 | $this->visibility = $visibility;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @return string
|
---|
279 | */
|
---|
280 | public function getVisibility()
|
---|
281 | {
|
---|
282 | return $this->visibility;
|
---|
283 | }
|
---|
284 | }
|
---|
285 |
|
---|
286 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
287 | class_alias(Asset::class, 'Google_Service_PolyService_Asset');
|
---|