func (a *MovFnAggregation) Format(format string) *MovFnAggregation {
	a.format = format
	return a
}
Format to use on the output of this aggregation.
package elastic
type MovFnAggregation struct {
	script    *Script
	format    string
	gapPolicy string
	window    int
	meta         map[string]interface{}
	bucketsPaths []string
}
func NewMovFnAggregation(bucketsPath string, script *Script, window int) *MovFnAggregation {
	return &MovFnAggregation{
		bucketsPaths: []string{bucketsPath},
		script:       script,
		window:       window,
	}
}
func (a *MovFnAggregation) Script(script *Script) *MovFnAggregation {
	a.script = script
	return a
}