Skip to content

HeatmapCalculationOptions🔗

Definition🔗

type HeatmapCalculationOptions struct {
    // The number of buckets to use for the xAxis in the heatmap
    XBuckets *common.HeatmapCalculationBucketConfig `json:"xBuckets,omitempty"`
    // The number of buckets to use for the yAxis in the heatmap
    YBuckets *common.HeatmapCalculationBucketConfig `json:"yBuckets,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two HeatmapCalculationOptions objects.

func (heatmapCalculationOptions *HeatmapCalculationOptions) Equals(other HeatmapCalculationOptions) bool

Validate🔗

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

func (heatmapCalculationOptions *HeatmapCalculationOptions) Validate() error

See also🔗