1 | <?php |
||
11 | class Thread |
||
12 | { |
||
13 | /** |
||
14 | * @var Client |
||
15 | */ |
||
16 | private $client; |
||
17 | |||
18 | 2 | public function __construct(Client $client) |
|
22 | |||
23 | /** |
||
24 | * Put thread |
||
25 | * https://cybozudev.zendesk.com/hc/ja/articles/201941894 |
||
26 | * |
||
27 | * @param integer $id |
||
28 | * @param string $name |
||
29 | * @param string $body |
||
30 | * @param integer $guestSpaceId |
||
31 | * @return array |
||
32 | */ |
||
33 | 1 | public function put($id, $name = null, $body = null, $guestSpaceId = null) |
|
47 | |||
48 | /** |
||
49 | * Post thread comment |
||
50 | * https://cybozudev.zendesk.com/hc/ja/articles/209732306 |
||
51 | * |
||
52 | * @param int $spaceId |
||
53 | * @param int $threadId |
||
54 | * @param string $comment |
||
55 | * @param array $mentions |
||
56 | * @param array $files |
||
57 | * @param int $guestSpaceId |
||
58 | * @return array |
||
59 | */ |
||
60 | 1 | public function comment($spaceId, $threadId, $comment, $mentions = [], $files = [], $guestSpaceId = null) |
|
76 | } |