[e3d4e0a] | 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\GKEOnPrem;
|
---|
| 19 |
|
---|
| 20 | class VmwareNodePool extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string[]
|
---|
| 24 | */
|
---|
| 25 | public $annotations;
|
---|
| 26 | protected $configType = VmwareNodeConfig::class;
|
---|
| 27 | protected $configDataType = '';
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $createTime;
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $deleteTime;
|
---|
| 36 | /**
|
---|
| 37 | * @var string
|
---|
| 38 | */
|
---|
| 39 | public $displayName;
|
---|
| 40 | /**
|
---|
| 41 | * @var string
|
---|
| 42 | */
|
---|
| 43 | public $etag;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $name;
|
---|
| 48 | protected $nodePoolAutoscalingType = VmwareNodePoolAutoscalingConfig::class;
|
---|
| 49 | protected $nodePoolAutoscalingDataType = '';
|
---|
| 50 | /**
|
---|
| 51 | * @var string
|
---|
| 52 | */
|
---|
| 53 | public $onPremVersion;
|
---|
| 54 | /**
|
---|
| 55 | * @var bool
|
---|
| 56 | */
|
---|
| 57 | public $reconciling;
|
---|
| 58 | /**
|
---|
| 59 | * @var string
|
---|
| 60 | */
|
---|
| 61 | public $state;
|
---|
| 62 | protected $statusType = ResourceStatus::class;
|
---|
| 63 | protected $statusDataType = '';
|
---|
| 64 | /**
|
---|
| 65 | * @var string
|
---|
| 66 | */
|
---|
| 67 | public $uid;
|
---|
| 68 | /**
|
---|
| 69 | * @var string
|
---|
| 70 | */
|
---|
| 71 | public $updateTime;
|
---|
| 72 |
|
---|
| 73 | /**
|
---|
| 74 | * @param string[]
|
---|
| 75 | */
|
---|
| 76 | public function setAnnotations($annotations)
|
---|
| 77 | {
|
---|
| 78 | $this->annotations = $annotations;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return string[]
|
---|
| 82 | */
|
---|
| 83 | public function getAnnotations()
|
---|
| 84 | {
|
---|
| 85 | return $this->annotations;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param VmwareNodeConfig
|
---|
| 89 | */
|
---|
| 90 | public function setConfig(VmwareNodeConfig $config)
|
---|
| 91 | {
|
---|
| 92 | $this->config = $config;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return VmwareNodeConfig
|
---|
| 96 | */
|
---|
| 97 | public function getConfig()
|
---|
| 98 | {
|
---|
| 99 | return $this->config;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @param string
|
---|
| 103 | */
|
---|
| 104 | public function setCreateTime($createTime)
|
---|
| 105 | {
|
---|
| 106 | $this->createTime = $createTime;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @return string
|
---|
| 110 | */
|
---|
| 111 | public function getCreateTime()
|
---|
| 112 | {
|
---|
| 113 | return $this->createTime;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @param string
|
---|
| 117 | */
|
---|
| 118 | public function setDeleteTime($deleteTime)
|
---|
| 119 | {
|
---|
| 120 | $this->deleteTime = $deleteTime;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @return string
|
---|
| 124 | */
|
---|
| 125 | public function getDeleteTime()
|
---|
| 126 | {
|
---|
| 127 | return $this->deleteTime;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param string
|
---|
| 131 | */
|
---|
| 132 | public function setDisplayName($displayName)
|
---|
| 133 | {
|
---|
| 134 | $this->displayName = $displayName;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return string
|
---|
| 138 | */
|
---|
| 139 | public function getDisplayName()
|
---|
| 140 | {
|
---|
| 141 | return $this->displayName;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @param string
|
---|
| 145 | */
|
---|
| 146 | public function setEtag($etag)
|
---|
| 147 | {
|
---|
| 148 | $this->etag = $etag;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @return string
|
---|
| 152 | */
|
---|
| 153 | public function getEtag()
|
---|
| 154 | {
|
---|
| 155 | return $this->etag;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @param string
|
---|
| 159 | */
|
---|
| 160 | public function setName($name)
|
---|
| 161 | {
|
---|
| 162 | $this->name = $name;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @return string
|
---|
| 166 | */
|
---|
| 167 | public function getName()
|
---|
| 168 | {
|
---|
| 169 | return $this->name;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @param VmwareNodePoolAutoscalingConfig
|
---|
| 173 | */
|
---|
| 174 | public function setNodePoolAutoscaling(VmwareNodePoolAutoscalingConfig $nodePoolAutoscaling)
|
---|
| 175 | {
|
---|
| 176 | $this->nodePoolAutoscaling = $nodePoolAutoscaling;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @return VmwareNodePoolAutoscalingConfig
|
---|
| 180 | */
|
---|
| 181 | public function getNodePoolAutoscaling()
|
---|
| 182 | {
|
---|
| 183 | return $this->nodePoolAutoscaling;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @param string
|
---|
| 187 | */
|
---|
| 188 | public function setOnPremVersion($onPremVersion)
|
---|
| 189 | {
|
---|
| 190 | $this->onPremVersion = $onPremVersion;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @return string
|
---|
| 194 | */
|
---|
| 195 | public function getOnPremVersion()
|
---|
| 196 | {
|
---|
| 197 | return $this->onPremVersion;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @param bool
|
---|
| 201 | */
|
---|
| 202 | public function setReconciling($reconciling)
|
---|
| 203 | {
|
---|
| 204 | $this->reconciling = $reconciling;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @return bool
|
---|
| 208 | */
|
---|
| 209 | public function getReconciling()
|
---|
| 210 | {
|
---|
| 211 | return $this->reconciling;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @param string
|
---|
| 215 | */
|
---|
| 216 | public function setState($state)
|
---|
| 217 | {
|
---|
| 218 | $this->state = $state;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @return string
|
---|
| 222 | */
|
---|
| 223 | public function getState()
|
---|
| 224 | {
|
---|
| 225 | return $this->state;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @param ResourceStatus
|
---|
| 229 | */
|
---|
| 230 | public function setStatus(ResourceStatus $status)
|
---|
| 231 | {
|
---|
| 232 | $this->status = $status;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @return ResourceStatus
|
---|
| 236 | */
|
---|
| 237 | public function getStatus()
|
---|
| 238 | {
|
---|
| 239 | return $this->status;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @param string
|
---|
| 243 | */
|
---|
| 244 | public function setUid($uid)
|
---|
| 245 | {
|
---|
| 246 | $this->uid = $uid;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @return string
|
---|
| 250 | */
|
---|
| 251 | public function getUid()
|
---|
| 252 | {
|
---|
| 253 | return $this->uid;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @param string
|
---|
| 257 | */
|
---|
| 258 | public function setUpdateTime($updateTime)
|
---|
| 259 | {
|
---|
| 260 | $this->updateTime = $updateTime;
|
---|
| 261 | }
|
---|
| 262 | /**
|
---|
| 263 | * @return string
|
---|
| 264 | */
|
---|
| 265 | public function getUpdateTime()
|
---|
| 266 | {
|
---|
| 267 | return $this->updateTime;
|
---|
| 268 | }
|
---|
| 269 | }
|
---|
| 270 |
|
---|
| 271 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 272 | class_alias(VmwareNodePool::class, 'Google_Service_GKEOnPrem_VmwareNodePool');
|
---|