Skip to content

XYDimensionConfig🔗

Configuration for the Table/Auto mode

Definition🔗

type XYDimensionConfig struct {
    Frame int32 `json:"frame"`
    X *string `json:"x,omitempty"`
    Exclude []string `json:"exclude,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two XYDimensionConfig objects.

func (xYDimensionConfig *XYDimensionConfig) Equals(other XYDimensionConfig) bool

Validate🔗

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

func (xYDimensionConfig *XYDimensionConfig) Validate() error

See also🔗