// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type SearchAggregateResponseBucket struct {
	Count int64  `json:"count"`
	Key   string `json:"key"`
}

func (o *SearchAggregateResponseBucket) GetCount() int64 {
	if o == nil {
		return 0
	}
	return o.Count
}

func (o *SearchAggregateResponseBucket) GetKey() string {
	if o == nil {
		return ""
	}
	return o.Key
}
