Name | Type | Description | Notes |
---|---|---|---|
Took | Pointer to int32 | [optional] | |
TimedOut | Pointer to bool | [optional] | |
Aggregations | Pointer to map[string]map[string]interface{} | [optional] | |
Hits | Pointer to SearchResponseHits | [optional] | |
Profile | Pointer to map[string]interface{} | [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]map[string]interface{}
GetAggregations returns the Aggregations field if non-nil, zero value otherwise.
func (o *SearchResponse) GetAggregationsOk() (*map[string]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]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.