Name | Type | Description | Notes |
---|---|---|---|
Aggregations | Pointer to map[string]interface{} | The document containing the results of the aggregation. This document is controlled by Elasticsearch and depends on the type of aggregation query that is run. See Elasticsearch Aggregations documentation for information. | [optional] |
Hits | Pointer to []SearchDocument | The results of the aggregation search query. | [optional] |
func NewAggregationResult() *AggregationResult
NewAggregationResult instantiates a new AggregationResult 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 NewAggregationResultWithDefaults() *AggregationResult
NewAggregationResultWithDefaults instantiates a new AggregationResult 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 *AggregationResult) GetAggregations() map[string]interface{}
GetAggregations returns the Aggregations field if non-nil, zero value otherwise.
func (o *AggregationResult) GetAggregationsOk() (*map[string]interface{}, bool)
GetAggregationsOk returns a tuple with the Aggregations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggregationResult) SetAggregations(v map[string]interface{})
SetAggregations sets Aggregations field to given value.
func (o *AggregationResult) HasAggregations() bool
HasAggregations returns a boolean if a field has been set.
func (o *AggregationResult) GetHits() []SearchDocument
GetHits returns the Hits field if non-nil, zero value otherwise.
func (o *AggregationResult) GetHitsOk() (*[]SearchDocument, bool)
GetHitsOk returns a tuple with the Hits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggregationResult) SetHits(v []SearchDocument)
SetHits sets Hits field to given value.
func (o *AggregationResult) HasHits() bool
HasHits returns a boolean if a field has been set.