Skip to content

Derivative🔗

Definition🔗

type Derivative struct {
    PipelineAgg *string `json:"pipelineAgg,omitempty"`
    Field *string `json:"field,omitempty"`
    Type string `json:"type"`
    Id string `json:"id"`
    Settings *elasticsearch.ElasticsearchDerivativeSettings `json:"settings,omitempty"`
    Hide *bool `json:"hide,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two Derivative objects.

func (derivative *Derivative) Equals(other Derivative) bool

Validate🔗

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

func (derivative *Derivative) Validate() error

See also🔗