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 Interconnect extends \Google\Collection
21{
22  protected $collection_key = 'interconnectAttachments';
23  /**
24   * @var bool
25   */
26  public $adminEnabled;
27  protected $circuitInfosType = InterconnectCircuitInfo::class;
28  protected $circuitInfosDataType = 'array';
29  /**
30   * @var string
31   */
32  public $creationTimestamp;
33  /**
34   * @var string
35   */
36  public $customerName;
37  /**
38   * @var string
39   */
40  public $description;
41  protected $expectedOutagesType = InterconnectOutageNotification::class;
42  protected $expectedOutagesDataType = 'array';
43  /**
44   * @var string
45   */
46  public $googleIpAddress;
47  /**
48   * @var string
49   */
50  public $googleReferenceId;
51  /**
52   * @var string
53   */
54  public $id;
55  /**
56   * @var string[]
57   */
58  public $interconnectAttachments;
59  /**
60   * @var string
61   */
62  public $interconnectType;
63  /**
64   * @var string
65   */
66  public $kind;
67  /**
68   * @var string
69   */
70  public $linkType;
71  /**
72   * @var string
73   */
74  public $location;
75  /**
76   * @var string
77   */
78  public $name;
79  /**
80   * @var string
81   */
82  public $nocContactEmail;
83  /**
84   * @var string
85   */
86  public $operationalStatus;
87  /**
88   * @var string
89   */
90  public $peerIpAddress;
91  /**
92   * @var int
93   */
94  public $provisionedLinkCount;
95  /**
96   * @var int
97   */
98  public $requestedLinkCount;
99  /**
100   * @var bool
101   */
102  public $satisfiesPzs;
103  /**
104   * @var string
105   */
106  public $selfLink;
107  /**
108   * @var string
109   */
110  public $state;
111
112  /**
113   * @param bool
114   */
115  public function setAdminEnabled($adminEnabled)
116  {
117    $this->adminEnabled = $adminEnabled;
118  }
119  /**
120   * @return bool
121   */
122  public function getAdminEnabled()
123  {
124    return $this->adminEnabled;
125  }
126  /**
127   * @param InterconnectCircuitInfo[]
128   */
129  public function setCircuitInfos($circuitInfos)
130  {
131    $this->circuitInfos = $circuitInfos;
132  }
133  /**
134   * @return InterconnectCircuitInfo[]
135   */
136  public function getCircuitInfos()
137  {
138    return $this->circuitInfos;
139  }
140  /**
141   * @param string
142   */
143  public function setCreationTimestamp($creationTimestamp)
144  {
145    $this->creationTimestamp = $creationTimestamp;
146  }
147  /**
148   * @return string
149   */
150  public function getCreationTimestamp()
151  {
152    return $this->creationTimestamp;
153  }
154  /**
155   * @param string
156   */
157  public function setCustomerName($customerName)
158  {
159    $this->customerName = $customerName;
160  }
161  /**
162   * @return string
163   */
164  public function getCustomerName()
165  {
166    return $this->customerName;
167  }
168  /**
169   * @param string
170   */
171  public function setDescription($description)
172  {
173    $this->description = $description;
174  }
175  /**
176   * @return string
177   */
178  public function getDescription()
179  {
180    return $this->description;
181  }
182  /**
183   * @param InterconnectOutageNotification[]
184   */
185  public function setExpectedOutages($expectedOutages)
186  {
187    $this->expectedOutages = $expectedOutages;
188  }
189  /**
190   * @return InterconnectOutageNotification[]
191   */
192  public function getExpectedOutages()
193  {
194    return $this->expectedOutages;
195  }
196  /**
197   * @param string
198   */
199  public function setGoogleIpAddress($googleIpAddress)
200  {
201    $this->googleIpAddress = $googleIpAddress;
202  }
203  /**
204   * @return string
205   */
206  public function getGoogleIpAddress()
207  {
208    return $this->googleIpAddress;
209  }
210  /**
211   * @param string
212   */
213  public function setGoogleReferenceId($googleReferenceId)
214  {
215    $this->googleReferenceId = $googleReferenceId;
216  }
217  /**
218   * @return string
219   */
220  public function getGoogleReferenceId()
221  {
222    return $this->googleReferenceId;
223  }
224  /**
225   * @param string
226   */
227  public function setId($id)
228  {
229    $this->id = $id;
230  }
231  /**
232   * @return string
233   */
234  public function getId()
235  {
236    return $this->id;
237  }
238  /**
239   * @param string[]
240   */
241  public function setInterconnectAttachments($interconnectAttachments)
242  {
243    $this->interconnectAttachments = $interconnectAttachments;
244  }
245  /**
246   * @return string[]
247   */
248  public function getInterconnectAttachments()
249  {
250    return $this->interconnectAttachments;
251  }
252  /**
253   * @param string
254   */
255  public function setInterconnectType($interconnectType)
256  {
257    $this->interconnectType = $interconnectType;
258  }
259  /**
260   * @return string
261   */
262  public function getInterconnectType()
263  {
264    return $this->interconnectType;
265  }
266  /**
267   * @param string
268   */
269  public function setKind($kind)
270  {
271    $this->kind = $kind;
272  }
273  /**
274   * @return string
275   */
276  public function getKind()
277  {
278    return $this->kind;
279  }
280  /**
281   * @param string
282   */
283  public function setLinkType($linkType)
284  {
285    $this->linkType = $linkType;
286  }
287  /**
288   * @return string
289   */
290  public function getLinkType()
291  {
292    return $this->linkType;
293  }
294  /**
295   * @param string
296   */
297  public function setLocation($location)
298  {
299    $this->location = $location;
300  }
301  /**
302   * @return string
303   */
304  public function getLocation()
305  {
306    return $this->location;
307  }
308  /**
309   * @param string
310   */
311  public function setName($name)
312  {
313    $this->name = $name;
314  }
315  /**
316   * @return string
317   */
318  public function getName()
319  {
320    return $this->name;
321  }
322  /**
323   * @param string
324   */
325  public function setNocContactEmail($nocContactEmail)
326  {
327    $this->nocContactEmail = $nocContactEmail;
328  }
329  /**
330   * @return string
331   */
332  public function getNocContactEmail()
333  {
334    return $this->nocContactEmail;
335  }
336  /**
337   * @param string
338   */
339  public function setOperationalStatus($operationalStatus)
340  {
341    $this->operationalStatus = $operationalStatus;
342  }
343  /**
344   * @return string
345   */
346  public function getOperationalStatus()
347  {
348    return $this->operationalStatus;
349  }
350  /**
351   * @param string
352   */
353  public function setPeerIpAddress($peerIpAddress)
354  {
355    $this->peerIpAddress = $peerIpAddress;
356  }
357  /**
358   * @return string
359   */
360  public function getPeerIpAddress()
361  {
362    return $this->peerIpAddress;
363  }
364  /**
365   * @param int
366   */
367  public function setProvisionedLinkCount($provisionedLinkCount)
368  {
369    $this->provisionedLinkCount = $provisionedLinkCount;
370  }
371  /**
372   * @return int
373   */
374  public function getProvisionedLinkCount()
375  {
376    return $this->provisionedLinkCount;
377  }
378  /**
379   * @param int
380   */
381  public function setRequestedLinkCount($requestedLinkCount)
382  {
383    $this->requestedLinkCount = $requestedLinkCount;
384  }
385  /**
386   * @return int
387   */
388  public function getRequestedLinkCount()
389  {
390    return $this->requestedLinkCount;
391  }
392  /**
393   * @param bool
394   */
395  public function setSatisfiesPzs($satisfiesPzs)
396  {
397    $this->satisfiesPzs = $satisfiesPzs;
398  }
399  /**
400   * @return bool
401   */
402  public function getSatisfiesPzs()
403  {
404    return $this->satisfiesPzs;
405  }
406  /**
407   * @param string
408   */
409  public function setSelfLink($selfLink)
410  {
411    $this->selfLink = $selfLink;
412  }
413  /**
414   * @return string
415   */
416  public function getSelfLink()
417  {
418    return $this->selfLink;
419  }
420  /**
421   * @param string
422   */
423  public function setState($state)
424  {
425    $this->state = $state;
426  }
427  /**
428   * @return string
429   */
430  public function getState()
431  {
432    return $this->state;
433  }
434}
435
436// Adding a class alias for backwards compatibility with the previous class name.
437class_alias(Interconnect::class, 'Google_Service_Compute_Interconnect');
438