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\Compute;
|
---|
19 |
|
---|
20 | class FutureReservation extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $autoCreatedReservationsDeleteTime;
|
---|
26 | protected $autoCreatedReservationsDurationType = Duration::class;
|
---|
27 | protected $autoCreatedReservationsDurationDataType = '';
|
---|
28 | /**
|
---|
29 | * @var bool
|
---|
30 | */
|
---|
31 | public $autoDeleteAutoCreatedReservations;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $creationTimestamp;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $description;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $id;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $kind;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $name;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $namePrefix;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $planningStatus;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $selfLink;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $selfLinkWithId;
|
---|
68 | protected $shareSettingsType = ShareSettings::class;
|
---|
69 | protected $shareSettingsDataType = '';
|
---|
70 | protected $specificSkuPropertiesType = FutureReservationSpecificSKUProperties::class;
|
---|
71 | protected $specificSkuPropertiesDataType = '';
|
---|
72 | protected $statusType = FutureReservationStatus::class;
|
---|
73 | protected $statusDataType = '';
|
---|
74 | protected $timeWindowType = FutureReservationTimeWindow::class;
|
---|
75 | protected $timeWindowDataType = '';
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $zone;
|
---|
80 |
|
---|
81 | /**
|
---|
82 | * @param string
|
---|
83 | */
|
---|
84 | public function setAutoCreatedReservationsDeleteTime($autoCreatedReservationsDeleteTime)
|
---|
85 | {
|
---|
86 | $this->autoCreatedReservationsDeleteTime = $autoCreatedReservationsDeleteTime;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return string
|
---|
90 | */
|
---|
91 | public function getAutoCreatedReservationsDeleteTime()
|
---|
92 | {
|
---|
93 | return $this->autoCreatedReservationsDeleteTime;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param Duration
|
---|
97 | */
|
---|
98 | public function setAutoCreatedReservationsDuration(Duration $autoCreatedReservationsDuration)
|
---|
99 | {
|
---|
100 | $this->autoCreatedReservationsDuration = $autoCreatedReservationsDuration;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return Duration
|
---|
104 | */
|
---|
105 | public function getAutoCreatedReservationsDuration()
|
---|
106 | {
|
---|
107 | return $this->autoCreatedReservationsDuration;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param bool
|
---|
111 | */
|
---|
112 | public function setAutoDeleteAutoCreatedReservations($autoDeleteAutoCreatedReservations)
|
---|
113 | {
|
---|
114 | $this->autoDeleteAutoCreatedReservations = $autoDeleteAutoCreatedReservations;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return bool
|
---|
118 | */
|
---|
119 | public function getAutoDeleteAutoCreatedReservations()
|
---|
120 | {
|
---|
121 | return $this->autoDeleteAutoCreatedReservations;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param string
|
---|
125 | */
|
---|
126 | public function setCreationTimestamp($creationTimestamp)
|
---|
127 | {
|
---|
128 | $this->creationTimestamp = $creationTimestamp;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return string
|
---|
132 | */
|
---|
133 | public function getCreationTimestamp()
|
---|
134 | {
|
---|
135 | return $this->creationTimestamp;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setDescription($description)
|
---|
141 | {
|
---|
142 | $this->description = $description;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getDescription()
|
---|
148 | {
|
---|
149 | return $this->description;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param string
|
---|
153 | */
|
---|
154 | public function setId($id)
|
---|
155 | {
|
---|
156 | $this->id = $id;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return string
|
---|
160 | */
|
---|
161 | public function getId()
|
---|
162 | {
|
---|
163 | return $this->id;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param string
|
---|
167 | */
|
---|
168 | public function setKind($kind)
|
---|
169 | {
|
---|
170 | $this->kind = $kind;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return string
|
---|
174 | */
|
---|
175 | public function getKind()
|
---|
176 | {
|
---|
177 | return $this->kind;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string
|
---|
181 | */
|
---|
182 | public function setName($name)
|
---|
183 | {
|
---|
184 | $this->name = $name;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string
|
---|
188 | */
|
---|
189 | public function getName()
|
---|
190 | {
|
---|
191 | return $this->name;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param string
|
---|
195 | */
|
---|
196 | public function setNamePrefix($namePrefix)
|
---|
197 | {
|
---|
198 | $this->namePrefix = $namePrefix;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return string
|
---|
202 | */
|
---|
203 | public function getNamePrefix()
|
---|
204 | {
|
---|
205 | return $this->namePrefix;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param string
|
---|
209 | */
|
---|
210 | public function setPlanningStatus($planningStatus)
|
---|
211 | {
|
---|
212 | $this->planningStatus = $planningStatus;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return string
|
---|
216 | */
|
---|
217 | public function getPlanningStatus()
|
---|
218 | {
|
---|
219 | return $this->planningStatus;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setSelfLink($selfLink)
|
---|
225 | {
|
---|
226 | $this->selfLink = $selfLink;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getSelfLink()
|
---|
232 | {
|
---|
233 | return $this->selfLink;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param string
|
---|
237 | */
|
---|
238 | public function setSelfLinkWithId($selfLinkWithId)
|
---|
239 | {
|
---|
240 | $this->selfLinkWithId = $selfLinkWithId;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return string
|
---|
244 | */
|
---|
245 | public function getSelfLinkWithId()
|
---|
246 | {
|
---|
247 | return $this->selfLinkWithId;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param ShareSettings
|
---|
251 | */
|
---|
252 | public function setShareSettings(ShareSettings $shareSettings)
|
---|
253 | {
|
---|
254 | $this->shareSettings = $shareSettings;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return ShareSettings
|
---|
258 | */
|
---|
259 | public function getShareSettings()
|
---|
260 | {
|
---|
261 | return $this->shareSettings;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param FutureReservationSpecificSKUProperties
|
---|
265 | */
|
---|
266 | public function setSpecificSkuProperties(FutureReservationSpecificSKUProperties $specificSkuProperties)
|
---|
267 | {
|
---|
268 | $this->specificSkuProperties = $specificSkuProperties;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return FutureReservationSpecificSKUProperties
|
---|
272 | */
|
---|
273 | public function getSpecificSkuProperties()
|
---|
274 | {
|
---|
275 | return $this->specificSkuProperties;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param FutureReservationStatus
|
---|
279 | */
|
---|
280 | public function setStatus(FutureReservationStatus $status)
|
---|
281 | {
|
---|
282 | $this->status = $status;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return FutureReservationStatus
|
---|
286 | */
|
---|
287 | public function getStatus()
|
---|
288 | {
|
---|
289 | return $this->status;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @param FutureReservationTimeWindow
|
---|
293 | */
|
---|
294 | public function setTimeWindow(FutureReservationTimeWindow $timeWindow)
|
---|
295 | {
|
---|
296 | $this->timeWindow = $timeWindow;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @return FutureReservationTimeWindow
|
---|
300 | */
|
---|
301 | public function getTimeWindow()
|
---|
302 | {
|
---|
303 | return $this->timeWindow;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @param string
|
---|
307 | */
|
---|
308 | public function setZone($zone)
|
---|
309 | {
|
---|
310 | $this->zone = $zone;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @return string
|
---|
314 | */
|
---|
315 | public function getZone()
|
---|
316 | {
|
---|
317 | return $this->zone;
|
---|
318 | }
|
---|
319 | }
|
---|
320 |
|
---|
321 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
322 | class_alias(FutureReservation::class, 'Google_Service_Compute_FutureReservation');
|
---|