grafana/apps/annotations/pkg/apis/annotation/v0alpha1/annotation_spec_gen.go

23 lines
764 B
Go
Raw Normal View History

2009-09-18 03:10:53 +08:00
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
package v0alpha1
// +k8s:openapi-gen=true
type AnnotationSpec struct {
Text string `json:"text"`
Time int64 `json:"time"`
TimeEnd *int64 `json:"timeEnd,omitempty"`
DashboardUID *string `json:"dashboardUID,omitempty"`
PanelID *int64 `json:"panelID,omitempty"`
AlertUID *string `json:"alertUID,omitempty"`
Tags []string `json:"tags,omitempty"`
Data interface{} `json:"data,omitempty"`
PrevState *string `json:"prevState,omitempty"`
NewState *string `json:"newState,omitempty"`
2009-09-18 03:10:53 +08:00
}
// NewAnnotationSpec creates a new AnnotationSpec object.
func NewAnnotationSpec() *AnnotationSpec {
return &AnnotationSpec{}
}