diff options
Diffstat (limited to 'backend/models')
| -rw-r--r-- | backend/models/models.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/models/models.go b/backend/models/models.go index 2d54295..35929c1 100644 --- a/backend/models/models.go +++ b/backend/models/models.go | |||
| @@ -109,6 +109,13 @@ type Links struct { | |||
| 109 | Twitch string `json:"twitch"` | 109 | Twitch string `json:"twitch"` |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | type Pagination struct { | ||
| 113 | TotalRecords int `json:"total_records"` | ||
| 114 | TotalPages int `json:"total_pages"` | ||
| 115 | CurrentPage int `json:"current_page"` | ||
| 116 | PageSize int `json:"page_size"` | ||
| 117 | } | ||
| 118 | |||
| 112 | type PlayerSummaries struct { | 119 | type PlayerSummaries struct { |
| 113 | SteamId string `json:"steamid"` | 120 | SteamId string `json:"steamid"` |
| 114 | CommunityVisibilityState int `json:"communityvisibilitystate"` | 121 | CommunityVisibilityState int `json:"communityvisibilitystate"` |