QueryEditorPropertyExpressionOrQueryEditorFunctionExpression🔗
Definition🔗
type QueryEditorPropertyExpressionOrQueryEditorFunctionExpression struct {
QueryEditorPropertyExpression *cloudwatch.QueryEditorPropertyExpression `json:"QueryEditorPropertyExpression,omitempty"`
QueryEditorFunctionExpression *cloudwatch.QueryEditorFunctionExpression `json:"QueryEditorFunctionExpression,omitempty"`
}
Methods🔗
MarshalJSON🔗
MarshalJSON implements a custom JSON marshalling logic to encode QueryEditorPropertyExpressionOrQueryEditorFunctionExpression
as JSON.
func (queryEditorPropertyExpressionOrQueryEditorFunctionExpression *QueryEditorPropertyExpressionOrQueryEditorFunctionExpression) MarshalJSON() ([]byte, error)
UnmarshalJSON🔗
UnmarshalJSON implements a custom JSON unmarshalling logic to decode QueryEditorPropertyExpressionOrQueryEditorFunctionExpression
from JSON.
func (queryEditorPropertyExpressionOrQueryEditorFunctionExpression *QueryEditorPropertyExpressionOrQueryEditorFunctionExpression) UnmarshalJSON(raw []byte) error
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode QueryEditorPropertyExpressionOrQueryEditorFunctionExpression
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 (queryEditorPropertyExpressionOrQueryEditorFunctionExpression *QueryEditorPropertyExpressionOrQueryEditorFunctionExpression) UnmarshalJSONStrict(raw []byte) error
Equals🔗
Equals tests the equality of two QueryEditorPropertyExpressionOrQueryEditorFunctionExpression
objects.
func (queryEditorPropertyExpressionOrQueryEditorFunctionExpression *QueryEditorPropertyExpressionOrQueryEditorFunctionExpression) Equals(other QueryEditorPropertyExpressionOrQueryEditorFunctionExpression) bool
Validate🔗
Validate checks all the validation constraints that may be defined on QueryEditorPropertyExpressionOrQueryEditorFunctionExpression
fields for violations and returns them.