35 lines
739 B
Go
35 lines
739 B
Go
package models
|
|
|
|
// Set represents the set.
|
|
type Set struct {
|
|
// Id Globally unique set ID.
|
|
ID string `json:"id"`
|
|
|
|
// Name of the set.
|
|
Name string `json:"name"`
|
|
|
|
// Logo incomplete URL.
|
|
Logo string `json:"logo"`
|
|
|
|
// Symbol incomplete URL.
|
|
Symbol string `json:"symbol"`
|
|
|
|
// Serie which the set is a part.
|
|
Serie SerieResume `json:"serie"`
|
|
|
|
// TcgOnline code.
|
|
TcgOnline string `json:"tcgOnline"`
|
|
|
|
// ReleaseDate of the set (yyyy-mm-dd).
|
|
ReleaseDate string `json:"releaseDate"`
|
|
|
|
// Legal the set legality (won't indicate if a card is banned)
|
|
Legal Legal `json:"legal"`
|
|
|
|
// CardCount the number of card in the set
|
|
CardCount SetCardCount `json:"cardCount"`
|
|
|
|
// Cards contained in this set.
|
|
Cards []CardResume `json:"cards"`
|
|
}
|