Nenhuma descrição

RouterStatus.php 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_RouterStatus extends Google_Collection
  18. {
  19. protected $collection_key = 'bgpPeerStatus';
  20. protected $bestRoutesType = 'Google_Service_Compute_Route';
  21. protected $bestRoutesDataType = 'array';
  22. protected $bestRoutesForRouterType = 'Google_Service_Compute_Route';
  23. protected $bestRoutesForRouterDataType = 'array';
  24. protected $bgpPeerStatusType = 'Google_Service_Compute_RouterStatusBgpPeerStatus';
  25. protected $bgpPeerStatusDataType = 'array';
  26. public $network;
  27. /**
  28. * @param Google_Service_Compute_Route
  29. */
  30. public function setBestRoutes($bestRoutes)
  31. {
  32. $this->bestRoutes = $bestRoutes;
  33. }
  34. /**
  35. * @return Google_Service_Compute_Route
  36. */
  37. public function getBestRoutes()
  38. {
  39. return $this->bestRoutes;
  40. }
  41. /**
  42. * @param Google_Service_Compute_Route
  43. */
  44. public function setBestRoutesForRouter($bestRoutesForRouter)
  45. {
  46. $this->bestRoutesForRouter = $bestRoutesForRouter;
  47. }
  48. /**
  49. * @return Google_Service_Compute_Route
  50. */
  51. public function getBestRoutesForRouter()
  52. {
  53. return $this->bestRoutesForRouter;
  54. }
  55. /**
  56. * @param Google_Service_Compute_RouterStatusBgpPeerStatus
  57. */
  58. public function setBgpPeerStatus($bgpPeerStatus)
  59. {
  60. $this->bgpPeerStatus = $bgpPeerStatus;
  61. }
  62. /**
  63. * @return Google_Service_Compute_RouterStatusBgpPeerStatus
  64. */
  65. public function getBgpPeerStatus()
  66. {
  67. return $this->bgpPeerStatus;
  68. }
  69. public function setNetwork($network)
  70. {
  71. $this->network = $network;
  72. }
  73. public function getNetwork()
  74. {
  75. return $this->network;
  76. }
  77. }