-
Notifications
You must be signed in to change notification settings - Fork 48
/
model_incident.go
16 lines (15 loc) · 1 KB
/
model_incident.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package detector
type Incident struct {
Active bool `json:"active,omitempty"`
AnomalyState string `json:"anomalyState,omitempty"`
DetectLabel string `json:"detectLabel,omitempty"`
DetectorId string `json:"detectorId,omitempty"`
DetectorName string `json:"detectorName,omitempty"`
Events []*Event `json:"events,omitempty"`
IncidentId string `json:"incidentId,omitempty"`
Inputs *map[string]interface{} `json:"inputs,omitempty"`
Severity string `json:"severity,omitempty"`
IsMuted bool `json:"isMuted,omitempty"`
TriggeredNotificationSent bool `json:"triggeredNotificationSent,omitempty"`
TriggeredWhileMuted bool `json:"triggeredWhileMuted,omitempty"`
}