Skip to content

MovingAverageHoltWintersModelSettings🔗

Definition🔗

type MovingAverageHoltWintersModelSettings struct {
    Model string `json:"model"`
    Settings elasticsearch.ElasticsearchMovingAverageHoltWintersModelSettingsSettings `json:"settings"`
    Window string `json:"window"`
    Minimize bool `json:"minimize"`
    Predict string `json:"predict"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two MovingAverageHoltWintersModelSettings objects.

func (movingAverageHoltWintersModelSettings *MovingAverageHoltWintersModelSettings) Equals(other MovingAverageHoltWintersModelSettings) bool

Validate🔗

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

func (movingAverageHoltWintersModelSettings *MovingAverageHoltWintersModelSettings) Validate() error

See also🔗