mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
24 lines
623 B
Go
24 lines
623 B
Go
package dtos
|
|
|
|
import "github.com/grafana/grafana/pkg/components/simplejson"
|
|
|
|
type Annotation struct {
|
|
AlertId int64 `json:"alertId"`
|
|
DashboardId int64 `json:"dashboardId"`
|
|
PanelId int64 `json:"panelId"`
|
|
NewState string `json:"newState"`
|
|
PrevState string `json:"prevState"`
|
|
Time int64 `json:"time"`
|
|
Title string `json:"title"`
|
|
Text string `json:"text"`
|
|
Metric string `json:"metric"`
|
|
|
|
Data *simplejson.Json `json:"data"`
|
|
}
|
|
|
|
type DeleteAnnotationsCmd struct {
|
|
AlertId int64 `json:"alertId"`
|
|
DashboardId int64 `json:"dashboardId"`
|
|
PanelId int64 `json:"panelId"`
|
|
}
|