-
Notifications
You must be signed in to change notification settings - Fork 2
/
account_list.go
38 lines (35 loc) · 1.44 KB
/
account_list.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
// Auto generated file!
package wotb
type AccountListOptions 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:
//
// "en" - English (by default)
// "ru" - Русский
// "pl" - Polski
// "de" - Deutsch
// "fr" - Français
// "es" - Español
// "zh-cn" - 简体中文
// "zh-tw" - 繁體中文
// "tr" - Türkçe
// "cs" - Čeština
// "th" - ไทย
// "vi" - Tiếng Việt
// "ko" - 한국어
Language *string `json:"language,omitempty"`
// Number of returned entries (fewer can be returned, but not more than 100). If the limit sent exceeds 100, a limit of None is applied (by default).
Limit *int `json:"limit,omitempty"`
// Search type. Default is "startswith". Valid values:
//
// "startswith" - Search by initial characters of player name. Minimum length: 3 characters. Maximum length: 24 characters. (by default)
// "exact" - Search by exact match of player name. Case insensitive. You can enter several names, separated with commas (up to 100).
Type *string `json:"type,omitempty"`
}
type AccountList struct {
// Player ID
AccountId *int `json:"account_id,omitempty"`
// Player name
Nickname *string `json:"nickname,omitempty"`
}