func (a *SerialDiffAggregation) GapInsertZeros() *SerialDiffAggregation {
	a.gapPolicy = "insert_zeros"
	return a
}
GapInsertZeros inserts zeros for gaps in the series.
package elastic
type SerialDiffAggregation struct {
	format    string
	gapPolicy string
	lag       *int
	subAggregations map[string]Aggregation
	meta            map[string]interface{}
	bucketsPaths    []string
}
func NewSerialDiffAggregation() *SerialDiffAggregation {
	return &SerialDiffAggregation{
		subAggregations: make(map[string]Aggregation),
		bucketsPaths:    make([]string, 0),
	}
}
func (a *SerialDiffAggregation) Format(format string) *SerialDiffAggregation {
	a.format = format
	return a
}
func (a *SerialDiffAggregation) GapPolicy(gapPolicy string) *SerialDiffAggregation {
	a.gapPolicy = gapPolicy
	return a
}