mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 04:31:36 +08:00

* 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
33 lines
947 B
Go
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{}
|
|
}
|