Add Card Scryfall type with only required fields
This commit is contained in:
parent
d1fa838bfe
commit
4c8beb0eb5
|
@ -0,0 +1,14 @@
|
|||
package types
|
||||
|
||||
type CardPrinting struct {
|
||||
Id string `json:"id"` // GUID
|
||||
Name string `json:"name"`
|
||||
Set string `json:"set"`
|
||||
Foil bool `json:"foil"`
|
||||
NonFoil bool `json:"nonfoil"`
|
||||
Reserved bool `json:"reserved"`
|
||||
ContentWarning bool `json:"content_warning,omitempty"`
|
||||
Promo bool `json:"promo"`
|
||||
CollectorNumber string `json:"collector_number"`
|
||||
Language string `json:"lang"`
|
||||
}
|
Loading…
Reference in New Issue