Name | Type | Description | Notes |
---|---|---|---|
Took | Pointer to int32 | Time taken to execute the search | [optional] |
TimedOut | Pointer to bool | Indicates whether the search operation timed out | [optional] |
Aggregations | Pointer to map[string]interface{} | Aggregated search results grouped by the specified criteria | [optional] |
Hits | Pointer to SearchResponseHits | [optional] | |
Profile | Pointer to map[string]interface{} | Profile information about the search execution, if profiling is enabled | [optional] |
Scroll | Pointer to string | Scroll token to be used fo pagination | [optional] |
Warning | Pointer to map[string]interface{} | Warnings encountered during the search operation | [optional] |
func NewSearchResponse() *SearchResponse
NewSearchResponse instantiates a new SearchResponse 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 NewSearchResponseWithDefaults() *SearchResponse
NewSearchResponseWithDefaults instantiates a new SearchResponse 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 *SearchResponse) GetTook() int32
GetTook returns the Took field if non-nil, zero value otherwise.
func (o *SearchResponse) GetTookOk() (*int32, bool)
GetTookOk returns a tuple with the Took field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetTook(v int32)
SetTook sets Took field to given value.
func (o *SearchResponse) HasTook() bool
HasTook returns a boolean if a field has been set.
func (o *SearchResponse) GetTimedOut() bool
GetTimedOut returns the TimedOut field if non-nil, zero value otherwise.
func (o *SearchResponse) GetTimedOutOk() (*bool, bool)
GetTimedOutOk returns a tuple with the TimedOut field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetTimedOut(v bool)
SetTimedOut sets TimedOut field to given value.
func (o *SearchResponse) HasTimedOut() bool
HasTimedOut returns a boolean if a field has been set.
func (o *SearchResponse) GetAggregations() map[string]interface{}
GetAggregations returns the Aggregations field if non-nil, zero value otherwise.
func (o *SearchResponse) 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 *SearchResponse) SetAggregations(v map[string]interface{})
SetAggregations sets Aggregations field to given value.
func (o *SearchResponse) HasAggregations() bool
HasAggregations returns a boolean if a field has been set.
func (o *SearchResponse) GetHits() SearchResponseHits
GetHits returns the Hits field if non-nil, zero value otherwise.
func (o *SearchResponse) GetHitsOk() (*SearchResponseHits, 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 *SearchResponse) SetHits(v SearchResponseHits)
SetHits sets Hits field to given value.
func (o *SearchResponse) HasHits() bool
HasHits returns a boolean if a field has been set.
func (o *SearchResponse) GetProfile() map[string]interface{}
GetProfile returns the Profile field if non-nil, zero value otherwise.
func (o *SearchResponse) GetProfileOk() (*map[string]interface{}, bool)
GetProfileOk returns a tuple with the Profile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetProfile(v map[string]interface{})
SetProfile sets Profile field to given value.
func (o *SearchResponse) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (o *SearchResponse) GetScroll() string
GetScroll returns the Scroll field if non-nil, zero value otherwise.
func (o *SearchResponse) GetScrollOk() (*string, bool)
GetScrollOk returns a tuple with the Scroll field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetScroll(v string)
SetScroll sets Scroll field to given value.
func (o *SearchResponse) HasScroll() bool
HasScroll returns a boolean if a field has been set.
func (o *SearchResponse) GetWarning() map[string]interface{}
GetWarning returns the Warning field if non-nil, zero value otherwise.
func (o *SearchResponse) GetWarningOk() (*map[string]interface{}, bool)
GetWarningOk returns a tuple with the Warning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetWarning(v map[string]interface{})
SetWarning sets Warning field to given value.
func (o *SearchResponse) HasWarning() bool
HasWarning returns a boolean if a field has been set.