| 1 | <?php |
||
| 21 | class UrlInfo |
||
| 22 | { |
||
| 23 | protected $name; |
||
| 24 | protected $url; |
||
| 25 | protected $method; |
||
| 26 | protected $headers; |
||
| 27 | protected $timeout; |
||
| 28 | protected $expectedStatus; |
||
| 29 | protected $metricUuid; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constructor. |
||
| 33 | * |
||
| 34 | * @param string $name |
||
| 35 | * @param string $url |
||
| 36 | * @param string $method |
||
| 37 | * @param array $headers |
||
| 38 | * @param int $timeout |
||
| 39 | * @param int $expectedStatus |
||
| 40 | * @param string $metricUuid |
||
| 41 | */ |
||
| 42 | public function __construct( |
||
| 59 | |||
| 60 | /** |
||
| 61 | * getName. |
||
| 62 | * |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function getName() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * getUrl. |
||
| 72 | * |
||
| 73 | * @return string |
||
| 74 | */ |
||
| 75 | public function getUrl() |
||
| 79 | |||
| 80 | /** |
||
| 81 | * getMethod. |
||
| 82 | * |
||
| 83 | * @return string |
||
| 84 | */ |
||
| 85 | public function getMethod() |
||
| 89 | |||
| 90 | /** |
||
| 91 | * getHeaders. |
||
| 92 | * |
||
| 93 | * @return string |
||
| 94 | */ |
||
| 95 | public function getHeaders() |
||
| 99 | |||
| 100 | /** |
||
| 101 | * getTimeOut. |
||
| 102 | * |
||
| 103 | * @return int |
||
| 104 | */ |
||
| 105 | public function getTimeOut() |
||
| 109 | |||
| 110 | /** |
||
| 111 | * getTimeOut. |
||
| 112 | * |
||
| 113 | * @return int |
||
| 114 | */ |
||
| 115 | public function getExpectedStatus() |
||
| 119 | |||
| 120 | /** |
||
| 121 | * getMetricUuid. |
||
| 122 | * |
||
| 123 | * @return string |
||
| 124 | */ |
||
| 125 | public function getMetricUuid() |
||
| 129 | } |
||
| 130 |