1 | <?php |
||
22 | class ActionResponse implements JsonSerializable { |
||
23 | |||
24 | /** |
||
25 | * Notify. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | private $notify; |
||
30 | |||
31 | /** |
||
32 | * Status. |
||
33 | * |
||
34 | * @var int |
||
35 | */ |
||
36 | private $status; |
||
37 | |||
38 | /** |
||
39 | * Constructor. |
||
40 | * |
||
41 | * @param int $status The status. |
||
42 | * @param string $notify The notify. |
||
43 | */ |
||
44 | public function __construct($status = null, $notify = null) { |
||
48 | |||
49 | /** |
||
50 | * Get the notify. |
||
51 | * |
||
52 | * @return string Returns the notify. |
||
53 | */ |
||
54 | public function getNotify() { |
||
57 | |||
58 | /** |
||
59 | * Get the status. |
||
60 | * |
||
61 | * @return int Returns the status. |
||
62 | */ |
||
63 | public function getStatus() { |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function jsonSerialize() { |
||
76 | |||
77 | /** |
||
78 | * Set the notify. |
||
79 | * |
||
80 | * @param string $notify The notify. |
||
81 | * @return ActionResponse Returns this action response. |
||
82 | */ |
||
83 | public function setNotify($notify) { |
||
87 | |||
88 | /** |
||
89 | * Set the status. |
||
90 | * |
||
91 | * @param int $status The status. |
||
92 | * @return ActionResponse Returns this action response. |
||
93 | */ |
||
94 | public function setStatus($status) { |
||
98 | } |
||
99 |