list.go 763 B

1234567891011121314151617181920212223242526
  1. package anaconda
  2. type ListResponse struct {
  3. PreviousCursor int `json:"previous_cursor"`
  4. NextCursor int `json:"next_cursor"`
  5. Lists []List `json:"lists"`
  6. }
  7. type AddUserToListResponse struct {
  8. Users []User `json:"users"`
  9. }
  10. type List struct {
  11. Slug string `json:"slug"`
  12. Name string `json:"name"`
  13. URL string `json:"uri"`
  14. CreatedAt string `json:"created_at"`
  15. Id int64 `json:"id"`
  16. SubscriberCount int64 `json:"subscriber_count"`
  17. MemberCount int64 `json:"member_count"`
  18. Mode string `json:"mode"`
  19. FullName string `json:"full_name"`
  20. Description string `json:"description"`
  21. User User `json:"user"`
  22. Following bool `json:"following"`
  23. }