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 FutureReservationStatus extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'autoCreatedReservations';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $amendmentStatus;
|
---|
27 | /**
|
---|
28 | * @var string[]
|
---|
29 | */
|
---|
30 | public $autoCreatedReservations;
|
---|
31 | protected $existingMatchingUsageInfoType = FutureReservationStatusExistingMatchingUsageInfo::class;
|
---|
32 | protected $existingMatchingUsageInfoDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $fulfilledCount;
|
---|
37 | protected $lastKnownGoodStateType = FutureReservationStatusLastKnownGoodState::class;
|
---|
38 | protected $lastKnownGoodStateDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $lockTime;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $procurementStatus;
|
---|
47 | protected $specificSkuPropertiesType = FutureReservationStatusSpecificSKUProperties::class;
|
---|
48 | protected $specificSkuPropertiesDataType = '';
|
---|
49 |
|
---|
50 | /**
|
---|
51 | * @param string
|
---|
52 | */
|
---|
53 | public function setAmendmentStatus($amendmentStatus)
|
---|
54 | {
|
---|
55 | $this->amendmentStatus = $amendmentStatus;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @return string
|
---|
59 | */
|
---|
60 | public function getAmendmentStatus()
|
---|
61 | {
|
---|
62 | return $this->amendmentStatus;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @param string[]
|
---|
66 | */
|
---|
67 | public function setAutoCreatedReservations($autoCreatedReservations)
|
---|
68 | {
|
---|
69 | $this->autoCreatedReservations = $autoCreatedReservations;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return string[]
|
---|
73 | */
|
---|
74 | public function getAutoCreatedReservations()
|
---|
75 | {
|
---|
76 | return $this->autoCreatedReservations;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param FutureReservationStatusExistingMatchingUsageInfo
|
---|
80 | */
|
---|
81 | public function setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo $existingMatchingUsageInfo)
|
---|
82 | {
|
---|
83 | $this->existingMatchingUsageInfo = $existingMatchingUsageInfo;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return FutureReservationStatusExistingMatchingUsageInfo
|
---|
87 | */
|
---|
88 | public function getExistingMatchingUsageInfo()
|
---|
89 | {
|
---|
90 | return $this->existingMatchingUsageInfo;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param string
|
---|
94 | */
|
---|
95 | public function setFulfilledCount($fulfilledCount)
|
---|
96 | {
|
---|
97 | $this->fulfilledCount = $fulfilledCount;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return string
|
---|
101 | */
|
---|
102 | public function getFulfilledCount()
|
---|
103 | {
|
---|
104 | return $this->fulfilledCount;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param FutureReservationStatusLastKnownGoodState
|
---|
108 | */
|
---|
109 | public function setLastKnownGoodState(FutureReservationStatusLastKnownGoodState $lastKnownGoodState)
|
---|
110 | {
|
---|
111 | $this->lastKnownGoodState = $lastKnownGoodState;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return FutureReservationStatusLastKnownGoodState
|
---|
115 | */
|
---|
116 | public function getLastKnownGoodState()
|
---|
117 | {
|
---|
118 | return $this->lastKnownGoodState;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param string
|
---|
122 | */
|
---|
123 | public function setLockTime($lockTime)
|
---|
124 | {
|
---|
125 | $this->lockTime = $lockTime;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return string
|
---|
129 | */
|
---|
130 | public function getLockTime()
|
---|
131 | {
|
---|
132 | return $this->lockTime;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param string
|
---|
136 | */
|
---|
137 | public function setProcurementStatus($procurementStatus)
|
---|
138 | {
|
---|
139 | $this->procurementStatus = $procurementStatus;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return string
|
---|
143 | */
|
---|
144 | public function getProcurementStatus()
|
---|
145 | {
|
---|
146 | return $this->procurementStatus;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param FutureReservationStatusSpecificSKUProperties
|
---|
150 | */
|
---|
151 | public function setSpecificSkuProperties(FutureReservationStatusSpecificSKUProperties $specificSkuProperties)
|
---|
152 | {
|
---|
153 | $this->specificSkuProperties = $specificSkuProperties;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return FutureReservationStatusSpecificSKUProperties
|
---|
157 | */
|
---|
158 | public function getSpecificSkuProperties()
|
---|
159 | {
|
---|
160 | return $this->specificSkuProperties;
|
---|
161 | }
|
---|
162 | }
|
---|
163 |
|
---|
164 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
165 | class_alias(FutureReservationStatus::class, 'Google_Service_Compute_FutureReservationStatus');
|
---|