1 | <?php |
||
17 | final class UpdateConnectionResponse implements ApiResponse |
||
18 | { |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $message; |
||
23 | |||
24 | /** |
||
25 | * @var bool |
||
26 | */ |
||
27 | private $noVerify; |
||
28 | |||
29 | /** |
||
30 | * @var bool |
||
31 | */ |
||
32 | private $requireTLS; |
||
33 | |||
34 | /** |
||
35 | * @param array $data |
||
36 | * |
||
37 | * @return self |
||
38 | */ |
||
39 | public static function create(array $data) |
||
47 | |||
48 | /** |
||
49 | * @param string $message |
||
50 | * @param bool $noVerify |
||
51 | * @param bool $requireTLS |
||
52 | */ |
||
53 | private function __construct($message, $noVerify, $requireTLS) |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | public function getMessage() |
||
67 | |||
68 | /** |
||
69 | * @return bool |
||
70 | */ |
||
71 | public function getSkipVerification() |
||
75 | |||
76 | /** |
||
77 | * @return bool |
||
78 | */ |
||
79 | public function getRequireTLS() |
||
83 | } |
||
84 |