[f9c482b] | 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 Address extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'users';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $address;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $addressType;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $creationTimestamp;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $description;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $id;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $ipVersion;
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $ipv6EndpointType;
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $kind;
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $labelFingerprint;
|
---|
| 59 | /**
|
---|
| 60 | * @var string[]
|
---|
| 61 | */
|
---|
| 62 | public $labels;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $name;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $network;
|
---|
| 71 | /**
|
---|
| 72 | * @var string
|
---|
| 73 | */
|
---|
| 74 | public $networkTier;
|
---|
| 75 | /**
|
---|
| 76 | * @var int
|
---|
| 77 | */
|
---|
| 78 | public $prefixLength;
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $purpose;
|
---|
| 83 | /**
|
---|
| 84 | * @var string
|
---|
| 85 | */
|
---|
| 86 | public $region;
|
---|
| 87 | /**
|
---|
| 88 | * @var string
|
---|
| 89 | */
|
---|
| 90 | public $selfLink;
|
---|
| 91 | /**
|
---|
| 92 | * @var string
|
---|
| 93 | */
|
---|
| 94 | public $status;
|
---|
| 95 | /**
|
---|
| 96 | * @var string
|
---|
| 97 | */
|
---|
| 98 | public $subnetwork;
|
---|
| 99 | /**
|
---|
| 100 | * @var string[]
|
---|
| 101 | */
|
---|
| 102 | public $users;
|
---|
| 103 |
|
---|
| 104 | /**
|
---|
| 105 | * @param string
|
---|
| 106 | */
|
---|
| 107 | public function setAddress($address)
|
---|
| 108 | {
|
---|
| 109 | $this->address = $address;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return string
|
---|
| 113 | */
|
---|
| 114 | public function getAddress()
|
---|
| 115 | {
|
---|
| 116 | return $this->address;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param string
|
---|
| 120 | */
|
---|
| 121 | public function setAddressType($addressType)
|
---|
| 122 | {
|
---|
| 123 | $this->addressType = $addressType;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return string
|
---|
| 127 | */
|
---|
| 128 | public function getAddressType()
|
---|
| 129 | {
|
---|
| 130 | return $this->addressType;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param string
|
---|
| 134 | */
|
---|
| 135 | public function setCreationTimestamp($creationTimestamp)
|
---|
| 136 | {
|
---|
| 137 | $this->creationTimestamp = $creationTimestamp;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return string
|
---|
| 141 | */
|
---|
| 142 | public function getCreationTimestamp()
|
---|
| 143 | {
|
---|
| 144 | return $this->creationTimestamp;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param string
|
---|
| 148 | */
|
---|
| 149 | public function setDescription($description)
|
---|
| 150 | {
|
---|
| 151 | $this->description = $description;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return string
|
---|
| 155 | */
|
---|
| 156 | public function getDescription()
|
---|
| 157 | {
|
---|
| 158 | return $this->description;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string
|
---|
| 162 | */
|
---|
| 163 | public function setId($id)
|
---|
| 164 | {
|
---|
| 165 | $this->id = $id;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string
|
---|
| 169 | */
|
---|
| 170 | public function getId()
|
---|
| 171 | {
|
---|
| 172 | return $this->id;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param string
|
---|
| 176 | */
|
---|
| 177 | public function setIpVersion($ipVersion)
|
---|
| 178 | {
|
---|
| 179 | $this->ipVersion = $ipVersion;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return string
|
---|
| 183 | */
|
---|
| 184 | public function getIpVersion()
|
---|
| 185 | {
|
---|
| 186 | return $this->ipVersion;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param string
|
---|
| 190 | */
|
---|
| 191 | public function setIpv6EndpointType($ipv6EndpointType)
|
---|
| 192 | {
|
---|
| 193 | $this->ipv6EndpointType = $ipv6EndpointType;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return string
|
---|
| 197 | */
|
---|
| 198 | public function getIpv6EndpointType()
|
---|
| 199 | {
|
---|
| 200 | return $this->ipv6EndpointType;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param string
|
---|
| 204 | */
|
---|
| 205 | public function setKind($kind)
|
---|
| 206 | {
|
---|
| 207 | $this->kind = $kind;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return string
|
---|
| 211 | */
|
---|
| 212 | public function getKind()
|
---|
| 213 | {
|
---|
| 214 | return $this->kind;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @param string
|
---|
| 218 | */
|
---|
| 219 | public function setLabelFingerprint($labelFingerprint)
|
---|
| 220 | {
|
---|
| 221 | $this->labelFingerprint = $labelFingerprint;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @return string
|
---|
| 225 | */
|
---|
| 226 | public function getLabelFingerprint()
|
---|
| 227 | {
|
---|
| 228 | return $this->labelFingerprint;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @param string[]
|
---|
| 232 | */
|
---|
| 233 | public function setLabels($labels)
|
---|
| 234 | {
|
---|
| 235 | $this->labels = $labels;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @return string[]
|
---|
| 239 | */
|
---|
| 240 | public function getLabels()
|
---|
| 241 | {
|
---|
| 242 | return $this->labels;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @param string
|
---|
| 246 | */
|
---|
| 247 | public function setName($name)
|
---|
| 248 | {
|
---|
| 249 | $this->name = $name;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @return string
|
---|
| 253 | */
|
---|
| 254 | public function getName()
|
---|
| 255 | {
|
---|
| 256 | return $this->name;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @param string
|
---|
| 260 | */
|
---|
| 261 | public function setNetwork($network)
|
---|
| 262 | {
|
---|
| 263 | $this->network = $network;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @return string
|
---|
| 267 | */
|
---|
| 268 | public function getNetwork()
|
---|
| 269 | {
|
---|
| 270 | return $this->network;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @param string
|
---|
| 274 | */
|
---|
| 275 | public function setNetworkTier($networkTier)
|
---|
| 276 | {
|
---|
| 277 | $this->networkTier = $networkTier;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @return string
|
---|
| 281 | */
|
---|
| 282 | public function getNetworkTier()
|
---|
| 283 | {
|
---|
| 284 | return $this->networkTier;
|
---|
| 285 | }
|
---|
| 286 | /**
|
---|
| 287 | * @param int
|
---|
| 288 | */
|
---|
| 289 | public function setPrefixLength($prefixLength)
|
---|
| 290 | {
|
---|
| 291 | $this->prefixLength = $prefixLength;
|
---|
| 292 | }
|
---|
| 293 | /**
|
---|
| 294 | * @return int
|
---|
| 295 | */
|
---|
| 296 | public function getPrefixLength()
|
---|
| 297 | {
|
---|
| 298 | return $this->prefixLength;
|
---|
| 299 | }
|
---|
| 300 | /**
|
---|
| 301 | * @param string
|
---|
| 302 | */
|
---|
| 303 | public function setPurpose($purpose)
|
---|
| 304 | {
|
---|
| 305 | $this->purpose = $purpose;
|
---|
| 306 | }
|
---|
| 307 | /**
|
---|
| 308 | * @return string
|
---|
| 309 | */
|
---|
| 310 | public function getPurpose()
|
---|
| 311 | {
|
---|
| 312 | return $this->purpose;
|
---|
| 313 | }
|
---|
| 314 | /**
|
---|
| 315 | * @param string
|
---|
| 316 | */
|
---|
| 317 | public function setRegion($region)
|
---|
| 318 | {
|
---|
| 319 | $this->region = $region;
|
---|
| 320 | }
|
---|
| 321 | /**
|
---|
| 322 | * @return string
|
---|
| 323 | */
|
---|
| 324 | public function getRegion()
|
---|
| 325 | {
|
---|
| 326 | return $this->region;
|
---|
| 327 | }
|
---|
| 328 | /**
|
---|
| 329 | * @param string
|
---|
| 330 | */
|
---|
| 331 | public function setSelfLink($selfLink)
|
---|
| 332 | {
|
---|
| 333 | $this->selfLink = $selfLink;
|
---|
| 334 | }
|
---|
| 335 | /**
|
---|
| 336 | * @return string
|
---|
| 337 | */
|
---|
| 338 | public function getSelfLink()
|
---|
| 339 | {
|
---|
| 340 | return $this->selfLink;
|
---|
| 341 | }
|
---|
| 342 | /**
|
---|
| 343 | * @param string
|
---|
| 344 | */
|
---|
| 345 | public function setStatus($status)
|
---|
| 346 | {
|
---|
| 347 | $this->status = $status;
|
---|
| 348 | }
|
---|
| 349 | /**
|
---|
| 350 | * @return string
|
---|
| 351 | */
|
---|
| 352 | public function getStatus()
|
---|
| 353 | {
|
---|
| 354 | return $this->status;
|
---|
| 355 | }
|
---|
| 356 | /**
|
---|
| 357 | * @param string
|
---|
| 358 | */
|
---|
| 359 | public function setSubnetwork($subnetwork)
|
---|
| 360 | {
|
---|
| 361 | $this->subnetwork = $subnetwork;
|
---|
| 362 | }
|
---|
| 363 | /**
|
---|
| 364 | * @return string
|
---|
| 365 | */
|
---|
| 366 | public function getSubnetwork()
|
---|
| 367 | {
|
---|
| 368 | return $this->subnetwork;
|
---|
| 369 | }
|
---|
| 370 | /**
|
---|
| 371 | * @param string[]
|
---|
| 372 | */
|
---|
| 373 | public function setUsers($users)
|
---|
| 374 | {
|
---|
| 375 | $this->users = $users;
|
---|
| 376 | }
|
---|
| 377 | /**
|
---|
| 378 | * @return string[]
|
---|
| 379 | */
|
---|
| 380 | public function getUsers()
|
---|
| 381 | {
|
---|
| 382 | return $this->users;
|
---|
| 383 | }
|
---|
| 384 | }
|
---|
| 385 |
|
---|
| 386 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 387 | class_alias(Address::class, 'Google_Service_Compute_Address');
|
---|