1 | <?php |
||
12 | class Comment |
||
13 | { |
||
14 | /** |
||
15 | * @var Client |
||
16 | */ |
||
17 | private $client; |
||
18 | |||
19 | 1 | public function __construct(Client $client) |
|
23 | |||
24 | /** |
||
25 | * Post record comment |
||
26 | * https://cybozudev.zendesk.com/hc/ja/articles/209758903 |
||
27 | * |
||
28 | * @param integer $appId |
||
29 | * @param integer $record |
||
30 | * @param string $comment |
||
31 | * @param array $mentions |
||
32 | * @param integer $guestSpaceId |
||
33 | * @return array |
||
34 | */ |
||
35 | public function post($appId, $record, $comment, array $mentions = [], $guestSpaceId = null) |
||
53 | |||
54 | /** |
||
55 | * Delete record comment |
||
56 | * https://cybozudev.zendesk.com/hc/ja/articles/209758703 |
||
57 | * |
||
58 | * @param integer $appId |
||
59 | * @param integer $recordId |
||
60 | * @param integer $id |
||
61 | * @param integer $guestSpaceId |
||
62 | * @return array |
||
63 | */ |
||
64 | public function delete($appId, $recordId, $id, $guestSpaceId = null) |
||
79 | } |