source: vendor/google/apiclient-services/src/YouTube/Video.php

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

Upload project files

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