1package cfclient 2 3// Pagination is used by the V3 apis 4type Pagination struct { 5 TotalResults int `json:"total_results"` 6 TotalPages int `json:"total_pages"` 7 First Link `json:"first"` 8 Last Link `json:"last"` 9 Next interface{} `json:"next"` 10 Previous interface{} `json:"previous"` 11} 12 13// Link is a HATEOAS-style link for v3 apis 14type Link struct { 15 Href string `json:"href"` 16 Method string `json:"method,omitempty"` 17} 18