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 SiteVideoSettings extends \Google\Model
21{
22  protected $companionSettingsType = SiteCompanionSetting::class;
23  protected $companionSettingsDataType = '';
24  /**
25   * @var string
26   */
27  public $kind;
28  /**
29   * @var bool
30   */
31  public $obaEnabled;
32  protected $obaSettingsType = ObaIcon::class;
33  protected $obaSettingsDataType = '';
34  /**
35   * @var string
36   */
37  public $orientation;
38  protected $skippableSettingsType = SiteSkippableSetting::class;
39  protected $skippableSettingsDataType = '';
40  protected $transcodeSettingsType = SiteTranscodeSetting::class;
41  protected $transcodeSettingsDataType = '';
42
43  /**
44   * @param SiteCompanionSetting
45   */
46  public function setCompanionSettings(SiteCompanionSetting $companionSettings)
47  {
48    $this->companionSettings = $companionSettings;
49  }
50  /**
51   * @return SiteCompanionSetting
52   */
53  public function getCompanionSettings()
54  {
55    return $this->companionSettings;
56  }
57  /**
58   * @param string
59   */
60  public function setKind($kind)
61  {
62    $this->kind = $kind;
63  }
64  /**
65   * @return string
66   */
67  public function getKind()
68  {
69    return $this->kind;
70  }
71  /**
72   * @param bool
73   */
74  public function setObaEnabled($obaEnabled)
75  {
76    $this->obaEnabled = $obaEnabled;
77  }
78  /**
79   * @return bool
80   */
81  public function getObaEnabled()
82  {
83    return $this->obaEnabled;
84  }
85  /**
86   * @param ObaIcon
87   */
88  public function setObaSettings(ObaIcon $obaSettings)
89  {
90    $this->obaSettings = $obaSettings;
91  }
92  /**
93   * @return ObaIcon
94   */
95  public function getObaSettings()
96  {
97    return $this->obaSettings;
98  }
99  /**
100   * @param string
101   */
102  public function setOrientation($orientation)
103  {
104    $this->orientation = $orientation;
105  }
106  /**
107   * @return string
108   */
109  public function getOrientation()
110  {
111    return $this->orientation;
112  }
113  /**
114   * @param SiteSkippableSetting
115   */
116  public function setSkippableSettings(SiteSkippableSetting $skippableSettings)
117  {
118    $this->skippableSettings = $skippableSettings;
119  }
120  /**
121   * @return SiteSkippableSetting
122   */
123  public function getSkippableSettings()
124  {
125    return $this->skippableSettings;
126  }
127  /**
128   * @param SiteTranscodeSetting
129   */
130  public function setTranscodeSettings(SiteTranscodeSetting $transcodeSettings)
131  {
132    $this->transcodeSettings = $transcodeSettings;
133  }
134  /**
135   * @return SiteTranscodeSetting
136   */
137  public function getTranscodeSettings()
138  {
139    return $this->transcodeSettings;
140  }
141}
142
143// Adding a class alias for backwards compatibility with the previous class name.
144class_alias(SiteVideoSettings::class, 'Google_Service_Dfareporting_SiteVideoSettings');
145