Skip to content

Latest commit

 

History

History
executable file
·
134 lines (73 loc) · 3.78 KB

SearchResponseHits.md

File metadata and controls

executable file
·
134 lines (73 loc) · 3.78 KB

SearchResponseHits

Properties

Name Type Description Notes
MaxScore Pointer to int32 Maximum score among the matched documents [optional]
Total Pointer to int32 Total number of matched documents [optional]
TotalRelation Pointer to string Indicates whether the total number of hits is accurate or an estimate [optional]
Hits Pointer to []HitsHits Array of hit objects, each representing a matched document [optional]

Methods

NewSearchResponseHits

func NewSearchResponseHits() *SearchResponseHits

NewSearchResponseHits instantiates a new SearchResponseHits 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

NewSearchResponseHitsWithDefaults

func NewSearchResponseHitsWithDefaults() *SearchResponseHits

NewSearchResponseHitsWithDefaults instantiates a new SearchResponseHits 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

GetMaxScore

func (o *SearchResponseHits) GetMaxScore() int32

GetMaxScore returns the MaxScore field if non-nil, zero value otherwise.

GetMaxScoreOk

func (o *SearchResponseHits) GetMaxScoreOk() (*int32, bool)

GetMaxScoreOk returns a tuple with the MaxScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxScore

func (o *SearchResponseHits) SetMaxScore(v int32)

SetMaxScore sets MaxScore field to given value.

HasMaxScore

func (o *SearchResponseHits) HasMaxScore() bool

HasMaxScore returns a boolean if a field has been set.

GetTotal

func (o *SearchResponseHits) GetTotal() int32

GetTotal returns the Total field if non-nil, zero value otherwise.

GetTotalOk

func (o *SearchResponseHits) GetTotalOk() (*int32, 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.

SetTotal

func (o *SearchResponseHits) SetTotal(v int32)

SetTotal sets Total field to given value.

HasTotal

func (o *SearchResponseHits) HasTotal() bool

HasTotal returns a boolean if a field has been set.

GetTotalRelation

func (o *SearchResponseHits) GetTotalRelation() string

GetTotalRelation returns the TotalRelation field if non-nil, zero value otherwise.

GetTotalRelationOk

func (o *SearchResponseHits) GetTotalRelationOk() (*string, bool)

GetTotalRelationOk returns a tuple with the TotalRelation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTotalRelation

func (o *SearchResponseHits) SetTotalRelation(v string)

SetTotalRelation sets TotalRelation field to given value.

HasTotalRelation

func (o *SearchResponseHits) HasTotalRelation() bool

HasTotalRelation returns a boolean if a field has been set.

GetHits

func (o *SearchResponseHits) GetHits() []HitsHits

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

GetHitsOk

func (o *SearchResponseHits) GetHitsOk() (*[]HitsHits, 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 *SearchResponseHits) SetHits(v []HitsHits)

SetHits sets Hits field to given value.

HasHits

func (o *SearchResponseHits) HasHits() bool

HasHits returns a boolean if a field has been set.

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