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