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 CaptionSnippet extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $audioTrackType; 26 /** 27 * @var string 28 */ 29 public $failureReason; 30 /** 31 * @var bool 32 */ 33 public $isAutoSynced; 34 /** 35 * @var bool 36 */ 37 public $isCC; 38 /** 39 * @var bool 40 */ 41 public $isDraft; 42 /** 43 * @var bool 44 */ 45 public $isEasyReader; 46 /** 47 * @var bool 48 */ 49 public $isLarge; 50 /** 51 * @var string 52 */ 53 public $language; 54 /** 55 * @var string 56 */ 57 public $lastUpdated; 58 /** 59 * @var string 60 */ 61 public $name; 62 /** 63 * @var string 64 */ 65 public $status; 66 /** 67 * @var string 68 */ 69 public $trackKind; 70 /** 71 * @var string 72 */ 73 public $videoId; 74 75 /** 76 * @param string 77 */ 78 public function setAudioTrackType($audioTrackType) 79 { 80 $this->audioTrackType = $audioTrackType; 81 } 82 /** 83 * @return string 84 */ 85 public function getAudioTrackType() 86 { 87 return $this->audioTrackType; 88 } 89 /** 90 * @param string 91 */ 92 public function setFailureReason($failureReason) 93 { 94 $this->failureReason = $failureReason; 95 } 96 /** 97 * @return string 98 */ 99 public function getFailureReason() 100 { 101 return $this->failureReason; 102 } 103 /** 104 * @param bool 105 */ 106 public function setIsAutoSynced($isAutoSynced) 107 { 108 $this->isAutoSynced = $isAutoSynced; 109 } 110 /** 111 * @return bool 112 */ 113 public function getIsAutoSynced() 114 { 115 return $this->isAutoSynced; 116 } 117 /** 118 * @param bool 119 */ 120 public function setIsCC($isCC) 121 { 122 $this->isCC = $isCC; 123 } 124 /** 125 * @return bool 126 */ 127 public function getIsCC() 128 { 129 return $this->isCC; 130 } 131 /** 132 * @param bool 133 */ 134 public function setIsDraft($isDraft) 135 { 136 $this->isDraft = $isDraft; 137 } 138 /** 139 * @return bool 140 */ 141 public function getIsDraft() 142 { 143 return $this->isDraft; 144 } 145 /** 146 * @param bool 147 */ 148 public function setIsEasyReader($isEasyReader) 149 { 150 $this->isEasyReader = $isEasyReader; 151 } 152 /** 153 * @return bool 154 */ 155 public function getIsEasyReader() 156 { 157 return $this->isEasyReader; 158 } 159 /** 160 * @param bool 161 */ 162 public function setIsLarge($isLarge) 163 { 164 $this->isLarge = $isLarge; 165 } 166 /** 167 * @return bool 168 */ 169 public function getIsLarge() 170 { 171 return $this->isLarge; 172 } 173 /** 174 * @param string 175 */ 176 public function setLanguage($language) 177 { 178 $this->language = $language; 179 } 180 /** 181 * @return string 182 */ 183 public function getLanguage() 184 { 185 return $this->language; 186 } 187 /** 188 * @param string 189 */ 190 public function setLastUpdated($lastUpdated) 191 { 192 $this->lastUpdated = $lastUpdated; 193 } 194 /** 195 * @return string 196 */ 197 public function getLastUpdated() 198 { 199 return $this->lastUpdated; 200 } 201 /** 202 * @param string 203 */ 204 public function setName($name) 205 { 206 $this->name = $name; 207 } 208 /** 209 * @return string 210 */ 211 public function getName() 212 { 213 return $this->name; 214 } 215 /** 216 * @param string 217 */ 218 public function setStatus($status) 219 { 220 $this->status = $status; 221 } 222 /** 223 * @return string 224 */ 225 public function getStatus() 226 { 227 return $this->status; 228 } 229 /** 230 * @param string 231 */ 232 public function setTrackKind($trackKind) 233 { 234 $this->trackKind = $trackKind; 235 } 236 /** 237 * @return string 238 */ 239 public function getTrackKind() 240 { 241 return $this->trackKind; 242 } 243 /** 244 * @param string 245 */ 246 public function setVideoId($videoId) 247 { 248 $this->videoId = $videoId; 249 } 250 /** 251 * @return string 252 */ 253 public function getVideoId() 254 { 255 return $this->videoId; 256 } 257} 258 259// Adding a class alias for backwards compatibility with the previous class name. 260class_alias(CaptionSnippet::class, 'Google_Service_YouTube_CaptionSnippet'); 261