317 lines
8.2 KiB
Markdown
317 lines
8.2 KiB
Markdown
# MetaZincQuery
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**Source** | Pointer to **[]string** | true, false, [\"field1\", \"field2.*\"] | [optional]
|
|
**Aggs** | Pointer to [**map[string]MetaAggregations**](MetaAggregations.md) | | [optional]
|
|
**Explain** | Pointer to **bool** | | [optional]
|
|
**Fields** | Pointer to **[]string** | [\"field1\", \"field2.*\", {\"field\": \"fieldName\", \"format\": \"epoch_millis\"}] | [optional]
|
|
**From** | Pointer to **int32** | | [optional]
|
|
**Highlight** | Pointer to [**MetaHighlight**](MetaHighlight.md) | | [optional]
|
|
**Query** | Pointer to [**MetaQuery**](MetaQuery.md) | | [optional]
|
|
**Size** | Pointer to **int32** | | [optional]
|
|
**Sort** | Pointer to **[]string** | \"_sorce\", [\"+Year\",\"-Year\", {\"Year\": \"desc\"}, \"Date\": {\"order\": \"asc\"\", \"format\": \"yyyy-MM-dd\"}}\"}] | [optional]
|
|
**Timeout** | Pointer to **int32** | | [optional]
|
|
**TrackTotalHits** | Pointer to **bool** | | [optional]
|
|
|
|
## Methods
|
|
|
|
### NewMetaZincQuery
|
|
|
|
`func NewMetaZincQuery() *MetaZincQuery`
|
|
|
|
NewMetaZincQuery instantiates a new MetaZincQuery 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
|
|
|
|
### NewMetaZincQueryWithDefaults
|
|
|
|
`func NewMetaZincQueryWithDefaults() *MetaZincQuery`
|
|
|
|
NewMetaZincQueryWithDefaults instantiates a new MetaZincQuery 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
|
|
|
|
### GetSource
|
|
|
|
`func (o *MetaZincQuery) GetSource() []string`
|
|
|
|
GetSource returns the Source field if non-nil, zero value otherwise.
|
|
|
|
### GetSourceOk
|
|
|
|
`func (o *MetaZincQuery) GetSourceOk() (*[]string, 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.
|
|
|
|
### SetSource
|
|
|
|
`func (o *MetaZincQuery) SetSource(v []string)`
|
|
|
|
SetSource sets Source field to given value.
|
|
|
|
### HasSource
|
|
|
|
`func (o *MetaZincQuery) HasSource() bool`
|
|
|
|
HasSource returns a boolean if a field has been set.
|
|
|
|
### GetAggs
|
|
|
|
`func (o *MetaZincQuery) GetAggs() map[string]MetaAggregations`
|
|
|
|
GetAggs returns the Aggs field if non-nil, zero value otherwise.
|
|
|
|
### GetAggsOk
|
|
|
|
`func (o *MetaZincQuery) GetAggsOk() (*map[string]MetaAggregations, bool)`
|
|
|
|
GetAggsOk returns a tuple with the Aggs field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetAggs
|
|
|
|
`func (o *MetaZincQuery) SetAggs(v map[string]MetaAggregations)`
|
|
|
|
SetAggs sets Aggs field to given value.
|
|
|
|
### HasAggs
|
|
|
|
`func (o *MetaZincQuery) HasAggs() bool`
|
|
|
|
HasAggs returns a boolean if a field has been set.
|
|
|
|
### GetExplain
|
|
|
|
`func (o *MetaZincQuery) GetExplain() bool`
|
|
|
|
GetExplain returns the Explain field if non-nil, zero value otherwise.
|
|
|
|
### GetExplainOk
|
|
|
|
`func (o *MetaZincQuery) GetExplainOk() (*bool, bool)`
|
|
|
|
GetExplainOk returns a tuple with the Explain field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetExplain
|
|
|
|
`func (o *MetaZincQuery) SetExplain(v bool)`
|
|
|
|
SetExplain sets Explain field to given value.
|
|
|
|
### HasExplain
|
|
|
|
`func (o *MetaZincQuery) HasExplain() bool`
|
|
|
|
HasExplain returns a boolean if a field has been set.
|
|
|
|
### GetFields
|
|
|
|
`func (o *MetaZincQuery) GetFields() []string`
|
|
|
|
GetFields returns the Fields field if non-nil, zero value otherwise.
|
|
|
|
### GetFieldsOk
|
|
|
|
`func (o *MetaZincQuery) GetFieldsOk() (*[]string, 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.
|
|
|
|
### SetFields
|
|
|
|
`func (o *MetaZincQuery) SetFields(v []string)`
|
|
|
|
SetFields sets Fields field to given value.
|
|
|
|
### HasFields
|
|
|
|
`func (o *MetaZincQuery) HasFields() bool`
|
|
|
|
HasFields returns a boolean if a field has been set.
|
|
|
|
### GetFrom
|
|
|
|
`func (o *MetaZincQuery) GetFrom() int32`
|
|
|
|
GetFrom returns the From field if non-nil, zero value otherwise.
|
|
|
|
### GetFromOk
|
|
|
|
`func (o *MetaZincQuery) GetFromOk() (*int32, bool)`
|
|
|
|
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetFrom
|
|
|
|
`func (o *MetaZincQuery) SetFrom(v int32)`
|
|
|
|
SetFrom sets From field to given value.
|
|
|
|
### HasFrom
|
|
|
|
`func (o *MetaZincQuery) HasFrom() bool`
|
|
|
|
HasFrom returns a boolean if a field has been set.
|
|
|
|
### GetHighlight
|
|
|
|
`func (o *MetaZincQuery) GetHighlight() MetaHighlight`
|
|
|
|
GetHighlight returns the Highlight field if non-nil, zero value otherwise.
|
|
|
|
### GetHighlightOk
|
|
|
|
`func (o *MetaZincQuery) GetHighlightOk() (*MetaHighlight, 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.
|
|
|
|
### SetHighlight
|
|
|
|
`func (o *MetaZincQuery) SetHighlight(v MetaHighlight)`
|
|
|
|
SetHighlight sets Highlight field to given value.
|
|
|
|
### HasHighlight
|
|
|
|
`func (o *MetaZincQuery) HasHighlight() bool`
|
|
|
|
HasHighlight returns a boolean if a field has been set.
|
|
|
|
### GetQuery
|
|
|
|
`func (o *MetaZincQuery) GetQuery() MetaQuery`
|
|
|
|
GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
|
|
### GetQueryOk
|
|
|
|
`func (o *MetaZincQuery) GetQueryOk() (*MetaQuery, bool)`
|
|
|
|
GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetQuery
|
|
|
|
`func (o *MetaZincQuery) SetQuery(v MetaQuery)`
|
|
|
|
SetQuery sets Query field to given value.
|
|
|
|
### HasQuery
|
|
|
|
`func (o *MetaZincQuery) HasQuery() bool`
|
|
|
|
HasQuery returns a boolean if a field has been set.
|
|
|
|
### GetSize
|
|
|
|
`func (o *MetaZincQuery) GetSize() int32`
|
|
|
|
GetSize returns the Size field if non-nil, zero value otherwise.
|
|
|
|
### GetSizeOk
|
|
|
|
`func (o *MetaZincQuery) GetSizeOk() (*int32, bool)`
|
|
|
|
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetSize
|
|
|
|
`func (o *MetaZincQuery) SetSize(v int32)`
|
|
|
|
SetSize sets Size field to given value.
|
|
|
|
### HasSize
|
|
|
|
`func (o *MetaZincQuery) HasSize() bool`
|
|
|
|
HasSize returns a boolean if a field has been set.
|
|
|
|
### GetSort
|
|
|
|
`func (o *MetaZincQuery) GetSort() []string`
|
|
|
|
GetSort returns the Sort field if non-nil, zero value otherwise.
|
|
|
|
### GetSortOk
|
|
|
|
`func (o *MetaZincQuery) GetSortOk() (*[]string, bool)`
|
|
|
|
GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetSort
|
|
|
|
`func (o *MetaZincQuery) SetSort(v []string)`
|
|
|
|
SetSort sets Sort field to given value.
|
|
|
|
### HasSort
|
|
|
|
`func (o *MetaZincQuery) HasSort() bool`
|
|
|
|
HasSort returns a boolean if a field has been set.
|
|
|
|
### GetTimeout
|
|
|
|
`func (o *MetaZincQuery) GetTimeout() int32`
|
|
|
|
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
|
|
|
|
### GetTimeoutOk
|
|
|
|
`func (o *MetaZincQuery) GetTimeoutOk() (*int32, bool)`
|
|
|
|
GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetTimeout
|
|
|
|
`func (o *MetaZincQuery) SetTimeout(v int32)`
|
|
|
|
SetTimeout sets Timeout field to given value.
|
|
|
|
### HasTimeout
|
|
|
|
`func (o *MetaZincQuery) HasTimeout() bool`
|
|
|
|
HasTimeout returns a boolean if a field has been set.
|
|
|
|
### GetTrackTotalHits
|
|
|
|
`func (o *MetaZincQuery) GetTrackTotalHits() bool`
|
|
|
|
GetTrackTotalHits returns the TrackTotalHits field if non-nil, zero value otherwise.
|
|
|
|
### GetTrackTotalHitsOk
|
|
|
|
`func (o *MetaZincQuery) GetTrackTotalHitsOk() (*bool, bool)`
|
|
|
|
GetTrackTotalHitsOk returns a tuple with the TrackTotalHits field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetTrackTotalHits
|
|
|
|
`func (o *MetaZincQuery) SetTrackTotalHits(v bool)`
|
|
|
|
SetTrackTotalHits sets TrackTotalHits field to given value.
|
|
|
|
### HasTrackTotalHits
|
|
|
|
`func (o *MetaZincQuery) HasTrackTotalHits() bool`
|
|
|
|
HasTrackTotalHits returns a boolean if a field has been set.
|
|
|
|
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|