-
Notifications
You must be signed in to change notification settings - Fork 2
/
seasons_info.go
61 lines (57 loc) · 1.91 KB
/
seasons_info.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Auto generated file!
package wows
import (
"github.com/IceflowRE/go-wargaming/v3/wargaming/wgnTime"
)
type SeasonsInfoOptions struct {
// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
Fields []string `json:"fields,omitempty"`
// Localization language. Default is "en". Valid values:
//
// "cs" - Čeština
// "de" - Deutsch
// "en" - English (by default)
// "es" - Español
// "fr" - Français
// "ja" - 日本語
// "pl" - Polski
// "ru" - Русский
// "th" - ไทย
// "zh-tw" - 繁體中文
// "tr" - Türkçe
// "zh-cn" - 中文
// "pt-br" - Português do Brasil
// "es-mx" - Español (México)
Language *string `json:"language,omitempty"`
// Season ID. Maximum limit: 100.
SeasonId []int `json:"season_id,omitempty"`
}
type SeasonsInfo struct {
// Minimum Service Record Level to join a season
AccountTier *int `json:"account_tier,omitempty"`
// Season closing time
CloseAt *wgnTime.UnixTime `json:"close_at,omitempty"`
// Season finishing time
FinishAt *wgnTime.UnixTime `json:"finish_at,omitempty"`
// Images
Images *struct {
// Background image
Background *string `json:"background,omitempty"`
// Insignia image
Insignia *string `json:"insignia,omitempty"`
} `json:"images,omitempty"`
// Maximum ship Tier in a season
MaxShipTier *int `json:"max_ship_tier,omitempty"`
// Minimum ship Tier in a season
MinShipTier *int `json:"min_ship_tier,omitempty"`
// Parent season ID
ParentSeasonId *int `json:"parent_season_id,omitempty"`
// Season ID
SeasonId *int `json:"season_id,omitempty"`
// Season name
SeasonName *string `json:"season_name,omitempty"`
// Season opening time
StartAt *wgnTime.UnixTime `json:"start_at,omitempty"`
// Season start rank
StartRank *int `json:"start_rank,omitempty"`
}