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] |
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
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
func (o *SearchResponseHits) GetMaxScore() int32
GetMaxScore returns the MaxScore field if non-nil, zero value otherwise.
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.
func (o *SearchResponseHits) SetMaxScore(v int32)
SetMaxScore sets MaxScore field to given value.
func (o *SearchResponseHits) HasMaxScore() bool
HasMaxScore returns a boolean if a field has been set.
func (o *SearchResponseHits) GetTotal() int32
GetTotal returns the Total field if non-nil, zero value otherwise.
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.
func (o *SearchResponseHits) SetTotal(v int32)
SetTotal sets Total field to given value.
func (o *SearchResponseHits) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (o *SearchResponseHits) GetTotalRelation() string
GetTotalRelation returns the TotalRelation field if non-nil, zero value otherwise.
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.
func (o *SearchResponseHits) SetTotalRelation(v string)
SetTotalRelation sets TotalRelation field to given value.
func (o *SearchResponseHits) HasTotalRelation() bool
HasTotalRelation returns a boolean if a field has been set.
func (o *SearchResponseHits) GetHits() []HitsHits
GetHits returns the Hits field if non-nil, zero value otherwise.
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.
func (o *SearchResponseHits) SetHits(v []HitsHits)
SetHits sets Hits field to given value.
func (o *SearchResponseHits) HasHits() bool
HasHits returns a boolean if a field has been set.