-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTournament.go
44 lines (37 loc) · 1000 Bytes
/
Tournament.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
41
42
43
44
package go_sportradar_football
type Tournament struct {
Id string `json:"id"`
Name string `json:"name"`
Sport Sport `json:"sport"`
Category Category `json:"category"`
CurrentSeason Season `json:"current_season"`
}
type TournamentsResult struct {
Meta
Tournaments []Tournament `json:"tournaments"`
}
type TournamentSeason struct {
Meta
Tournament `json:"tournament"`
Seasons []Season `json:"seasons"`
}
type Group struct {
Name string `json:"name"`
TeamStanding []TeamStanding `json:"team_standings"`
}
type Standing struct {
TieBreakRule string `json:"tie_break_rule"`
Type string `json:"type"`
Group []Group `json:"groups"`
}
type TournamentStanding struct {
Meta
Tournament `json:"tournament"`
Season Season `json:"season"`
Standing []Standing `json:"standings"`
}
type TournamentInfo struct {
Meta
Tournament Tournament `json:"tournament"`
Season Season `json:"season"`
}