Nessuna descrizione

ReadinessCheck.php 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_Appengine_ReadinessCheck extends Google_Model
  18. {
  19. public $appStartTimeout;
  20. public $checkInterval;
  21. public $failureThreshold;
  22. public $host;
  23. public $path;
  24. public $successThreshold;
  25. public $timeout;
  26. public function setAppStartTimeout($appStartTimeout)
  27. {
  28. $this->appStartTimeout = $appStartTimeout;
  29. }
  30. public function getAppStartTimeout()
  31. {
  32. return $this->appStartTimeout;
  33. }
  34. public function setCheckInterval($checkInterval)
  35. {
  36. $this->checkInterval = $checkInterval;
  37. }
  38. public function getCheckInterval()
  39. {
  40. return $this->checkInterval;
  41. }
  42. public function setFailureThreshold($failureThreshold)
  43. {
  44. $this->failureThreshold = $failureThreshold;
  45. }
  46. public function getFailureThreshold()
  47. {
  48. return $this->failureThreshold;
  49. }
  50. public function setHost($host)
  51. {
  52. $this->host = $host;
  53. }
  54. public function getHost()
  55. {
  56. return $this->host;
  57. }
  58. public function setPath($path)
  59. {
  60. $this->path = $path;
  61. }
  62. public function getPath()
  63. {
  64. return $this->path;
  65. }
  66. public function setSuccessThreshold($successThreshold)
  67. {
  68. $this->successThreshold = $successThreshold;
  69. }
  70. public function getSuccessThreshold()
  71. {
  72. return $this->successThreshold;
  73. }
  74. public function setTimeout($timeout)
  75. {
  76. $this->timeout = $timeout;
  77. }
  78. public function getTimeout()
  79. {
  80. return $this->timeout;
  81. }
  82. }