| Name | Type | Description | Notes |
|---|---|---|---|
| Hits | Pointer to []SearchHit | A collection of the search results, ordered by relevance or, when the request specifies `sortProperties`, by those properties. | [optional] |
| Total | Pointer to int64 | The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query. | [optional] [readonly] |
| MoreResultsAvailable | Pointer to bool | Provides information if more results are available. Based on this information, you can adjust the `from` and `size` properties of the `searchRequest` accordingly. | [optional] [readonly] |
| Aggregations | Pointer to []SearchAggregation | Contains the collection of aggregations computed based on the provided `aggregationOption` definitions in the request. | [optional] |
func NewSearchHitsContainer() *SearchHitsContainer
NewSearchHitsContainer instantiates a new SearchHitsContainer 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 NewSearchHitsContainerWithDefaults() *SearchHitsContainer
NewSearchHitsContainerWithDefaults instantiates a new SearchHitsContainer 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 *SearchHitsContainer) GetHits() []SearchHit
GetHits returns the Hits field if non-nil, zero value otherwise.
func (o *SearchHitsContainer) GetHitsOk() (*[]SearchHit, 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 *SearchHitsContainer) SetHits(v []SearchHit)
SetHits sets Hits field to given value.
func (o *SearchHitsContainer) HasHits() bool
HasHits returns a boolean if a field has been set.
func (o *SearchHitsContainer) GetTotal() int64
GetTotal returns the Total field if non-nil, zero value otherwise.
func (o *SearchHitsContainer) GetTotalOk() (*int64, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchHitsContainer) SetTotal(v int64)
SetTotal sets Total field to given value.
func (o *SearchHitsContainer) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (o *SearchHitsContainer) GetMoreResultsAvailable() bool
GetMoreResultsAvailable returns the MoreResultsAvailable field if non-nil, zero value otherwise.
func (o *SearchHitsContainer) GetMoreResultsAvailableOk() (*bool, bool)
GetMoreResultsAvailableOk returns a tuple with the MoreResultsAvailable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchHitsContainer) SetMoreResultsAvailable(v bool)
SetMoreResultsAvailable sets MoreResultsAvailable field to given value.
func (o *SearchHitsContainer) HasMoreResultsAvailable() bool
HasMoreResultsAvailable returns a boolean if a field has been set.
func (o *SearchHitsContainer) GetAggregations() []SearchAggregation
GetAggregations returns the Aggregations field if non-nil, zero value otherwise.
func (o *SearchHitsContainer) GetAggregationsOk() (*[]SearchAggregation, 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 *SearchHitsContainer) SetAggregations(v []SearchAggregation)
SetAggregations sets Aggregations field to given value.
func (o *SearchHitsContainer) HasAggregations() bool
HasAggregations returns a boolean if a field has been set.