Files
onspring-api-sdk-go/page.go
T

11 lines
294 B
Go
Raw Normal View History

package onspring
// Page represents a paginated response from the Onspring API.
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"`
}