source: vendor/google/apiclient-services/src/Compute/RouterStatusBgpPeerStatus.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 6.8 KB
Line 
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 RouterStatusBgpPeerStatus extends \Google\Collection
21{
22 protected $collection_key = 'advertisedRoutes';
23 protected $advertisedRoutesType = Route::class;
24 protected $advertisedRoutesDataType = 'array';
25 protected $bfdStatusType = BfdStatus::class;
26 protected $bfdStatusDataType = '';
27 /**
28 * @var bool
29 */
30 public $enableIpv4;
31 /**
32 * @var bool
33 */
34 public $enableIpv6;
35 /**
36 * @var string
37 */
38 public $ipAddress;
39 /**
40 * @var string
41 */
42 public $ipv4NexthopAddress;
43 /**
44 * @var string
45 */
46 public $ipv6NexthopAddress;
47 /**
48 * @var string
49 */
50 public $linkedVpnTunnel;
51 /**
52 * @var bool
53 */
54 public $md5AuthEnabled;
55 /**
56 * @var string
57 */
58 public $name;
59 /**
60 * @var string
61 */
62 public $numLearnedRoutes;
63 /**
64 * @var string
65 */
66 public $peerIpAddress;
67 /**
68 * @var string
69 */
70 public $peerIpv4NexthopAddress;
71 /**
72 * @var string
73 */
74 public $peerIpv6NexthopAddress;
75 /**
76 * @var string
77 */
78 public $routerApplianceInstance;
79 /**
80 * @var string
81 */
82 public $state;
83 /**
84 * @var string
85 */
86 public $status;
87 /**
88 * @var string
89 */
90 public $statusReason;
91 /**
92 * @var string
93 */
94 public $uptime;
95 /**
96 * @var string
97 */
98 public $uptimeSeconds;
99
100 /**
101 * @param Route[]
102 */
103 public function setAdvertisedRoutes($advertisedRoutes)
104 {
105 $this->advertisedRoutes = $advertisedRoutes;
106 }
107 /**
108 * @return Route[]
109 */
110 public function getAdvertisedRoutes()
111 {
112 return $this->advertisedRoutes;
113 }
114 /**
115 * @param BfdStatus
116 */
117 public function setBfdStatus(BfdStatus $bfdStatus)
118 {
119 $this->bfdStatus = $bfdStatus;
120 }
121 /**
122 * @return BfdStatus
123 */
124 public function getBfdStatus()
125 {
126 return $this->bfdStatus;
127 }
128 /**
129 * @param bool
130 */
131 public function setEnableIpv4($enableIpv4)
132 {
133 $this->enableIpv4 = $enableIpv4;
134 }
135 /**
136 * @return bool
137 */
138 public function getEnableIpv4()
139 {
140 return $this->enableIpv4;
141 }
142 /**
143 * @param bool
144 */
145 public function setEnableIpv6($enableIpv6)
146 {
147 $this->enableIpv6 = $enableIpv6;
148 }
149 /**
150 * @return bool
151 */
152 public function getEnableIpv6()
153 {
154 return $this->enableIpv6;
155 }
156 /**
157 * @param string
158 */
159 public function setIpAddress($ipAddress)
160 {
161 $this->ipAddress = $ipAddress;
162 }
163 /**
164 * @return string
165 */
166 public function getIpAddress()
167 {
168 return $this->ipAddress;
169 }
170 /**
171 * @param string
172 */
173 public function setIpv4NexthopAddress($ipv4NexthopAddress)
174 {
175 $this->ipv4NexthopAddress = $ipv4NexthopAddress;
176 }
177 /**
178 * @return string
179 */
180 public function getIpv4NexthopAddress()
181 {
182 return $this->ipv4NexthopAddress;
183 }
184 /**
185 * @param string
186 */
187 public function setIpv6NexthopAddress($ipv6NexthopAddress)
188 {
189 $this->ipv6NexthopAddress = $ipv6NexthopAddress;
190 }
191 /**
192 * @return string
193 */
194 public function getIpv6NexthopAddress()
195 {
196 return $this->ipv6NexthopAddress;
197 }
198 /**
199 * @param string
200 */
201 public function setLinkedVpnTunnel($linkedVpnTunnel)
202 {
203 $this->linkedVpnTunnel = $linkedVpnTunnel;
204 }
205 /**
206 * @return string
207 */
208 public function getLinkedVpnTunnel()
209 {
210 return $this->linkedVpnTunnel;
211 }
212 /**
213 * @param bool
214 */
215 public function setMd5AuthEnabled($md5AuthEnabled)
216 {
217 $this->md5AuthEnabled = $md5AuthEnabled;
218 }
219 /**
220 * @return bool
221 */
222 public function getMd5AuthEnabled()
223 {
224 return $this->md5AuthEnabled;
225 }
226 /**
227 * @param string
228 */
229 public function setName($name)
230 {
231 $this->name = $name;
232 }
233 /**
234 * @return string
235 */
236 public function getName()
237 {
238 return $this->name;
239 }
240 /**
241 * @param string
242 */
243 public function setNumLearnedRoutes($numLearnedRoutes)
244 {
245 $this->numLearnedRoutes = $numLearnedRoutes;
246 }
247 /**
248 * @return string
249 */
250 public function getNumLearnedRoutes()
251 {
252 return $this->numLearnedRoutes;
253 }
254 /**
255 * @param string
256 */
257 public function setPeerIpAddress($peerIpAddress)
258 {
259 $this->peerIpAddress = $peerIpAddress;
260 }
261 /**
262 * @return string
263 */
264 public function getPeerIpAddress()
265 {
266 return $this->peerIpAddress;
267 }
268 /**
269 * @param string
270 */
271 public function setPeerIpv4NexthopAddress($peerIpv4NexthopAddress)
272 {
273 $this->peerIpv4NexthopAddress = $peerIpv4NexthopAddress;
274 }
275 /**
276 * @return string
277 */
278 public function getPeerIpv4NexthopAddress()
279 {
280 return $this->peerIpv4NexthopAddress;
281 }
282 /**
283 * @param string
284 */
285 public function setPeerIpv6NexthopAddress($peerIpv6NexthopAddress)
286 {
287 $this->peerIpv6NexthopAddress = $peerIpv6NexthopAddress;
288 }
289 /**
290 * @return string
291 */
292 public function getPeerIpv6NexthopAddress()
293 {
294 return $this->peerIpv6NexthopAddress;
295 }
296 /**
297 * @param string
298 */
299 public function setRouterApplianceInstance($routerApplianceInstance)
300 {
301 $this->routerApplianceInstance = $routerApplianceInstance;
302 }
303 /**
304 * @return string
305 */
306 public function getRouterApplianceInstance()
307 {
308 return $this->routerApplianceInstance;
309 }
310 /**
311 * @param string
312 */
313 public function setState($state)
314 {
315 $this->state = $state;
316 }
317 /**
318 * @return string
319 */
320 public function getState()
321 {
322 return $this->state;
323 }
324 /**
325 * @param string
326 */
327 public function setStatus($status)
328 {
329 $this->status = $status;
330 }
331 /**
332 * @return string
333 */
334 public function getStatus()
335 {
336 return $this->status;
337 }
338 /**
339 * @param string
340 */
341 public function setStatusReason($statusReason)
342 {
343 $this->statusReason = $statusReason;
344 }
345 /**
346 * @return string
347 */
348 public function getStatusReason()
349 {
350 return $this->statusReason;
351 }
352 /**
353 * @param string
354 */
355 public function setUptime($uptime)
356 {
357 $this->uptime = $uptime;
358 }
359 /**
360 * @return string
361 */
362 public function getUptime()
363 {
364 return $this->uptime;
365 }
366 /**
367 * @param string
368 */
369 public function setUptimeSeconds($uptimeSeconds)
370 {
371 $this->uptimeSeconds = $uptimeSeconds;
372 }
373 /**
374 * @return string
375 */
376 public function getUptimeSeconds()
377 {
378 return $this->uptimeSeconds;
379 }
380}
381
382// Adding a class alias for backwards compatibility with the previous class name.
383class_alias(RouterStatusBgpPeerStatus::class, 'Google_Service_Compute_RouterStatusBgpPeerStatus');
Note: See TracBrowser for help on using the repository browser.