-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathrest_alert.go
88 lines (49 loc) · 2.1 KB
/
rest_alert.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
/*
*
*
* 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 RestAlert struct {
ResourceId int32 `json:"resourceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
MonitorObjectId int32 `json:"monitorObjectId,omitempty"`
EndEpoch int64 `json:"endEpoch,omitempty"`
Rule string `json:"rule,omitempty"`
Threshold string `json:"threshold,omitempty"`
Type_ string `json:"type,omitempty"`
StartEpoch int64 `json:"startEpoch,omitempty"`
InternalId string `json:"internalId,omitempty"`
AckComment string `json:"ackComment,omitempty"`
MonitorObjectName string `json:"monitorObjectName,omitempty"`
DataPointName string `json:"dataPointName,omitempty"`
InstanceId int32 `json:"instanceId,omitempty"`
DataPointId int32 `json:"dataPointId,omitempty"`
NextRecipient int32 `json:"nextRecipient,omitempty"`
Id string `json:"id,omitempty"`
DetailMessage JsonObject `json:"detailMessage,omitempty"`
RuleId int32 `json:"ruleId,omitempty"`
AlertValue string `json:"alertValue,omitempty"`
AckedBy string `json:"ackedBy,omitempty"`
Severity int32 `json:"severity,omitempty"`
Sdted bool `json:"sdted,omitempty"`
AckedEpoch int64 `json:"ackedEpoch,omitempty"`
Chain string `json:"chain,omitempty"`
SDT JsonObject `json:"SDT,omitempty"`
SubChainId int32 `json:"subChainId,omitempty"`
ReceivedList string `json:"receivedList,omitempty"`
CustomColumns JsonObject `json:"customColumns,omitempty"`
Acked bool `json:"acked,omitempty"`
ResourceTemplateType string `json:"resourceTemplateType,omitempty"`
ClearValue string `json:"clearValue,omitempty"`
InstanceDescription string `json:"instanceDescription,omitempty"`
MonitorObjectGroups JsonArray `json:"monitorObjectGroups,omitempty"`
ChainId int32 `json:"chainId,omitempty"`
ResourceTemplateId int32 `json:"resourceTemplateId,omitempty"`
Cleared bool `json:"cleared,omitempty"`
ResourceTemplateName string `json:"resourceTemplateName,omitempty"`
}