-
Notifications
You must be signed in to change notification settings - Fork 3
/
User.go
148 lines (146 loc) · 4.42 KB
/
User.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
package kitsu
import "time"
// User ...
type User struct {
ID string `json:"id"`
Type string `json:"type"`
Links struct {
Self string `json:"self"`
} `json:"links"`
Attributes struct {
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
Name string `json:"name"`
PastNames []string `json:"pastNames"`
About string `json:"about"`
Bio string `json:"bio"`
AboutFormatted interface{} `json:"aboutFormatted"`
Location string `json:"location"`
WaifuOrHusbando interface{} `json:"waifuOrHusbando"`
FollowersCount int `json:"followersCount"`
FacebookID string `json:"facebookId"`
FollowingCount int `json:"followingCount"`
LifeSpentOnAnime int `json:"lifeSpentOnAnime"`
Birthday interface{} `json:"birthday"`
Gender string `json:"gender"`
CommentsCount int `json:"commentsCount"`
FavoritesCount int `json:"favoritesCount"`
LikesGivenCount int `json:"likesGivenCount"`
ReviewsCount int `json:"reviewsCount"`
LikesReceivedCount int `json:"likesReceivedCount"`
PostsCount int `json:"postsCount"`
RatingsCount int `json:"ratingsCount"`
ProExpiresAt interface{} `json:"proExpiresAt"`
Title string `json:"title"`
ProfileCompleted bool `json:"profileCompleted"`
FeedCompleted bool `json:"feedCompleted"`
Website string `json:"website"`
Avatar struct {
Tiny string `json:"tiny"`
Small string `json:"small"`
Medium string `json:"medium"`
Large string `json:"large"`
Original string `json:"original"`
} `json:"avatar"`
CoverImage struct {
Tiny string `json:"tiny"`
Small string `json:"small"`
Large string `json:"large"`
Original string `json:"original"`
} `json:"coverImage"`
RatingSystem string `json:"ratingSystem"`
Theme string `json:"theme"`
} `json:"attributes"`
Relationships struct {
Waifu struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"waifu"`
PinnedPost struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"pinnedPost"`
Followers struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"followers"`
Following struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"following"`
Blocks struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"blocks"`
LinkedAccounts struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"linkedAccounts"`
ProfileLinks struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"profileLinks"`
MediaFollows struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"mediaFollows"`
UserRoles struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"userRoles"`
LibraryEntries struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"libraryEntries"`
Favorites struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"favorites"`
Reviews struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"reviews"`
Stats struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"stats"`
NotificationSettings struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"notificationSettings"`
OneSignalPlayers struct {
Links struct {
Self string `json:"self"`
Related string `json:"related"`
} `json:"links"`
} `json:"oneSignalPlayers"`
} `json:"relationships"`
}