Нема описа

RouterStatusBgpPeerStatus.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. class Google_Service_Compute_RouterStatusBgpPeerStatus extends Google_Collection
  18. {
  19. protected $collection_key = 'advertisedRoutes';
  20. protected $advertisedRoutesType = 'Google_Service_Compute_Route';
  21. protected $advertisedRoutesDataType = 'array';
  22. public $ipAddress;
  23. public $linkedVpnTunnel;
  24. public $name;
  25. public $numLearnedRoutes;
  26. public $peerIpAddress;
  27. public $state;
  28. public $status;
  29. public $uptime;
  30. public $uptimeSeconds;
  31. /**
  32. * @param Google_Service_Compute_Route
  33. */
  34. public function setAdvertisedRoutes($advertisedRoutes)
  35. {
  36. $this->advertisedRoutes = $advertisedRoutes;
  37. }
  38. /**
  39. * @return Google_Service_Compute_Route
  40. */
  41. public function getAdvertisedRoutes()
  42. {
  43. return $this->advertisedRoutes;
  44. }
  45. public function setIpAddress($ipAddress)
  46. {
  47. $this->ipAddress = $ipAddress;
  48. }
  49. public function getIpAddress()
  50. {
  51. return $this->ipAddress;
  52. }
  53. public function setLinkedVpnTunnel($linkedVpnTunnel)
  54. {
  55. $this->linkedVpnTunnel = $linkedVpnTunnel;
  56. }
  57. public function getLinkedVpnTunnel()
  58. {
  59. return $this->linkedVpnTunnel;
  60. }
  61. public function setName($name)
  62. {
  63. $this->name = $name;
  64. }
  65. public function getName()
  66. {
  67. return $this->name;
  68. }
  69. public function setNumLearnedRoutes($numLearnedRoutes)
  70. {
  71. $this->numLearnedRoutes = $numLearnedRoutes;
  72. }
  73. public function getNumLearnedRoutes()
  74. {
  75. return $this->numLearnedRoutes;
  76. }
  77. public function setPeerIpAddress($peerIpAddress)
  78. {
  79. $this->peerIpAddress = $peerIpAddress;
  80. }
  81. public function getPeerIpAddress()
  82. {
  83. return $this->peerIpAddress;
  84. }
  85. public function setState($state)
  86. {
  87. $this->state = $state;
  88. }
  89. public function getState()
  90. {
  91. return $this->state;
  92. }
  93. public function setStatus($status)
  94. {
  95. $this->status = $status;
  96. }
  97. public function getStatus()
  98. {
  99. return $this->status;
  100. }
  101. public function setUptime($uptime)
  102. {
  103. $this->uptime = $uptime;
  104. }
  105. public function getUptime()
  106. {
  107. return $this->uptime;
  108. }
  109. public function setUptimeSeconds($uptimeSeconds)
  110. {
  111. $this->uptimeSeconds = $uptimeSeconds;
  112. }
  113. public function getUptimeSeconds()
  114. {
  115. return $this->uptimeSeconds;
  116. }
  117. }