Skip to content

XychartFieldConfigPointSize🔗

Definition🔗

type XychartFieldConfigPointSize struct {
    Fixed *int32 `json:"fixed,omitempty"`
    Min *int32 `json:"min,omitempty"`
    Max *int32 `json:"max,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two XychartFieldConfigPointSize objects.

func (xychartFieldConfigPointSize *XychartFieldConfigPointSize) Equals(other XychartFieldConfigPointSize) bool

Validate🔗

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

func (xychartFieldConfigPointSize *XychartFieldConfigPointSize) Validate() error

See also🔗