0
0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-03 08:08:34 +00:00
crazy-max_diun/vendor/github.com/nlopes/slack/pagination.go
2024-12-14 22:30:21 +01:00

21 lines
523 B
Go

package slack
// Paging contains paging information
type Paging struct {
Count int `json:"count"`
Total int `json:"total"`
Page int `json:"page"`
Pages int `json:"pages"`
}
// Pagination contains pagination information
// This is different from Paging in that it contains additional details
type Pagination struct {
TotalCount int `json:"total_count"`
Page int `json:"page"`
PerPage int `json:"per_page"`
PageCount int `json:"page_count"`
First int `json:"first"`
Last int `json:"last"`
}