forked from ChimeraCoder/anaconda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
list.go
26 lines (23 loc) · 763 Bytes
/
list.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package anaconda
type ListResponse struct {
PreviousCursor int `json:"previous_cursor"`
NextCursor int `json:"next_cursor"`
Lists []List `json:"lists"`
}
type AddUserToListResponse struct {
Users []User `json:"users"`
}
type List struct {
Slug string `json:"slug"`
Name string `json:"name"`
URL string `json:"uri"`
CreatedAt string `json:"created_at"`
Id int64 `json:"id"`
SubscriberCount int64 `json:"subscriber_count"`
MemberCount int64 `json:"member_count"`
Mode string `json:"mode"`
FullName string `json:"full_name"`
Description string `json:"description"`
User User `json:"user"`
Following bool `json:"following"`
}