| 1 | <?php |
||
| 17 | final class ShowResponse implements ApiResponse |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $ip; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var bool |
||
| 26 | */ |
||
| 27 | private $dedicated; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $rdns; |
||
| 33 | |||
| 34 | 1 | private function __construct() |
|
| 37 | |||
| 38 | 1 | public static function create(array $data) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 1 | public function getIp() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @return bool |
||
| 58 | */ |
||
| 59 | 1 | public function getDedicated() |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | 1 | public function getRdns() |
|
| 71 | } |
||
| 72 |