/
card.go
40 lines (37 loc) · 1.63 KB
/
card.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
package repository
type Card struct {
CardCode string `json:"cardCode"`
AssociatedCards []string `json:"associatedCards"`
AssociatedCardRefs []string `json:"associatedCardRefs"`
Assets []struct {
GameAbsolutePath string `json:"gameAbsolutePath"`
FullAbsolutePath string `json:"fullAbsolutePath"`
} `json:"assets"`
Regions []string `json:"regions"`
RegionRefs []string `json:"regionRefs"`
Attack int `json:"attack"`
Cost int `json:"cost"`
Health int `json:"health"`
Description string `json:"description"`
DescriptionRaw string `json:"descriptionRaw"`
LevelupDescription string `json:"levelupDescription"`
LevelupDescriptionRaw string `json:"levelupDescriptionRaw"`
FlavorText string `json:"flavorText"`
ArtistName string `json:"artistName"`
Name string `json:"name"`
Keywords []string `json:"keywords"`
KeywordRefs []string `json:"keywordRefs"`
SpellSpeed string `json:"spellSpeed"`
SpellSpeedRef string `json:"spellSpeedRef"`
Rarity string `json:"rarity"`
RarityRef string `json:"rarityRef"`
Subtypes []string `json:"subtypes"`
Supertype string `json:"supertype"`
Type string `json:"type"`
Collectible bool `json:"collectible"`
Set string `json:"set"`
Formats []string `json:"formats"`
FormatRefs []string `json:"formatRefs"`
TypeRef string
SupertypeRef string
}