source: vendor/google/apiclient-services/src/Transcoder/Job.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 4.8 KB
Line 
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\Transcoder;
19
20class Job extends \Google\Model
21{
22 /**
23 * @var int
24 */
25 public $batchModePriority;
26 protected $configType = JobConfig::class;
27 protected $configDataType = '';
28 /**
29 * @var string
30 */
31 public $createTime;
32 /**
33 * @var string
34 */
35 public $endTime;
36 protected $errorType = Status::class;
37 protected $errorDataType = '';
38 /**
39 * @var string
40 */
41 public $inputUri;
42 /**
43 * @var string[]
44 */
45 public $labels;
46 /**
47 * @var string
48 */
49 public $mode;
50 /**
51 * @var string
52 */
53 public $name;
54 /**
55 * @var string
56 */
57 public $optimization;
58 /**
59 * @var string
60 */
61 public $outputUri;
62 /**
63 * @var string
64 */
65 public $startTime;
66 /**
67 * @var string
68 */
69 public $state;
70 /**
71 * @var string
72 */
73 public $templateId;
74 /**
75 * @var int
76 */
77 public $ttlAfterCompletionDays;
78
79 /**
80 * @param int
81 */
82 public function setBatchModePriority($batchModePriority)
83 {
84 $this->batchModePriority = $batchModePriority;
85 }
86 /**
87 * @return int
88 */
89 public function getBatchModePriority()
90 {
91 return $this->batchModePriority;
92 }
93 /**
94 * @param JobConfig
95 */
96 public function setConfig(JobConfig $config)
97 {
98 $this->config = $config;
99 }
100 /**
101 * @return JobConfig
102 */
103 public function getConfig()
104 {
105 return $this->config;
106 }
107 /**
108 * @param string
109 */
110 public function setCreateTime($createTime)
111 {
112 $this->createTime = $createTime;
113 }
114 /**
115 * @return string
116 */
117 public function getCreateTime()
118 {
119 return $this->createTime;
120 }
121 /**
122 * @param string
123 */
124 public function setEndTime($endTime)
125 {
126 $this->endTime = $endTime;
127 }
128 /**
129 * @return string
130 */
131 public function getEndTime()
132 {
133 return $this->endTime;
134 }
135 /**
136 * @param Status
137 */
138 public function setError(Status $error)
139 {
140 $this->error = $error;
141 }
142 /**
143 * @return Status
144 */
145 public function getError()
146 {
147 return $this->error;
148 }
149 /**
150 * @param string
151 */
152 public function setInputUri($inputUri)
153 {
154 $this->inputUri = $inputUri;
155 }
156 /**
157 * @return string
158 */
159 public function getInputUri()
160 {
161 return $this->inputUri;
162 }
163 /**
164 * @param string[]
165 */
166 public function setLabels($labels)
167 {
168 $this->labels = $labels;
169 }
170 /**
171 * @return string[]
172 */
173 public function getLabels()
174 {
175 return $this->labels;
176 }
177 /**
178 * @param string
179 */
180 public function setMode($mode)
181 {
182 $this->mode = $mode;
183 }
184 /**
185 * @return string
186 */
187 public function getMode()
188 {
189 return $this->mode;
190 }
191 /**
192 * @param string
193 */
194 public function setName($name)
195 {
196 $this->name = $name;
197 }
198 /**
199 * @return string
200 */
201 public function getName()
202 {
203 return $this->name;
204 }
205 /**
206 * @param string
207 */
208 public function setOptimization($optimization)
209 {
210 $this->optimization = $optimization;
211 }
212 /**
213 * @return string
214 */
215 public function getOptimization()
216 {
217 return $this->optimization;
218 }
219 /**
220 * @param string
221 */
222 public function setOutputUri($outputUri)
223 {
224 $this->outputUri = $outputUri;
225 }
226 /**
227 * @return string
228 */
229 public function getOutputUri()
230 {
231 return $this->outputUri;
232 }
233 /**
234 * @param string
235 */
236 public function setStartTime($startTime)
237 {
238 $this->startTime = $startTime;
239 }
240 /**
241 * @return string
242 */
243 public function getStartTime()
244 {
245 return $this->startTime;
246 }
247 /**
248 * @param string
249 */
250 public function setState($state)
251 {
252 $this->state = $state;
253 }
254 /**
255 * @return string
256 */
257 public function getState()
258 {
259 return $this->state;
260 }
261 /**
262 * @param string
263 */
264 public function setTemplateId($templateId)
265 {
266 $this->templateId = $templateId;
267 }
268 /**
269 * @return string
270 */
271 public function getTemplateId()
272 {
273 return $this->templateId;
274 }
275 /**
276 * @param int
277 */
278 public function setTtlAfterCompletionDays($ttlAfterCompletionDays)
279 {
280 $this->ttlAfterCompletionDays = $ttlAfterCompletionDays;
281 }
282 /**
283 * @return int
284 */
285 public function getTtlAfterCompletionDays()
286 {
287 return $this->ttlAfterCompletionDays;
288 }
289}
290
291// Adding a class alias for backwards compatibility with the previous class name.
292class_alias(Job::class, 'Google_Service_Transcoder_Job');
Note: See TracBrowser for help on using the repository browser.