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
18class Google_Service_Transcoder_AudioStream extends Google_Collection
19{
20  protected $collection_key = 'mapping';
21  public $bitrateBps;
22  public $channelCount;
23  public $channelLayout;
24  public $codec;
25  protected $mappingType = 'Google_Service_Transcoder_AudioAtom';
26  protected $mappingDataType = 'array';
27  public $sampleRateHertz;
28
29  public function setBitrateBps($bitrateBps)
30  {
31    $this->bitrateBps = $bitrateBps;
32  }
33  public function getBitrateBps()
34  {
35    return $this->bitrateBps;
36  }
37  public function setChannelCount($channelCount)
38  {
39    $this->channelCount = $channelCount;
40  }
41  public function getChannelCount()
42  {
43    return $this->channelCount;
44  }
45  public function setChannelLayout($channelLayout)
46  {
47    $this->channelLayout = $channelLayout;
48  }
49  public function getChannelLayout()
50  {
51    return $this->channelLayout;
52  }
53  public function setCodec($codec)
54  {
55    $this->codec = $codec;
56  }
57  public function getCodec()
58  {
59    return $this->codec;
60  }
61  /**
62   * @param Google_Service_Transcoder_AudioAtom[]
63   */
64  public function setMapping($mapping)
65  {
66    $this->mapping = $mapping;
67  }
68  /**
69   * @return Google_Service_Transcoder_AudioAtom[]
70   */
71  public function getMapping()
72  {
73    return $this->mapping;
74  }
75  public function setSampleRateHertz($sampleRateHertz)
76  {
77    $this->sampleRateHertz = $sampleRateHertz;
78  }
79  public function getSampleRateHertz()
80  {
81    return $this->sampleRateHertz;
82  }
83}
84