1 | <?php |
||
6 | class ThreadRequest extends AbstractRequest |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * @var \Kerox\Messenger\Model\ThreadSettings |
||
11 | */ |
||
12 | protected $threadSettings; |
||
13 | |||
14 | /** |
||
15 | * ThreadRequest constructor. |
||
16 | * |
||
17 | * @param string $pageToken |
||
18 | * @param \Kerox\Messenger\Model\ThreadSettings $threadSettings |
||
19 | */ |
||
20 | public function __construct(string $pageToken, ThreadSettings $threadSettings) |
||
26 | |||
27 | /** |
||
28 | * @return array |
||
29 | */ |
||
30 | protected function buildHeaders(): array |
||
36 | |||
37 | /** |
||
38 | * @return ThreadSettings |
||
39 | */ |
||
40 | protected function buildBody(): ThreadSettings |
||
44 | |||
45 | /** |
||
46 | * @return array |
||
47 | */ |
||
48 | protected function buildQuery(): array |
||
52 | } |
||
53 |