sdk-go-zincsearch/docs/MetaQuery.md
2022-06-24 13:04:50 +08:00

15 KiB

MetaQuery

Properties

Name Type Description Notes
Bool Pointer to MetaBoolQuery [optional]
Exists Pointer to MetaExistsQuery [optional]
Fuzzy Pointer to **map[string]MetaFuzzyQuery** simple, PrefixQuery [optional]
Ids Pointer to MetaIdsQuery [optional]
Match Pointer to **map[string]MetaMatchQuery** simple, MatchQuery [optional]
MatchAll Pointer to map[string]interface{} [optional]
MatchBoolPrefix Pointer to **map[string]MetaMatchBoolPrefixQuery** simple, MatchBoolPrefixQuery [optional]
MatchNone Pointer to map[string]interface{} [optional]
MatchPhrase Pointer to **map[string]MetaMatchPhraseQuery** simple, MatchPhraseQuery [optional]
MatchPhrasePrefix Pointer to **map[string]MetaMatchPhrasePrefixQuery** simple, MatchPhrasePrefixQuery [optional]
MultiMatch Pointer to MetaMultiMatchQuery [optional]
Prefix Pointer to **map[string]MetaPrefixQuery** . [optional]
QueryString Pointer to MetaQueryStringQuery [optional]
Range Pointer to **map[string]MetaRangeQuery** simple, FuzzyQuery [optional]
Regexp Pointer to **map[string]MetaRegexpQuery** simple, FuzzyQuery [optional]
SimpleQueryString Pointer to MetaSimpleQueryStringQuery [optional]
Term Pointer to **map[string]MetaTermQuery** simple, TermQuery [optional]
Terms Pointer to map[string]map[string]interface{} . [optional]
Wildcard Pointer to **map[string]MetaWildcardQuery** simple, WildcardQuery [optional]

Methods

NewMetaQuery

func NewMetaQuery() *MetaQuery

NewMetaQuery instantiates a new MetaQuery 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

NewMetaQueryWithDefaults

func NewMetaQueryWithDefaults() *MetaQuery

NewMetaQueryWithDefaults instantiates a new MetaQuery 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

GetBool

func (o *MetaQuery) GetBool() MetaBoolQuery

GetBool returns the Bool field if non-nil, zero value otherwise.

GetBoolOk

func (o *MetaQuery) GetBoolOk() (*MetaBoolQuery, bool)

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

SetBool

func (o *MetaQuery) SetBool(v MetaBoolQuery)

SetBool sets Bool field to given value.

HasBool

func (o *MetaQuery) HasBool() bool

HasBool returns a boolean if a field has been set.

GetExists

func (o *MetaQuery) GetExists() MetaExistsQuery

GetExists returns the Exists field if non-nil, zero value otherwise.

GetExistsOk

func (o *MetaQuery) GetExistsOk() (*MetaExistsQuery, bool)

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

SetExists

func (o *MetaQuery) SetExists(v MetaExistsQuery)

SetExists sets Exists field to given value.

HasExists

func (o *MetaQuery) HasExists() bool

HasExists returns a boolean if a field has been set.

GetFuzzy

func (o *MetaQuery) GetFuzzy() map[string]MetaFuzzyQuery

GetFuzzy returns the Fuzzy field if non-nil, zero value otherwise.

GetFuzzyOk

func (o *MetaQuery) GetFuzzyOk() (*map[string]MetaFuzzyQuery, bool)

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

SetFuzzy

func (o *MetaQuery) SetFuzzy(v map[string]MetaFuzzyQuery)

SetFuzzy sets Fuzzy field to given value.

HasFuzzy

func (o *MetaQuery) HasFuzzy() bool

HasFuzzy returns a boolean if a field has been set.

GetIds

func (o *MetaQuery) GetIds() MetaIdsQuery

GetIds returns the Ids field if non-nil, zero value otherwise.

GetIdsOk

func (o *MetaQuery) GetIdsOk() (*MetaIdsQuery, bool)

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

SetIds

func (o *MetaQuery) SetIds(v MetaIdsQuery)

SetIds sets Ids field to given value.

HasIds

func (o *MetaQuery) HasIds() bool

HasIds returns a boolean if a field has been set.

GetMatch

func (o *MetaQuery) GetMatch() map[string]MetaMatchQuery

GetMatch returns the Match field if non-nil, zero value otherwise.

GetMatchOk

func (o *MetaQuery) GetMatchOk() (*map[string]MetaMatchQuery, bool)

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

SetMatch

func (o *MetaQuery) SetMatch(v map[string]MetaMatchQuery)

SetMatch sets Match field to given value.

HasMatch

func (o *MetaQuery) HasMatch() bool

HasMatch returns a boolean if a field has been set.

GetMatchAll

func (o *MetaQuery) GetMatchAll() map[string]interface{}

GetMatchAll returns the MatchAll field if non-nil, zero value otherwise.

GetMatchAllOk

func (o *MetaQuery) GetMatchAllOk() (*map[string]interface{}, bool)

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

SetMatchAll

func (o *MetaQuery) SetMatchAll(v map[string]interface{})

SetMatchAll sets MatchAll field to given value.

HasMatchAll

func (o *MetaQuery) HasMatchAll() bool

HasMatchAll returns a boolean if a field has been set.

GetMatchBoolPrefix

func (o *MetaQuery) GetMatchBoolPrefix() map[string]MetaMatchBoolPrefixQuery

GetMatchBoolPrefix returns the MatchBoolPrefix field if non-nil, zero value otherwise.

GetMatchBoolPrefixOk

func (o *MetaQuery) GetMatchBoolPrefixOk() (*map[string]MetaMatchBoolPrefixQuery, bool)

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

SetMatchBoolPrefix

func (o *MetaQuery) SetMatchBoolPrefix(v map[string]MetaMatchBoolPrefixQuery)

SetMatchBoolPrefix sets MatchBoolPrefix field to given value.

HasMatchBoolPrefix

func (o *MetaQuery) HasMatchBoolPrefix() bool

HasMatchBoolPrefix returns a boolean if a field has been set.

GetMatchNone

func (o *MetaQuery) GetMatchNone() map[string]interface{}

GetMatchNone returns the MatchNone field if non-nil, zero value otherwise.

GetMatchNoneOk

func (o *MetaQuery) GetMatchNoneOk() (*map[string]interface{}, bool)

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

SetMatchNone

func (o *MetaQuery) SetMatchNone(v map[string]interface{})

SetMatchNone sets MatchNone field to given value.

HasMatchNone

func (o *MetaQuery) HasMatchNone() bool

HasMatchNone returns a boolean if a field has been set.

GetMatchPhrase

func (o *MetaQuery) GetMatchPhrase() map[string]MetaMatchPhraseQuery

GetMatchPhrase returns the MatchPhrase field if non-nil, zero value otherwise.

GetMatchPhraseOk

func (o *MetaQuery) GetMatchPhraseOk() (*map[string]MetaMatchPhraseQuery, bool)

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

SetMatchPhrase

func (o *MetaQuery) SetMatchPhrase(v map[string]MetaMatchPhraseQuery)

SetMatchPhrase sets MatchPhrase field to given value.

HasMatchPhrase

func (o *MetaQuery) HasMatchPhrase() bool

HasMatchPhrase returns a boolean if a field has been set.

GetMatchPhrasePrefix

func (o *MetaQuery) GetMatchPhrasePrefix() map[string]MetaMatchPhrasePrefixQuery

GetMatchPhrasePrefix returns the MatchPhrasePrefix field if non-nil, zero value otherwise.

GetMatchPhrasePrefixOk

func (o *MetaQuery) GetMatchPhrasePrefixOk() (*map[string]MetaMatchPhrasePrefixQuery, bool)

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

SetMatchPhrasePrefix

func (o *MetaQuery) SetMatchPhrasePrefix(v map[string]MetaMatchPhrasePrefixQuery)

SetMatchPhrasePrefix sets MatchPhrasePrefix field to given value.

HasMatchPhrasePrefix

func (o *MetaQuery) HasMatchPhrasePrefix() bool

HasMatchPhrasePrefix returns a boolean if a field has been set.

GetMultiMatch

func (o *MetaQuery) GetMultiMatch() MetaMultiMatchQuery

GetMultiMatch returns the MultiMatch field if non-nil, zero value otherwise.

GetMultiMatchOk

func (o *MetaQuery) GetMultiMatchOk() (*MetaMultiMatchQuery, bool)

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

SetMultiMatch

func (o *MetaQuery) SetMultiMatch(v MetaMultiMatchQuery)

SetMultiMatch sets MultiMatch field to given value.

HasMultiMatch

func (o *MetaQuery) HasMultiMatch() bool

HasMultiMatch returns a boolean if a field has been set.

GetPrefix

func (o *MetaQuery) GetPrefix() map[string]MetaPrefixQuery

GetPrefix returns the Prefix field if non-nil, zero value otherwise.

GetPrefixOk

func (o *MetaQuery) GetPrefixOk() (*map[string]MetaPrefixQuery, bool)

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

SetPrefix

func (o *MetaQuery) SetPrefix(v map[string]MetaPrefixQuery)

SetPrefix sets Prefix field to given value.

HasPrefix

func (o *MetaQuery) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

GetQueryString

func (o *MetaQuery) GetQueryString() MetaQueryStringQuery

GetQueryString returns the QueryString field if non-nil, zero value otherwise.

GetQueryStringOk

func (o *MetaQuery) GetQueryStringOk() (*MetaQueryStringQuery, bool)

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

SetQueryString

func (o *MetaQuery) SetQueryString(v MetaQueryStringQuery)

SetQueryString sets QueryString field to given value.

HasQueryString

func (o *MetaQuery) HasQueryString() bool

HasQueryString returns a boolean if a field has been set.

GetRange

func (o *MetaQuery) GetRange() map[string]MetaRangeQuery

GetRange returns the Range field if non-nil, zero value otherwise.

GetRangeOk

func (o *MetaQuery) GetRangeOk() (*map[string]MetaRangeQuery, bool)

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

SetRange

func (o *MetaQuery) SetRange(v map[string]MetaRangeQuery)

SetRange sets Range field to given value.

HasRange

func (o *MetaQuery) HasRange() bool

HasRange returns a boolean if a field has been set.

GetRegexp

func (o *MetaQuery) GetRegexp() map[string]MetaRegexpQuery

GetRegexp returns the Regexp field if non-nil, zero value otherwise.

GetRegexpOk

func (o *MetaQuery) GetRegexpOk() (*map[string]MetaRegexpQuery, bool)

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

SetRegexp

func (o *MetaQuery) SetRegexp(v map[string]MetaRegexpQuery)

SetRegexp sets Regexp field to given value.

HasRegexp

func (o *MetaQuery) HasRegexp() bool

HasRegexp returns a boolean if a field has been set.

GetSimpleQueryString

func (o *MetaQuery) GetSimpleQueryString() MetaSimpleQueryStringQuery

GetSimpleQueryString returns the SimpleQueryString field if non-nil, zero value otherwise.

GetSimpleQueryStringOk

func (o *MetaQuery) GetSimpleQueryStringOk() (*MetaSimpleQueryStringQuery, bool)

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

SetSimpleQueryString

func (o *MetaQuery) SetSimpleQueryString(v MetaSimpleQueryStringQuery)

SetSimpleQueryString sets SimpleQueryString field to given value.

HasSimpleQueryString

func (o *MetaQuery) HasSimpleQueryString() bool

HasSimpleQueryString returns a boolean if a field has been set.

GetTerm

func (o *MetaQuery) GetTerm() map[string]MetaTermQuery

GetTerm returns the Term field if non-nil, zero value otherwise.

GetTermOk

func (o *MetaQuery) GetTermOk() (*map[string]MetaTermQuery, bool)

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

SetTerm

func (o *MetaQuery) SetTerm(v map[string]MetaTermQuery)

SetTerm sets Term field to given value.

HasTerm

func (o *MetaQuery) HasTerm() bool

HasTerm returns a boolean if a field has been set.

GetTerms

func (o *MetaQuery) GetTerms() map[string]map[string]interface{}

GetTerms returns the Terms field if non-nil, zero value otherwise.

GetTermsOk

func (o *MetaQuery) GetTermsOk() (*map[string]map[string]interface{}, bool)

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

SetTerms

func (o *MetaQuery) SetTerms(v map[string]map[string]interface{})

SetTerms sets Terms field to given value.

HasTerms

func (o *MetaQuery) HasTerms() bool

HasTerms returns a boolean if a field has been set.

GetWildcard

func (o *MetaQuery) GetWildcard() map[string]MetaWildcardQuery

GetWildcard returns the Wildcard field if non-nil, zero value otherwise.

GetWildcardOk

func (o *MetaQuery) GetWildcardOk() (*map[string]MetaWildcardQuery, bool)

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

SetWildcard

func (o *MetaQuery) SetWildcard(v map[string]MetaWildcardQuery)

SetWildcard sets Wildcard field to given value.

HasWildcard

func (o *MetaQuery) HasWildcard() bool

HasWildcard returns a boolean if a field has been set.

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