-
Notifications
You must be signed in to change notification settings - Fork 2
/
clans_accountinfo.go
61 lines (57 loc) · 1.77 KB
/
clans_accountinfo.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 wotb
import (
"github.com/IceflowRE/go-wargaming/v4/wargaming/wgnTime"
)
type ClansAccountinfoOptions struct {
// Extra fields that will be added to the response. Valid values:
//
// "clan"
Extra []string `json:"extra,omitempty"`
// 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"`
}
type ClansAccountinfo struct {
// User ID
AccountId *int `json:"account_id,omitempty"`
// Player name
AccountName *string `json:"account_name,omitempty"`
// Short info about clan.
// An extra field.
Clan *struct {
// Clan ID
ClanId *int `json:"clan_id,omitempty"`
// Clan creation date
CreatedAt *wgnTime.UnixTime `json:"created_at,omitempty"`
// Emblems set ID
EmblemSetId *int `json:"emblem_set_id,omitempty"`
// Number of clan members
MembersCount *int `json:"members_count,omitempty"`
// Clan name
Name *string `json:"name,omitempty"`
// Clan tag
Tag *string `json:"tag,omitempty"`
} `json:"clan,omitempty"`
// Clan ID
ClanId *int `json:"clan_id,omitempty"`
// Date when player joined clan
JoinedAt *wgnTime.UnixTime `json:"joined_at,omitempty"`
// Technical position name
Role *string `json:"role,omitempty"`
}