No Description

LbModule.php 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_Manager_LbModule extends Google_Collection
  18. {
  19. protected $collection_key = 'targetModules';
  20. public $description;
  21. public $healthChecks;
  22. public $ipAddress;
  23. public $ipProtocol;
  24. public $portRange;
  25. public $sessionAffinity;
  26. public $targetModules;
  27. public function setDescription($description)
  28. {
  29. $this->description = $description;
  30. }
  31. public function getDescription()
  32. {
  33. return $this->description;
  34. }
  35. public function setHealthChecks($healthChecks)
  36. {
  37. $this->healthChecks = $healthChecks;
  38. }
  39. public function getHealthChecks()
  40. {
  41. return $this->healthChecks;
  42. }
  43. public function setIpAddress($ipAddress)
  44. {
  45. $this->ipAddress = $ipAddress;
  46. }
  47. public function getIpAddress()
  48. {
  49. return $this->ipAddress;
  50. }
  51. public function setIpProtocol($ipProtocol)
  52. {
  53. $this->ipProtocol = $ipProtocol;
  54. }
  55. public function getIpProtocol()
  56. {
  57. return $this->ipProtocol;
  58. }
  59. public function setPortRange($portRange)
  60. {
  61. $this->portRange = $portRange;
  62. }
  63. public function getPortRange()
  64. {
  65. return $this->portRange;
  66. }
  67. public function setSessionAffinity($sessionAffinity)
  68. {
  69. $this->sessionAffinity = $sessionAffinity;
  70. }
  71. public function getSessionAffinity()
  72. {
  73. return $this->sessionAffinity;
  74. }
  75. public function setTargetModules($targetModules)
  76. {
  77. $this->targetModules = $targetModules;
  78. }
  79. public function getTargetModules()
  80. {
  81. return $this->targetModules;
  82. }
  83. }