Files
grafana/pkg/kinds/publicdashboard/publicdashboard_spec_gen.go
Selene 7151ea6abc Codegen: Generate Golang code using cog (#98812)
* Use cog for Go types

* Delete old generation code

* Fix plugins generation

* workspaces update

* Update datasources with new generated code

* More fixes

* Update swagger and openapi specs

* Fixes

* More files...

* Update workspace

* More fixes...

* Remove unused functions
2025-01-14 15:58:38 +01:00

33 lines
947 B
Go

// Code generated - EDITING IS FUTILE. DO NOT EDIT.
//
// Generated by:
// kinds/gen.go
// Using jennies:
// GoResourceTypes
//
// Run 'make gen-cue' from repository root to regenerate.
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
package publicdashboard
type Spec struct {
// Unique public dashboard identifier
Uid string `json:"uid"`
// Dashboard unique identifier referenced by this public dashboard
DashboardUid string `json:"dashboardUid"`
// Unique public access token
AccessToken *string `json:"accessToken,omitempty"`
// Flag that indicates if the public dashboard is enabled
IsEnabled bool `json:"isEnabled"`
// Flag that indicates if annotations are enabled
AnnotationsEnabled bool `json:"annotationsEnabled"`
// Flag that indicates if the time range picker is enabled
TimeSelectionEnabled bool `json:"timeSelectionEnabled"`
}
// NewSpec creates a new Spec object.
func NewSpec() *Spec {
return &Spec{}
}