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