Dashboardv2beta1SpecialValueMapOptions🔗
Definition🔗
type Dashboardv2beta1SpecialValueMapOptions struct {
// Special value to match against
Match dashboardv2beta1.SpecialValueMatch `json:"match"`
// Config to apply when the value matches the special value
Result dashboardv2beta1.ValueMappingResult `json:"result"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode Dashboardv2beta1SpecialValueMapOptions 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 (dashboardv2beta1SpecialValueMapOptions *Dashboardv2beta1SpecialValueMapOptions) UnmarshalJSONStrict(raw []byte) error
Equals🔗
Equals tests the equality of two Dashboardv2beta1SpecialValueMapOptions objects.
func (dashboardv2beta1SpecialValueMapOptions *Dashboardv2beta1SpecialValueMapOptions) Equals(other Dashboardv2beta1SpecialValueMapOptions) bool
Validate🔗
Validate checks all the validation constraints that may be defined on Dashboardv2beta1SpecialValueMapOptions fields for violations and returns them.
func (dashboardv2beta1SpecialValueMapOptions *Dashboardv2beta1SpecialValueMapOptions) Validate() error