source: vendor/google/apiclient-services/src/DisplayVideo/MastheadAd.php

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

Upload project files

  • Property mode set to 100644
File size: 4.6 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\DisplayVideo;
19
20class MastheadAd extends \Google\Collection
21{
22 protected $collection_key = 'companionYoutubeVideos';
23 /**
24 * @var string
25 */
26 public $autoplayVideoDuration;
27 /**
28 * @var string
29 */
30 public $autoplayVideoStartMillisecond;
31 /**
32 * @var string
33 */
34 public $callToActionButtonLabel;
35 /**
36 * @var string
37 */
38 public $callToActionFinalUrl;
39 /**
40 * @var string
41 */
42 public $callToActionTrackingUrl;
43 protected $companionYoutubeVideosType = YoutubeVideoDetails::class;
44 protected $companionYoutubeVideosDataType = 'array';
45 /**
46 * @var string
47 */
48 public $description;
49 /**
50 * @var string
51 */
52 public $headline;
53 /**
54 * @var bool
55 */
56 public $showChannelArt;
57 protected $videoType = YoutubeVideoDetails::class;
58 protected $videoDataType = '';
59 /**
60 * @var string
61 */
62 public $videoAspectRatio;
63
64 /**
65 * @param string
66 */
67 public function setAutoplayVideoDuration($autoplayVideoDuration)
68 {
69 $this->autoplayVideoDuration = $autoplayVideoDuration;
70 }
71 /**
72 * @return string
73 */
74 public function getAutoplayVideoDuration()
75 {
76 return $this->autoplayVideoDuration;
77 }
78 /**
79 * @param string
80 */
81 public function setAutoplayVideoStartMillisecond($autoplayVideoStartMillisecond)
82 {
83 $this->autoplayVideoStartMillisecond = $autoplayVideoStartMillisecond;
84 }
85 /**
86 * @return string
87 */
88 public function getAutoplayVideoStartMillisecond()
89 {
90 return $this->autoplayVideoStartMillisecond;
91 }
92 /**
93 * @param string
94 */
95 public function setCallToActionButtonLabel($callToActionButtonLabel)
96 {
97 $this->callToActionButtonLabel = $callToActionButtonLabel;
98 }
99 /**
100 * @return string
101 */
102 public function getCallToActionButtonLabel()
103 {
104 return $this->callToActionButtonLabel;
105 }
106 /**
107 * @param string
108 */
109 public function setCallToActionFinalUrl($callToActionFinalUrl)
110 {
111 $this->callToActionFinalUrl = $callToActionFinalUrl;
112 }
113 /**
114 * @return string
115 */
116 public function getCallToActionFinalUrl()
117 {
118 return $this->callToActionFinalUrl;
119 }
120 /**
121 * @param string
122 */
123 public function setCallToActionTrackingUrl($callToActionTrackingUrl)
124 {
125 $this->callToActionTrackingUrl = $callToActionTrackingUrl;
126 }
127 /**
128 * @return string
129 */
130 public function getCallToActionTrackingUrl()
131 {
132 return $this->callToActionTrackingUrl;
133 }
134 /**
135 * @param YoutubeVideoDetails[]
136 */
137 public function setCompanionYoutubeVideos($companionYoutubeVideos)
138 {
139 $this->companionYoutubeVideos = $companionYoutubeVideos;
140 }
141 /**
142 * @return YoutubeVideoDetails[]
143 */
144 public function getCompanionYoutubeVideos()
145 {
146 return $this->companionYoutubeVideos;
147 }
148 /**
149 * @param string
150 */
151 public function setDescription($description)
152 {
153 $this->description = $description;
154 }
155 /**
156 * @return string
157 */
158 public function getDescription()
159 {
160 return $this->description;
161 }
162 /**
163 * @param string
164 */
165 public function setHeadline($headline)
166 {
167 $this->headline = $headline;
168 }
169 /**
170 * @return string
171 */
172 public function getHeadline()
173 {
174 return $this->headline;
175 }
176 /**
177 * @param bool
178 */
179 public function setShowChannelArt($showChannelArt)
180 {
181 $this->showChannelArt = $showChannelArt;
182 }
183 /**
184 * @return bool
185 */
186 public function getShowChannelArt()
187 {
188 return $this->showChannelArt;
189 }
190 /**
191 * @param YoutubeVideoDetails
192 */
193 public function setVideo(YoutubeVideoDetails $video)
194 {
195 $this->video = $video;
196 }
197 /**
198 * @return YoutubeVideoDetails
199 */
200 public function getVideo()
201 {
202 return $this->video;
203 }
204 /**
205 * @param string
206 */
207 public function setVideoAspectRatio($videoAspectRatio)
208 {
209 $this->videoAspectRatio = $videoAspectRatio;
210 }
211 /**
212 * @return string
213 */
214 public function getVideoAspectRatio()
215 {
216 return $this->videoAspectRatio;
217 }
218}
219
220// Adding a class alias for backwards compatibility with the previous class name.
221class_alias(MastheadAd::class, 'Google_Service_DisplayVideo_MastheadAd');
Note: See TracBrowser for help on using the repository browser.