Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.27 KB

SearchResponse.md

File metadata and controls

160 lines (87 loc) · 4.27 KB

SearchResponse

Properties

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]

Methods

NewSearchResponse

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

NewSearchResponseWithDefaults

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

GetTook

func (o *SearchResponse) GetTook() int32

GetTook returns the Took field if non-nil, zero value otherwise.

GetTookOk

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.

SetTook

func (o *SearchResponse) SetTook(v int32)

SetTook sets Took field to given value.

HasTook

func (o *SearchResponse) HasTook() bool

HasTook returns a boolean if a field has been set.

GetTimedOut

func (o *SearchResponse) GetTimedOut() bool

GetTimedOut returns the TimedOut field if non-nil, zero value otherwise.

GetTimedOutOk

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.

SetTimedOut

func (o *SearchResponse) SetTimedOut(v bool)

SetTimedOut sets TimedOut field to given value.

HasTimedOut

func (o *SearchResponse) HasTimedOut() bool

HasTimedOut returns a boolean if a field has been set.

GetAggregations

func (o *SearchResponse) GetAggregations() map[string]map[string]interface{}

GetAggregations returns the Aggregations field if non-nil, zero value otherwise.

GetAggregationsOk

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.

SetAggregations

func (o *SearchResponse) SetAggregations(v map[string]map[string]interface{})

SetAggregations sets Aggregations field to given value.

HasAggregations

func (o *SearchResponse) HasAggregations() bool

HasAggregations returns a boolean if a field has been set.

GetHits

func (o *SearchResponse) GetHits() SearchResponseHits

GetHits returns the Hits field if non-nil, zero value otherwise.

GetHitsOk

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.

SetHits

func (o *SearchResponse) SetHits(v SearchResponseHits)

SetHits sets Hits field to given value.

HasHits

func (o *SearchResponse) HasHits() bool

HasHits returns a boolean if a field has been set.

GetProfile

func (o *SearchResponse) GetProfile() map[string]interface{}

GetProfile returns the Profile field if non-nil, zero value otherwise.

GetProfileOk

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.

SetProfile

func (o *SearchResponse) SetProfile(v map[string]interface{})

SetProfile sets Profile field to given value.

HasProfile

func (o *SearchResponse) HasProfile() bool

HasProfile returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]