amo/leads/array.go
2024-05-30 13:43:10 +05:00

25 lines
481 B
Go

package leads
// The structure represents
// response on the */leads .
type Leads struct {
Page int `json:"_page"`
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
Next struct {
Href string `json:"href"`
} `json:"next"`
First struct {
Href string `json:"first"`
} `json:"first"`
Prev struct {
Href string `json:"href"`
} `json:"prev"`
} `json:"_links"`
Embedded struct {
Leads []Lead `json:"leads"`
} `json:"_embedded"`
}