1 | <?php |
||
19 | class GroupsHistoryPayload extends AbstractPayload |
||
20 | { |
||
21 | /** |
||
22 | * Slack seems to want to call this option "channel", but I can't agree with that (the format of the value is different), |
||
23 | * and will just pretend to my users it's a "group" (ID). |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | private $channel; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | private $oldest; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | private $latest; |
||
38 | |||
39 | /** |
||
40 | * @var int |
||
41 | */ |
||
42 | private $count; |
||
43 | |||
44 | /** |
||
45 | * @var bool |
||
46 | */ |
||
47 | private $inclusive; |
||
48 | |||
49 | /** |
||
50 | * @param string $groupId ID of the group to clone and archive. |
||
51 | */ |
||
52 | 1 | public function setGroupId($groupId) |
|
56 | |||
57 | /** |
||
58 | * @return string ID of the group to clone and archive. |
||
59 | */ |
||
60 | 1 | public function getGroupId() |
|
64 | |||
65 | /** |
||
66 | * @param string|string|null $latest |
||
67 | */ |
||
68 | 1 | public function setLatest($latest = null) |
|
72 | |||
73 | /** |
||
74 | * @return string|string|null |
||
75 | */ |
||
76 | 1 | public function getLatest() |
|
80 | |||
81 | /** |
||
82 | * @param string|null $oldest |
||
83 | */ |
||
84 | 1 | public function setOldest($oldest = null) |
|
88 | |||
89 | /** |
||
90 | * @return string|null |
||
91 | */ |
||
92 | 1 | public function getOldest() |
|
96 | |||
97 | /** |
||
98 | * @param int|null $count |
||
99 | */ |
||
100 | 1 | public function setCount($count = null) |
|
104 | |||
105 | /** |
||
106 | * @return int|null |
||
107 | */ |
||
108 | 1 | public function getCount() |
|
112 | |||
113 | /** |
||
114 | * @param bool $inclusive |
||
115 | */ |
||
116 | public function setInclusive($inclusive) |
||
120 | |||
121 | /** |
||
122 | * @return bool |
||
123 | */ |
||
124 | public function getInclusive() |
||
128 | |||
129 | /** |
||
130 | * @inheritdoc |
||
131 | */ |
||
132 | 1 | public function getMethod() |
|
136 | } |
||
137 |