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 VideoFileDetailsVideoStream extends \Google\Model 21{ 22 public $aspectRatio; 23 /** 24 * @var string 25 */ 26 public $bitrateBps; 27 /** 28 * @var string 29 */ 30 public $codec; 31 public $frameRateFps; 32 /** 33 * @var string 34 */ 35 public $heightPixels; 36 /** 37 * @var string 38 */ 39 public $rotation; 40 /** 41 * @var string 42 */ 43 public $vendor; 44 /** 45 * @var string 46 */ 47 public $widthPixels; 48 49 public function setAspectRatio($aspectRatio) 50 { 51 $this->aspectRatio = $aspectRatio; 52 } 53 public function getAspectRatio() 54 { 55 return $this->aspectRatio; 56 } 57 /** 58 * @param string 59 */ 60 public function setBitrateBps($bitrateBps) 61 { 62 $this->bitrateBps = $bitrateBps; 63 } 64 /** 65 * @return string 66 */ 67 public function getBitrateBps() 68 { 69 return $this->bitrateBps; 70 } 71 /** 72 * @param string 73 */ 74 public function setCodec($codec) 75 { 76 $this->codec = $codec; 77 } 78 /** 79 * @return string 80 */ 81 public function getCodec() 82 { 83 return $this->codec; 84 } 85 public function setFrameRateFps($frameRateFps) 86 { 87 $this->frameRateFps = $frameRateFps; 88 } 89 public function getFrameRateFps() 90 { 91 return $this->frameRateFps; 92 } 93 /** 94 * @param string 95 */ 96 public function setHeightPixels($heightPixels) 97 { 98 $this->heightPixels = $heightPixels; 99 } 100 /** 101 * @return string 102 */ 103 public function getHeightPixels() 104 { 105 return $this->heightPixels; 106 } 107 /** 108 * @param string 109 */ 110 public function setRotation($rotation) 111 { 112 $this->rotation = $rotation; 113 } 114 /** 115 * @return string 116 */ 117 public function getRotation() 118 { 119 return $this->rotation; 120 } 121 /** 122 * @param string 123 */ 124 public function setVendor($vendor) 125 { 126 $this->vendor = $vendor; 127 } 128 /** 129 * @return string 130 */ 131 public function getVendor() 132 { 133 return $this->vendor; 134 } 135 /** 136 * @param string 137 */ 138 public function setWidthPixels($widthPixels) 139 { 140 $this->widthPixels = $widthPixels; 141 } 142 /** 143 * @return string 144 */ 145 public function getWidthPixels() 146 { 147 return $this->widthPixels; 148 } 149} 150 151// Adding a class alias for backwards compatibility with the previous class name. 152class_alias(VideoFileDetailsVideoStream::class, 'Google_Service_YouTube_VideoFileDetailsVideoStream'); 153