Skip to content

StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType🔗

Definition🔗

type StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType struct {
    String *string `json:"String,omitempty"`
    Bool *bool `json:"Bool,omitempty"`
    Int64 *int64 `json:"Int64,omitempty"`
    ArrayOfQueryEditorOperatorType []cloudwatch.QueryEditorOperatorType `json:"ArrayOfQueryEditorOperatorType,omitempty"`
}

Methods🔗

MarshalJSON🔗

MarshalJSON implements a custom JSON marshalling logic to encode StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType as JSON.

func (stringOrBoolOrInt64OrArrayOfQueryEditorOperatorType *StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType) MarshalJSON() ([]byte, error)

UnmarshalJSON🔗

UnmarshalJSON implements a custom JSON unmarshalling logic to decode StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType from JSON.

func (stringOrBoolOrInt64OrArrayOfQueryEditorOperatorType *StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType) UnmarshalJSON(raw []byte) error

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType 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 (stringOrBoolOrInt64OrArrayOfQueryEditorOperatorType *StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType objects.

func (stringOrBoolOrInt64OrArrayOfQueryEditorOperatorType *StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType) Equals(other StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType) bool

Validate🔗

Validate checks all the validation constraints that may be defined on StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType fields for violations and returns them.

func (stringOrBoolOrInt64OrArrayOfQueryEditorOperatorType *StringOrBoolOrInt64OrArrayOfQueryEditorOperatorType) Validate() error