-
Notifications
You must be signed in to change notification settings - Fork 11
/
rest_collector.go
121 lines (66 loc) · 3.32 KB
/
rest_collector.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/*
*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
package logicmonitor
type RestCollector struct {
ConfVersion string `json:"confVersion,omitempty"`
NumberOfServices int32 `json:"numberOfServices,omitempty"`
UpdatedOnLocal string `json:"updatedOnLocal,omitempty"`
Hostname string `json:"hostname,omitempty"`
Id int32 `json:"id,omitempty"`
WatchdogUpdatedOnLocal string `json:"watchdogUpdatedOnLocal,omitempty"`
HasFailOverDevice bool `json:"hasFailOverDevice,omitempty"`
CollectorGroupName string `json:"collectorGroupName,omitempty"`
NetscanVersion string `json:"netscanVersion,omitempty"`
InSDT bool `json:"inSDT,omitempty"`
UserVisibleServicesNum int32 `json:"userVisibleServicesNum,omitempty"`
UpdatedOn int64 `json:"updatedOn,omitempty"`
AutomaticUpgradeInfo *AutomaticUpgradeInfo `json:"automaticUpgradeInfo,omitempty"`
NumberOfHosts int32 `json:"numberOfHosts,omitempty"`
CollectorConf string `json:"collectorConf,omitempty"`
SbproxyConf string `json:"sbproxyConf,omitempty"`
LastSentNotificationOnLocal string `json:"lastSentNotificationOnLocal,omitempty"`
OnetimeUpgradeInfo *OnetimeUpgradeInfo `json:"onetimeUpgradeInfo,omitempty"`
WrapperConf string `json:"wrapperConf,omitempty"`
ClearSent bool `json:"clearSent,omitempty"`
Status int32 `json:"status,omitempty"`
BackupAgentId int32 `json:"backupAgentId,omitempty"`
SpecifiedCollectorDeviceGroupId int32 `json:"specifiedCollectorDeviceGroupId,omitempty"`
EscalatingChainId int32 `json:"escalatingChainId,omitempty"`
AckedOnLocal string `json:"ackedOnLocal,omitempty"`
WatchdogConf string `json:"watchdogConf,omitempty"`
Description string `json:"description,omitempty"`
CreatedOn int64 `json:"createdOn,omitempty"`
Platform string `json:"platform,omitempty"`
IsDown bool `json:"isDown,omitempty"`
UserVisibleHostsNum int32 `json:"userVisibleHostsNum,omitempty"`
CanDowngrade bool `json:"canDowngrade,omitempty"`
AckComment string `json:"ackComment,omitempty"`
NextUpgradeInfo NextUpgradeInfo `json:"nextUpgradeInfo,omitempty"`
SuppressAlertClear bool `json:"suppressAlertClear,omitempty"`
NextRecipient int32 `json:"nextRecipient,omitempty"`
AckedOn int64 `json:"ackedOn,omitempty"`
UserChangeOnLocal string `json:"userChangeOnLocal,omitempty"`
AckedBy string `json:"ackedBy,omitempty"`
UserPermission string `json:"userPermission,omitempty"`
NeedAutoCreateCollectorDevice bool `json:"needAutoCreateCollectorDevice"`
WatchdogUpdatedOn int64 `json:"watchdogUpdatedOn,omitempty"`
CanDowngradeReason string `json:"canDowngradeReason,omitempty"`
LastSentNotificationOn int64 `json:"lastSentNotificationOn,omitempty"`
Acked bool `json:"acked,omitempty"`
OnetimeDowngradeInfo *DowngradeInfo `json:"onetimeDowngradeInfo,omitempty"`
UpTime int64 `json:"upTime,omitempty"`
Build string `json:"build,omitempty"`
PreviousVersion string `json:"previousVersion,omitempty"`
CollectorGroupId int32 `json:"collectorGroupId,omitempty"`
CreatedOnLocal string `json:"createdOnLocal,omitempty"`
EnableFailBack bool `json:"enableFailBack"`
ResendIval int32 `json:"resendIval,omitempty"`
EnableFailOverOnCollectorDevice bool `json:"enableFailOverOnCollectorDevice,omitempty"`
}