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\Compute;
19
20class 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 $kind;
51  /**
52   * @var string
53   */
54  public $name;
55  /**
56   * @var string
57   */
58  public $network;
59  /**
60   * @var string
61   */
62  public $networkTier;
63  /**
64   * @var int
65   */
66  public $prefixLength;
67  /**
68   * @var string
69   */
70  public $purpose;
71  /**
72   * @var string
73   */
74  public $region;
75  /**
76   * @var string
77   */
78  public $selfLink;
79  /**
80   * @var string
81   */
82  public $status;
83  /**
84   * @var string
85   */
86  public $subnetwork;
87  /**
88   * @var string[]
89   */
90  public $users;
91
92  /**
93   * @param string
94   */
95  public function setAddress($address)
96  {
97    $this->address = $address;
98  }
99  /**
100   * @return string
101   */
102  public function getAddress()
103  {
104    return $this->address;
105  }
106  /**
107   * @param string
108   */
109  public function setAddressType($addressType)
110  {
111    $this->addressType = $addressType;
112  }
113  /**
114   * @return string
115   */
116  public function getAddressType()
117  {
118    return $this->addressType;
119  }
120  /**
121   * @param string
122   */
123  public function setCreationTimestamp($creationTimestamp)
124  {
125    $this->creationTimestamp = $creationTimestamp;
126  }
127  /**
128   * @return string
129   */
130  public function getCreationTimestamp()
131  {
132    return $this->creationTimestamp;
133  }
134  /**
135   * @param string
136   */
137  public function setDescription($description)
138  {
139    $this->description = $description;
140  }
141  /**
142   * @return string
143   */
144  public function getDescription()
145  {
146    return $this->description;
147  }
148  /**
149   * @param string
150   */
151  public function setId($id)
152  {
153    $this->id = $id;
154  }
155  /**
156   * @return string
157   */
158  public function getId()
159  {
160    return $this->id;
161  }
162  /**
163   * @param string
164   */
165  public function setIpVersion($ipVersion)
166  {
167    $this->ipVersion = $ipVersion;
168  }
169  /**
170   * @return string
171   */
172  public function getIpVersion()
173  {
174    return $this->ipVersion;
175  }
176  /**
177   * @param string
178   */
179  public function setKind($kind)
180  {
181    $this->kind = $kind;
182  }
183  /**
184   * @return string
185   */
186  public function getKind()
187  {
188    return $this->kind;
189  }
190  /**
191   * @param string
192   */
193  public function setName($name)
194  {
195    $this->name = $name;
196  }
197  /**
198   * @return string
199   */
200  public function getName()
201  {
202    return $this->name;
203  }
204  /**
205   * @param string
206   */
207  public function setNetwork($network)
208  {
209    $this->network = $network;
210  }
211  /**
212   * @return string
213   */
214  public function getNetwork()
215  {
216    return $this->network;
217  }
218  /**
219   * @param string
220   */
221  public function setNetworkTier($networkTier)
222  {
223    $this->networkTier = $networkTier;
224  }
225  /**
226   * @return string
227   */
228  public function getNetworkTier()
229  {
230    return $this->networkTier;
231  }
232  /**
233   * @param int
234   */
235  public function setPrefixLength($prefixLength)
236  {
237    $this->prefixLength = $prefixLength;
238  }
239  /**
240   * @return int
241   */
242  public function getPrefixLength()
243  {
244    return $this->prefixLength;
245  }
246  /**
247   * @param string
248   */
249  public function setPurpose($purpose)
250  {
251    $this->purpose = $purpose;
252  }
253  /**
254   * @return string
255   */
256  public function getPurpose()
257  {
258    return $this->purpose;
259  }
260  /**
261   * @param string
262   */
263  public function setRegion($region)
264  {
265    $this->region = $region;
266  }
267  /**
268   * @return string
269   */
270  public function getRegion()
271  {
272    return $this->region;
273  }
274  /**
275   * @param string
276   */
277  public function setSelfLink($selfLink)
278  {
279    $this->selfLink = $selfLink;
280  }
281  /**
282   * @return string
283   */
284  public function getSelfLink()
285  {
286    return $this->selfLink;
287  }
288  /**
289   * @param string
290   */
291  public function setStatus($status)
292  {
293    $this->status = $status;
294  }
295  /**
296   * @return string
297   */
298  public function getStatus()
299  {
300    return $this->status;
301  }
302  /**
303   * @param string
304   */
305  public function setSubnetwork($subnetwork)
306  {
307    $this->subnetwork = $subnetwork;
308  }
309  /**
310   * @return string
311   */
312  public function getSubnetwork()
313  {
314    return $this->subnetwork;
315  }
316  /**
317   * @param string[]
318   */
319  public function setUsers($users)
320  {
321    $this->users = $users;
322  }
323  /**
324   * @return string[]
325   */
326  public function getUsers()
327  {
328    return $this->users;
329  }
330}
331
332// Adding a class alias for backwards compatibility with the previous class name.
333class_alias(Address::class, 'Google_Service_Compute_Address');
334