1 | <?php |
||
12 | class AutomaticReminder implements CreatableFromArray |
||
13 | { |
||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | private $delayDays; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $message; |
||
23 | |||
24 | 1 | public function toArray() |
|
36 | |||
37 | /** |
||
38 | * Create an API response object from the HTTP response from the API server. |
||
39 | * |
||
40 | * @param array $data |
||
41 | * |
||
42 | * @return self |
||
43 | */ |
||
44 | 2 | public static function createFromArray(array $data) |
|
52 | } |
||
53 |