MovingAverageEWMAModelSettings🔗
Definition🔗
type MovingAverageEWMAModelSettings struct {
Model string `json:"model"`
Settings *elasticsearch.ElasticsearchMovingAverageEWMAModelSettingsSettings `json:"settings,omitempty"`
Window string `json:"window"`
Minimize bool `json:"minimize"`
Predict string `json:"predict"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode MovingAverageEWMAModelSettings
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 (movingAverageEWMAModelSettings *MovingAverageEWMAModelSettings) UnmarshalJSONStrict(raw []byte) error
Equals🔗
Equals tests the equality of two MovingAverageEWMAModelSettings
objects.
func (movingAverageEWMAModelSettings *MovingAverageEWMAModelSettings) Equals(other MovingAverageEWMAModelSettings) bool
Validate🔗
Validate checks all the validation constraints that may be defined on MovingAverageEWMAModelSettings
fields for violations and returns them.