StringOrBoolOrFloat64OrSelectableValue🔗
Definition🔗
type StringOrBoolOrFloat64OrSelectableValue struct {
String *string `json:"String,omitempty"`
Bool *bool `json:"Bool,omitempty"`
Float64 *float64 `json:"Float64,omitempty"`
SelectableValue *azuremonitor.SelectableValue `json:"SelectableValue,omitempty"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode StringOrBoolOrFloat64OrSelectableValue
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 (stringOrBoolOrFloat64OrSelectableValue *StringOrBoolOrFloat64OrSelectableValue) UnmarshalJSONStrict(raw []byte) error
Equals🔗
Equals tests the equality of two StringOrBoolOrFloat64OrSelectableValue
objects.
func (stringOrBoolOrFloat64OrSelectableValue *StringOrBoolOrFloat64OrSelectableValue) Equals(other StringOrBoolOrFloat64OrSelectableValue) bool
Validate🔗
Validate checks all the validation constraints that may be defined on StringOrBoolOrFloat64OrSelectableValue
fields for violations and returns them.
func (stringOrBoolOrFloat64OrSelectableValue *StringOrBoolOrFloat64OrSelectableValue) Validate() error