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