2026-01-15 16:46:37 -06:00
|
|
|
package onspring
|
|
|
|
|
|
2026-01-15 17:10:41 -06:00
|
|
|
// Page represents a paginated response from the Onspring API.
|
2026-01-15 16:46:37 -06:00
|
|
|
type Page[T any] struct {
|
|
|
|
|
PageNumber int `json:"pageNumber"`
|
|
|
|
|
PageSize int `json:"pageSize"`
|
|
|
|
|
TotalPages int `json:"totalPages"`
|
|
|
|
|
TotalRecords int `json:"totalRecords"`
|
|
|
|
|
Items []T `json:"items"`
|
|
|
|
|
}
|