[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 |
|
---|
| 18 | namespace Google\Service\Dfareporting;
|
---|
| 19 |
|
---|
| 20 | class 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 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $publisherSpecificationId;
|
---|
| 42 | protected $skippableSettingsType = SiteSkippableSetting::class;
|
---|
| 43 | protected $skippableSettingsDataType = '';
|
---|
| 44 | protected $transcodeSettingsType = SiteTranscodeSetting::class;
|
---|
| 45 | protected $transcodeSettingsDataType = '';
|
---|
| 46 |
|
---|
| 47 | /**
|
---|
| 48 | * @param SiteCompanionSetting
|
---|
| 49 | */
|
---|
| 50 | public function setCompanionSettings(SiteCompanionSetting $companionSettings)
|
---|
| 51 | {
|
---|
| 52 | $this->companionSettings = $companionSettings;
|
---|
| 53 | }
|
---|
| 54 | /**
|
---|
| 55 | * @return SiteCompanionSetting
|
---|
| 56 | */
|
---|
| 57 | public function getCompanionSettings()
|
---|
| 58 | {
|
---|
| 59 | return $this->companionSettings;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @param string
|
---|
| 63 | */
|
---|
| 64 | public function setKind($kind)
|
---|
| 65 | {
|
---|
| 66 | $this->kind = $kind;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @return string
|
---|
| 70 | */
|
---|
| 71 | public function getKind()
|
---|
| 72 | {
|
---|
| 73 | return $this->kind;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @param bool
|
---|
| 77 | */
|
---|
| 78 | public function setObaEnabled($obaEnabled)
|
---|
| 79 | {
|
---|
| 80 | $this->obaEnabled = $obaEnabled;
|
---|
| 81 | }
|
---|
| 82 | /**
|
---|
| 83 | * @return bool
|
---|
| 84 | */
|
---|
| 85 | public function getObaEnabled()
|
---|
| 86 | {
|
---|
| 87 | return $this->obaEnabled;
|
---|
| 88 | }
|
---|
| 89 | /**
|
---|
| 90 | * @param ObaIcon
|
---|
| 91 | */
|
---|
| 92 | public function setObaSettings(ObaIcon $obaSettings)
|
---|
| 93 | {
|
---|
| 94 | $this->obaSettings = $obaSettings;
|
---|
| 95 | }
|
---|
| 96 | /**
|
---|
| 97 | * @return ObaIcon
|
---|
| 98 | */
|
---|
| 99 | public function getObaSettings()
|
---|
| 100 | {
|
---|
| 101 | return $this->obaSettings;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @param string
|
---|
| 105 | */
|
---|
| 106 | public function setOrientation($orientation)
|
---|
| 107 | {
|
---|
| 108 | $this->orientation = $orientation;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @return string
|
---|
| 112 | */
|
---|
| 113 | public function getOrientation()
|
---|
| 114 | {
|
---|
| 115 | return $this->orientation;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @param string
|
---|
| 119 | */
|
---|
| 120 | public function setPublisherSpecificationId($publisherSpecificationId)
|
---|
| 121 | {
|
---|
| 122 | $this->publisherSpecificationId = $publisherSpecificationId;
|
---|
| 123 | }
|
---|
| 124 | /**
|
---|
| 125 | * @return string
|
---|
| 126 | */
|
---|
| 127 | public function getPublisherSpecificationId()
|
---|
| 128 | {
|
---|
| 129 | return $this->publisherSpecificationId;
|
---|
| 130 | }
|
---|
| 131 | /**
|
---|
| 132 | * @param SiteSkippableSetting
|
---|
| 133 | */
|
---|
| 134 | public function setSkippableSettings(SiteSkippableSetting $skippableSettings)
|
---|
| 135 | {
|
---|
| 136 | $this->skippableSettings = $skippableSettings;
|
---|
| 137 | }
|
---|
| 138 | /**
|
---|
| 139 | * @return SiteSkippableSetting
|
---|
| 140 | */
|
---|
| 141 | public function getSkippableSettings()
|
---|
| 142 | {
|
---|
| 143 | return $this->skippableSettings;
|
---|
| 144 | }
|
---|
| 145 | /**
|
---|
| 146 | * @param SiteTranscodeSetting
|
---|
| 147 | */
|
---|
| 148 | public function setTranscodeSettings(SiteTranscodeSetting $transcodeSettings)
|
---|
| 149 | {
|
---|
| 150 | $this->transcodeSettings = $transcodeSettings;
|
---|
| 151 | }
|
---|
| 152 | /**
|
---|
| 153 | * @return SiteTranscodeSetting
|
---|
| 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.
|
---|
| 162 | class_alias(SiteVideoSettings::class, 'Google_Service_Dfareporting_SiteVideoSettings');
|
---|