| 1 | package slack |
| 2 | |
| 3 | // Paging contains paging information |
| 4 | type Paging struct { |
| 5 | Count int `json:"count"` |
| 6 | Total int `json:"total"` |
| 7 | Page int `json:"page"` |
| 8 | Pages int `json:"pages"` |
| 9 | } |
| 10 | |
| 11 | // Pagination contains pagination information |
| 12 | // This is different from Paging in that it contains additional details |
| 13 | type Pagination struct { |
| 14 | TotalCount int `json:"total_count"` |
| 15 | Page int `json:"page"` |
| 16 | PerPage int `json:"per_page"` |
| 17 | PageCount int `json:"page_count"` |
| 18 | First int `json:"first"` |
| 19 | Last int `json:"last"` |
| 20 | } |