-
Notifications
You must be signed in to change notification settings - Fork 2
/
encyclopedia_planes.go
71 lines (68 loc) · 2.09 KB
/
encyclopedia_planes.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
// Auto generated file!
package wowp
type EncyclopediaPlanesOptions 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" - 简体中文
// "tr" - Türkçe
// "cs" - Čeština
// "th" - ไทย
// "vi" - Tiếng Việt
// "ko" - 한국어
Language *string `json:"language,omitempty"`
// Nation. Maximum limit: 100. Valid values:
//
// "ussr" - U.S.S.R.
// "germany" - Germany
// "usa" - U.S.A.
// "france" - France
// "uk" - U.K.
// "china" - China
// "japan" - Japan
Nation []string `json:"nation,omitempty"`
// Type. Maximum limit: 100. Valid values:
//
// "fighter" - Fighter
// "fighterHeavy" - Heavy Fighter
// "assault" - Attack Aircraft
// "navy" - Multirole Fighter
// "bomber" - Bomber
Type []string `json:"type,omitempty"`
}
type EncyclopediaPlanes struct {
// Aircraft images
Images *struct {
// URL to 408 x 252 px image of aircraft
Large *string `json:"large,omitempty"`
// URL to 102 x 63 px image of aircraft
Medium *string `json:"medium,omitempty"`
// URL to 51 x 31 px image of aircraft
Small *string `json:"small,omitempty"`
} `json:"images,omitempty"`
// Indicates if the aircraft was a gift
IsGift *bool `json:"is_gift,omitempty"`
// Indicates if the aircraft is Premium aircraft
IsPremium *bool `json:"is_premium,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Nation
Nation *string `json:"nation,omitempty"`
// Localized nation field
NationI18n *string `json:"nation_i18n,omitempty"`
// Aircraft ID
PlaneId *int `json:"plane_id,omitempty"`
// Type
Type *string `json:"type,omitempty"`
}