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\YouTube; 19 20class LiveBroadcastContentDetails extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $boundStreamId; 26 /** 27 * @var string 28 */ 29 public $boundStreamLastUpdateTimeMs; 30 /** 31 * @var string 32 */ 33 public $closedCaptionsType; 34 /** 35 * @var bool 36 */ 37 public $enableAutoStart; 38 /** 39 * @var bool 40 */ 41 public $enableAutoStop; 42 /** 43 * @var bool 44 */ 45 public $enableClosedCaptions; 46 /** 47 * @var bool 48 */ 49 public $enableContentEncryption; 50 /** 51 * @var bool 52 */ 53 public $enableDvr; 54 /** 55 * @var bool 56 */ 57 public $enableEmbed; 58 /** 59 * @var bool 60 */ 61 public $enableLowLatency; 62 /** 63 * @var string 64 */ 65 public $latencyPreference; 66 /** 67 * @var string 68 */ 69 public $mesh; 70 protected $monitorStreamType = MonitorStreamInfo::class; 71 protected $monitorStreamDataType = ''; 72 /** 73 * @var string 74 */ 75 public $projection; 76 /** 77 * @var bool 78 */ 79 public $recordFromStart; 80 /** 81 * @var bool 82 */ 83 public $startWithSlate; 84 /** 85 * @var string 86 */ 87 public $stereoLayout; 88 89 /** 90 * @param string 91 */ 92 public function setBoundStreamId($boundStreamId) 93 { 94 $this->boundStreamId = $boundStreamId; 95 } 96 /** 97 * @return string 98 */ 99 public function getBoundStreamId() 100 { 101 return $this->boundStreamId; 102 } 103 /** 104 * @param string 105 */ 106 public function setBoundStreamLastUpdateTimeMs($boundStreamLastUpdateTimeMs) 107 { 108 $this->boundStreamLastUpdateTimeMs = $boundStreamLastUpdateTimeMs; 109 } 110 /** 111 * @return string 112 */ 113 public function getBoundStreamLastUpdateTimeMs() 114 { 115 return $this->boundStreamLastUpdateTimeMs; 116 } 117 /** 118 * @param string 119 */ 120 public function setClosedCaptionsType($closedCaptionsType) 121 { 122 $this->closedCaptionsType = $closedCaptionsType; 123 } 124 /** 125 * @return string 126 */ 127 public function getClosedCaptionsType() 128 { 129 return $this->closedCaptionsType; 130 } 131 /** 132 * @param bool 133 */ 134 public function setEnableAutoStart($enableAutoStart) 135 { 136 $this->enableAutoStart = $enableAutoStart; 137 } 138 /** 139 * @return bool 140 */ 141 public function getEnableAutoStart() 142 { 143 return $this->enableAutoStart; 144 } 145 /** 146 * @param bool 147 */ 148 public function setEnableAutoStop($enableAutoStop) 149 { 150 $this->enableAutoStop = $enableAutoStop; 151 } 152 /** 153 * @return bool 154 */ 155 public function getEnableAutoStop() 156 { 157 return $this->enableAutoStop; 158 } 159 /** 160 * @param bool 161 */ 162 public function setEnableClosedCaptions($enableClosedCaptions) 163 { 164 $this->enableClosedCaptions = $enableClosedCaptions; 165 } 166 /** 167 * @return bool 168 */ 169 public function getEnableClosedCaptions() 170 { 171 return $this->enableClosedCaptions; 172 } 173 /** 174 * @param bool 175 */ 176 public function setEnableContentEncryption($enableContentEncryption) 177 { 178 $this->enableContentEncryption = $enableContentEncryption; 179 } 180 /** 181 * @return bool 182 */ 183 public function getEnableContentEncryption() 184 { 185 return $this->enableContentEncryption; 186 } 187 /** 188 * @param bool 189 */ 190 public function setEnableDvr($enableDvr) 191 { 192 $this->enableDvr = $enableDvr; 193 } 194 /** 195 * @return bool 196 */ 197 public function getEnableDvr() 198 { 199 return $this->enableDvr; 200 } 201 /** 202 * @param bool 203 */ 204 public function setEnableEmbed($enableEmbed) 205 { 206 $this->enableEmbed = $enableEmbed; 207 } 208 /** 209 * @return bool 210 */ 211 public function getEnableEmbed() 212 { 213 return $this->enableEmbed; 214 } 215 /** 216 * @param bool 217 */ 218 public function setEnableLowLatency($enableLowLatency) 219 { 220 $this->enableLowLatency = $enableLowLatency; 221 } 222 /** 223 * @return bool 224 */ 225 public function getEnableLowLatency() 226 { 227 return $this->enableLowLatency; 228 } 229 /** 230 * @param string 231 */ 232 public function setLatencyPreference($latencyPreference) 233 { 234 $this->latencyPreference = $latencyPreference; 235 } 236 /** 237 * @return string 238 */ 239 public function getLatencyPreference() 240 { 241 return $this->latencyPreference; 242 } 243 /** 244 * @param string 245 */ 246 public function setMesh($mesh) 247 { 248 $this->mesh = $mesh; 249 } 250 /** 251 * @return string 252 */ 253 public function getMesh() 254 { 255 return $this->mesh; 256 } 257 /** 258 * @param MonitorStreamInfo 259 */ 260 public function setMonitorStream(MonitorStreamInfo $monitorStream) 261 { 262 $this->monitorStream = $monitorStream; 263 } 264 /** 265 * @return MonitorStreamInfo 266 */ 267 public function getMonitorStream() 268 { 269 return $this->monitorStream; 270 } 271 /** 272 * @param string 273 */ 274 public function setProjection($projection) 275 { 276 $this->projection = $projection; 277 } 278 /** 279 * @return string 280 */ 281 public function getProjection() 282 { 283 return $this->projection; 284 } 285 /** 286 * @param bool 287 */ 288 public function setRecordFromStart($recordFromStart) 289 { 290 $this->recordFromStart = $recordFromStart; 291 } 292 /** 293 * @return bool 294 */ 295 public function getRecordFromStart() 296 { 297 return $this->recordFromStart; 298 } 299 /** 300 * @param bool 301 */ 302 public function setStartWithSlate($startWithSlate) 303 { 304 $this->startWithSlate = $startWithSlate; 305 } 306 /** 307 * @return bool 308 */ 309 public function getStartWithSlate() 310 { 311 return $this->startWithSlate; 312 } 313 /** 314 * @param string 315 */ 316 public function setStereoLayout($stereoLayout) 317 { 318 $this->stereoLayout = $stereoLayout; 319 } 320 /** 321 * @return string 322 */ 323 public function getStereoLayout() 324 { 325 return $this->stereoLayout; 326 } 327} 328 329// Adding a class alias for backwards compatibility with the previous class name. 330class_alias(LiveBroadcastContentDetails::class, 'Google_Service_YouTube_LiveBroadcastContentDetails'); 331