Name | Type | Description | Notes |
---|---|---|---|
Nested | Pointer to NestedAggregation | [optional] | |
Metric | Pointer to MetricAggregation | [optional] | |
Filter | Pointer to FilterAggregation | [optional] | |
Bucket | Pointer to BucketAggregation | [optional] |
func NewAggregations() *Aggregations
NewAggregations instantiates a new Aggregations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAggregationsWithDefaults() *Aggregations
NewAggregationsWithDefaults instantiates a new Aggregations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Aggregations) GetNested() NestedAggregation
GetNested returns the Nested field if non-nil, zero value otherwise.
func (o *Aggregations) GetNestedOk() (*NestedAggregation, bool)
GetNestedOk returns a tuple with the Nested field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Aggregations) SetNested(v NestedAggregation)
SetNested sets Nested field to given value.
func (o *Aggregations) HasNested() bool
HasNested returns a boolean if a field has been set.
func (o *Aggregations) GetMetric() MetricAggregation
GetMetric returns the Metric field if non-nil, zero value otherwise.
func (o *Aggregations) GetMetricOk() (*MetricAggregation, bool)
GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Aggregations) SetMetric(v MetricAggregation)
SetMetric sets Metric field to given value.
func (o *Aggregations) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (o *Aggregations) GetFilter() FilterAggregation
GetFilter returns the Filter field if non-nil, zero value otherwise.
func (o *Aggregations) GetFilterOk() (*FilterAggregation, bool)
GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Aggregations) SetFilter(v FilterAggregation)
SetFilter sets Filter field to given value.
func (o *Aggregations) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (o *Aggregations) GetBucket() BucketAggregation
GetBucket returns the Bucket field if non-nil, zero value otherwise.
func (o *Aggregations) GetBucketOk() (*BucketAggregation, bool)
GetBucketOk returns a tuple with the Bucket field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Aggregations) SetBucket(v BucketAggregation)
SetBucket sets Bucket field to given value.
func (o *Aggregations) HasBucket() bool
HasBucket returns a boolean if a field has been set.