Skip to content

Commit

Permalink
feat: pagination support for members response (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajiteh authored Nov 29, 2022
1 parent 4d5d439 commit 4f4bab9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion member.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ type MembersResponse struct {
Data []Member `json:"data"`
Included Includes `json:"included"`
Links struct {
Self string `json:"self"`
First string `json:"first"`
Last string `json:"last"`
Next string `json:"next"`
Prev string `json:"prev"`
} `json:"links"`
Meta struct {
Pagination struct {
Cursors struct {
First string `json:"first"`
Last string `json:"last"`
Next string `json:"next"`
Prev string `json:"prev"`
} `json:"cursors"`
} `json:"pagination"`
Count int `json:"count"`
} `json:"meta"`
}

0 comments on commit 4f4bab9

Please sign in to comment.