Skip to content

AutoGridLayoutItemSpec🔗

Definition🔗

type AutoGridLayoutItemSpec struct {
    Element dashboardv2beta1.ElementReference `json:"element"`
    Repeat *dashboardv2beta1.AutoGridRepeatOptions `json:"repeat,omitempty"`
    ConditionalRendering *dashboardv2beta1.ConditionalRenderingGroupKind `json:"conditionalRendering,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two AutoGridLayoutItemSpec objects.

func (autoGridLayoutItemSpec *AutoGridLayoutItemSpec) Equals(other AutoGridLayoutItemSpec) bool

Validate🔗

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

func (autoGridLayoutItemSpec *AutoGridLayoutItemSpec) Validate() error

See also🔗