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\Transcoder;
19 
20 class JobConfig extends \Google\Collection
21 {
22   protected $collection_key = 'spriteSheets';
23   protected $adBreaksType = AdBreak::class;
24   protected $adBreaksDataType = 'array';
25   protected $editListType = EditAtom::class;
26   protected $editListDataType = 'array';
27   protected $elementaryStreamsType = ElementaryStream::class;
28   protected $elementaryStreamsDataType = 'array';
29   protected $inputsType = Input::class;
30   protected $inputsDataType = 'array';
31   protected $manifestsType = Manifest::class;
32   protected $manifestsDataType = 'array';
33   protected $muxStreamsType = MuxStream::class;
34   protected $muxStreamsDataType = 'array';
35   protected $outputType = Output::class;
36   protected $outputDataType = '';
37   protected $overlaysType = Overlay::class;
38   protected $overlaysDataType = 'array';
39   protected $pubsubDestinationType = PubsubDestination::class;
40   protected $pubsubDestinationDataType = '';
41   protected $spriteSheetsType = SpriteSheet::class;
42   protected $spriteSheetsDataType = 'array';
43 
44   /**
45    * @param AdBreak[]
46    */
47   public function setAdBreaks($adBreaks)
48   {
49     $this->adBreaks = $adBreaks;
50   }
51   /**
52    * @return AdBreak[]
53    */
54   public function getAdBreaks()
55   {
56     return $this->adBreaks;
57   }
58   /**
59    * @param EditAtom[]
60    */
61   public function setEditList($editList)
62   {
63     $this->editList = $editList;
64   }
65   /**
66    * @return EditAtom[]
67    */
68   public function getEditList()
69   {
70     return $this->editList;
71   }
72   /**
73    * @param ElementaryStream[]
74    */
75   public function setElementaryStreams($elementaryStreams)
76   {
77     $this->elementaryStreams = $elementaryStreams;
78   }
79   /**
80    * @return ElementaryStream[]
81    */
82   public function getElementaryStreams()
83   {
84     return $this->elementaryStreams;
85   }
86   /**
87    * @param Input[]
88    */
89   public function setInputs($inputs)
90   {
91     $this->inputs = $inputs;
92   }
93   /**
94    * @return Input[]
95    */
96   public function getInputs()
97   {
98     return $this->inputs;
99   }
100   /**
101    * @param Manifest[]
102    */
103   public function setManifests($manifests)
104   {
105     $this->manifests = $manifests;
106   }
107   /**
108    * @return Manifest[]
109    */
110   public function getManifests()
111   {
112     return $this->manifests;
113   }
114   /**
115    * @param MuxStream[]
116    */
117   public function setMuxStreams($muxStreams)
118   {
119     $this->muxStreams = $muxStreams;
120   }
121   /**
122    * @return MuxStream[]
123    */
124   public function getMuxStreams()
125   {
126     return $this->muxStreams;
127   }
128   /**
129    * @param Output
130    */
131   public function setOutput(Output $output)
132   {
133     $this->output = $output;
134   }
135   /**
136    * @return Output
137    */
138   public function getOutput()
139   {
140     return $this->output;
141   }
142   /**
143    * @param Overlay[]
144    */
145   public function setOverlays($overlays)
146   {
147     $this->overlays = $overlays;
148   }
149   /**
150    * @return Overlay[]
151    */
152   public function getOverlays()
153   {
154     return $this->overlays;
155   }
156   /**
157    * @param PubsubDestination
158    */
159   public function setPubsubDestination(PubsubDestination $pubsubDestination)
160   {
161     $this->pubsubDestination = $pubsubDestination;
162   }
163   /**
164    * @return PubsubDestination
165    */
166   public function getPubsubDestination()
167   {
168     return $this->pubsubDestination;
169   }
170   /**
171    * @param SpriteSheet[]
172    */
173   public function setSpriteSheets($spriteSheets)
174   {
175     $this->spriteSheets = $spriteSheets;
176   }
177   /**
178    * @return SpriteSheet[]
179    */
180   public function getSpriteSheets()
181   {
182     return $this->spriteSheets;
183   }
184 }
185 
186 // Adding a class alias for backwards compatibility with the previous class name.
187 class_alias(JobConfig::class, 'Google_Service_Transcoder_JobConfig');
188