forked from animenotifier/kitsu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Character.go
42 lines (40 loc) · 1.14 KB
/
Character.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
package kitsu
// Auto-generated JSON definition from:
// https://mholt.github.io/json-to-go/
// Character is a character in the Kitsu API.
// Example: https://kitsu.io/api/edge/characters/1
type Character struct {
ID string `json:"id"`
Type string `json:"type"`
// Links struct {
// Self string `json:"self"`
// } `json:"links"`
Attributes struct {
Slug string `json:"slug"`
Names struct {
En string `json:"en"`
JaJp string `json:"ja_jp"`
} `json:"names"`
CanonicalName string `json:"canonicalName"`
OtherNames []string `json:"otherNames"`
MalID int `json:"malId"`
Description string `json:"description"`
Image struct {
Original string `json:"original"`
} `json:"image"`
} `json:"attributes"`
// Relationships struct {
// PrimaryMedia struct {
// Links struct {
// Self string `json:"self"`
// Related string `json:"related"`
// } `json:"links"`
// } `json:"primaryMedia"`
// Castings struct {
// Links struct {
// Self string `json:"self"`
// Related string `json:"related"`
// } `json:"links"`
// } `json:"castings"`
// } `json:"relationships"`
}