Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int64 | The ID of the matched document | [optional] |
Score | Pointer to int32 | The score of the matched document | [optional] |
Source | Pointer to map[string]interface{} | The source data of the matched document | [optional] |
KnnDist | Pointer to float32 | The knn distance of the matched document returned for knn queries | [optional] |
Highlight | Pointer to map[string]interface{} | The highlighting-related data of the matched document | [optional] |
Table | Pointer to string | The table name of the matched document returned for percolate queries | [optional] |
Type | Pointer to string | The type of the matched document returned for percolate queries | [optional] |
Fields | Pointer to map[string]interface{} | The percolate-related fields of the matched document returned for percolate queries | [optional] |
func NewHitsHits() *HitsHits
NewHitsHits instantiates a new HitsHits 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 NewHitsHitsWithDefaults() *HitsHits
NewHitsHitsWithDefaults instantiates a new HitsHits 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 *HitsHits) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *HitsHits) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetId(v int64)
SetId sets Id field to given value.
func (o *HitsHits) HasId() bool
HasId returns a boolean if a field has been set.
func (o *HitsHits) GetScore() int32
GetScore returns the Score field if non-nil, zero value otherwise.
func (o *HitsHits) GetScoreOk() (*int32, bool)
GetScoreOk returns a tuple with the Score field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetScore(v int32)
SetScore sets Score field to given value.
func (o *HitsHits) HasScore() bool
HasScore returns a boolean if a field has been set.
func (o *HitsHits) GetSource() map[string]interface{}
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *HitsHits) GetSourceOk() (*map[string]interface{}, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetSource(v map[string]interface{})
SetSource sets Source field to given value.
func (o *HitsHits) HasSource() bool
HasSource returns a boolean if a field has been set.
func (o *HitsHits) GetKnnDist() float32
GetKnnDist returns the KnnDist field if non-nil, zero value otherwise.
func (o *HitsHits) GetKnnDistOk() (*float32, bool)
GetKnnDistOk returns a tuple with the KnnDist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetKnnDist(v float32)
SetKnnDist sets KnnDist field to given value.
func (o *HitsHits) HasKnnDist() bool
HasKnnDist returns a boolean if a field has been set.
func (o *HitsHits) GetHighlight() map[string]interface{}
GetHighlight returns the Highlight field if non-nil, zero value otherwise.
func (o *HitsHits) GetHighlightOk() (*map[string]interface{}, bool)
GetHighlightOk returns a tuple with the Highlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetHighlight(v map[string]interface{})
SetHighlight sets Highlight field to given value.
func (o *HitsHits) HasHighlight() bool
HasHighlight returns a boolean if a field has been set.
func (o *HitsHits) GetTable() string
GetTable returns the Table field if non-nil, zero value otherwise.
func (o *HitsHits) GetTableOk() (*string, bool)
GetTableOk returns a tuple with the Table field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetTable(v string)
SetTable sets Table field to given value.
func (o *HitsHits) HasTable() bool
HasTable returns a boolean if a field has been set.
func (o *HitsHits) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *HitsHits) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetType(v string)
SetType sets Type field to given value.
func (o *HitsHits) HasType() bool
HasType returns a boolean if a field has been set.
func (o *HitsHits) GetFields() map[string]interface{}
GetFields returns the Fields field if non-nil, zero value otherwise.
func (o *HitsHits) GetFieldsOk() (*map[string]interface{}, bool)
GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HitsHits) SetFields(v map[string]interface{})
SetFields sets Fields field to given value.
func (o *HitsHits) HasFields() bool
HasFields returns a boolean if a field has been set.