source: vendor/google/apiclient-services/src/SQLAdmin/Operation.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 6.1 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\SQLAdmin;
19
20class Operation extends \Google\Model
21{
22 protected $acquireSsrsLeaseContextType = AcquireSsrsLeaseContext::class;
23 protected $acquireSsrsLeaseContextDataType = '';
24 protected $apiWarningType = ApiWarning::class;
25 protected $apiWarningDataType = '';
26 protected $backupContextType = BackupContext::class;
27 protected $backupContextDataType = '';
28 /**
29 * @var string
30 */
31 public $endTime;
32 protected $errorType = OperationErrors::class;
33 protected $errorDataType = '';
34 protected $exportContextType = ExportContext::class;
35 protected $exportContextDataType = '';
36 protected $importContextType = ImportContext::class;
37 protected $importContextDataType = '';
38 /**
39 * @var string
40 */
41 public $insertTime;
42 /**
43 * @var string
44 */
45 public $kind;
46 /**
47 * @var string
48 */
49 public $name;
50 /**
51 * @var string
52 */
53 public $operationType;
54 /**
55 * @var string
56 */
57 public $selfLink;
58 /**
59 * @var string
60 */
61 public $startTime;
62 /**
63 * @var string
64 */
65 public $status;
66 /**
67 * @var string
68 */
69 public $targetId;
70 /**
71 * @var string
72 */
73 public $targetLink;
74 /**
75 * @var string
76 */
77 public $targetProject;
78 /**
79 * @var string
80 */
81 public $user;
82
83 /**
84 * @param AcquireSsrsLeaseContext
85 */
86 public function setAcquireSsrsLeaseContext(AcquireSsrsLeaseContext $acquireSsrsLeaseContext)
87 {
88 $this->acquireSsrsLeaseContext = $acquireSsrsLeaseContext;
89 }
90 /**
91 * @return AcquireSsrsLeaseContext
92 */
93 public function getAcquireSsrsLeaseContext()
94 {
95 return $this->acquireSsrsLeaseContext;
96 }
97 /**
98 * @param ApiWarning
99 */
100 public function setApiWarning(ApiWarning $apiWarning)
101 {
102 $this->apiWarning = $apiWarning;
103 }
104 /**
105 * @return ApiWarning
106 */
107 public function getApiWarning()
108 {
109 return $this->apiWarning;
110 }
111 /**
112 * @param BackupContext
113 */
114 public function setBackupContext(BackupContext $backupContext)
115 {
116 $this->backupContext = $backupContext;
117 }
118 /**
119 * @return BackupContext
120 */
121 public function getBackupContext()
122 {
123 return $this->backupContext;
124 }
125 /**
126 * @param string
127 */
128 public function setEndTime($endTime)
129 {
130 $this->endTime = $endTime;
131 }
132 /**
133 * @return string
134 */
135 public function getEndTime()
136 {
137 return $this->endTime;
138 }
139 /**
140 * @param OperationErrors
141 */
142 public function setError(OperationErrors $error)
143 {
144 $this->error = $error;
145 }
146 /**
147 * @return OperationErrors
148 */
149 public function getError()
150 {
151 return $this->error;
152 }
153 /**
154 * @param ExportContext
155 */
156 public function setExportContext(ExportContext $exportContext)
157 {
158 $this->exportContext = $exportContext;
159 }
160 /**
161 * @return ExportContext
162 */
163 public function getExportContext()
164 {
165 return $this->exportContext;
166 }
167 /**
168 * @param ImportContext
169 */
170 public function setImportContext(ImportContext $importContext)
171 {
172 $this->importContext = $importContext;
173 }
174 /**
175 * @return ImportContext
176 */
177 public function getImportContext()
178 {
179 return $this->importContext;
180 }
181 /**
182 * @param string
183 */
184 public function setInsertTime($insertTime)
185 {
186 $this->insertTime = $insertTime;
187 }
188 /**
189 * @return string
190 */
191 public function getInsertTime()
192 {
193 return $this->insertTime;
194 }
195 /**
196 * @param string
197 */
198 public function setKind($kind)
199 {
200 $this->kind = $kind;
201 }
202 /**
203 * @return string
204 */
205 public function getKind()
206 {
207 return $this->kind;
208 }
209 /**
210 * @param string
211 */
212 public function setName($name)
213 {
214 $this->name = $name;
215 }
216 /**
217 * @return string
218 */
219 public function getName()
220 {
221 return $this->name;
222 }
223 /**
224 * @param string
225 */
226 public function setOperationType($operationType)
227 {
228 $this->operationType = $operationType;
229 }
230 /**
231 * @return string
232 */
233 public function getOperationType()
234 {
235 return $this->operationType;
236 }
237 /**
238 * @param string
239 */
240 public function setSelfLink($selfLink)
241 {
242 $this->selfLink = $selfLink;
243 }
244 /**
245 * @return string
246 */
247 public function getSelfLink()
248 {
249 return $this->selfLink;
250 }
251 /**
252 * @param string
253 */
254 public function setStartTime($startTime)
255 {
256 $this->startTime = $startTime;
257 }
258 /**
259 * @return string
260 */
261 public function getStartTime()
262 {
263 return $this->startTime;
264 }
265 /**
266 * @param string
267 */
268 public function setStatus($status)
269 {
270 $this->status = $status;
271 }
272 /**
273 * @return string
274 */
275 public function getStatus()
276 {
277 return $this->status;
278 }
279 /**
280 * @param string
281 */
282 public function setTargetId($targetId)
283 {
284 $this->targetId = $targetId;
285 }
286 /**
287 * @return string
288 */
289 public function getTargetId()
290 {
291 return $this->targetId;
292 }
293 /**
294 * @param string
295 */
296 public function setTargetLink($targetLink)
297 {
298 $this->targetLink = $targetLink;
299 }
300 /**
301 * @return string
302 */
303 public function getTargetLink()
304 {
305 return $this->targetLink;
306 }
307 /**
308 * @param string
309 */
310 public function setTargetProject($targetProject)
311 {
312 $this->targetProject = $targetProject;
313 }
314 /**
315 * @return string
316 */
317 public function getTargetProject()
318 {
319 return $this->targetProject;
320 }
321 /**
322 * @param string
323 */
324 public function setUser($user)
325 {
326 $this->user = $user;
327 }
328 /**
329 * @return string
330 */
331 public function getUser()
332 {
333 return $this->user;
334 }
335}
336
337// Adding a class alias for backwards compatibility with the previous class name.
338class_alias(Operation::class, 'Google_Service_SQLAdmin_Operation');
Note: See TracBrowser for help on using the repository browser.