-
Notifications
You must be signed in to change notification settings - Fork 1
/
Widget.cs
80 lines (70 loc) · 1.97 KB
/
Widget.cs
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
77
78
79
80
using System.Collections.Generic;
namespace GoogleTrends
{
public class Widget
{
public Request request { get; set; }
public string token { get; set; }
public string id { get; set; }
public string type { get; set; }
public string title { get; set; }
public string template { get; set; }
public string embedTemplate { get; set; }
public string version { get; set; }
public bool isLong { get; set; }
public bool isCurated { get; set; }
public string geo { get; set; }
public string resolution { get; set; }
public string keywordName { get; set; }
}
public class Request
{
public string time { get; set; }
public string resolution { get; set; }
public string locale { get; set; }
public List<ComparisonItem> comparisonItem { get; set; }
public RequestOptions requestOptions { get; set; }
public Geo geo { get; set; }
public Restriction restriction { get; set; }
public string keywordType { get; set; }
public List<string> metric { get; set; }
public TrendinessSettings trendinessSettings { get; set; }
public string language { get; set; }
}
public class Restriction
{
public Geo geo { get; set; }
public string time { get; set; }
public string originalTimeRangeForExploreUrl { get; set; }
public ComplexKeywordsRestriction complexKeywordsRestriction { get; set; }
}
public class RequestOptions
{
public string property { get; set; }
public string backend { get; set; }
public int category { get; set; }
}
public class ComparisonItem
{
public Geo geo { get; set; }
public ComplexKeywordsRestriction complexKeywordsRestriction { get; set; }
public string time { get; set; }
}
public class Geo
{
public string country { get; set; }
}
public class ComplexKeywordsRestriction
{
public List<RequestKeyword> keyword { get; set; }
}
public class RequestKeyword
{
public string type { get; set; }
public string value { get; set; }
}
public class TrendinessSettings
{
public string compareTime { get; set; }
}
}