source: vendor/google/apiclient-services/src/OSConfig/PatchJob.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: 5.2 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\OSConfig;
19
20class PatchJob extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $createTime;
26 /**
27 * @var string
28 */
29 public $description;
30 /**
31 * @var string
32 */
33 public $displayName;
34 /**
35 * @var bool
36 */
37 public $dryRun;
38 /**
39 * @var string
40 */
41 public $duration;
42 /**
43 * @var string
44 */
45 public $errorMessage;
46 protected $instanceDetailsSummaryType = PatchJobInstanceDetailsSummary::class;
47 protected $instanceDetailsSummaryDataType = '';
48 protected $instanceFilterType = PatchInstanceFilter::class;
49 protected $instanceFilterDataType = '';
50 /**
51 * @var string
52 */
53 public $name;
54 protected $patchConfigType = PatchConfig::class;
55 protected $patchConfigDataType = '';
56 /**
57 * @var string
58 */
59 public $patchDeployment;
60 public $percentComplete;
61 protected $rolloutType = PatchRollout::class;
62 protected $rolloutDataType = '';
63 /**
64 * @var string
65 */
66 public $state;
67 /**
68 * @var string
69 */
70 public $updateTime;
71
72 /**
73 * @param string
74 */
75 public function setCreateTime($createTime)
76 {
77 $this->createTime = $createTime;
78 }
79 /**
80 * @return string
81 */
82 public function getCreateTime()
83 {
84 return $this->createTime;
85 }
86 /**
87 * @param string
88 */
89 public function setDescription($description)
90 {
91 $this->description = $description;
92 }
93 /**
94 * @return string
95 */
96 public function getDescription()
97 {
98 return $this->description;
99 }
100 /**
101 * @param string
102 */
103 public function setDisplayName($displayName)
104 {
105 $this->displayName = $displayName;
106 }
107 /**
108 * @return string
109 */
110 public function getDisplayName()
111 {
112 return $this->displayName;
113 }
114 /**
115 * @param bool
116 */
117 public function setDryRun($dryRun)
118 {
119 $this->dryRun = $dryRun;
120 }
121 /**
122 * @return bool
123 */
124 public function getDryRun()
125 {
126 return $this->dryRun;
127 }
128 /**
129 * @param string
130 */
131 public function setDuration($duration)
132 {
133 $this->duration = $duration;
134 }
135 /**
136 * @return string
137 */
138 public function getDuration()
139 {
140 return $this->duration;
141 }
142 /**
143 * @param string
144 */
145 public function setErrorMessage($errorMessage)
146 {
147 $this->errorMessage = $errorMessage;
148 }
149 /**
150 * @return string
151 */
152 public function getErrorMessage()
153 {
154 return $this->errorMessage;
155 }
156 /**
157 * @param PatchJobInstanceDetailsSummary
158 */
159 public function setInstanceDetailsSummary(PatchJobInstanceDetailsSummary $instanceDetailsSummary)
160 {
161 $this->instanceDetailsSummary = $instanceDetailsSummary;
162 }
163 /**
164 * @return PatchJobInstanceDetailsSummary
165 */
166 public function getInstanceDetailsSummary()
167 {
168 return $this->instanceDetailsSummary;
169 }
170 /**
171 * @param PatchInstanceFilter
172 */
173 public function setInstanceFilter(PatchInstanceFilter $instanceFilter)
174 {
175 $this->instanceFilter = $instanceFilter;
176 }
177 /**
178 * @return PatchInstanceFilter
179 */
180 public function getInstanceFilter()
181 {
182 return $this->instanceFilter;
183 }
184 /**
185 * @param string
186 */
187 public function setName($name)
188 {
189 $this->name = $name;
190 }
191 /**
192 * @return string
193 */
194 public function getName()
195 {
196 return $this->name;
197 }
198 /**
199 * @param PatchConfig
200 */
201 public function setPatchConfig(PatchConfig $patchConfig)
202 {
203 $this->patchConfig = $patchConfig;
204 }
205 /**
206 * @return PatchConfig
207 */
208 public function getPatchConfig()
209 {
210 return $this->patchConfig;
211 }
212 /**
213 * @param string
214 */
215 public function setPatchDeployment($patchDeployment)
216 {
217 $this->patchDeployment = $patchDeployment;
218 }
219 /**
220 * @return string
221 */
222 public function getPatchDeployment()
223 {
224 return $this->patchDeployment;
225 }
226 public function setPercentComplete($percentComplete)
227 {
228 $this->percentComplete = $percentComplete;
229 }
230 public function getPercentComplete()
231 {
232 return $this->percentComplete;
233 }
234 /**
235 * @param PatchRollout
236 */
237 public function setRollout(PatchRollout $rollout)
238 {
239 $this->rollout = $rollout;
240 }
241 /**
242 * @return PatchRollout
243 */
244 public function getRollout()
245 {
246 return $this->rollout;
247 }
248 /**
249 * @param string
250 */
251 public function setState($state)
252 {
253 $this->state = $state;
254 }
255 /**
256 * @return string
257 */
258 public function getState()
259 {
260 return $this->state;
261 }
262 /**
263 * @param string
264 */
265 public function setUpdateTime($updateTime)
266 {
267 $this->updateTime = $updateTime;
268 }
269 /**
270 * @return string
271 */
272 public function getUpdateTime()
273 {
274 return $this->updateTime;
275 }
276}
277
278// Adding a class alias for backwards compatibility with the previous class name.
279class_alias(PatchJob::class, 'Google_Service_OSConfig_PatchJob');
Note: See TracBrowser for help on using the repository browser.