func (s *ExtendedStatsBucketAggregation) GapInsertZeros() *ExtendedStatsBucketAggregation {
	s.gapPolicy = "insert_zeros"
	return s
}
GapInsertZeros inserts zeros for gaps in the series.
package elastic
type ExtendedStatsBucketAggregation struct {
	format       string
	gapPolicy    string
	sigma        *float32
	meta         map[string]interface{}
	bucketsPaths []string
}
func NewExtendedStatsBucketAggregation() *ExtendedStatsBucketAggregation {
	return &ExtendedStatsBucketAggregation{
		bucketsPaths: make([]string, 0),
	}
}
func (s *ExtendedStatsBucketAggregation) Format(format string) *ExtendedStatsBucketAggregation {
	s.format = format
	return s
}
func (s *ExtendedStatsBucketAggregation) GapPolicy(gapPolicy string) *ExtendedStatsBucketAggregation {
	s.gapPolicy = gapPolicy
	return s
}