Skip to content

MovingAverageHoltModelSettings🔗

Definition🔗

type MovingAverageHoltModelSettings struct {
    Model string `json:"model"`
    Settings elasticsearch.ElasticsearchMovingAverageHoltModelSettingsSettings `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 MovingAverageHoltModelSettings 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 (movingAverageHoltModelSettings *MovingAverageHoltModelSettings) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two MovingAverageHoltModelSettings objects.

func (movingAverageHoltModelSettings *MovingAverageHoltModelSettings) Equals(other MovingAverageHoltModelSettings) bool

Validate🔗

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

func (movingAverageHoltModelSettings *MovingAverageHoltModelSettings) Validate() error

See also🔗