forked from jtagcat/whatapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
r_notifications.go
33 lines (32 loc) · 1.24 KB
/
r_notifications.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
package whatapi
type Notifications struct {
CurrentPages int `json:"currentPages"`
Pages int `json:"pages"`
NumNew int `json:"numNew"`
Results []struct {
TorrentID int `json:"torrentId"`
GroupID int `json:"groupId"`
GroupName string `json:"groupName"`
GroupCategoryID int `json:"groupCategoryId"`
TorrentTags string `json:"torrentTags"`
Size int64 `json:"size"`
FileCount int `json:"filecount"`
Format string `json:"format"`
Encoding string `json:"encoding"`
Media string `json:"mdia"`
Scene bool `json:"scene"`
GroupYear int `json:"groupYear"`
RemasterYear int `json:"remasterYear"`
RemasterTitle string `json:"remasterTitle"`
Snatched int `json:"snatched"`
Seeders int `json:"seeders"`
Leechers int `json:"leechers"`
NotificationTime string `json:"notificationTime"`
HasLog bool `json:"hasLog"`
HasCue bool `json:"hasCue"`
LogScore int `json:"logScore"`
FreeTorrent string `json:"freeTorrent"`
LogInDB bool `json:"logInDb"`
Unread bool `json:"unread"`
} `json:"results"`
}