-
Notifications
You must be signed in to change notification settings - Fork 2
/
wgtv_tags.go
54 lines (51 loc) · 1.56 KB
/
wgtv_tags.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
// Auto generated file!
package wgn
type WgtvTagsOptions 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"`
}
type WgtvTags struct {
// List of categories
Categories []*struct {
// Content category ID
CategoryId *int `json:"category_id,omitempty"`
// Localized name of the category
Name *string `json:"name,omitempty"`
// Sort order
Order *int `json:"order,omitempty"`
} `json:"categories,omitempty"`
// List of programs
Programs []*struct {
// Localized name of the program
Name *string `json:"name,omitempty"`
// Sort order
Order *int `json:"order,omitempty"`
// Program ID
ProgramId *int `json:"program_id,omitempty"`
} `json:"programs,omitempty"`
// List of projects
Projects []*struct {
// Name of the game project
Name *string `json:"name,omitempty"`
// Sort order
Order *int `json:"order,omitempty"`
// Game project ID
ProjectId *int `json:"project_id,omitempty"`
} `json:"projects,omitempty"`
}