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\YouTube;
19
20class Video extends \Google\Model
21{
22  protected $ageGatingType = VideoAgeGating::class;
23  protected $ageGatingDataType = '';
24  protected $contentDetailsType = VideoContentDetails::class;
25  protected $contentDetailsDataType = '';
26  /**
27   * @var string
28   */
29  public $etag;
30  protected $fileDetailsType = VideoFileDetails::class;
31  protected $fileDetailsDataType = '';
32  /**
33   * @var string
34   */
35  public $id;
36  /**
37   * @var string
38   */
39  public $kind;
40  protected $liveStreamingDetailsType = VideoLiveStreamingDetails::class;
41  protected $liveStreamingDetailsDataType = '';
42  protected $localizationsType = VideoLocalization::class;
43  protected $localizationsDataType = 'map';
44  protected $monetizationDetailsType = VideoMonetizationDetails::class;
45  protected $monetizationDetailsDataType = '';
46  protected $playerType = VideoPlayer::class;
47  protected $playerDataType = '';
48  protected $processingDetailsType = VideoProcessingDetails::class;
49  protected $processingDetailsDataType = '';
50  protected $projectDetailsType = VideoProjectDetails::class;
51  protected $projectDetailsDataType = '';
52  protected $recordingDetailsType = VideoRecordingDetails::class;
53  protected $recordingDetailsDataType = '';
54  protected $snippetType = VideoSnippet::class;
55  protected $snippetDataType = '';
56  protected $statisticsType = VideoStatistics::class;
57  protected $statisticsDataType = '';
58  protected $statusType = VideoStatus::class;
59  protected $statusDataType = '';
60  protected $suggestionsType = VideoSuggestions::class;
61  protected $suggestionsDataType = '';
62  protected $topicDetailsType = VideoTopicDetails::class;
63  protected $topicDetailsDataType = '';
64
65  /**
66   * @param VideoAgeGating
67   */
68  public function setAgeGating(VideoAgeGating $ageGating)
69  {
70    $this->ageGating = $ageGating;
71  }
72  /**
73   * @return VideoAgeGating
74   */
75  public function getAgeGating()
76  {
77    return $this->ageGating;
78  }
79  /**
80   * @param VideoContentDetails
81   */
82  public function setContentDetails(VideoContentDetails $contentDetails)
83  {
84    $this->contentDetails = $contentDetails;
85  }
86  /**
87   * @return VideoContentDetails
88   */
89  public function getContentDetails()
90  {
91    return $this->contentDetails;
92  }
93  /**
94   * @param string
95   */
96  public function setEtag($etag)
97  {
98    $this->etag = $etag;
99  }
100  /**
101   * @return string
102   */
103  public function getEtag()
104  {
105    return $this->etag;
106  }
107  /**
108   * @param VideoFileDetails
109   */
110  public function setFileDetails(VideoFileDetails $fileDetails)
111  {
112    $this->fileDetails = $fileDetails;
113  }
114  /**
115   * @return VideoFileDetails
116   */
117  public function getFileDetails()
118  {
119    return $this->fileDetails;
120  }
121  /**
122   * @param string
123   */
124  public function setId($id)
125  {
126    $this->id = $id;
127  }
128  /**
129   * @return string
130   */
131  public function getId()
132  {
133    return $this->id;
134  }
135  /**
136   * @param string
137   */
138  public function setKind($kind)
139  {
140    $this->kind = $kind;
141  }
142  /**
143   * @return string
144   */
145  public function getKind()
146  {
147    return $this->kind;
148  }
149  /**
150   * @param VideoLiveStreamingDetails
151   */
152  public function setLiveStreamingDetails(VideoLiveStreamingDetails $liveStreamingDetails)
153  {
154    $this->liveStreamingDetails = $liveStreamingDetails;
155  }
156  /**
157   * @return VideoLiveStreamingDetails
158   */
159  public function getLiveStreamingDetails()
160  {
161    return $this->liveStreamingDetails;
162  }
163  /**
164   * @param VideoLocalization[]
165   */
166  public function setLocalizations($localizations)
167  {
168    $this->localizations = $localizations;
169  }
170  /**
171   * @return VideoLocalization[]
172   */
173  public function getLocalizations()
174  {
175    return $this->localizations;
176  }
177  /**
178   * @param VideoMonetizationDetails
179   */
180  public function setMonetizationDetails(VideoMonetizationDetails $monetizationDetails)
181  {
182    $this->monetizationDetails = $monetizationDetails;
183  }
184  /**
185   * @return VideoMonetizationDetails
186   */
187  public function getMonetizationDetails()
188  {
189    return $this->monetizationDetails;
190  }
191  /**
192   * @param VideoPlayer
193   */
194  public function setPlayer(VideoPlayer $player)
195  {
196    $this->player = $player;
197  }
198  /**
199   * @return VideoPlayer
200   */
201  public function getPlayer()
202  {
203    return $this->player;
204  }
205  /**
206   * @param VideoProcessingDetails
207   */
208  public function setProcessingDetails(VideoProcessingDetails $processingDetails)
209  {
210    $this->processingDetails = $processingDetails;
211  }
212  /**
213   * @return VideoProcessingDetails
214   */
215  public function getProcessingDetails()
216  {
217    return $this->processingDetails;
218  }
219  /**
220   * @param VideoProjectDetails
221   */
222  public function setProjectDetails(VideoProjectDetails $projectDetails)
223  {
224    $this->projectDetails = $projectDetails;
225  }
226  /**
227   * @return VideoProjectDetails
228   */
229  public function getProjectDetails()
230  {
231    return $this->projectDetails;
232  }
233  /**
234   * @param VideoRecordingDetails
235   */
236  public function setRecordingDetails(VideoRecordingDetails $recordingDetails)
237  {
238    $this->recordingDetails = $recordingDetails;
239  }
240  /**
241   * @return VideoRecordingDetails
242   */
243  public function getRecordingDetails()
244  {
245    return $this->recordingDetails;
246  }
247  /**
248   * @param VideoSnippet
249   */
250  public function setSnippet(VideoSnippet $snippet)
251  {
252    $this->snippet = $snippet;
253  }
254  /**
255   * @return VideoSnippet
256   */
257  public function getSnippet()
258  {
259    return $this->snippet;
260  }
261  /**
262   * @param VideoStatistics
263   */
264  public function setStatistics(VideoStatistics $statistics)
265  {
266    $this->statistics = $statistics;
267  }
268  /**
269   * @return VideoStatistics
270   */
271  public function getStatistics()
272  {
273    return $this->statistics;
274  }
275  /**
276   * @param VideoStatus
277   */
278  public function setStatus(VideoStatus $status)
279  {
280    $this->status = $status;
281  }
282  /**
283   * @return VideoStatus
284   */
285  public function getStatus()
286  {
287    return $this->status;
288  }
289  /**
290   * @param VideoSuggestions
291   */
292  public function setSuggestions(VideoSuggestions $suggestions)
293  {
294    $this->suggestions = $suggestions;
295  }
296  /**
297   * @return VideoSuggestions
298   */
299  public function getSuggestions()
300  {
301    return $this->suggestions;
302  }
303  /**
304   * @param VideoTopicDetails
305   */
306  public function setTopicDetails(VideoTopicDetails $topicDetails)
307  {
308    $this->topicDetails = $topicDetails;
309  }
310  /**
311   * @return VideoTopicDetails
312   */
313  public function getTopicDetails()
314  {
315    return $this->topicDetails;
316  }
317}
318
319// Adding a class alias for backwards compatibility with the previous class name.
320class_alias(Video::class, 'Google_Service_YouTube_Video');
321