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\Dfareporting;
|
---|
19 |
|
---|
20 | class VideoSettings extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $companionSettingsType = CompanionSetting::class;
|
---|
23 | protected $companionSettingsDataType = '';
|
---|
24 | /**
|
---|
25 | * @var int
|
---|
26 | */
|
---|
27 | public $durationSeconds;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $kind;
|
---|
32 | /**
|
---|
33 | * @var bool
|
---|
34 | */
|
---|
35 | public $obaEnabled;
|
---|
36 | protected $obaSettingsType = ObaIcon::class;
|
---|
37 | protected $obaSettingsDataType = '';
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $orientation;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $publisherSpecificationId;
|
---|
46 | protected $skippableSettingsType = SkippableSetting::class;
|
---|
47 | protected $skippableSettingsDataType = '';
|
---|
48 | protected $transcodeSettingsType = TranscodeSetting::class;
|
---|
49 | protected $transcodeSettingsDataType = '';
|
---|
50 |
|
---|
51 | /**
|
---|
52 | * @param CompanionSetting
|
---|
53 | */
|
---|
54 | public function setCompanionSettings(CompanionSetting $companionSettings)
|
---|
55 | {
|
---|
56 | $this->companionSettings = $companionSettings;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return CompanionSetting
|
---|
60 | */
|
---|
61 | public function getCompanionSettings()
|
---|
62 | {
|
---|
63 | return $this->companionSettings;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param int
|
---|
67 | */
|
---|
68 | public function setDurationSeconds($durationSeconds)
|
---|
69 | {
|
---|
70 | $this->durationSeconds = $durationSeconds;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return int
|
---|
74 | */
|
---|
75 | public function getDurationSeconds()
|
---|
76 | {
|
---|
77 | return $this->durationSeconds;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param string
|
---|
81 | */
|
---|
82 | public function setKind($kind)
|
---|
83 | {
|
---|
84 | $this->kind = $kind;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return string
|
---|
88 | */
|
---|
89 | public function getKind()
|
---|
90 | {
|
---|
91 | return $this->kind;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param bool
|
---|
95 | */
|
---|
96 | public function setObaEnabled($obaEnabled)
|
---|
97 | {
|
---|
98 | $this->obaEnabled = $obaEnabled;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return bool
|
---|
102 | */
|
---|
103 | public function getObaEnabled()
|
---|
104 | {
|
---|
105 | return $this->obaEnabled;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param ObaIcon
|
---|
109 | */
|
---|
110 | public function setObaSettings(ObaIcon $obaSettings)
|
---|
111 | {
|
---|
112 | $this->obaSettings = $obaSettings;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return ObaIcon
|
---|
116 | */
|
---|
117 | public function getObaSettings()
|
---|
118 | {
|
---|
119 | return $this->obaSettings;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param string
|
---|
123 | */
|
---|
124 | public function setOrientation($orientation)
|
---|
125 | {
|
---|
126 | $this->orientation = $orientation;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return string
|
---|
130 | */
|
---|
131 | public function getOrientation()
|
---|
132 | {
|
---|
133 | return $this->orientation;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param string
|
---|
137 | */
|
---|
138 | public function setPublisherSpecificationId($publisherSpecificationId)
|
---|
139 | {
|
---|
140 | $this->publisherSpecificationId = $publisherSpecificationId;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return string
|
---|
144 | */
|
---|
145 | public function getPublisherSpecificationId()
|
---|
146 | {
|
---|
147 | return $this->publisherSpecificationId;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @param SkippableSetting
|
---|
151 | */
|
---|
152 | public function setSkippableSettings(SkippableSetting $skippableSettings)
|
---|
153 | {
|
---|
154 | $this->skippableSettings = $skippableSettings;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @return SkippableSetting
|
---|
158 | */
|
---|
159 | public function getSkippableSettings()
|
---|
160 | {
|
---|
161 | return $this->skippableSettings;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @param TranscodeSetting
|
---|
165 | */
|
---|
166 | public function setTranscodeSettings(TranscodeSetting $transcodeSettings)
|
---|
167 | {
|
---|
168 | $this->transcodeSettings = $transcodeSettings;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @return TranscodeSetting
|
---|
172 | */
|
---|
173 | public function getTranscodeSettings()
|
---|
174 | {
|
---|
175 | return $this->transcodeSettings;
|
---|
176 | }
|
---|
177 | }
|
---|
178 |
|
---|
179 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
180 | class_alias(VideoSettings::class, 'Google_Service_Dfareporting_VideoSettings');
|
---|