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 HttpHealthCheck extends \Google\Model
21{
22  /**
23   * @var int
24   */
25  public $checkIntervalSec;
26  /**
27   * @var string
28   */
29  public $creationTimestamp;
30  /**
31   * @var string
32   */
33  public $description;
34  /**
35   * @var int
36   */
37  public $healthyThreshold;
38  /**
39   * @var string
40   */
41  public $host;
42  /**
43   * @var string
44   */
45  public $id;
46  /**
47   * @var string
48   */
49  public $kind;
50  /**
51   * @var string
52   */
53  public $name;
54  /**
55   * @var int
56   */
57  public $port;
58  /**
59   * @var string
60   */
61  public $requestPath;
62  /**
63   * @var string
64   */
65  public $selfLink;
66  /**
67   * @var int
68   */
69  public $timeoutSec;
70  /**
71   * @var int
72   */
73  public $unhealthyThreshold;
74
75  /**
76   * @param int
77   */
78  public function setCheckIntervalSec($checkIntervalSec)
79  {
80    $this->checkIntervalSec = $checkIntervalSec;
81  }
82  /**
83   * @return int
84   */
85  public function getCheckIntervalSec()
86  {
87    return $this->checkIntervalSec;
88  }
89  /**
90   * @param string
91   */
92  public function setCreationTimestamp($creationTimestamp)
93  {
94    $this->creationTimestamp = $creationTimestamp;
95  }
96  /**
97   * @return string
98   */
99  public function getCreationTimestamp()
100  {
101    return $this->creationTimestamp;
102  }
103  /**
104   * @param string
105   */
106  public function setDescription($description)
107  {
108    $this->description = $description;
109  }
110  /**
111   * @return string
112   */
113  public function getDescription()
114  {
115    return $this->description;
116  }
117  /**
118   * @param int
119   */
120  public function setHealthyThreshold($healthyThreshold)
121  {
122    $this->healthyThreshold = $healthyThreshold;
123  }
124  /**
125   * @return int
126   */
127  public function getHealthyThreshold()
128  {
129    return $this->healthyThreshold;
130  }
131  /**
132   * @param string
133   */
134  public function setHost($host)
135  {
136    $this->host = $host;
137  }
138  /**
139   * @return string
140   */
141  public function getHost()
142  {
143    return $this->host;
144  }
145  /**
146   * @param string
147   */
148  public function setId($id)
149  {
150    $this->id = $id;
151  }
152  /**
153   * @return string
154   */
155  public function getId()
156  {
157    return $this->id;
158  }
159  /**
160   * @param string
161   */
162  public function setKind($kind)
163  {
164    $this->kind = $kind;
165  }
166  /**
167   * @return string
168   */
169  public function getKind()
170  {
171    return $this->kind;
172  }
173  /**
174   * @param string
175   */
176  public function setName($name)
177  {
178    $this->name = $name;
179  }
180  /**
181   * @return string
182   */
183  public function getName()
184  {
185    return $this->name;
186  }
187  /**
188   * @param int
189   */
190  public function setPort($port)
191  {
192    $this->port = $port;
193  }
194  /**
195   * @return int
196   */
197  public function getPort()
198  {
199    return $this->port;
200  }
201  /**
202   * @param string
203   */
204  public function setRequestPath($requestPath)
205  {
206    $this->requestPath = $requestPath;
207  }
208  /**
209   * @return string
210   */
211  public function getRequestPath()
212  {
213    return $this->requestPath;
214  }
215  /**
216   * @param string
217   */
218  public function setSelfLink($selfLink)
219  {
220    $this->selfLink = $selfLink;
221  }
222  /**
223   * @return string
224   */
225  public function getSelfLink()
226  {
227    return $this->selfLink;
228  }
229  /**
230   * @param int
231   */
232  public function setTimeoutSec($timeoutSec)
233  {
234    $this->timeoutSec = $timeoutSec;
235  }
236  /**
237   * @return int
238   */
239  public function getTimeoutSec()
240  {
241    return $this->timeoutSec;
242  }
243  /**
244   * @param int
245   */
246  public function setUnhealthyThreshold($unhealthyThreshold)
247  {
248    $this->unhealthyThreshold = $unhealthyThreshold;
249  }
250  /**
251   * @return int
252   */
253  public function getUnhealthyThreshold()
254  {
255    return $this->unhealthyThreshold;
256  }
257}
258
259// Adding a class alias for backwards compatibility with the previous class name.
260class_alias(HttpHealthCheck::class, 'Google_Service_Compute_HttpHealthCheck');
261