feat: init client

This commit is contained in:
2025-08-12 18:38:22 +02:00
commit a145da0d2d
24 changed files with 713 additions and 0 deletions

34
models/set.go Normal file
View File

@@ -0,0 +1,34 @@
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"`
}