36 lines
1.1 KiB
Go
36 lines
1.1 KiB
Go
package types
|
|
|
|
type Card struct {
|
|
PackCode string `json:"pack_code"`
|
|
PackName string `json:"pack_name"`
|
|
IsOfficial bool `json:"is_official"`
|
|
TypeCode string `json:"type_code"`
|
|
TypeName string `json:"type_name"`
|
|
SphereCode string `json:"sphere_code"`
|
|
SphereName string `json:"sphere_name"`
|
|
Position int `json:"position"`
|
|
Code string `json:"code"`
|
|
Name string `json:"name"`
|
|
Traits string `json:"traits"`
|
|
Text string `json:"text"`
|
|
Flavor string `json:"flavor"`
|
|
IsUnique bool `json:"is_unique"`
|
|
Threat int `json:"threat"`
|
|
Willpower int `json:"willpower"`
|
|
Attack int `json:"attack"`
|
|
Defense int `json:"defense"`
|
|
Health int `json:"health"`
|
|
Quantity int `json:"quantity"`
|
|
DeckLimit int `json:"deck_limit"`
|
|
Illustrator string `json:"illustrator"`
|
|
Octgnid string `json:"octgnid"`
|
|
HasErrata bool `json:"has_errata"`
|
|
URL string `json:"url"`
|
|
Imagesrc string `json:"imagesrc"`
|
|
Versions []struct {
|
|
SetName string `json:"set_name"`
|
|
Year string `json:"year"`
|
|
URL string `json:"url"`
|
|
} `json:"versions"`
|
|
}
|