-
Notifications
You must be signed in to change notification settings - Fork 2
/
clans_membersinfo.go
76 lines (72 loc) · 2.53 KB
/
clans_membersinfo.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Auto generated file!
package wgn
import (
"github.com/IceflowRE/go-wargaming/v3/wargaming/wgnTime"
)
type ClansMembersinfoOptions 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"`
// Name of the game to perform the clan search in. If the parameter is not specified, search will be executed across World of Tanks. Default is "wot". Valid values:
//
// "wot" - World of Tanks (by default)
// "wowp" - World of Warplanes
Game *string `json:"game,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 ClansMembersinfo struct {
// Player account ID
AccountId *int `json:"account_id,omitempty"`
// Player name
AccountName *string `json:"account_name,omitempty"`
// Short clan info
Clan *struct {
// Clan ID
ClanId *int `json:"clan_id,omitempty"`
// Clan color in HEX #RRGGBB
Color *string `json:"color,omitempty"`
// Clan creation date
CreatedAt *wgnTime.UnixTime `json:"created_at,omitempty"`
// Information on clan emblems in games and on clan portal
Emblems *struct {
// List of links to 195x195 px emblems
X195 map[string]string `json:"x195,omitempty"`
// List of links to 24x24 px emblems
X24 map[string]string `json:"x24,omitempty"`
// List of links to 256x256 px emblems
X256 map[string]string `json:"x256,omitempty"`
// List of links to 32x32 px emblems
X32 map[string]string `json:"x32,omitempty"`
// List of links to 64x64 px emblems
X64 map[string]string `json:"x64,omitempty"`
} `json:"emblems,omitempty"`
// Game where clan was created
Game *string `json:"game,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"`
// Date when player joined clan
JoinedAt *wgnTime.UnixTime `json:"joined_at,omitempty"`
// Technical position name
Role *string `json:"role,omitempty"`
// Position
RoleI18n *string `json:"role_i18n,omitempty"`
}