PanelKindOrLibraryPanelKind🔗
Definition🔗
type PanelKindOrLibraryPanelKind struct {
PanelKind *dashboardv2beta1.PanelKind `json:"PanelKind,omitempty"`
LibraryPanelKind *dashboardv2beta1.LibraryPanelKind `json:"LibraryPanelKind,omitempty"`
}
Methods🔗
MarshalJSON🔗
MarshalJSON implements a custom JSON marshalling logic to encode PanelKindOrLibraryPanelKind as JSON.
UnmarshalJSON🔗
UnmarshalJSON implements a custom JSON unmarshalling logic to decode PanelKindOrLibraryPanelKind from JSON.
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode PanelKindOrLibraryPanelKind from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
func (panelKindOrLibraryPanelKind *PanelKindOrLibraryPanelKind) UnmarshalJSONStrict(raw []byte) error
Equals🔗
Equals tests the equality of two PanelKindOrLibraryPanelKind objects.
func (panelKindOrLibraryPanelKind *PanelKindOrLibraryPanelKind) Equals(other PanelKindOrLibraryPanelKind) bool
Validate🔗
Validate checks all the validation constraints that may be defined on PanelKindOrLibraryPanelKind fields for violations and returns them.