Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Aggregation
- func (o *Aggregation) GetSort() []map[string]AggregationSortInnerValue
- func (o *Aggregation) GetSortOk() ([]map[string]AggregationSortInnerValue, bool)
- func (o *Aggregation) GetTerms() AggregationTerms
- func (o *Aggregation) GetTermsOk() (*AggregationTerms, bool)
- func (o *Aggregation) HasSort() bool
- func (o *Aggregation) HasTerms() bool
- func (o Aggregation) MarshalJSON() ([]byte, error)
- func (o *Aggregation) SetSort(v []map[string]AggregationSortInnerValue)
- func (o *Aggregation) SetTerms(v AggregationTerms)
- func (o Aggregation) ToMap() (map[string]interface{}, error)
- type AggregationSortInnerValue
- func (o *AggregationSortInnerValue) GetOrder() string
- func (o *AggregationSortInnerValue) GetOrderOk() (*string, bool)
- func (o *AggregationSortInnerValue) HasOrder() bool
- func (o AggregationSortInnerValue) MarshalJSON() ([]byte, error)
- func (o *AggregationSortInnerValue) SetOrder(v string)
- func (o AggregationSortInnerValue) ToMap() (map[string]interface{}, error)
- type AggregationTerms
- func (o *AggregationTerms) GetField() string
- func (o *AggregationTerms) GetFieldOk() (*string, bool)
- func (o *AggregationTerms) GetSize() int32
- func (o *AggregationTerms) GetSizeOk() (*int32, bool)
- func (o *AggregationTerms) HasField() bool
- func (o *AggregationTerms) HasSize() bool
- func (o AggregationTerms) MarshalJSON() ([]byte, error)
- func (o *AggregationTerms) SetField(v string)
- func (o *AggregationTerms) SetSize(v int32)
- func (o AggregationTerms) ToMap() (map[string]interface{}, error)
- type ApiBulkRequest
- type ApiDeleteRequest
- type ApiInsertRequest
- type ApiPercolateRequest
- type ApiReplaceRequest
- type ApiSearchRequest
- type ApiSqlRequest
- type ApiUpdateRequest
- type BasicAuth
- type BoolFilter
- func (o *BoolFilter) GetMust() []map[string]interface{}
- func (o *BoolFilter) GetMustNot() []map[string]interface{}
- func (o *BoolFilter) GetMustNotOk() ([]map[string]interface{}, bool)
- func (o *BoolFilter) GetMustOk() ([]map[string]interface{}, bool)
- func (o *BoolFilter) GetShould() []map[string]interface{}
- func (o *BoolFilter) GetShouldOk() ([]map[string]interface{}, bool)
- func (o *BoolFilter) HasMust() bool
- func (o *BoolFilter) HasMustNot() bool
- func (o *BoolFilter) HasShould() bool
- func (o BoolFilter) MarshalJSON() ([]byte, error)
- func (o *BoolFilter) SetMust(v []map[string]interface{})
- func (o *BoolFilter) SetMustNot(v []map[string]interface{})
- func (o *BoolFilter) SetShould(v []map[string]interface{})
- func (o BoolFilter) ToMap() (map[string]interface{}, error)
- type BulkResponse
- func (o *BulkResponse) GetError() string
- func (o *BulkResponse) GetErrorOk() (*string, bool)
- func (o *BulkResponse) GetErrors() bool
- func (o *BulkResponse) GetErrorsOk() (*bool, bool)
- func (o *BulkResponse) GetItems() []map[string]interface{}
- func (o *BulkResponse) GetItemsOk() ([]map[string]interface{}, bool)
- func (o *BulkResponse) HasError() bool
- func (o *BulkResponse) HasErrors() bool
- func (o *BulkResponse) HasItems() bool
- func (o BulkResponse) MarshalJSON() ([]byte, error)
- func (o *BulkResponse) SetError(v string)
- func (o *BulkResponse) SetErrors(v bool)
- func (o *BulkResponse) SetItems(v []map[string]interface{})
- func (o BulkResponse) ToMap() (map[string]interface{}, error)
- func (o *BulkResponse) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type DeleteDocumentRequest
- func (o *DeleteDocumentRequest) GetCluster() string
- func (o *DeleteDocumentRequest) GetClusterOk() (*string, bool)
- func (o *DeleteDocumentRequest) GetId() int64
- func (o *DeleteDocumentRequest) GetIdOk() (*int64, bool)
- func (o *DeleteDocumentRequest) GetIndex() string
- func (o *DeleteDocumentRequest) GetIndexOk() (*string, bool)
- func (o *DeleteDocumentRequest) GetQuery() map[string]interface{}
- func (o *DeleteDocumentRequest) GetQueryOk() (map[string]interface{}, bool)
- func (o *DeleteDocumentRequest) HasCluster() bool
- func (o *DeleteDocumentRequest) HasId() bool
- func (o *DeleteDocumentRequest) HasQuery() bool
- func (o DeleteDocumentRequest) MarshalJSON() ([]byte, error)
- func (o *DeleteDocumentRequest) SetCluster(v string)
- func (o *DeleteDocumentRequest) SetId(v int64)
- func (o *DeleteDocumentRequest) SetIndex(v string)
- func (o *DeleteDocumentRequest) SetQuery(v map[string]interface{})
- func (o DeleteDocumentRequest) ToMap() (map[string]interface{}, error)
- func (o *DeleteDocumentRequest) UnmarshalJSON(data []byte) (err error)
- type DeleteResponse
- func (o *DeleteResponse) GetDeleted() int32
- func (o *DeleteResponse) GetDeletedOk() (*int32, bool)
- func (o *DeleteResponse) GetId() int64
- func (o *DeleteResponse) GetIdOk() (*int64, bool)
- func (o *DeleteResponse) GetIndex() string
- func (o *DeleteResponse) GetIndexOk() (*string, bool)
- func (o *DeleteResponse) GetResult() string
- func (o *DeleteResponse) GetResultOk() (*string, bool)
- func (o *DeleteResponse) HasDeleted() bool
- func (o *DeleteResponse) HasId() bool
- func (o *DeleteResponse) HasIndex() bool
- func (o *DeleteResponse) HasResult() bool
- func (o DeleteResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteResponse) SetDeleted(v int32)
- func (o *DeleteResponse) SetId(v int64)
- func (o *DeleteResponse) SetIndex(v string)
- func (o *DeleteResponse) SetResult(v string)
- func (o DeleteResponse) ToMap() (map[string]interface{}, error)
- type EqualsFilter
- func (o *EqualsFilter) GetField() string
- func (o *EqualsFilter) GetFieldOk() (*string, bool)
- func (o *EqualsFilter) GetValue() map[string]interface{}
- func (o *EqualsFilter) GetValueOk() (map[string]interface{}, bool)
- func (o EqualsFilter) MarshalJSON() ([]byte, error)
- func (o *EqualsFilter) SetField(v string)
- func (o *EqualsFilter) SetValue(v map[string]interface{})
- func (o EqualsFilter) ToMap() (map[string]interface{}, error)
- func (o *EqualsFilter) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- func (o *ErrorResponse) GetError() map[string]interface{}
- func (o *ErrorResponse) GetErrorOk() (map[string]interface{}, bool)
- func (o *ErrorResponse) GetStatus() int32
- func (o *ErrorResponse) GetStatusOk() (*int32, bool)
- func (o *ErrorResponse) HasStatus() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetError(v map[string]interface{})
- func (o *ErrorResponse) SetStatus(v int32)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type ErrorResponseString
- func (o *ErrorResponseString) GetError() string
- func (o *ErrorResponseString) GetErrorOk() (*string, bool)
- func (o ErrorResponseString) MarshalJSON() ([]byte, error)
- func (o *ErrorResponseString) SetError(v string)
- func (o ErrorResponseString) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponseString) UnmarshalJSON(data []byte) (err error)
- type Facet
- func (o *Facet) GetAlias() string
- func (o *Facet) GetAliasOk() (*string, bool)
- func (o *Facet) GetAttr() string
- func (o *Facet) GetAttrOk() (*string, bool)
- func (o *Facet) GetLimit() int32
- func (o *Facet) GetLimitOk() (*int32, bool)
- func (o *Facet) HasAlias() bool
- func (o *Facet) HasLimit() bool
- func (o Facet) MarshalJSON() ([]byte, error)
- func (o *Facet) SetAlias(v string)
- func (o *Facet) SetAttr(v string)
- func (o *Facet) SetLimit(v int32)
- func (o Facet) ToMap() (map[string]interface{}, error)
- func (o *Facet) UnmarshalJSON(data []byte) (err error)
- type FilterBoolean
- func (o *FilterBoolean) GetFilterField() string
- func (o *FilterBoolean) GetFilterFieldOk() (*string, bool)
- func (o *FilterBoolean) GetFilterValue() bool
- func (o *FilterBoolean) GetFilterValueOk() (*bool, bool)
- func (o *FilterBoolean) GetOperation() string
- func (o *FilterBoolean) GetOperationOk() (*string, bool)
- func (o FilterBoolean) MarshalJSON() ([]byte, error)
- func (o *FilterBoolean) SetFilterField(v string)
- func (o *FilterBoolean) SetFilterValue(v bool)
- func (o *FilterBoolean) SetOperation(v string)
- func (o FilterBoolean) ToMap() (map[string]interface{}, error)
- func (o *FilterBoolean) UnmarshalJSON(data []byte) (err error)
- type FilterNumber
- func (o *FilterNumber) GetFilterField() string
- func (o *FilterNumber) GetFilterFieldOk() (*string, bool)
- func (o *FilterNumber) GetFilterValue() float32
- func (o *FilterNumber) GetFilterValueOk() (*float32, bool)
- func (o *FilterNumber) GetOperation() string
- func (o *FilterNumber) GetOperationOk() (*string, bool)
- func (o FilterNumber) MarshalJSON() ([]byte, error)
- func (o *FilterNumber) SetFilterField(v string)
- func (o *FilterNumber) SetFilterValue(v float32)
- func (o *FilterNumber) SetOperation(v string)
- func (o FilterNumber) ToMap() (map[string]interface{}, error)
- func (o *FilterNumber) UnmarshalJSON(data []byte) (err error)
- type FilterString
- func (o *FilterString) GetFilterField() string
- func (o *FilterString) GetFilterFieldOk() (*string, bool)
- func (o *FilterString) GetFilterValue() string
- func (o *FilterString) GetFilterValueOk() (*string, bool)
- func (o *FilterString) GetOperation() string
- func (o *FilterString) GetOperationOk() (*string, bool)
- func (o FilterString) MarshalJSON() ([]byte, error)
- func (o *FilterString) SetFilterField(v string)
- func (o *FilterString) SetFilterValue(v string)
- func (o *FilterString) SetOperation(v string)
- func (o FilterString) ToMap() (map[string]interface{}, error)
- func (o *FilterString) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GeoDistanceFilter
- func (o *GeoDistanceFilter) GetDistance() string
- func (o *GeoDistanceFilter) GetDistanceOk() (*string, bool)
- func (o *GeoDistanceFilter) GetDistanceType() string
- func (o *GeoDistanceFilter) GetDistanceTypeOk() (*string, bool)
- func (o *GeoDistanceFilter) GetLocationAnchor() GeoDistanceFilterLocationAnchor
- func (o *GeoDistanceFilter) GetLocationAnchorOk() (*GeoDistanceFilterLocationAnchor, bool)
- func (o *GeoDistanceFilter) GetLocationSource() string
- func (o *GeoDistanceFilter) GetLocationSourceOk() (*string, bool)
- func (o *GeoDistanceFilter) HasDistance() bool
- func (o *GeoDistanceFilter) HasDistanceType() bool
- func (o *GeoDistanceFilter) HasLocationAnchor() bool
- func (o *GeoDistanceFilter) HasLocationSource() bool
- func (o GeoDistanceFilter) MarshalJSON() ([]byte, error)
- func (o *GeoDistanceFilter) SetDistance(v string)
- func (o *GeoDistanceFilter) SetDistanceType(v string)
- func (o *GeoDistanceFilter) SetLocationAnchor(v GeoDistanceFilterLocationAnchor)
- func (o *GeoDistanceFilter) SetLocationSource(v string)
- func (o GeoDistanceFilter) ToMap() (map[string]interface{}, error)
- type GeoDistanceFilterLocationAnchor
- func (o *GeoDistanceFilterLocationAnchor) GetLat() float32
- func (o *GeoDistanceFilterLocationAnchor) GetLatOk() (*float32, bool)
- func (o *GeoDistanceFilterLocationAnchor) GetLon() float32
- func (o *GeoDistanceFilterLocationAnchor) GetLonOk() (*float32, bool)
- func (o *GeoDistanceFilterLocationAnchor) HasLat() bool
- func (o *GeoDistanceFilterLocationAnchor) HasLon() bool
- func (o GeoDistanceFilterLocationAnchor) MarshalJSON() ([]byte, error)
- func (o *GeoDistanceFilterLocationAnchor) SetLat(v float32)
- func (o *GeoDistanceFilterLocationAnchor) SetLon(v float32)
- func (o GeoDistanceFilterLocationAnchor) ToMap() (map[string]interface{}, error)
- type Highlight
- func (o *Highlight) GetAllowEmpty() bool
- func (o *Highlight) GetAllowEmptyOk() (*bool, bool)
- func (o *Highlight) GetAround() int32
- func (o *Highlight) GetAroundOk() (*int32, bool)
- func (o *Highlight) GetEmitZones() bool
- func (o *Highlight) GetEmitZonesOk() (*bool, bool)
- func (o *Highlight) GetEncoder() string
- func (o *Highlight) GetEncoderOk() (*string, bool)
- func (o *Highlight) GetFieldnames() []string
- func (o *Highlight) GetFieldnamesOk() ([]string, bool)
- func (o *Highlight) GetFields() []HighlightField
- func (o *Highlight) GetFieldsOk() ([]HighlightField, bool)
- func (o *Highlight) GetForceAllWords() bool
- func (o *Highlight) GetForceAllWordsOk() (*bool, bool)
- func (o *Highlight) GetForceSnippets() bool
- func (o *Highlight) GetForceSnippetsOk() (*bool, bool)
- func (o *Highlight) GetFragmentSize() int32
- func (o *Highlight) GetFragmentSizeOk() (*int32, bool)
- func (o *Highlight) GetHighlightQuery() map[string]interface{}
- func (o *Highlight) GetHighlightQueryOk() (map[string]interface{}, bool)
- func (o *Highlight) GetHtmlStripMode() string
- func (o *Highlight) GetHtmlStripModeOk() (*string, bool)
- func (o *Highlight) GetLimit() int32
- func (o *Highlight) GetLimitOk() (*int32, bool)
- func (o *Highlight) GetLimitSnippets() int32
- func (o *Highlight) GetLimitSnippetsOk() (*int32, bool)
- func (o *Highlight) GetLimitWords() int32
- func (o *Highlight) GetLimitWordsOk() (*int32, bool)
- func (o *Highlight) GetLimitsPerField() bool
- func (o *Highlight) GetLimitsPerFieldOk() (*bool, bool)
- func (o *Highlight) GetNoMatchSize() int32
- func (o *Highlight) GetNoMatchSizeOk() (*int32, bool)
- func (o *Highlight) GetNumberOfFragments() int32
- func (o *Highlight) GetNumberOfFragmentsOk() (*int32, bool)
- func (o *Highlight) GetPostTags() string
- func (o *Highlight) GetPostTagsOk() (*string, bool)
- func (o *Highlight) GetPreTags() string
- func (o *Highlight) GetPreTagsOk() (*string, bool)
- func (o *Highlight) GetSnippetBoundary() string
- func (o *Highlight) GetSnippetBoundaryOk() (*string, bool)
- func (o *Highlight) GetStartSnippetId() int32
- func (o *Highlight) GetStartSnippetIdOk() (*int32, bool)
- func (o *Highlight) GetUseBoundaries() bool
- func (o *Highlight) GetUseBoundariesOk() (*bool, bool)
- func (o *Highlight) HasAllowEmpty() bool
- func (o *Highlight) HasAround() bool
- func (o *Highlight) HasEmitZones() bool
- func (o *Highlight) HasEncoder() bool
- func (o *Highlight) HasFieldnames() bool
- func (o *Highlight) HasFields() bool
- func (o *Highlight) HasForceAllWords() bool
- func (o *Highlight) HasForceSnippets() bool
- func (o *Highlight) HasFragmentSize() bool
- func (o *Highlight) HasHighlightQuery() bool
- func (o *Highlight) HasHtmlStripMode() bool
- func (o *Highlight) HasLimit() bool
- func (o *Highlight) HasLimitSnippets() bool
- func (o *Highlight) HasLimitWords() bool
- func (o *Highlight) HasLimitsPerField() bool
- func (o *Highlight) HasNoMatchSize() bool
- func (o *Highlight) HasNumberOfFragments() bool
- func (o *Highlight) HasPostTags() bool
- func (o *Highlight) HasPreTags() bool
- func (o *Highlight) HasSnippetBoundary() bool
- func (o *Highlight) HasStartSnippetId() bool
- func (o *Highlight) HasUseBoundaries() bool
- func (o Highlight) MarshalJSON() ([]byte, error)
- func (o *Highlight) SetAllowEmpty(v bool)
- func (o *Highlight) SetAround(v int32)
- func (o *Highlight) SetEmitZones(v bool)
- func (o *Highlight) SetEncoder(v string)
- func (o *Highlight) SetFieldnames(v []string)
- func (o *Highlight) SetFields(v []HighlightField)
- func (o *Highlight) SetForceAllWords(v bool)
- func (o *Highlight) SetForceSnippets(v bool)
- func (o *Highlight) SetFragmentSize(v int32)
- func (o *Highlight) SetHighlightQuery(v map[string]interface{})
- func (o *Highlight) SetHtmlStripMode(v string)
- func (o *Highlight) SetLimit(v int32)
- func (o *Highlight) SetLimitSnippets(v int32)
- func (o *Highlight) SetLimitWords(v int32)
- func (o *Highlight) SetLimitsPerField(v bool)
- func (o *Highlight) SetNoMatchSize(v int32)
- func (o *Highlight) SetNumberOfFragments(v int32)
- func (o *Highlight) SetPostTags(v string)
- func (o *Highlight) SetPreTags(v string)
- func (o *Highlight) SetSnippetBoundary(v string)
- func (o *Highlight) SetStartSnippetId(v int32)
- func (o *Highlight) SetUseBoundaries(v bool)
- func (o Highlight) ToMap() (map[string]interface{}, error)
- type HighlightField
- func (o *HighlightField) GetLimit() int32
- func (o *HighlightField) GetLimitOk() (*int32, bool)
- func (o *HighlightField) GetLimitSnippets() int32
- func (o *HighlightField) GetLimitSnippetsOk() (*int32, bool)
- func (o *HighlightField) GetLimitWords() int32
- func (o *HighlightField) GetLimitWordsOk() (*int32, bool)
- func (o *HighlightField) GetName() string
- func (o *HighlightField) GetNameOk() (*string, bool)
- func (o *HighlightField) HasLimit() bool
- func (o *HighlightField) HasLimitSnippets() bool
- func (o *HighlightField) HasLimitWords() bool
- func (o HighlightField) MarshalJSON() ([]byte, error)
- func (o *HighlightField) SetLimit(v int32)
- func (o *HighlightField) SetLimitSnippets(v int32)
- func (o *HighlightField) SetLimitWords(v int32)
- func (o *HighlightField) SetName(v string)
- func (o HighlightField) ToMap() (map[string]interface{}, error)
- func (o *HighlightField) UnmarshalJSON(data []byte) (err error)
- type InFilter
- func (o *InFilter) GetField() string
- func (o *InFilter) GetFieldOk() (*string, bool)
- func (o *InFilter) GetValues() []map[string]interface{}
- func (o *InFilter) GetValuesOk() ([]map[string]interface{}, bool)
- func (o InFilter) MarshalJSON() ([]byte, error)
- func (o *InFilter) SetField(v string)
- func (o *InFilter) SetValues(v []map[string]interface{})
- func (o InFilter) ToMap() (map[string]interface{}, error)
- func (o *InFilter) UnmarshalJSON(data []byte) (err error)
- type IndexAPIService
- func (a *IndexAPIService) Bulk(ctx context.Context) ApiBulkRequest
- func (a *IndexAPIService) BulkExecute(r ApiBulkRequest) (*BulkResponse, *http.Response, error)
- func (a *IndexAPIService) Delete(ctx context.Context) ApiDeleteRequest
- func (a *IndexAPIService) DeleteExecute(r ApiDeleteRequest) (*DeleteResponse, *http.Response, error)
- func (a *IndexAPIService) Insert(ctx context.Context) ApiInsertRequest
- func (a *IndexAPIService) InsertExecute(r ApiInsertRequest) (*SuccessResponse, *http.Response, error)
- func (a *IndexAPIService) Replace(ctx context.Context) ApiReplaceRequest
- func (a *IndexAPIService) ReplaceExecute(r ApiReplaceRequest) (*SuccessResponse, *http.Response, error)
- func (a *IndexAPIService) Update(ctx context.Context) ApiUpdateRequest
- func (a *IndexAPIService) UpdateExecute(r ApiUpdateRequest) (*UpdateResponse, *http.Response, error)
- type InsertDocumentRequest
- func (o *InsertDocumentRequest) GetCluster() string
- func (o *InsertDocumentRequest) GetClusterOk() (*string, bool)
- func (o *InsertDocumentRequest) GetDoc() map[string]interface{}
- func (o *InsertDocumentRequest) GetDocOk() (map[string]interface{}, bool)
- func (o *InsertDocumentRequest) GetId() int64
- func (o *InsertDocumentRequest) GetIdOk() (*int64, bool)
- func (o *InsertDocumentRequest) GetIndex() string
- func (o *InsertDocumentRequest) GetIndexOk() (*string, bool)
- func (o *InsertDocumentRequest) HasCluster() bool
- func (o *InsertDocumentRequest) HasId() bool
- func (o InsertDocumentRequest) MarshalJSON() ([]byte, error)
- func (o *InsertDocumentRequest) SetCluster(v string)
- func (o *InsertDocumentRequest) SetDoc(v map[string]interface{})
- func (o *InsertDocumentRequest) SetId(v int64)
- func (o *InsertDocumentRequest) SetIndex(v string)
- func (o InsertDocumentRequest) ToMap() (map[string]interface{}, error)
- func (o *InsertDocumentRequest) UnmarshalJSON(data []byte) (err error)
- type KnnSearchRequestByDocId
- func (o *KnnSearchRequestByDocId) GetAggs() map[string]Aggregation
- func (o *KnnSearchRequestByDocId) GetAggsOk() (*map[string]Aggregation, bool)
- func (o *KnnSearchRequestByDocId) GetAttrFilter() map[string]interface{}
- func (o *KnnSearchRequestByDocId) GetAttrFilterOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByDocId) GetDocId() int32
- func (o *KnnSearchRequestByDocId) GetDocIdOk() (*int32, bool)
- func (o *KnnSearchRequestByDocId) GetExpressions() map[string]string
- func (o *KnnSearchRequestByDocId) GetExpressionsOk() (*map[string]string, bool)
- func (o *KnnSearchRequestByDocId) GetField() string
- func (o *KnnSearchRequestByDocId) GetFieldOk() (*string, bool)
- func (o *KnnSearchRequestByDocId) GetFulltextFilter() map[string]interface{}
- func (o *KnnSearchRequestByDocId) GetFulltextFilterOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByDocId) GetHighlight() Highlight
- func (o *KnnSearchRequestByDocId) GetHighlightOk() (*Highlight, bool)
- func (o *KnnSearchRequestByDocId) GetIndex() string
- func (o *KnnSearchRequestByDocId) GetIndexOk() (*string, bool)
- func (o *KnnSearchRequestByDocId) GetK() int32
- func (o *KnnSearchRequestByDocId) GetKOk() (*int32, bool)
- func (o *KnnSearchRequestByDocId) GetLimit() int32
- func (o *KnnSearchRequestByDocId) GetLimitOk() (*int32, bool)
- func (o *KnnSearchRequestByDocId) GetMaxMatches() int32
- func (o *KnnSearchRequestByDocId) GetMaxMatchesOk() (*int32, bool)
- func (o *KnnSearchRequestByDocId) GetOffset() int32
- func (o *KnnSearchRequestByDocId) GetOffsetOk() (*int32, bool)
- func (o *KnnSearchRequestByDocId) GetOptions() map[string]interface{}
- func (o *KnnSearchRequestByDocId) GetOptionsOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByDocId) GetProfile() bool
- func (o *KnnSearchRequestByDocId) GetProfileOk() (*bool, bool)
- func (o *KnnSearchRequestByDocId) GetSort() []map[string]interface{}
- func (o *KnnSearchRequestByDocId) GetSortOk() ([]map[string]interface{}, bool)
- func (o *KnnSearchRequestByDocId) GetSource() map[string]interface{}
- func (o *KnnSearchRequestByDocId) GetSourceOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByDocId) GetTrackScores() bool
- func (o *KnnSearchRequestByDocId) GetTrackScoresOk() (*bool, bool)
- func (o *KnnSearchRequestByDocId) HasAggs() bool
- func (o *KnnSearchRequestByDocId) HasAttrFilter() bool
- func (o *KnnSearchRequestByDocId) HasExpressions() bool
- func (o *KnnSearchRequestByDocId) HasFulltextFilter() bool
- func (o *KnnSearchRequestByDocId) HasHighlight() bool
- func (o *KnnSearchRequestByDocId) HasLimit() bool
- func (o *KnnSearchRequestByDocId) HasMaxMatches() bool
- func (o *KnnSearchRequestByDocId) HasOffset() bool
- func (o *KnnSearchRequestByDocId) HasOptions() bool
- func (o *KnnSearchRequestByDocId) HasProfile() bool
- func (o *KnnSearchRequestByDocId) HasSort() bool
- func (o *KnnSearchRequestByDocId) HasSource() bool
- func (o *KnnSearchRequestByDocId) HasTrackScores() bool
- func (o KnnSearchRequestByDocId) MarshalJSON() ([]byte, error)
- func (o *KnnSearchRequestByDocId) SetAggs(v map[string]Aggregation)
- func (o *KnnSearchRequestByDocId) SetAttrFilter(v map[string]interface{})
- func (o *KnnSearchRequestByDocId) SetDocId(v int32)
- func (o *KnnSearchRequestByDocId) SetExpressions(v map[string]string)
- func (o *KnnSearchRequestByDocId) SetField(v string)
- func (o *KnnSearchRequestByDocId) SetFulltextFilter(v map[string]interface{})
- func (o *KnnSearchRequestByDocId) SetHighlight(v Highlight)
- func (o *KnnSearchRequestByDocId) SetIndex(v string)
- func (o *KnnSearchRequestByDocId) SetK(v int32)
- func (o *KnnSearchRequestByDocId) SetLimit(v int32)
- func (o *KnnSearchRequestByDocId) SetMaxMatches(v int32)
- func (o *KnnSearchRequestByDocId) SetOffset(v int32)
- func (o *KnnSearchRequestByDocId) SetOptions(v map[string]interface{})
- func (o *KnnSearchRequestByDocId) SetProfile(v bool)
- func (o *KnnSearchRequestByDocId) SetSort(v []map[string]interface{})
- func (o *KnnSearchRequestByDocId) SetSource(v map[string]interface{})
- func (o *KnnSearchRequestByDocId) SetTrackScores(v bool)
- func (o KnnSearchRequestByDocId) ToMap() (map[string]interface{}, error)
- func (o *KnnSearchRequestByDocId) UnmarshalJSON(data []byte) (err error)
- type KnnSearchRequestByVector
- func (o *KnnSearchRequestByVector) GetAggs() map[string]Aggregation
- func (o *KnnSearchRequestByVector) GetAggsOk() (*map[string]Aggregation, bool)
- func (o *KnnSearchRequestByVector) GetAttrFilter() map[string]interface{}
- func (o *KnnSearchRequestByVector) GetAttrFilterOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByVector) GetExpressions() map[string]string
- func (o *KnnSearchRequestByVector) GetExpressionsOk() (*map[string]string, bool)
- func (o *KnnSearchRequestByVector) GetField() string
- func (o *KnnSearchRequestByVector) GetFieldOk() (*string, bool)
- func (o *KnnSearchRequestByVector) GetFulltextFilter() map[string]interface{}
- func (o *KnnSearchRequestByVector) GetFulltextFilterOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByVector) GetHighlight() Highlight
- func (o *KnnSearchRequestByVector) GetHighlightOk() (*Highlight, bool)
- func (o *KnnSearchRequestByVector) GetIndex() string
- func (o *KnnSearchRequestByVector) GetIndexOk() (*string, bool)
- func (o *KnnSearchRequestByVector) GetK() int32
- func (o *KnnSearchRequestByVector) GetKOk() (*int32, bool)
- func (o *KnnSearchRequestByVector) GetLimit() int32
- func (o *KnnSearchRequestByVector) GetLimitOk() (*int32, bool)
- func (o *KnnSearchRequestByVector) GetMaxMatches() int32
- func (o *KnnSearchRequestByVector) GetMaxMatchesOk() (*int32, bool)
- func (o *KnnSearchRequestByVector) GetOffset() int32
- func (o *KnnSearchRequestByVector) GetOffsetOk() (*int32, bool)
- func (o *KnnSearchRequestByVector) GetOptions() map[string]interface{}
- func (o *KnnSearchRequestByVector) GetOptionsOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByVector) GetProfile() bool
- func (o *KnnSearchRequestByVector) GetProfileOk() (*bool, bool)
- func (o *KnnSearchRequestByVector) GetQueryVector() []float32
- func (o *KnnSearchRequestByVector) GetQueryVectorOk() ([]float32, bool)
- func (o *KnnSearchRequestByVector) GetSort() []map[string]interface{}
- func (o *KnnSearchRequestByVector) GetSortOk() ([]map[string]interface{}, bool)
- func (o *KnnSearchRequestByVector) GetSource() map[string]interface{}
- func (o *KnnSearchRequestByVector) GetSourceOk() (map[string]interface{}, bool)
- func (o *KnnSearchRequestByVector) GetTrackScores() bool
- func (o *KnnSearchRequestByVector) GetTrackScoresOk() (*bool, bool)
- func (o *KnnSearchRequestByVector) HasAggs() bool
- func (o *KnnSearchRequestByVector) HasAttrFilter() bool
- func (o *KnnSearchRequestByVector) HasExpressions() bool
- func (o *KnnSearchRequestByVector) HasFulltextFilter() bool
- func (o *KnnSearchRequestByVector) HasHighlight() bool
- func (o *KnnSearchRequestByVector) HasLimit() bool
- func (o *KnnSearchRequestByVector) HasMaxMatches() bool
- func (o *KnnSearchRequestByVector) HasOffset() bool
- func (o *KnnSearchRequestByVector) HasOptions() bool
- func (o *KnnSearchRequestByVector) HasProfile() bool
- func (o *KnnSearchRequestByVector) HasSort() bool
- func (o *KnnSearchRequestByVector) HasSource() bool
- func (o *KnnSearchRequestByVector) HasTrackScores() bool
- func (o KnnSearchRequestByVector) MarshalJSON() ([]byte, error)
- func (o *KnnSearchRequestByVector) SetAggs(v map[string]Aggregation)
- func (o *KnnSearchRequestByVector) SetAttrFilter(v map[string]interface{})
- func (o *KnnSearchRequestByVector) SetExpressions(v map[string]string)
- func (o *KnnSearchRequestByVector) SetField(v string)
- func (o *KnnSearchRequestByVector) SetFulltextFilter(v map[string]interface{})
- func (o *KnnSearchRequestByVector) SetHighlight(v Highlight)
- func (o *KnnSearchRequestByVector) SetIndex(v string)
- func (o *KnnSearchRequestByVector) SetK(v int32)
- func (o *KnnSearchRequestByVector) SetLimit(v int32)
- func (o *KnnSearchRequestByVector) SetMaxMatches(v int32)
- func (o *KnnSearchRequestByVector) SetOffset(v int32)
- func (o *KnnSearchRequestByVector) SetOptions(v map[string]interface{})
- func (o *KnnSearchRequestByVector) SetProfile(v bool)
- func (o *KnnSearchRequestByVector) SetQueryVector(v []float32)
- func (o *KnnSearchRequestByVector) SetSort(v []map[string]interface{})
- func (o *KnnSearchRequestByVector) SetSource(v map[string]interface{})
- func (o *KnnSearchRequestByVector) SetTrackScores(v bool)
- func (o KnnSearchRequestByVector) ToMap() (map[string]interface{}, error)
- func (o *KnnSearchRequestByVector) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type MatchFilter
- func (o *MatchFilter) GetQueryFields() string
- func (o *MatchFilter) GetQueryFieldsOk() (*string, bool)
- func (o *MatchFilter) GetQueryString() string
- func (o *MatchFilter) GetQueryStringOk() (*string, bool)
- func (o MatchFilter) MarshalJSON() ([]byte, error)
- func (o *MatchFilter) SetQueryFields(v string)
- func (o *MatchFilter) SetQueryString(v string)
- func (o MatchFilter) ToMap() (map[string]interface{}, error)
- func (o *MatchFilter) UnmarshalJSON(data []byte) (err error)
- type MatchOp
- func (o *MatchOp) GetQueryInfo() map[string]interface{}
- func (o *MatchOp) GetQueryInfoOk() (map[string]interface{}, bool)
- func (o MatchOp) MarshalJSON() ([]byte, error)
- func (o *MatchOp) SetQueryInfo(v map[string]interface{})
- func (o MatchOp) ToMap() (map[string]interface{}, error)
- func (o *MatchOp) UnmarshalJSON(data []byte) (err error)
- type MatchOpFilter
- func (o *MatchOpFilter) GetOperator() string
- func (o *MatchOpFilter) GetOperatorOk() (*string, bool)
- func (o *MatchOpFilter) GetQueryFields() string
- func (o *MatchOpFilter) GetQueryFieldsOk() (*string, bool)
- func (o *MatchOpFilter) GetQueryString() string
- func (o *MatchOpFilter) GetQueryStringOk() (*string, bool)
- func (o MatchOpFilter) MarshalJSON() ([]byte, error)
- func (o *MatchOpFilter) SetOperator(v string)
- func (o *MatchOpFilter) SetQueryFields(v string)
- func (o *MatchOpFilter) SetQueryString(v string)
- func (o MatchOpFilter) ToMap() (map[string]interface{}, error)
- func (o *MatchOpFilter) UnmarshalJSON(data []byte) (err error)
- type MatchPhraseFilter
- func (o *MatchPhraseFilter) GetQueryFields() string
- func (o *MatchPhraseFilter) GetQueryFieldsOk() (*string, bool)
- func (o *MatchPhraseFilter) GetQueryPhrase() string
- func (o *MatchPhraseFilter) GetQueryPhraseOk() (*string, bool)
- func (o MatchPhraseFilter) MarshalJSON() ([]byte, error)
- func (o *MatchPhraseFilter) SetQueryFields(v string)
- func (o *MatchPhraseFilter) SetQueryPhrase(v string)
- func (o MatchPhraseFilter) ToMap() (map[string]interface{}, error)
- func (o *MatchPhraseFilter) UnmarshalJSON(data []byte) (err error)
- type NotFilterBoolean
- func (o *NotFilterBoolean) GetFilterField() string
- func (o *NotFilterBoolean) GetFilterFieldOk() (*string, bool)
- func (o *NotFilterBoolean) GetFilterValue() bool
- func (o *NotFilterBoolean) GetFilterValueOk() (*bool, bool)
- func (o *NotFilterBoolean) GetOperation() string
- func (o *NotFilterBoolean) GetOperationOk() (*string, bool)
- func (o NotFilterBoolean) MarshalJSON() ([]byte, error)
- func (o *NotFilterBoolean) SetFilterField(v string)
- func (o *NotFilterBoolean) SetFilterValue(v bool)
- func (o *NotFilterBoolean) SetOperation(v string)
- func (o NotFilterBoolean) ToMap() (map[string]interface{}, error)
- func (o *NotFilterBoolean) UnmarshalJSON(data []byte) (err error)
- type NotFilterNumber
- func (o *NotFilterNumber) GetFilterField() string
- func (o *NotFilterNumber) GetFilterFieldOk() (*string, bool)
- func (o *NotFilterNumber) GetFilterValue() float32
- func (o *NotFilterNumber) GetFilterValueOk() (*float32, bool)
- func (o *NotFilterNumber) GetOperation() string
- func (o *NotFilterNumber) GetOperationOk() (*string, bool)
- func (o NotFilterNumber) MarshalJSON() ([]byte, error)
- func (o *NotFilterNumber) SetFilterField(v string)
- func (o *NotFilterNumber) SetFilterValue(v float32)
- func (o *NotFilterNumber) SetOperation(v string)
- func (o NotFilterNumber) ToMap() (map[string]interface{}, error)
- func (o *NotFilterNumber) UnmarshalJSON(data []byte) (err error)
- type NotFilterString
- func (o *NotFilterString) GetFilterField() string
- func (o *NotFilterString) GetFilterFieldOk() (*string, bool)
- func (o *NotFilterString) GetFilterValue() string
- func (o *NotFilterString) GetFilterValueOk() (*string, bool)
- func (o *NotFilterString) GetOperation() string
- func (o *NotFilterString) GetOperationOk() (*string, bool)
- func (o NotFilterString) MarshalJSON() ([]byte, error)
- func (o *NotFilterString) SetFilterField(v string)
- func (o *NotFilterString) SetFilterValue(v string)
- func (o *NotFilterString) SetOperation(v string)
- func (o NotFilterString) ToMap() (map[string]interface{}, error)
- func (o *NotFilterString) UnmarshalJSON(data []byte) (err error)
- type NullableAggregation
- func (v NullableAggregation) Get() *Aggregation
- func (v NullableAggregation) IsSet() bool
- func (v NullableAggregation) MarshalJSON() ([]byte, error)
- func (v *NullableAggregation) Set(val *Aggregation)
- func (v *NullableAggregation) UnmarshalJSON(src []byte) error
- func (v *NullableAggregation) Unset()
- type NullableAggregationSortInnerValue
- func (v NullableAggregationSortInnerValue) Get() *AggregationSortInnerValue
- func (v NullableAggregationSortInnerValue) IsSet() bool
- func (v NullableAggregationSortInnerValue) MarshalJSON() ([]byte, error)
- func (v *NullableAggregationSortInnerValue) Set(val *AggregationSortInnerValue)
- func (v *NullableAggregationSortInnerValue) UnmarshalJSON(src []byte) error
- func (v *NullableAggregationSortInnerValue) Unset()
- type NullableAggregationTerms
- func (v NullableAggregationTerms) Get() *AggregationTerms
- func (v NullableAggregationTerms) IsSet() bool
- func (v NullableAggregationTerms) MarshalJSON() ([]byte, error)
- func (v *NullableAggregationTerms) Set(val *AggregationTerms)
- func (v *NullableAggregationTerms) UnmarshalJSON(src []byte) error
- func (v *NullableAggregationTerms) Unset()
- type NullableBool
- type NullableBoolFilter
- type NullableBulkResponse
- func (v NullableBulkResponse) Get() *BulkResponse
- func (v NullableBulkResponse) IsSet() bool
- func (v NullableBulkResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBulkResponse) Set(val *BulkResponse)
- func (v *NullableBulkResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBulkResponse) Unset()
- type NullableDeleteDocumentRequest
- func (v NullableDeleteDocumentRequest) Get() *DeleteDocumentRequest
- func (v NullableDeleteDocumentRequest) IsSet() bool
- func (v NullableDeleteDocumentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteDocumentRequest) Set(val *DeleteDocumentRequest)
- func (v *NullableDeleteDocumentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteDocumentRequest) Unset()
- type NullableDeleteResponse
- func (v NullableDeleteResponse) Get() *DeleteResponse
- func (v NullableDeleteResponse) IsSet() bool
- func (v NullableDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteResponse) Set(val *DeleteResponse)
- func (v *NullableDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteResponse) Unset()
- type NullableEqualsFilter
- func (v NullableEqualsFilter) Get() *EqualsFilter
- func (v NullableEqualsFilter) IsSet() bool
- func (v NullableEqualsFilter) MarshalJSON() ([]byte, error)
- func (v *NullableEqualsFilter) Set(val *EqualsFilter)
- func (v *NullableEqualsFilter) UnmarshalJSON(src []byte) error
- func (v *NullableEqualsFilter) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableErrorResponseString
- func (v NullableErrorResponseString) Get() *ErrorResponseString
- func (v NullableErrorResponseString) IsSet() bool
- func (v NullableErrorResponseString) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponseString) Set(val *ErrorResponseString)
- func (v *NullableErrorResponseString) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponseString) Unset()
- type NullableFacet
- type NullableFilterBoolean
- func (v NullableFilterBoolean) Get() *FilterBoolean
- func (v NullableFilterBoolean) IsSet() bool
- func (v NullableFilterBoolean) MarshalJSON() ([]byte, error)
- func (v *NullableFilterBoolean) Set(val *FilterBoolean)
- func (v *NullableFilterBoolean) UnmarshalJSON(src []byte) error
- func (v *NullableFilterBoolean) Unset()
- type NullableFilterNumber
- func (v NullableFilterNumber) Get() *FilterNumber
- func (v NullableFilterNumber) IsSet() bool
- func (v NullableFilterNumber) MarshalJSON() ([]byte, error)
- func (v *NullableFilterNumber) Set(val *FilterNumber)
- func (v *NullableFilterNumber) UnmarshalJSON(src []byte) error
- func (v *NullableFilterNumber) Unset()
- type NullableFilterString
- func (v NullableFilterString) Get() *FilterString
- func (v NullableFilterString) IsSet() bool
- func (v NullableFilterString) MarshalJSON() ([]byte, error)
- func (v *NullableFilterString) Set(val *FilterString)
- func (v *NullableFilterString) UnmarshalJSON(src []byte) error
- func (v *NullableFilterString) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGeoDistanceFilter
- func (v NullableGeoDistanceFilter) Get() *GeoDistanceFilter
- func (v NullableGeoDistanceFilter) IsSet() bool
- func (v NullableGeoDistanceFilter) MarshalJSON() ([]byte, error)
- func (v *NullableGeoDistanceFilter) Set(val *GeoDistanceFilter)
- func (v *NullableGeoDistanceFilter) UnmarshalJSON(src []byte) error
- func (v *NullableGeoDistanceFilter) Unset()
- type NullableGeoDistanceFilterLocationAnchor
- func (v NullableGeoDistanceFilterLocationAnchor) Get() *GeoDistanceFilterLocationAnchor
- func (v NullableGeoDistanceFilterLocationAnchor) IsSet() bool
- func (v NullableGeoDistanceFilterLocationAnchor) MarshalJSON() ([]byte, error)
- func (v *NullableGeoDistanceFilterLocationAnchor) Set(val *GeoDistanceFilterLocationAnchor)
- func (v *NullableGeoDistanceFilterLocationAnchor) UnmarshalJSON(src []byte) error
- func (v *NullableGeoDistanceFilterLocationAnchor) Unset()
- type NullableHighlight
- type NullableHighlightField
- func (v NullableHighlightField) Get() *HighlightField
- func (v NullableHighlightField) IsSet() bool
- func (v NullableHighlightField) MarshalJSON() ([]byte, error)
- func (v *NullableHighlightField) Set(val *HighlightField)
- func (v *NullableHighlightField) UnmarshalJSON(src []byte) error
- func (v *NullableHighlightField) Unset()
- type NullableInFilter
- type NullableInsertDocumentRequest
- func (v NullableInsertDocumentRequest) Get() *InsertDocumentRequest
- func (v NullableInsertDocumentRequest) IsSet() bool
- func (v NullableInsertDocumentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableInsertDocumentRequest) Set(val *InsertDocumentRequest)
- func (v *NullableInsertDocumentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableInsertDocumentRequest) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKnnSearchRequestByDocId
- func (v NullableKnnSearchRequestByDocId) Get() *KnnSearchRequestByDocId
- func (v NullableKnnSearchRequestByDocId) IsSet() bool
- func (v NullableKnnSearchRequestByDocId) MarshalJSON() ([]byte, error)
- func (v *NullableKnnSearchRequestByDocId) Set(val *KnnSearchRequestByDocId)
- func (v *NullableKnnSearchRequestByDocId) UnmarshalJSON(src []byte) error
- func (v *NullableKnnSearchRequestByDocId) Unset()
- type NullableKnnSearchRequestByVector
- func (v NullableKnnSearchRequestByVector) Get() *KnnSearchRequestByVector
- func (v NullableKnnSearchRequestByVector) IsSet() bool
- func (v NullableKnnSearchRequestByVector) MarshalJSON() ([]byte, error)
- func (v *NullableKnnSearchRequestByVector) Set(val *KnnSearchRequestByVector)
- func (v *NullableKnnSearchRequestByVector) UnmarshalJSON(src []byte) error
- func (v *NullableKnnSearchRequestByVector) Unset()
- type NullableMatchFilter
- func (v NullableMatchFilter) Get() *MatchFilter
- func (v NullableMatchFilter) IsSet() bool
- func (v NullableMatchFilter) MarshalJSON() ([]byte, error)
- func (v *NullableMatchFilter) Set(val *MatchFilter)
- func (v *NullableMatchFilter) UnmarshalJSON(src []byte) error
- func (v *NullableMatchFilter) Unset()
- type NullableMatchOp
- type NullableMatchOpFilter
- func (v NullableMatchOpFilter) Get() *MatchOpFilter
- func (v NullableMatchOpFilter) IsSet() bool
- func (v NullableMatchOpFilter) MarshalJSON() ([]byte, error)
- func (v *NullableMatchOpFilter) Set(val *MatchOpFilter)
- func (v *NullableMatchOpFilter) UnmarshalJSON(src []byte) error
- func (v *NullableMatchOpFilter) Unset()
- type NullableMatchPhraseFilter
- func (v NullableMatchPhraseFilter) Get() *MatchPhraseFilter
- func (v NullableMatchPhraseFilter) IsSet() bool
- func (v NullableMatchPhraseFilter) MarshalJSON() ([]byte, error)
- func (v *NullableMatchPhraseFilter) Set(val *MatchPhraseFilter)
- func (v *NullableMatchPhraseFilter) UnmarshalJSON(src []byte) error
- func (v *NullableMatchPhraseFilter) Unset()
- type NullableNotFilterBoolean
- func (v NullableNotFilterBoolean) Get() *NotFilterBoolean
- func (v NullableNotFilterBoolean) IsSet() bool
- func (v NullableNotFilterBoolean) MarshalJSON() ([]byte, error)
- func (v *NullableNotFilterBoolean) Set(val *NotFilterBoolean)
- func (v *NullableNotFilterBoolean) UnmarshalJSON(src []byte) error
- func (v *NullableNotFilterBoolean) Unset()
- type NullableNotFilterNumber
- func (v NullableNotFilterNumber) Get() *NotFilterNumber
- func (v NullableNotFilterNumber) IsSet() bool
- func (v NullableNotFilterNumber) MarshalJSON() ([]byte, error)
- func (v *NullableNotFilterNumber) Set(val *NotFilterNumber)
- func (v *NullableNotFilterNumber) UnmarshalJSON(src []byte) error
- func (v *NullableNotFilterNumber) Unset()
- type NullableNotFilterString
- func (v NullableNotFilterString) Get() *NotFilterString
- func (v NullableNotFilterString) IsSet() bool
- func (v NullableNotFilterString) MarshalJSON() ([]byte, error)
- func (v *NullableNotFilterString) Set(val *NotFilterString)
- func (v *NullableNotFilterString) UnmarshalJSON(src []byte) error
- func (v *NullableNotFilterString) Unset()
- type NullablePercolateRequest
- func (v NullablePercolateRequest) Get() *PercolateRequest
- func (v NullablePercolateRequest) IsSet() bool
- func (v NullablePercolateRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePercolateRequest) Set(val *PercolateRequest)
- func (v *NullablePercolateRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePercolateRequest) Unset()
- type NullablePercolateRequestQuery
- func (v NullablePercolateRequestQuery) Get() *PercolateRequestQuery
- func (v NullablePercolateRequestQuery) IsSet() bool
- func (v NullablePercolateRequestQuery) MarshalJSON() ([]byte, error)
- func (v *NullablePercolateRequestQuery) Set(val *PercolateRequestQuery)
- func (v *NullablePercolateRequestQuery) UnmarshalJSON(src []byte) error
- func (v *NullablePercolateRequestQuery) Unset()
- type NullableQueryFilter
- func (v NullableQueryFilter) Get() *QueryFilter
- func (v NullableQueryFilter) IsSet() bool
- func (v NullableQueryFilter) MarshalJSON() ([]byte, error)
- func (v *NullableQueryFilter) Set(val *QueryFilter)
- func (v *NullableQueryFilter) UnmarshalJSON(src []byte) error
- func (v *NullableQueryFilter) Unset()
- type NullableRangeFilter
- func (v NullableRangeFilter) Get() *RangeFilter
- func (v NullableRangeFilter) IsSet() bool
- func (v NullableRangeFilter) MarshalJSON() ([]byte, error)
- func (v *NullableRangeFilter) Set(val *RangeFilter)
- func (v *NullableRangeFilter) UnmarshalJSON(src []byte) error
- func (v *NullableRangeFilter) Unset()
- type NullableSearchRequest
- func (v NullableSearchRequest) Get() *SearchRequest
- func (v NullableSearchRequest) IsSet() bool
- func (v NullableSearchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSearchRequest) Set(val *SearchRequest)
- func (v *NullableSearchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSearchRequest) Unset()
- type NullableSearchResponse
- func (v NullableSearchResponse) Get() *SearchResponse
- func (v NullableSearchResponse) IsSet() bool
- func (v NullableSearchResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSearchResponse) Set(val *SearchResponse)
- func (v *NullableSearchResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSearchResponse) Unset()
- type NullableSearchResponseHits
- func (v NullableSearchResponseHits) Get() *SearchResponseHits
- func (v NullableSearchResponseHits) IsSet() bool
- func (v NullableSearchResponseHits) MarshalJSON() ([]byte, error)
- func (v *NullableSearchResponseHits) Set(val *SearchResponseHits)
- func (v *NullableSearchResponseHits) UnmarshalJSON(src []byte) error
- func (v *NullableSearchResponseHits) Unset()
- type NullableSortMVA
- type NullableSortMultiple
- func (v NullableSortMultiple) Get() *SortMultiple
- func (v NullableSortMultiple) IsSet() bool
- func (v NullableSortMultiple) MarshalJSON() ([]byte, error)
- func (v *NullableSortMultiple) Set(val *SortMultiple)
- func (v *NullableSortMultiple) UnmarshalJSON(src []byte) error
- func (v *NullableSortMultiple) Unset()
- type NullableSortOrder
- type NullableSourceByRules
- func (v NullableSourceByRules) Get() *SourceByRules
- func (v NullableSourceByRules) IsSet() bool
- func (v NullableSourceByRules) MarshalJSON() ([]byte, error)
- func (v *NullableSourceByRules) Set(val *SourceByRules)
- func (v *NullableSourceByRules) UnmarshalJSON(src []byte) error
- func (v *NullableSourceByRules) Unset()
- type NullableSqlDefaultResponse
- func (v NullableSqlDefaultResponse) Get() *SqlDefaultResponse
- func (v NullableSqlDefaultResponse) IsSet() bool
- func (v NullableSqlDefaultResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSqlDefaultResponse) Set(val *SqlDefaultResponse)
- func (v *NullableSqlDefaultResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSqlDefaultResponse) Unset()
- type NullableString
- type NullableSuccessResponse
- func (v NullableSuccessResponse) Get() *SuccessResponse
- func (v NullableSuccessResponse) IsSet() bool
- func (v NullableSuccessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSuccessResponse) Set(val *SuccessResponse)
- func (v *NullableSuccessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSuccessResponse) Unset()
- type NullableTime
- type NullableUpdateDocumentRequest
- func (v NullableUpdateDocumentRequest) Get() *UpdateDocumentRequest
- func (v NullableUpdateDocumentRequest) IsSet() bool
- func (v NullableUpdateDocumentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDocumentRequest) Set(val *UpdateDocumentRequest)
- func (v *NullableUpdateDocumentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDocumentRequest) Unset()
- type NullableUpdateResponse
- func (v NullableUpdateResponse) Get() *UpdateResponse
- func (v NullableUpdateResponse) IsSet() bool
- func (v NullableUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateResponse) Set(val *UpdateResponse)
- func (v *NullableUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateResponse) Unset()
- type PercolateRequest
- func (o *PercolateRequest) GetQuery() PercolateRequestQuery
- func (o *PercolateRequest) GetQueryOk() (*PercolateRequestQuery, bool)
- func (o PercolateRequest) MarshalJSON() ([]byte, error)
- func (o *PercolateRequest) SetQuery(v PercolateRequestQuery)
- func (o PercolateRequest) ToMap() (map[string]interface{}, error)
- func (o *PercolateRequest) UnmarshalJSON(data []byte) (err error)
- type PercolateRequestQuery
- func (o *PercolateRequestQuery) GetPercolate() map[string]interface{}
- func (o *PercolateRequestQuery) GetPercolateOk() (map[string]interface{}, bool)
- func (o PercolateRequestQuery) MarshalJSON() ([]byte, error)
- func (o *PercolateRequestQuery) SetPercolate(v map[string]interface{})
- func (o PercolateRequestQuery) ToMap() (map[string]interface{}, error)
- func (o *PercolateRequestQuery) UnmarshalJSON(data []byte) (err error)
- type QueryFilter
- func (o *QueryFilter) GetQueryString() string
- func (o *QueryFilter) GetQueryStringOk() (*string, bool)
- func (o QueryFilter) MarshalJSON() ([]byte, error)
- func (o *QueryFilter) SetQueryString(v string)
- func (o QueryFilter) ToMap() (map[string]interface{}, error)
- func (o *QueryFilter) UnmarshalJSON(data []byte) (err error)
- type RangeFilter
- func (o *RangeFilter) GetField() string
- func (o *RangeFilter) GetFieldOk() (*string, bool)
- func (o *RangeFilter) GetGt() float32
- func (o *RangeFilter) GetGtOk() (*float32, bool)
- func (o *RangeFilter) GetGte() float32
- func (o *RangeFilter) GetGteOk() (*float32, bool)
- func (o *RangeFilter) GetLt() float32
- func (o *RangeFilter) GetLtOk() (*float32, bool)
- func (o *RangeFilter) GetLte() float32
- func (o *RangeFilter) GetLteOk() (*float32, bool)
- func (o *RangeFilter) HasGt() bool
- func (o *RangeFilter) HasGte() bool
- func (o *RangeFilter) HasLt() bool
- func (o *RangeFilter) HasLte() bool
- func (o RangeFilter) MarshalJSON() ([]byte, error)
- func (o *RangeFilter) SetField(v string)
- func (o *RangeFilter) SetGt(v float32)
- func (o *RangeFilter) SetGtNil()
- func (o *RangeFilter) SetGte(v float32)
- func (o *RangeFilter) SetGteNil()
- func (o *RangeFilter) SetLt(v float32)
- func (o *RangeFilter) SetLtNil()
- func (o *RangeFilter) SetLte(v float32)
- func (o *RangeFilter) SetLteNil()
- func (o RangeFilter) ToMap() (map[string]interface{}, error)
- func (o *RangeFilter) UnmarshalJSON(data []byte) (err error)
- func (o *RangeFilter) UnsetGt()
- func (o *RangeFilter) UnsetGte()
- func (o *RangeFilter) UnsetLt()
- func (o *RangeFilter) UnsetLte()
- type SearchAPIService
- func (a *SearchAPIService) Percolate(ctx context.Context, index string) ApiPercolateRequest
- func (a *SearchAPIService) PercolateExecute(r ApiPercolateRequest) (*SearchResponse, *http.Response, error)
- func (a *SearchAPIService) Search(ctx context.Context) ApiSearchRequest
- func (a *SearchAPIService) SearchExecute(r ApiSearchRequest) (*SearchResponse, *http.Response, error)
- type SearchRequest
- func (o *SearchRequest) GetAggs() map[string]Aggregation
- func (o *SearchRequest) GetAggsOk() (*map[string]Aggregation, bool)
- func (o *SearchRequest) GetAttrFilter() map[string]interface{}
- func (o *SearchRequest) GetAttrFilterOk() (map[string]interface{}, bool)
- func (o *SearchRequest) GetExpressions() map[string]string
- func (o *SearchRequest) GetExpressionsOk() (*map[string]string, bool)
- func (o *SearchRequest) GetFulltextFilter() map[string]interface{}
- func (o *SearchRequest) GetFulltextFilterOk() (map[string]interface{}, bool)
- func (o *SearchRequest) GetHighlight() Highlight
- func (o *SearchRequest) GetHighlightOk() (*Highlight, bool)
- func (o *SearchRequest) GetIndex() string
- func (o *SearchRequest) GetIndexOk() (*string, bool)
- func (o *SearchRequest) GetLimit() int32
- func (o *SearchRequest) GetLimitOk() (*int32, bool)
- func (o *SearchRequest) GetMaxMatches() int32
- func (o *SearchRequest) GetMaxMatchesOk() (*int32, bool)
- func (o *SearchRequest) GetOffset() int32
- func (o *SearchRequest) GetOffsetOk() (*int32, bool)
- func (o *SearchRequest) GetOptions() map[string]interface{}
- func (o *SearchRequest) GetOptionsOk() (map[string]interface{}, bool)
- func (o *SearchRequest) GetProfile() bool
- func (o *SearchRequest) GetProfileOk() (*bool, bool)
- func (o *SearchRequest) GetQuery() map[string]interface{}
- func (o *SearchRequest) GetQueryOk() (map[string]interface{}, bool)
- func (o *SearchRequest) GetSort() []map[string]interface{}
- func (o *SearchRequest) GetSortOk() ([]map[string]interface{}, bool)
- func (o *SearchRequest) GetSource() map[string]interface{}
- func (o *SearchRequest) GetSourceOk() (map[string]interface{}, bool)
- func (o *SearchRequest) GetTrackScores() bool
- func (o *SearchRequest) GetTrackScoresOk() (*bool, bool)
- func (o *SearchRequest) HasAggs() bool
- func (o *SearchRequest) HasAttrFilter() bool
- func (o *SearchRequest) HasExpressions() bool
- func (o *SearchRequest) HasFulltextFilter() bool
- func (o *SearchRequest) HasHighlight() bool
- func (o *SearchRequest) HasLimit() bool
- func (o *SearchRequest) HasMaxMatches() bool
- func (o *SearchRequest) HasOffset() bool
- func (o *SearchRequest) HasOptions() bool
- func (o *SearchRequest) HasProfile() bool
- func (o *SearchRequest) HasQuery() bool
- func (o *SearchRequest) HasSort() bool
- func (o *SearchRequest) HasSource() bool
- func (o *SearchRequest) HasTrackScores() bool
- func (o SearchRequest) MarshalJSON() ([]byte, error)
- func (o *SearchRequest) SetAggs(v map[string]Aggregation)
- func (o *SearchRequest) SetAttrFilter(v map[string]interface{})
- func (o *SearchRequest) SetExpressions(v map[string]string)
- func (o *SearchRequest) SetFulltextFilter(v map[string]interface{})
- func (o *SearchRequest) SetHighlight(v Highlight)
- func (o *SearchRequest) SetIndex(v string)
- func (o *SearchRequest) SetLimit(v int32)
- func (o *SearchRequest) SetMaxMatches(v int32)
- func (o *SearchRequest) SetOffset(v int32)
- func (o *SearchRequest) SetOptions(v map[string]interface{})
- func (o *SearchRequest) SetProfile(v bool)
- func (o *SearchRequest) SetQuery(v map[string]interface{})
- func (o *SearchRequest) SetSort(v []map[string]interface{})
- func (o *SearchRequest) SetSource(v map[string]interface{})
- func (o *SearchRequest) SetTrackScores(v bool)
- func (o SearchRequest) ToMap() (map[string]interface{}, error)
- func (o *SearchRequest) UnmarshalJSON(data []byte) (err error)
- type SearchResponse
- func (o *SearchResponse) GetAggregations() map[string]interface{}
- func (o *SearchResponse) GetAggregationsOk() (map[string]interface{}, bool)
- func (o *SearchResponse) GetHits() SearchResponseHits
- func (o *SearchResponse) GetHitsOk() (*SearchResponseHits, bool)
- func (o *SearchResponse) GetProfile() map[string]interface{}
- func (o *SearchResponse) GetProfileOk() (map[string]interface{}, bool)
- func (o *SearchResponse) GetTimedOut() bool
- func (o *SearchResponse) GetTimedOutOk() (*bool, bool)
- func (o *SearchResponse) GetTook() int32
- func (o *SearchResponse) GetTookOk() (*int32, bool)
- func (o *SearchResponse) GetWarning() map[string]interface{}
- func (o *SearchResponse) GetWarningOk() (map[string]interface{}, bool)
- func (o *SearchResponse) HasAggregations() bool
- func (o *SearchResponse) HasHits() bool
- func (o *SearchResponse) HasProfile() bool
- func (o *SearchResponse) HasTimedOut() bool
- func (o *SearchResponse) HasTook() bool
- func (o *SearchResponse) HasWarning() bool
- func (o SearchResponse) MarshalJSON() ([]byte, error)
- func (o *SearchResponse) SetAggregations(v map[string]interface{})
- func (o *SearchResponse) SetHits(v SearchResponseHits)
- func (o *SearchResponse) SetProfile(v map[string]interface{})
- func (o *SearchResponse) SetTimedOut(v bool)
- func (o *SearchResponse) SetTook(v int32)
- func (o *SearchResponse) SetWarning(v map[string]interface{})
- func (o SearchResponse) ToMap() (map[string]interface{}, error)
- type SearchResponseHits
- func (o *SearchResponseHits) GetHits() []map[string]interface{}
- func (o *SearchResponseHits) GetHitsOk() ([]map[string]interface{}, bool)
- func (o *SearchResponseHits) GetMaxScore() int32
- func (o *SearchResponseHits) GetMaxScoreOk() (*int32, bool)
- func (o *SearchResponseHits) GetTotal() int32
- func (o *SearchResponseHits) GetTotalOk() (*int32, bool)
- func (o *SearchResponseHits) GetTotalRelation() string
- func (o *SearchResponseHits) GetTotalRelationOk() (*string, bool)
- func (o *SearchResponseHits) HasHits() bool
- func (o *SearchResponseHits) HasMaxScore() bool
- func (o *SearchResponseHits) HasTotal() bool
- func (o *SearchResponseHits) HasTotalRelation() bool
- func (o SearchResponseHits) MarshalJSON() ([]byte, error)
- func (o *SearchResponseHits) SetHits(v []map[string]interface{})
- func (o *SearchResponseHits) SetMaxScore(v int32)
- func (o *SearchResponseHits) SetTotal(v int32)
- func (o *SearchResponseHits) SetTotalRelation(v string)
- func (o SearchResponseHits) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SortMVA
- func (o *SortMVA) GetAttr() string
- func (o *SortMVA) GetAttrOk() (*string, bool)
- func (o *SortMVA) GetMode() string
- func (o *SortMVA) GetModeOk() (*string, bool)
- func (o *SortMVA) GetOrder() string
- func (o *SortMVA) GetOrderOk() (*string, bool)
- func (o SortMVA) MarshalJSON() ([]byte, error)
- func (o *SortMVA) SetAttr(v string)
- func (o *SortMVA) SetMode(v string)
- func (o *SortMVA) SetOrder(v string)
- func (o SortMVA) ToMap() (map[string]interface{}, error)
- func (o *SortMVA) UnmarshalJSON(data []byte) (err error)
- type SortMultiple
- func (o *SortMultiple) GetAttrs() map[string]interface{}
- func (o *SortMultiple) GetAttrsOk() (map[string]interface{}, bool)
- func (o *SortMultiple) GetReplace() bool
- func (o *SortMultiple) GetReplaceOk() (*bool, bool)
- func (o SortMultiple) MarshalJSON() ([]byte, error)
- func (o *SortMultiple) SetAttrs(v map[string]interface{})
- func (o *SortMultiple) SetReplace(v bool)
- func (o SortMultiple) ToMap() (map[string]interface{}, error)
- func (o *SortMultiple) UnmarshalJSON(data []byte) (err error)
- type SortOrder
- func (o *SortOrder) GetAttr() string
- func (o *SortOrder) GetAttrOk() (*string, bool)
- func (o *SortOrder) GetOrder() string
- func (o *SortOrder) GetOrderOk() (*string, bool)
- func (o SortOrder) MarshalJSON() ([]byte, error)
- func (o *SortOrder) SetAttr(v string)
- func (o *SortOrder) SetOrder(v string)
- func (o SortOrder) ToMap() (map[string]interface{}, error)
- func (o *SortOrder) UnmarshalJSON(data []byte) (err error)
- type SourceByRules
- func (o *SourceByRules) GetExcludes() []string
- func (o *SourceByRules) GetExcludesOk() ([]string, bool)
- func (o *SourceByRules) GetIncludes() []string
- func (o *SourceByRules) GetIncludesOk() ([]string, bool)
- func (o SourceByRules) MarshalJSON() ([]byte, error)
- func (o *SourceByRules) SetExcludes(v []string)
- func (o *SourceByRules) SetIncludes(v []string)
- func (o SourceByRules) ToMap() (map[string]interface{}, error)
- func (o *SourceByRules) UnmarshalJSON(data []byte) (err error)
- type SqlDefaultResponse
- type SuccessResponse
- func (o *SuccessResponse) GetCreated() bool
- func (o *SuccessResponse) GetCreatedOk() (*bool, bool)
- func (o *SuccessResponse) GetFound() bool
- func (o *SuccessResponse) GetFoundOk() (*bool, bool)
- func (o *SuccessResponse) GetId() int64
- func (o *SuccessResponse) GetIdOk() (*int64, bool)
- func (o *SuccessResponse) GetIndex() string
- func (o *SuccessResponse) GetIndexOk() (*string, bool)
- func (o *SuccessResponse) GetResult() string
- func (o *SuccessResponse) GetResultOk() (*string, bool)
- func (o *SuccessResponse) HasCreated() bool
- func (o *SuccessResponse) HasFound() bool
- func (o *SuccessResponse) HasId() bool
- func (o *SuccessResponse) HasIndex() bool
- func (o *SuccessResponse) HasResult() bool
- func (o SuccessResponse) MarshalJSON() ([]byte, error)
- func (o *SuccessResponse) SetCreated(v bool)
- func (o *SuccessResponse) SetFound(v bool)
- func (o *SuccessResponse) SetId(v int64)
- func (o *SuccessResponse) SetIndex(v string)
- func (o *SuccessResponse) SetResult(v string)
- func (o SuccessResponse) ToMap() (map[string]interface{}, error)
- type UpdateDocumentRequest
- func (o *UpdateDocumentRequest) GetDoc() map[string]interface{}
- func (o *UpdateDocumentRequest) GetDocOk() (map[string]interface{}, bool)
- func (o *UpdateDocumentRequest) GetId() int64
- func (o *UpdateDocumentRequest) GetIdOk() (*int64, bool)
- func (o *UpdateDocumentRequest) GetIndex() string
- func (o *UpdateDocumentRequest) GetIndexOk() (*string, bool)
- func (o *UpdateDocumentRequest) GetQuery() map[string]interface{}
- func (o *UpdateDocumentRequest) GetQueryOk() (map[string]interface{}, bool)
- func (o *UpdateDocumentRequest) HasId() bool
- func (o *UpdateDocumentRequest) HasQuery() bool
- func (o UpdateDocumentRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateDocumentRequest) SetDoc(v map[string]interface{})
- func (o *UpdateDocumentRequest) SetId(v int64)
- func (o *UpdateDocumentRequest) SetIndex(v string)
- func (o *UpdateDocumentRequest) SetQuery(v map[string]interface{})
- func (o UpdateDocumentRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateDocumentRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateResponse
- func (o *UpdateResponse) GetId() int64
- func (o *UpdateResponse) GetIdOk() (*int64, bool)
- func (o *UpdateResponse) GetIndex() string
- func (o *UpdateResponse) GetIndexOk() (*string, bool)
- func (o *UpdateResponse) GetResult() string
- func (o *UpdateResponse) GetResultOk() (*string, bool)
- func (o *UpdateResponse) GetUpdated() int32
- func (o *UpdateResponse) GetUpdatedOk() (*int32, bool)
- func (o *UpdateResponse) HasId() bool
- func (o *UpdateResponse) HasIndex() bool
- func (o *UpdateResponse) HasResult() bool
- func (o *UpdateResponse) HasUpdated() bool
- func (o UpdateResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateResponse) SetId(v int64)
- func (o *UpdateResponse) SetIndex(v string)
- func (o *UpdateResponse) SetResult(v string)
- func (o *UpdateResponse) SetUpdated(v int32)
- func (o UpdateResponse) ToMap() (map[string]interface{}, error)
- type UtilsAPIService
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { IndexAPI *IndexAPIService SearchAPI *SearchAPIService UtilsAPI *UtilsAPIService // contains filtered or unexported fields }
APIClient manages communication with the Manticore Search Client API v3.3.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Aggregation ¶
type Aggregation struct { Terms *AggregationTerms `json:"terms,omitempty"` Sort []map[string]AggregationSortInnerValue `json:"sort,omitempty"` }
Aggregation Aggregation Alias
func NewAggregation ¶
func NewAggregation() *Aggregation
NewAggregation instantiates a new Aggregation 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 NewAggregationWithDefaults ¶
func NewAggregationWithDefaults() *Aggregation
NewAggregationWithDefaults instantiates a new Aggregation 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 (*Aggregation) GetSort ¶
func (o *Aggregation) GetSort() []map[string]AggregationSortInnerValue
GetSort returns the Sort field value if set, zero value otherwise.
func (*Aggregation) GetSortOk ¶
func (o *Aggregation) GetSortOk() ([]map[string]AggregationSortInnerValue, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Aggregation) GetTerms ¶
func (o *Aggregation) GetTerms() AggregationTerms
GetTerms returns the Terms field value if set, zero value otherwise.
func (*Aggregation) GetTermsOk ¶
func (o *Aggregation) GetTermsOk() (*AggregationTerms, bool)
GetTermsOk returns a tuple with the Terms field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Aggregation) HasSort ¶
func (o *Aggregation) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*Aggregation) HasTerms ¶
func (o *Aggregation) HasTerms() bool
HasTerms returns a boolean if a field has been set.
func (Aggregation) MarshalJSON ¶
func (o Aggregation) MarshalJSON() ([]byte, error)
func (*Aggregation) SetSort ¶
func (o *Aggregation) SetSort(v []map[string]AggregationSortInnerValue)
SetSort gets a reference to the given []map[string]AggregationSortInnerValue and assigns it to the Sort field.
func (*Aggregation) SetTerms ¶
func (o *Aggregation) SetTerms(v AggregationTerms)
SetTerms gets a reference to the given AggregationTerms and assigns it to the Terms field.
func (Aggregation) ToMap ¶
func (o Aggregation) ToMap() (map[string]interface{}, error)
type AggregationSortInnerValue ¶
type AggregationSortInnerValue struct {
Order *string `json:"order,omitempty"`
}
AggregationSortInnerValue struct for AggregationSortInnerValue
func NewAggregationSortInnerValue ¶
func NewAggregationSortInnerValue() *AggregationSortInnerValue
NewAggregationSortInnerValue instantiates a new AggregationSortInnerValue 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 NewAggregationSortInnerValueWithDefaults ¶
func NewAggregationSortInnerValueWithDefaults() *AggregationSortInnerValue
NewAggregationSortInnerValueWithDefaults instantiates a new AggregationSortInnerValue 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 (*AggregationSortInnerValue) GetOrder ¶
func (o *AggregationSortInnerValue) GetOrder() string
GetOrder returns the Order field value if set, zero value otherwise.
func (*AggregationSortInnerValue) GetOrderOk ¶
func (o *AggregationSortInnerValue) GetOrderOk() (*string, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AggregationSortInnerValue) HasOrder ¶
func (o *AggregationSortInnerValue) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (AggregationSortInnerValue) MarshalJSON ¶
func (o AggregationSortInnerValue) MarshalJSON() ([]byte, error)
func (*AggregationSortInnerValue) SetOrder ¶
func (o *AggregationSortInnerValue) SetOrder(v string)
SetOrder gets a reference to the given string and assigns it to the Order field.
func (AggregationSortInnerValue) ToMap ¶
func (o AggregationSortInnerValue) ToMap() (map[string]interface{}, error)
type AggregationTerms ¶
type AggregationTerms struct { // Attribute Name to Aggregate Field *string `json:"field,omitempty"` // Maximum Number of Buckets in the Result Size *int32 `json:"size,omitempty"` }
AggregationTerms struct for AggregationTerms
func NewAggregationTerms ¶
func NewAggregationTerms() *AggregationTerms
NewAggregationTerms instantiates a new AggregationTerms 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 NewAggregationTermsWithDefaults ¶
func NewAggregationTermsWithDefaults() *AggregationTerms
NewAggregationTermsWithDefaults instantiates a new AggregationTerms 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 (*AggregationTerms) GetField ¶
func (o *AggregationTerms) GetField() string
GetField returns the Field field value if set, zero value otherwise.
func (*AggregationTerms) GetFieldOk ¶
func (o *AggregationTerms) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AggregationTerms) GetSize ¶
func (o *AggregationTerms) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*AggregationTerms) GetSizeOk ¶
func (o *AggregationTerms) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AggregationTerms) HasField ¶
func (o *AggregationTerms) HasField() bool
HasField returns a boolean if a field has been set.
func (*AggregationTerms) HasSize ¶
func (o *AggregationTerms) HasSize() bool
HasSize returns a boolean if a field has been set.
func (AggregationTerms) MarshalJSON ¶
func (o AggregationTerms) MarshalJSON() ([]byte, error)
func (*AggregationTerms) SetField ¶
func (o *AggregationTerms) SetField(v string)
SetField gets a reference to the given string and assigns it to the Field field.
func (*AggregationTerms) SetSize ¶
func (o *AggregationTerms) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (AggregationTerms) ToMap ¶
func (o AggregationTerms) ToMap() (map[string]interface{}, error)
type ApiBulkRequest ¶
type ApiBulkRequest struct { ApiService *IndexAPIService // contains filtered or unexported fields }
func (ApiBulkRequest) Body ¶
func (r ApiBulkRequest) Body(body string) ApiBulkRequest
func (ApiBulkRequest) Execute ¶
func (r ApiBulkRequest) Execute() (*BulkResponse, *http.Response, error)
type ApiDeleteRequest ¶
type ApiDeleteRequest struct { ApiService *IndexAPIService // contains filtered or unexported fields }
func (ApiDeleteRequest) DeleteDocumentRequest ¶
func (r ApiDeleteRequest) DeleteDocumentRequest(deleteDocumentRequest DeleteDocumentRequest) ApiDeleteRequest
func (ApiDeleteRequest) Execute ¶
func (r ApiDeleteRequest) Execute() (*DeleteResponse, *http.Response, error)
type ApiInsertRequest ¶
type ApiInsertRequest struct { ApiService *IndexAPIService // contains filtered or unexported fields }
func (ApiInsertRequest) Execute ¶
func (r ApiInsertRequest) Execute() (*SuccessResponse, *http.Response, error)
func (ApiInsertRequest) InsertDocumentRequest ¶
func (r ApiInsertRequest) InsertDocumentRequest(insertDocumentRequest InsertDocumentRequest) ApiInsertRequest
type ApiPercolateRequest ¶
type ApiPercolateRequest struct { ApiService *SearchAPIService // contains filtered or unexported fields }
func (ApiPercolateRequest) Execute ¶
func (r ApiPercolateRequest) Execute() (*SearchResponse, *http.Response, error)
func (ApiPercolateRequest) PercolateRequest ¶
func (r ApiPercolateRequest) PercolateRequest(percolateRequest PercolateRequest) ApiPercolateRequest
type ApiReplaceRequest ¶
type ApiReplaceRequest struct { ApiService *IndexAPIService // contains filtered or unexported fields }
func (ApiReplaceRequest) Execute ¶
func (r ApiReplaceRequest) Execute() (*SuccessResponse, *http.Response, error)
func (ApiReplaceRequest) InsertDocumentRequest ¶
func (r ApiReplaceRequest) InsertDocumentRequest(insertDocumentRequest InsertDocumentRequest) ApiReplaceRequest
type ApiSearchRequest ¶
type ApiSearchRequest struct { ApiService *SearchAPIService // contains filtered or unexported fields }
func (ApiSearchRequest) Execute ¶
func (r ApiSearchRequest) Execute() (*SearchResponse, *http.Response, error)
func (ApiSearchRequest) SearchRequest ¶
func (r ApiSearchRequest) SearchRequest(searchRequest SearchRequest) ApiSearchRequest
type ApiSqlRequest ¶
type ApiSqlRequest struct { ApiService *UtilsAPIService // contains filtered or unexported fields }
func (ApiSqlRequest) Body ¶
func (r ApiSqlRequest) Body(body string) ApiSqlRequest
A query parameter string.
func (ApiSqlRequest) Execute ¶
func (r ApiSqlRequest) Execute() ([]map[string]interface{}, *http.Response, error)
func (ApiSqlRequest) RawResponse ¶
func (r ApiSqlRequest) RawResponse(rawResponse bool) ApiSqlRequest
Optional parameter, defines a format of response. Can be set to `False` for Select only queries and set to `True` or omitted for any type of queries:
type ApiUpdateRequest ¶
type ApiUpdateRequest struct { ApiService *IndexAPIService // contains filtered or unexported fields }
func (ApiUpdateRequest) Execute ¶
func (r ApiUpdateRequest) Execute() (*UpdateResponse, *http.Response, error)
func (ApiUpdateRequest) UpdateDocumentRequest ¶
func (r ApiUpdateRequest) UpdateDocumentRequest(updateDocumentRequest UpdateDocumentRequest) ApiUpdateRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BoolFilter ¶
type BoolFilter struct { Should []map[string]interface{} `json:"should,omitempty"` Must []map[string]interface{} `json:"must,omitempty"` MustNot []map[string]interface{} `json:"must_not,omitempty"` }
BoolFilter Boolean attribute filter
func NewBoolFilter ¶
func NewBoolFilter() *BoolFilter
NewBoolFilter instantiates a new BoolFilter 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 NewBoolFilterWithDefaults ¶
func NewBoolFilterWithDefaults() *BoolFilter
NewBoolFilterWithDefaults instantiates a new BoolFilter 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 (*BoolFilter) GetMust ¶
func (o *BoolFilter) GetMust() []map[string]interface{}
GetMust returns the Must field value if set, zero value otherwise.
func (*BoolFilter) GetMustNot ¶
func (o *BoolFilter) GetMustNot() []map[string]interface{}
GetMustNot returns the MustNot field value if set, zero value otherwise.
func (*BoolFilter) GetMustNotOk ¶
func (o *BoolFilter) GetMustNotOk() ([]map[string]interface{}, bool)
GetMustNotOk returns a tuple with the MustNot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BoolFilter) GetMustOk ¶
func (o *BoolFilter) GetMustOk() ([]map[string]interface{}, bool)
GetMustOk returns a tuple with the Must field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BoolFilter) GetShould ¶
func (o *BoolFilter) GetShould() []map[string]interface{}
GetShould returns the Should field value if set, zero value otherwise.
func (*BoolFilter) GetShouldOk ¶
func (o *BoolFilter) GetShouldOk() ([]map[string]interface{}, bool)
GetShouldOk returns a tuple with the Should field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BoolFilter) HasMust ¶
func (o *BoolFilter) HasMust() bool
HasMust returns a boolean if a field has been set.
func (*BoolFilter) HasMustNot ¶
func (o *BoolFilter) HasMustNot() bool
HasMustNot returns a boolean if a field has been set.
func (*BoolFilter) HasShould ¶
func (o *BoolFilter) HasShould() bool
HasShould returns a boolean if a field has been set.
func (BoolFilter) MarshalJSON ¶
func (o BoolFilter) MarshalJSON() ([]byte, error)
func (*BoolFilter) SetMust ¶
func (o *BoolFilter) SetMust(v []map[string]interface{})
SetMust gets a reference to the given []map[string]interface{} and assigns it to the Must field.
func (*BoolFilter) SetMustNot ¶
func (o *BoolFilter) SetMustNot(v []map[string]interface{})
SetMustNot gets a reference to the given []map[string]interface{} and assigns it to the MustNot field.
func (*BoolFilter) SetShould ¶
func (o *BoolFilter) SetShould(v []map[string]interface{})
SetShould gets a reference to the given []map[string]interface{} and assigns it to the Should field.
func (BoolFilter) ToMap ¶
func (o BoolFilter) ToMap() (map[string]interface{}, error)
type BulkResponse ¶
type BulkResponse struct { Items []map[string]interface{} `json:"items,omitempty"` Errors *bool `json:"errors,omitempty"` Error *string `json:"error,omitempty"` AdditionalProperties map[string]interface{} }
BulkResponse Success bulk response
func NewBulkResponse ¶
func NewBulkResponse() *BulkResponse
NewBulkResponse instantiates a new BulkResponse 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 NewBulkResponseWithDefaults ¶
func NewBulkResponseWithDefaults() *BulkResponse
NewBulkResponseWithDefaults instantiates a new BulkResponse 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 (*BulkResponse) GetError ¶
func (o *BulkResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*BulkResponse) GetErrorOk ¶
func (o *BulkResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BulkResponse) GetErrors ¶
func (o *BulkResponse) GetErrors() bool
GetErrors returns the Errors field value if set, zero value otherwise.
func (*BulkResponse) GetErrorsOk ¶
func (o *BulkResponse) GetErrorsOk() (*bool, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BulkResponse) GetItems ¶
func (o *BulkResponse) GetItems() []map[string]interface{}
GetItems returns the Items field value if set, zero value otherwise.
func (*BulkResponse) GetItemsOk ¶
func (o *BulkResponse) GetItemsOk() ([]map[string]interface{}, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BulkResponse) HasError ¶
func (o *BulkResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*BulkResponse) HasErrors ¶
func (o *BulkResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*BulkResponse) HasItems ¶
func (o *BulkResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (BulkResponse) MarshalJSON ¶
func (o BulkResponse) MarshalJSON() ([]byte, error)
func (*BulkResponse) SetError ¶
func (o *BulkResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*BulkResponse) SetErrors ¶
func (o *BulkResponse) SetErrors(v bool)
SetErrors gets a reference to the given bool and assigns it to the Errors field.
func (*BulkResponse) SetItems ¶
func (o *BulkResponse) SetItems(v []map[string]interface{})
SetItems gets a reference to the given []map[string]interface{} and assigns it to the Items field.
func (BulkResponse) ToMap ¶
func (o BulkResponse) ToMap() (map[string]interface{}, error)
func (*BulkResponse) UnmarshalJSON ¶
func (o *BulkResponse) UnmarshalJSON(data []byte) (err error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DeleteDocumentRequest ¶
type DeleteDocumentRequest struct { // Index name Index string `json:"index"` // cluster name Cluster *string `json:"cluster,omitempty"` // Document ID Id *int64 `json:"id,omitempty"` // Query tree object Query map[string]interface{} `json:"query,omitempty"` }
DeleteDocumentRequest Payload for delete request. Documents can be deleted either one by one by specifying the document id or by providing a query object. For more information see [Delete API](https://manual.manticoresearch.com/Deleting_documents)
func NewDeleteDocumentRequest ¶
func NewDeleteDocumentRequest(index string) *DeleteDocumentRequest
NewDeleteDocumentRequest instantiates a new DeleteDocumentRequest 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 NewDeleteDocumentRequestWithDefaults ¶
func NewDeleteDocumentRequestWithDefaults() *DeleteDocumentRequest
NewDeleteDocumentRequestWithDefaults instantiates a new DeleteDocumentRequest 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 (*DeleteDocumentRequest) GetCluster ¶
func (o *DeleteDocumentRequest) GetCluster() string
GetCluster returns the Cluster field value if set, zero value otherwise.
func (*DeleteDocumentRequest) GetClusterOk ¶
func (o *DeleteDocumentRequest) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteDocumentRequest) GetId ¶
func (o *DeleteDocumentRequest) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*DeleteDocumentRequest) GetIdOk ¶
func (o *DeleteDocumentRequest) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteDocumentRequest) GetIndex ¶
func (o *DeleteDocumentRequest) GetIndex() string
GetIndex returns the Index field value
func (*DeleteDocumentRequest) GetIndexOk ¶
func (o *DeleteDocumentRequest) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*DeleteDocumentRequest) GetQuery ¶
func (o *DeleteDocumentRequest) GetQuery() map[string]interface{}
GetQuery returns the Query field value if set, zero value otherwise.
func (*DeleteDocumentRequest) GetQueryOk ¶
func (o *DeleteDocumentRequest) GetQueryOk() (map[string]interface{}, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteDocumentRequest) HasCluster ¶
func (o *DeleteDocumentRequest) HasCluster() bool
HasCluster returns a boolean if a field has been set.
func (*DeleteDocumentRequest) HasId ¶
func (o *DeleteDocumentRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (*DeleteDocumentRequest) HasQuery ¶
func (o *DeleteDocumentRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (DeleteDocumentRequest) MarshalJSON ¶
func (o DeleteDocumentRequest) MarshalJSON() ([]byte, error)
func (*DeleteDocumentRequest) SetCluster ¶
func (o *DeleteDocumentRequest) SetCluster(v string)
SetCluster gets a reference to the given string and assigns it to the Cluster field.
func (*DeleteDocumentRequest) SetId ¶
func (o *DeleteDocumentRequest) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*DeleteDocumentRequest) SetIndex ¶
func (o *DeleteDocumentRequest) SetIndex(v string)
SetIndex sets field value
func (*DeleteDocumentRequest) SetQuery ¶
func (o *DeleteDocumentRequest) SetQuery(v map[string]interface{})
SetQuery gets a reference to the given map[string]interface{} and assigns it to the Query field.
func (DeleteDocumentRequest) ToMap ¶
func (o DeleteDocumentRequest) ToMap() (map[string]interface{}, error)
func (*DeleteDocumentRequest) UnmarshalJSON ¶
func (o *DeleteDocumentRequest) UnmarshalJSON(data []byte) (err error)
type DeleteResponse ¶
type DeleteResponse struct { Index *string `json:"_index,omitempty"` Deleted *int32 `json:"deleted,omitempty"` Id *int64 `json:"_id,omitempty"` Result *string `json:"result,omitempty"` }
DeleteResponse Success response
func NewDeleteResponse ¶
func NewDeleteResponse() *DeleteResponse
NewDeleteResponse instantiates a new DeleteResponse 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 NewDeleteResponseWithDefaults ¶
func NewDeleteResponseWithDefaults() *DeleteResponse
NewDeleteResponseWithDefaults instantiates a new DeleteResponse 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 (*DeleteResponse) GetDeleted ¶
func (o *DeleteResponse) GetDeleted() int32
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*DeleteResponse) GetDeletedOk ¶
func (o *DeleteResponse) GetDeletedOk() (*int32, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteResponse) GetId ¶
func (o *DeleteResponse) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*DeleteResponse) GetIdOk ¶
func (o *DeleteResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteResponse) GetIndex ¶
func (o *DeleteResponse) GetIndex() string
GetIndex returns the Index field value if set, zero value otherwise.
func (*DeleteResponse) GetIndexOk ¶
func (o *DeleteResponse) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteResponse) GetResult ¶
func (o *DeleteResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*DeleteResponse) GetResultOk ¶
func (o *DeleteResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteResponse) HasDeleted ¶
func (o *DeleteResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*DeleteResponse) HasId ¶
func (o *DeleteResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*DeleteResponse) HasIndex ¶
func (o *DeleteResponse) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (*DeleteResponse) HasResult ¶
func (o *DeleteResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (DeleteResponse) MarshalJSON ¶
func (o DeleteResponse) MarshalJSON() ([]byte, error)
func (*DeleteResponse) SetDeleted ¶
func (o *DeleteResponse) SetDeleted(v int32)
SetDeleted gets a reference to the given int32 and assigns it to the Deleted field.
func (*DeleteResponse) SetId ¶
func (o *DeleteResponse) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*DeleteResponse) SetIndex ¶
func (o *DeleteResponse) SetIndex(v string)
SetIndex gets a reference to the given string and assigns it to the Index field.
func (*DeleteResponse) SetResult ¶
func (o *DeleteResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (DeleteResponse) ToMap ¶
func (o DeleteResponse) ToMap() (map[string]interface{}, error)
type EqualsFilter ¶
type EqualsFilter struct { Field string `json:"field"` Value map[string]interface{} `json:"value"` }
EqualsFilter Equals attribute filter
func NewEqualsFilter ¶
func NewEqualsFilter(field string, value map[string]interface{}) *EqualsFilter
NewEqualsFilter instantiates a new EqualsFilter 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 NewEqualsFilterWithDefaults ¶
func NewEqualsFilterWithDefaults() *EqualsFilter
NewEqualsFilterWithDefaults instantiates a new EqualsFilter 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 (*EqualsFilter) GetField ¶
func (o *EqualsFilter) GetField() string
GetField returns the Field field value
func (*EqualsFilter) GetFieldOk ¶
func (o *EqualsFilter) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*EqualsFilter) GetValue ¶
func (o *EqualsFilter) GetValue() map[string]interface{}
GetValue returns the Value field value
func (*EqualsFilter) GetValueOk ¶
func (o *EqualsFilter) GetValueOk() (map[string]interface{}, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (EqualsFilter) MarshalJSON ¶
func (o EqualsFilter) MarshalJSON() ([]byte, error)
func (*EqualsFilter) SetValue ¶
func (o *EqualsFilter) SetValue(v map[string]interface{})
SetValue sets field value
func (EqualsFilter) ToMap ¶
func (o EqualsFilter) ToMap() (map[string]interface{}, error)
func (*EqualsFilter) UnmarshalJSON ¶
func (o *EqualsFilter) UnmarshalJSON(data []byte) (err error)
type ErrorResponse ¶
type ErrorResponse struct { Error map[string]interface{} `json:"error"` Status *int32 `json:"status,omitempty"` }
ErrorResponse Error response
func NewErrorResponse ¶
func NewErrorResponse(error_ map[string]interface{}) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetError ¶
func (o *ErrorResponse) GetError() map[string]interface{}
GetError returns the Error field value
func (*ErrorResponse) GetErrorOk ¶
func (o *ErrorResponse) GetErrorOk() (map[string]interface{}, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶
func (o *ErrorResponse) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*ErrorResponse) GetStatusOk ¶
func (o *ErrorResponse) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasStatus ¶
func (o *ErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetError ¶
func (o *ErrorResponse) SetError(v map[string]interface{})
SetError sets field value
func (*ErrorResponse) SetStatus ¶
func (o *ErrorResponse) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type ErrorResponseString ¶
type ErrorResponseString struct {
Error string `json:"error"`
}
ErrorResponseString Error response
func NewErrorResponseString ¶
func NewErrorResponseString(error_ string) *ErrorResponseString
NewErrorResponseString instantiates a new ErrorResponseString 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 NewErrorResponseStringWithDefaults ¶
func NewErrorResponseStringWithDefaults() *ErrorResponseString
NewErrorResponseStringWithDefaults instantiates a new ErrorResponseString 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 (*ErrorResponseString) GetError ¶
func (o *ErrorResponseString) GetError() string
GetError returns the Error field value
func (*ErrorResponseString) GetErrorOk ¶
func (o *ErrorResponseString) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (ErrorResponseString) MarshalJSON ¶
func (o ErrorResponseString) MarshalJSON() ([]byte, error)
func (*ErrorResponseString) SetError ¶
func (o *ErrorResponseString) SetError(v string)
SetError sets field value
func (ErrorResponseString) ToMap ¶
func (o ErrorResponseString) ToMap() (map[string]interface{}, error)
func (*ErrorResponseString) UnmarshalJSON ¶
func (o *ErrorResponseString) UnmarshalJSON(data []byte) (err error)
type Facet ¶
type Facet struct { // The name of an attribute to facet Attr string `json:"attr"` // Facet alias Alias *string `json:"alias,omitempty"` // The number of facet values to return Limit *int32 `json:"limit,omitempty"` }
Facet Query FACET expression
func NewFacet ¶
NewFacet instantiates a new Facet 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 NewFacetWithDefaults ¶
func NewFacetWithDefaults() *Facet
NewFacetWithDefaults instantiates a new Facet 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 (*Facet) GetAliasOk ¶
GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Facet) GetAttrOk ¶
GetAttrOk returns a tuple with the Attr field value and a boolean to check if the value has been set.
func (*Facet) GetLimitOk ¶
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (Facet) MarshalJSON ¶
func (*Facet) SetAlias ¶
SetAlias gets a reference to the given string and assigns it to the Alias field.
func (*Facet) SetLimit ¶
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*Facet) UnmarshalJSON ¶
type FilterBoolean ¶
type FilterBoolean struct { FilterField string `json:"filter_field"` Operation string `json:"operation"` FilterValue bool `json:"filter_value"` }
FilterBoolean Query filter
func NewFilterBoolean ¶
func NewFilterBoolean(filterField string, operation string, filterValue bool) *FilterBoolean
NewFilterBoolean instantiates a new FilterBoolean 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 NewFilterBooleanWithDefaults ¶
func NewFilterBooleanWithDefaults() *FilterBoolean
NewFilterBooleanWithDefaults instantiates a new FilterBoolean 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 (*FilterBoolean) GetFilterField ¶
func (o *FilterBoolean) GetFilterField() string
GetFilterField returns the FilterField field value
func (*FilterBoolean) GetFilterFieldOk ¶
func (o *FilterBoolean) GetFilterFieldOk() (*string, bool)
GetFilterFieldOk returns a tuple with the FilterField field value and a boolean to check if the value has been set.
func (*FilterBoolean) GetFilterValue ¶
func (o *FilterBoolean) GetFilterValue() bool
GetFilterValue returns the FilterValue field value
func (*FilterBoolean) GetFilterValueOk ¶
func (o *FilterBoolean) GetFilterValueOk() (*bool, bool)
GetFilterValueOk returns a tuple with the FilterValue field value and a boolean to check if the value has been set.
func (*FilterBoolean) GetOperation ¶
func (o *FilterBoolean) GetOperation() string
GetOperation returns the Operation field value
func (*FilterBoolean) GetOperationOk ¶
func (o *FilterBoolean) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (FilterBoolean) MarshalJSON ¶
func (o FilterBoolean) MarshalJSON() ([]byte, error)
func (*FilterBoolean) SetFilterField ¶
func (o *FilterBoolean) SetFilterField(v string)
SetFilterField sets field value
func (*FilterBoolean) SetFilterValue ¶
func (o *FilterBoolean) SetFilterValue(v bool)
SetFilterValue sets field value
func (*FilterBoolean) SetOperation ¶
func (o *FilterBoolean) SetOperation(v string)
SetOperation sets field value
func (FilterBoolean) ToMap ¶
func (o FilterBoolean) ToMap() (map[string]interface{}, error)
func (*FilterBoolean) UnmarshalJSON ¶
func (o *FilterBoolean) UnmarshalJSON(data []byte) (err error)
type FilterNumber ¶
type FilterNumber struct { FilterField string `json:"filter_field"` Operation string `json:"operation"` FilterValue float32 `json:"filter_value"` }
FilterNumber Query filter
func NewFilterNumber ¶
func NewFilterNumber(filterField string, operation string, filterValue float32) *FilterNumber
NewFilterNumber instantiates a new FilterNumber 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 NewFilterNumberWithDefaults ¶
func NewFilterNumberWithDefaults() *FilterNumber
NewFilterNumberWithDefaults instantiates a new FilterNumber 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 (*FilterNumber) GetFilterField ¶
func (o *FilterNumber) GetFilterField() string
GetFilterField returns the FilterField field value
func (*FilterNumber) GetFilterFieldOk ¶
func (o *FilterNumber) GetFilterFieldOk() (*string, bool)
GetFilterFieldOk returns a tuple with the FilterField field value and a boolean to check if the value has been set.
func (*FilterNumber) GetFilterValue ¶
func (o *FilterNumber) GetFilterValue() float32
GetFilterValue returns the FilterValue field value
func (*FilterNumber) GetFilterValueOk ¶
func (o *FilterNumber) GetFilterValueOk() (*float32, bool)
GetFilterValueOk returns a tuple with the FilterValue field value and a boolean to check if the value has been set.
func (*FilterNumber) GetOperation ¶
func (o *FilterNumber) GetOperation() string
GetOperation returns the Operation field value
func (*FilterNumber) GetOperationOk ¶
func (o *FilterNumber) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (FilterNumber) MarshalJSON ¶
func (o FilterNumber) MarshalJSON() ([]byte, error)
func (*FilterNumber) SetFilterField ¶
func (o *FilterNumber) SetFilterField(v string)
SetFilterField sets field value
func (*FilterNumber) SetFilterValue ¶
func (o *FilterNumber) SetFilterValue(v float32)
SetFilterValue sets field value
func (*FilterNumber) SetOperation ¶
func (o *FilterNumber) SetOperation(v string)
SetOperation sets field value
func (FilterNumber) ToMap ¶
func (o FilterNumber) ToMap() (map[string]interface{}, error)
func (*FilterNumber) UnmarshalJSON ¶
func (o *FilterNumber) UnmarshalJSON(data []byte) (err error)
type FilterString ¶
type FilterString struct { FilterField string `json:"filter_field"` Operation string `json:"operation"` FilterValue string `json:"filter_value"` }
FilterString Query filter
func NewFilterString ¶
func NewFilterString(filterField string, operation string, filterValue string) *FilterString
NewFilterString instantiates a new FilterString 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 NewFilterStringWithDefaults ¶
func NewFilterStringWithDefaults() *FilterString
NewFilterStringWithDefaults instantiates a new FilterString 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 (*FilterString) GetFilterField ¶
func (o *FilterString) GetFilterField() string
GetFilterField returns the FilterField field value
func (*FilterString) GetFilterFieldOk ¶
func (o *FilterString) GetFilterFieldOk() (*string, bool)
GetFilterFieldOk returns a tuple with the FilterField field value and a boolean to check if the value has been set.
func (*FilterString) GetFilterValue ¶
func (o *FilterString) GetFilterValue() string
GetFilterValue returns the FilterValue field value
func (*FilterString) GetFilterValueOk ¶
func (o *FilterString) GetFilterValueOk() (*string, bool)
GetFilterValueOk returns a tuple with the FilterValue field value and a boolean to check if the value has been set.
func (*FilterString) GetOperation ¶
func (o *FilterString) GetOperation() string
GetOperation returns the Operation field value
func (*FilterString) GetOperationOk ¶
func (o *FilterString) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (FilterString) MarshalJSON ¶
func (o FilterString) MarshalJSON() ([]byte, error)
func (*FilterString) SetFilterField ¶
func (o *FilterString) SetFilterField(v string)
SetFilterField sets field value
func (*FilterString) SetFilterValue ¶
func (o *FilterString) SetFilterValue(v string)
SetFilterValue sets field value
func (*FilterString) SetOperation ¶
func (o *FilterString) SetOperation(v string)
SetOperation sets field value
func (FilterString) ToMap ¶
func (o FilterString) ToMap() (map[string]interface{}, error)
func (*FilterString) UnmarshalJSON ¶
func (o *FilterString) UnmarshalJSON(data []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GeoDistanceFilter ¶
type GeoDistanceFilter struct { LocationAnchor *GeoDistanceFilterLocationAnchor `json:"location_anchor,omitempty"` // Attribute containing latitude and longitude data LocationSource *string `json:"location_source,omitempty"` DistanceType *string `json:"distance_type,omitempty"` Distance *string `json:"distance,omitempty"` }
GeoDistanceFilter Geo distance attribute filter
func NewGeoDistanceFilter ¶
func NewGeoDistanceFilter() *GeoDistanceFilter
NewGeoDistanceFilter instantiates a new GeoDistanceFilter 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 NewGeoDistanceFilterWithDefaults ¶
func NewGeoDistanceFilterWithDefaults() *GeoDistanceFilter
NewGeoDistanceFilterWithDefaults instantiates a new GeoDistanceFilter 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 (*GeoDistanceFilter) GetDistance ¶
func (o *GeoDistanceFilter) GetDistance() string
GetDistance returns the Distance field value if set, zero value otherwise.
func (*GeoDistanceFilter) GetDistanceOk ¶
func (o *GeoDistanceFilter) GetDistanceOk() (*string, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GeoDistanceFilter) GetDistanceType ¶
func (o *GeoDistanceFilter) GetDistanceType() string
GetDistanceType returns the DistanceType field value if set, zero value otherwise.
func (*GeoDistanceFilter) GetDistanceTypeOk ¶
func (o *GeoDistanceFilter) GetDistanceTypeOk() (*string, bool)
GetDistanceTypeOk returns a tuple with the DistanceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GeoDistanceFilter) GetLocationAnchor ¶
func (o *GeoDistanceFilter) GetLocationAnchor() GeoDistanceFilterLocationAnchor
GetLocationAnchor returns the LocationAnchor field value if set, zero value otherwise.
func (*GeoDistanceFilter) GetLocationAnchorOk ¶
func (o *GeoDistanceFilter) GetLocationAnchorOk() (*GeoDistanceFilterLocationAnchor, bool)
GetLocationAnchorOk returns a tuple with the LocationAnchor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GeoDistanceFilter) GetLocationSource ¶
func (o *GeoDistanceFilter) GetLocationSource() string
GetLocationSource returns the LocationSource field value if set, zero value otherwise.
func (*GeoDistanceFilter) GetLocationSourceOk ¶
func (o *GeoDistanceFilter) GetLocationSourceOk() (*string, bool)
GetLocationSourceOk returns a tuple with the LocationSource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GeoDistanceFilter) HasDistance ¶
func (o *GeoDistanceFilter) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*GeoDistanceFilter) HasDistanceType ¶
func (o *GeoDistanceFilter) HasDistanceType() bool
HasDistanceType returns a boolean if a field has been set.
func (*GeoDistanceFilter) HasLocationAnchor ¶
func (o *GeoDistanceFilter) HasLocationAnchor() bool
HasLocationAnchor returns a boolean if a field has been set.
func (*GeoDistanceFilter) HasLocationSource ¶
func (o *GeoDistanceFilter) HasLocationSource() bool
HasLocationSource returns a boolean if a field has been set.
func (GeoDistanceFilter) MarshalJSON ¶
func (o GeoDistanceFilter) MarshalJSON() ([]byte, error)
func (*GeoDistanceFilter) SetDistance ¶
func (o *GeoDistanceFilter) SetDistance(v string)
SetDistance gets a reference to the given string and assigns it to the Distance field.
func (*GeoDistanceFilter) SetDistanceType ¶
func (o *GeoDistanceFilter) SetDistanceType(v string)
SetDistanceType gets a reference to the given string and assigns it to the DistanceType field.
func (*GeoDistanceFilter) SetLocationAnchor ¶
func (o *GeoDistanceFilter) SetLocationAnchor(v GeoDistanceFilterLocationAnchor)
SetLocationAnchor gets a reference to the given GeoDistanceFilterLocationAnchor and assigns it to the LocationAnchor field.
func (*GeoDistanceFilter) SetLocationSource ¶
func (o *GeoDistanceFilter) SetLocationSource(v string)
SetLocationSource gets a reference to the given string and assigns it to the LocationSource field.
func (GeoDistanceFilter) ToMap ¶
func (o GeoDistanceFilter) ToMap() (map[string]interface{}, error)
type GeoDistanceFilterLocationAnchor ¶
type GeoDistanceFilterLocationAnchor struct { // Geo latitude of pin point in degrees Lat *float32 `json:"lat,omitempty"` // Geo longitude pf pin point in degrees Lon *float32 `json:"lon,omitempty"` }
GeoDistanceFilterLocationAnchor Geo pin point object
func NewGeoDistanceFilterLocationAnchor ¶
func NewGeoDistanceFilterLocationAnchor() *GeoDistanceFilterLocationAnchor
NewGeoDistanceFilterLocationAnchor instantiates a new GeoDistanceFilterLocationAnchor 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 NewGeoDistanceFilterLocationAnchorWithDefaults ¶
func NewGeoDistanceFilterLocationAnchorWithDefaults() *GeoDistanceFilterLocationAnchor
NewGeoDistanceFilterLocationAnchorWithDefaults instantiates a new GeoDistanceFilterLocationAnchor 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 (*GeoDistanceFilterLocationAnchor) GetLat ¶
func (o *GeoDistanceFilterLocationAnchor) GetLat() float32
GetLat returns the Lat field value if set, zero value otherwise.
func (*GeoDistanceFilterLocationAnchor) GetLatOk ¶
func (o *GeoDistanceFilterLocationAnchor) GetLatOk() (*float32, bool)
GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GeoDistanceFilterLocationAnchor) GetLon ¶
func (o *GeoDistanceFilterLocationAnchor) GetLon() float32
GetLon returns the Lon field value if set, zero value otherwise.
func (*GeoDistanceFilterLocationAnchor) GetLonOk ¶
func (o *GeoDistanceFilterLocationAnchor) GetLonOk() (*float32, bool)
GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GeoDistanceFilterLocationAnchor) HasLat ¶
func (o *GeoDistanceFilterLocationAnchor) HasLat() bool
HasLat returns a boolean if a field has been set.
func (*GeoDistanceFilterLocationAnchor) HasLon ¶
func (o *GeoDistanceFilterLocationAnchor) HasLon() bool
HasLon returns a boolean if a field has been set.
func (GeoDistanceFilterLocationAnchor) MarshalJSON ¶
func (o GeoDistanceFilterLocationAnchor) MarshalJSON() ([]byte, error)
func (*GeoDistanceFilterLocationAnchor) SetLat ¶
func (o *GeoDistanceFilterLocationAnchor) SetLat(v float32)
SetLat gets a reference to the given float32 and assigns it to the Lat field.
func (*GeoDistanceFilterLocationAnchor) SetLon ¶
func (o *GeoDistanceFilterLocationAnchor) SetLon(v float32)
SetLon gets a reference to the given float32 and assigns it to the Lon field.
func (GeoDistanceFilterLocationAnchor) ToMap ¶
func (o GeoDistanceFilterLocationAnchor) ToMap() (map[string]interface{}, error)
type Highlight ¶
type Highlight struct { Fieldnames []string `json:"fieldnames,omitempty"` Fields []HighlightField `json:"fields,omitempty"` Encoder *string `json:"encoder,omitempty"` HighlightQuery map[string]interface{} `json:"highlight_query,omitempty"` PreTags *string `json:"pre_tags,omitempty"` PostTags *string `json:"post_tags,omitempty"` NoMatchSize *int32 `json:"no_match_size,omitempty"` FragmentSize *int32 `json:"fragment_size,omitempty"` NumberOfFragments *int32 `json:"number_of_fragments,omitempty"` Limit *int32 `json:"limit,omitempty"` LimitWords *int32 `json:"limit_words,omitempty"` LimitSnippets *int32 `json:"limit_snippets,omitempty"` LimitsPerField *bool `json:"limits_per_field,omitempty"` UseBoundaries *bool `json:"use_boundaries,omitempty"` ForceAllWords *bool `json:"force_all_words,omitempty"` AllowEmpty *bool `json:"allow_empty,omitempty"` EmitZones *bool `json:"emit_zones,omitempty"` ForceSnippets *bool `json:"force_snippets,omitempty"` Around *int32 `json:"around,omitempty"` StartSnippetId *int32 `json:"start_snippet_id,omitempty"` HtmlStripMode *string `json:"html_strip_mode,omitempty"` SnippetBoundary *string `json:"snippet_boundary,omitempty"` }
Highlight Query HIGHLIGHT expression
func NewHighlight ¶
func NewHighlight() *Highlight
NewHighlight instantiates a new Highlight 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 NewHighlightWithDefaults ¶
func NewHighlightWithDefaults() *Highlight
NewHighlightWithDefaults instantiates a new Highlight 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 (*Highlight) GetAllowEmpty ¶
GetAllowEmpty returns the AllowEmpty field value if set, zero value otherwise.
func (*Highlight) GetAllowEmptyOk ¶
GetAllowEmptyOk returns a tuple with the AllowEmpty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetAround ¶
GetAround returns the Around field value if set, zero value otherwise.
func (*Highlight) GetAroundOk ¶
GetAroundOk returns a tuple with the Around field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetEmitZones ¶
GetEmitZones returns the EmitZones field value if set, zero value otherwise.
func (*Highlight) GetEmitZonesOk ¶
GetEmitZonesOk returns a tuple with the EmitZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetEncoder ¶
GetEncoder returns the Encoder field value if set, zero value otherwise.
func (*Highlight) GetEncoderOk ¶
GetEncoderOk returns a tuple with the Encoder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetFieldnames ¶
GetFieldnames returns the Fieldnames field value if set, zero value otherwise.
func (*Highlight) GetFieldnamesOk ¶
GetFieldnamesOk returns a tuple with the Fieldnames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetFields ¶
func (o *Highlight) GetFields() []HighlightField
GetFields returns the Fields field value if set, zero value otherwise.
func (*Highlight) GetFieldsOk ¶
func (o *Highlight) GetFieldsOk() ([]HighlightField, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetForceAllWords ¶
GetForceAllWords returns the ForceAllWords field value if set, zero value otherwise.
func (*Highlight) GetForceAllWordsOk ¶
GetForceAllWordsOk returns a tuple with the ForceAllWords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetForceSnippets ¶
GetForceSnippets returns the ForceSnippets field value if set, zero value otherwise.
func (*Highlight) GetForceSnippetsOk ¶
GetForceSnippetsOk returns a tuple with the ForceSnippets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetFragmentSize ¶
GetFragmentSize returns the FragmentSize field value if set, zero value otherwise.
func (*Highlight) GetFragmentSizeOk ¶
GetFragmentSizeOk returns a tuple with the FragmentSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetHighlightQuery ¶
GetHighlightQuery returns the HighlightQuery field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Highlight) GetHighlightQueryOk ¶
GetHighlightQueryOk returns a tuple with the HighlightQuery field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Highlight) GetHtmlStripMode ¶
GetHtmlStripMode returns the HtmlStripMode field value if set, zero value otherwise.
func (*Highlight) GetHtmlStripModeOk ¶
GetHtmlStripModeOk returns a tuple with the HtmlStripMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetLimitOk ¶
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetLimitSnippets ¶
GetLimitSnippets returns the LimitSnippets field value if set, zero value otherwise.
func (*Highlight) GetLimitSnippetsOk ¶
GetLimitSnippetsOk returns a tuple with the LimitSnippets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetLimitWords ¶
GetLimitWords returns the LimitWords field value if set, zero value otherwise.
func (*Highlight) GetLimitWordsOk ¶
GetLimitWordsOk returns a tuple with the LimitWords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetLimitsPerField ¶
GetLimitsPerField returns the LimitsPerField field value if set, zero value otherwise.
func (*Highlight) GetLimitsPerFieldOk ¶
GetLimitsPerFieldOk returns a tuple with the LimitsPerField field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetNoMatchSize ¶
GetNoMatchSize returns the NoMatchSize field value if set, zero value otherwise.
func (*Highlight) GetNoMatchSizeOk ¶
GetNoMatchSizeOk returns a tuple with the NoMatchSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetNumberOfFragments ¶
GetNumberOfFragments returns the NumberOfFragments field value if set, zero value otherwise.
func (*Highlight) GetNumberOfFragmentsOk ¶
GetNumberOfFragmentsOk returns a tuple with the NumberOfFragments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetPostTags ¶
GetPostTags returns the PostTags field value if set, zero value otherwise.
func (*Highlight) GetPostTagsOk ¶
GetPostTagsOk returns a tuple with the PostTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetPreTags ¶
GetPreTags returns the PreTags field value if set, zero value otherwise.
func (*Highlight) GetPreTagsOk ¶
GetPreTagsOk returns a tuple with the PreTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetSnippetBoundary ¶
GetSnippetBoundary returns the SnippetBoundary field value if set, zero value otherwise.
func (*Highlight) GetSnippetBoundaryOk ¶
GetSnippetBoundaryOk returns a tuple with the SnippetBoundary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetStartSnippetId ¶
GetStartSnippetId returns the StartSnippetId field value if set, zero value otherwise.
func (*Highlight) GetStartSnippetIdOk ¶
GetStartSnippetIdOk returns a tuple with the StartSnippetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) GetUseBoundaries ¶
GetUseBoundaries returns the UseBoundaries field value if set, zero value otherwise.
func (*Highlight) GetUseBoundariesOk ¶
GetUseBoundariesOk returns a tuple with the UseBoundaries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Highlight) HasAllowEmpty ¶
HasAllowEmpty returns a boolean if a field has been set.
func (*Highlight) HasEmitZones ¶
HasEmitZones returns a boolean if a field has been set.
func (*Highlight) HasEncoder ¶
HasEncoder returns a boolean if a field has been set.
func (*Highlight) HasFieldnames ¶
HasFieldnames returns a boolean if a field has been set.
func (*Highlight) HasForceAllWords ¶
HasForceAllWords returns a boolean if a field has been set.
func (*Highlight) HasForceSnippets ¶
HasForceSnippets returns a boolean if a field has been set.
func (*Highlight) HasFragmentSize ¶
HasFragmentSize returns a boolean if a field has been set.
func (*Highlight) HasHighlightQuery ¶
HasHighlightQuery returns a boolean if a field has been set.
func (*Highlight) HasHtmlStripMode ¶
HasHtmlStripMode returns a boolean if a field has been set.
func (*Highlight) HasLimitSnippets ¶
HasLimitSnippets returns a boolean if a field has been set.
func (*Highlight) HasLimitWords ¶
HasLimitWords returns a boolean if a field has been set.
func (*Highlight) HasLimitsPerField ¶
HasLimitsPerField returns a boolean if a field has been set.
func (*Highlight) HasNoMatchSize ¶
HasNoMatchSize returns a boolean if a field has been set.
func (*Highlight) HasNumberOfFragments ¶
HasNumberOfFragments returns a boolean if a field has been set.
func (*Highlight) HasPostTags ¶
HasPostTags returns a boolean if a field has been set.
func (*Highlight) HasPreTags ¶
HasPreTags returns a boolean if a field has been set.
func (*Highlight) HasSnippetBoundary ¶
HasSnippetBoundary returns a boolean if a field has been set.
func (*Highlight) HasStartSnippetId ¶
HasStartSnippetId returns a boolean if a field has been set.
func (*Highlight) HasUseBoundaries ¶
HasUseBoundaries returns a boolean if a field has been set.
func (Highlight) MarshalJSON ¶
func (*Highlight) SetAllowEmpty ¶
SetAllowEmpty gets a reference to the given bool and assigns it to the AllowEmpty field.
func (*Highlight) SetAround ¶
SetAround gets a reference to the given int32 and assigns it to the Around field.
func (*Highlight) SetEmitZones ¶
SetEmitZones gets a reference to the given bool and assigns it to the EmitZones field.
func (*Highlight) SetEncoder ¶
SetEncoder gets a reference to the given string and assigns it to the Encoder field.
func (*Highlight) SetFieldnames ¶
SetFieldnames gets a reference to the given []string and assigns it to the Fieldnames field.
func (*Highlight) SetFields ¶
func (o *Highlight) SetFields(v []HighlightField)
SetFields gets a reference to the given []HighlightField and assigns it to the Fields field.
func (*Highlight) SetForceAllWords ¶
SetForceAllWords gets a reference to the given bool and assigns it to the ForceAllWords field.
func (*Highlight) SetForceSnippets ¶
SetForceSnippets gets a reference to the given bool and assigns it to the ForceSnippets field.
func (*Highlight) SetFragmentSize ¶
SetFragmentSize gets a reference to the given int32 and assigns it to the FragmentSize field.
func (*Highlight) SetHighlightQuery ¶
SetHighlightQuery gets a reference to the given map[string]interface{} and assigns it to the HighlightQuery field.
func (*Highlight) SetHtmlStripMode ¶
SetHtmlStripMode gets a reference to the given string and assigns it to the HtmlStripMode field.
func (*Highlight) SetLimit ¶
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*Highlight) SetLimitSnippets ¶
SetLimitSnippets gets a reference to the given int32 and assigns it to the LimitSnippets field.
func (*Highlight) SetLimitWords ¶
SetLimitWords gets a reference to the given int32 and assigns it to the LimitWords field.
func (*Highlight) SetLimitsPerField ¶
SetLimitsPerField gets a reference to the given bool and assigns it to the LimitsPerField field.
func (*Highlight) SetNoMatchSize ¶
SetNoMatchSize gets a reference to the given int32 and assigns it to the NoMatchSize field.
func (*Highlight) SetNumberOfFragments ¶
SetNumberOfFragments gets a reference to the given int32 and assigns it to the NumberOfFragments field.
func (*Highlight) SetPostTags ¶
SetPostTags gets a reference to the given string and assigns it to the PostTags field.
func (*Highlight) SetPreTags ¶
SetPreTags gets a reference to the given string and assigns it to the PreTags field.
func (*Highlight) SetSnippetBoundary ¶
SetSnippetBoundary gets a reference to the given string and assigns it to the SnippetBoundary field.
func (*Highlight) SetStartSnippetId ¶
SetStartSnippetId gets a reference to the given int32 and assigns it to the StartSnippetId field.
func (*Highlight) SetUseBoundaries ¶
SetUseBoundaries gets a reference to the given bool and assigns it to the UseBoundaries field.
type HighlightField ¶
type HighlightField struct { Name string `json:"name"` Limit *int32 `json:"limit,omitempty"` LimitWords *int32 `json:"limit_words,omitempty"` LimitSnippets *int32 `json:"limit_snippets,omitempty"` }
HighlightField Query Highlight field with options set
func NewHighlightField ¶
func NewHighlightField(name string) *HighlightField
NewHighlightField instantiates a new HighlightField 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 NewHighlightFieldWithDefaults ¶
func NewHighlightFieldWithDefaults() *HighlightField
NewHighlightFieldWithDefaults instantiates a new HighlightField 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 (*HighlightField) GetLimit ¶
func (o *HighlightField) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*HighlightField) GetLimitOk ¶
func (o *HighlightField) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HighlightField) GetLimitSnippets ¶
func (o *HighlightField) GetLimitSnippets() int32
GetLimitSnippets returns the LimitSnippets field value if set, zero value otherwise.
func (*HighlightField) GetLimitSnippetsOk ¶
func (o *HighlightField) GetLimitSnippetsOk() (*int32, bool)
GetLimitSnippetsOk returns a tuple with the LimitSnippets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HighlightField) GetLimitWords ¶
func (o *HighlightField) GetLimitWords() int32
GetLimitWords returns the LimitWords field value if set, zero value otherwise.
func (*HighlightField) GetLimitWordsOk ¶
func (o *HighlightField) GetLimitWordsOk() (*int32, bool)
GetLimitWordsOk returns a tuple with the LimitWords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HighlightField) GetName ¶
func (o *HighlightField) GetName() string
GetName returns the Name field value
func (*HighlightField) GetNameOk ¶
func (o *HighlightField) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*HighlightField) HasLimit ¶
func (o *HighlightField) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*HighlightField) HasLimitSnippets ¶
func (o *HighlightField) HasLimitSnippets() bool
HasLimitSnippets returns a boolean if a field has been set.
func (*HighlightField) HasLimitWords ¶
func (o *HighlightField) HasLimitWords() bool
HasLimitWords returns a boolean if a field has been set.
func (HighlightField) MarshalJSON ¶
func (o HighlightField) MarshalJSON() ([]byte, error)
func (*HighlightField) SetLimit ¶
func (o *HighlightField) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*HighlightField) SetLimitSnippets ¶
func (o *HighlightField) SetLimitSnippets(v int32)
SetLimitSnippets gets a reference to the given int32 and assigns it to the LimitSnippets field.
func (*HighlightField) SetLimitWords ¶
func (o *HighlightField) SetLimitWords(v int32)
SetLimitWords gets a reference to the given int32 and assigns it to the LimitWords field.
func (*HighlightField) SetName ¶
func (o *HighlightField) SetName(v string)
SetName sets field value
func (HighlightField) ToMap ¶
func (o HighlightField) ToMap() (map[string]interface{}, error)
func (*HighlightField) UnmarshalJSON ¶
func (o *HighlightField) UnmarshalJSON(data []byte) (err error)
type InFilter ¶
type InFilter struct { Field string `json:"field"` Values []map[string]interface{} `json:"values"` }
InFilter In attribute filter
func NewInFilter ¶
NewInFilter instantiates a new InFilter 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 NewInFilterWithDefaults ¶
func NewInFilterWithDefaults() *InFilter
NewInFilterWithDefaults instantiates a new InFilter 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 (*InFilter) GetFieldOk ¶
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*InFilter) GetValuesOk ¶
GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.
func (InFilter) MarshalJSON ¶
func (*InFilter) UnmarshalJSON ¶
type IndexAPIService ¶
type IndexAPIService service
IndexAPIService IndexAPI service
func (*IndexAPIService) Bulk ¶
func (a *IndexAPIService) Bulk(ctx context.Context) ApiBulkRequest
Bulk Bulk index operations
Sends multiple operatons like inserts, updates, replaces or deletes. For each operation it's object must have same format as in their dedicated method. The method expects a raw string as the batch in NDJSON.
Each operation object needs to be serialized to JSON and separated by endline (\n). An example of raw input: ``` {"insert": {"index": "movies", "doc": {"plot": "A secret team goes to North Pole", "rating": 9.5, "language": [2, 3], "title": "This is an older movie", "lon": 51.99, "meta": {"keywords":["travel","ice"],"genre":["adventure"]}, "year": 1950, "lat": 60.4, "advise": "PG-13"}}} \n {"delete": {"index": "movies","id":700}} ``` Responds with an object telling whenever any errors occured and an array with status for each operation: ``` { 'items': [ { 'update':{'_index':'products','_id':1,'result':'updated'} }, { 'update':{'_index':'products','_id':2,'result':'updated'} } ], 'errors':false } ``` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBulkRequest
func (*IndexAPIService) BulkExecute ¶
func (a *IndexAPIService) BulkExecute(r ApiBulkRequest) (*BulkResponse, *http.Response, error)
Execute executes the request
@return BulkResponse
func (*IndexAPIService) Delete ¶
func (a *IndexAPIService) Delete(ctx context.Context) ApiDeleteRequest
Delete Delete a document in an index
Delete one or several documents. The method has 2 ways of deleting: either by id, in case only one document is deleted or by using a match query, in which case multiple documents can be delete . Example of input to delete by id:
``` {'index':'movies','id':100} ```
Example of input to delete using a query:
``` { 'index':'movies', 'query': { 'bool': { 'must': [ {'query_string':'new movie'} ] } } } ```
The match query has same syntax as in for searching. Responds with an object telling how many documents got deleted:
``` {'_index':'products','updated':1} ``` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteRequest
func (*IndexAPIService) DeleteExecute ¶
func (a *IndexAPIService) DeleteExecute(r ApiDeleteRequest) (*DeleteResponse, *http.Response, error)
Execute executes the request
@return DeleteResponse
func (*IndexAPIService) Insert ¶
func (a *IndexAPIService) Insert(ctx context.Context) ApiInsertRequest
Insert Create a new document in an index
Insert a document. Expects an object like:
``` { 'index':'movies', 'id':701, 'doc': { 'title':'This is an old movie', 'plot':'A secret team goes to North Pole', 'year':1950, 'rating':9.5, 'lat':60.4, 'lon':51.99, 'advise':'PG-13', 'meta':'{"keywords":{"travel","ice"},"genre":{"adventure"}}', 'language':[2,3] } } ```
The document id can also be missing, in which case an autogenerated one will be used:
``` { 'index':'movies', 'doc': { 'title':'This is a new movie', 'plot':'A secret team goes to North Pole', 'year':2020, 'rating':9.5, 'lat':60.4, 'lon':51.99, 'advise':'PG-13', 'meta':'{"keywords":{"travel","ice"},"genre":{"adventure"}}', 'language':[2,3] } } ```
It responds with an object in format:
``` {'_index':'products','_id':701,'created':true,'result':'created','status':201} ``` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiInsertRequest
func (*IndexAPIService) InsertExecute ¶
func (a *IndexAPIService) InsertExecute(r ApiInsertRequest) (*SuccessResponse, *http.Response, error)
Execute executes the request
@return SuccessResponse
func (*IndexAPIService) Replace ¶
func (a *IndexAPIService) Replace(ctx context.Context) ApiReplaceRequest
Replace Replace new document in an index
Replace an existing document. Input has same format as `insert` operation. <br/> Responds with an object in format: <br/>
``` {'_index':'products','_id':1,'created':false,'result':'updated','status':200} ``` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiReplaceRequest
func (*IndexAPIService) ReplaceExecute ¶
func (a *IndexAPIService) ReplaceExecute(r ApiReplaceRequest) (*SuccessResponse, *http.Response, error)
Execute executes the request
@return SuccessResponse
func (*IndexAPIService) Update ¶
func (a *IndexAPIService) Update(ctx context.Context) ApiUpdateRequest
Update Update a document in an index
Update one or several documents. The update can be made by passing the id or by using a match query in case multiple documents can be updated. For example update a document using document id:
``` {'index':'movies','doc':{'rating':9.49},'id':100} ```
And update by using a match query:
``` { 'index':'movies', 'doc':{'rating':9.49}, 'query': { 'bool': { 'must': [ {'query_string':'new movie'} ] } } } ```
The match query has same syntax as for searching. Responds with an object that tells how many documents where updated in format:
``` {'_index':'products','updated':1} ``` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateRequest
func (*IndexAPIService) UpdateExecute ¶
func (a *IndexAPIService) UpdateExecute(r ApiUpdateRequest) (*UpdateResponse, *http.Response, error)
Execute executes the request
@return UpdateResponse
type InsertDocumentRequest ¶
type InsertDocumentRequest struct { // Name of the index Index string `json:"index"` // cluster name Cluster *string `json:"cluster,omitempty"` // Document ID. Id *int64 `json:"id,omitempty"` // Object with document data Doc map[string]interface{} `json:"doc"` }
InsertDocumentRequest Object with document data.
func NewInsertDocumentRequest ¶
func NewInsertDocumentRequest(index string, doc map[string]interface{}) *InsertDocumentRequest
NewInsertDocumentRequest instantiates a new InsertDocumentRequest 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 NewInsertDocumentRequestWithDefaults ¶
func NewInsertDocumentRequestWithDefaults() *InsertDocumentRequest
NewInsertDocumentRequestWithDefaults instantiates a new InsertDocumentRequest 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 (*InsertDocumentRequest) GetCluster ¶
func (o *InsertDocumentRequest) GetCluster() string
GetCluster returns the Cluster field value if set, zero value otherwise.
func (*InsertDocumentRequest) GetClusterOk ¶
func (o *InsertDocumentRequest) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InsertDocumentRequest) GetDoc ¶
func (o *InsertDocumentRequest) GetDoc() map[string]interface{}
GetDoc returns the Doc field value
func (*InsertDocumentRequest) GetDocOk ¶
func (o *InsertDocumentRequest) GetDocOk() (map[string]interface{}, bool)
GetDocOk returns a tuple with the Doc field value and a boolean to check if the value has been set.
func (*InsertDocumentRequest) GetId ¶
func (o *InsertDocumentRequest) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*InsertDocumentRequest) GetIdOk ¶
func (o *InsertDocumentRequest) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InsertDocumentRequest) GetIndex ¶
func (o *InsertDocumentRequest) GetIndex() string
GetIndex returns the Index field value
func (*InsertDocumentRequest) GetIndexOk ¶
func (o *InsertDocumentRequest) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*InsertDocumentRequest) HasCluster ¶
func (o *InsertDocumentRequest) HasCluster() bool
HasCluster returns a boolean if a field has been set.
func (*InsertDocumentRequest) HasId ¶
func (o *InsertDocumentRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (InsertDocumentRequest) MarshalJSON ¶
func (o InsertDocumentRequest) MarshalJSON() ([]byte, error)
func (*InsertDocumentRequest) SetCluster ¶
func (o *InsertDocumentRequest) SetCluster(v string)
SetCluster gets a reference to the given string and assigns it to the Cluster field.
func (*InsertDocumentRequest) SetDoc ¶
func (o *InsertDocumentRequest) SetDoc(v map[string]interface{})
SetDoc sets field value
func (*InsertDocumentRequest) SetId ¶
func (o *InsertDocumentRequest) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*InsertDocumentRequest) SetIndex ¶
func (o *InsertDocumentRequest) SetIndex(v string)
SetIndex sets field value
func (InsertDocumentRequest) ToMap ¶
func (o InsertDocumentRequest) ToMap() (map[string]interface{}, error)
func (*InsertDocumentRequest) UnmarshalJSON ¶
func (o *InsertDocumentRequest) UnmarshalJSON(data []byte) (err error)
type KnnSearchRequestByDocId ¶
type KnnSearchRequestByDocId struct { Index string `json:"index"` Field string `json:"field"` DocId int32 `json:"doc_id"` K int32 `json:"k"` FulltextFilter map[string]interface{} `json:"fulltext_filter,omitempty"` AttrFilter map[string]interface{} `json:"attr_filter,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` MaxMatches *int32 `json:"max_matches,omitempty"` Sort []map[string]interface{} `json:"sort,omitempty"` Aggs *map[string]Aggregation `json:"aggs,omitempty"` Expressions *map[string]string `json:"expressions,omitempty"` Highlight *Highlight `json:"highlight,omitempty"` Source map[string]interface{} `json:"source,omitempty"` Options map[string]interface{} `json:"options,omitempty"` Profile *bool `json:"profile,omitempty"` TrackScores *bool `json:"track_scores,omitempty"` }
KnnSearchRequestByDocId Request object for knn search operation
func NewKnnSearchRequestByDocId ¶
func NewKnnSearchRequestByDocId(index string, field string, docId int32, k int32) *KnnSearchRequestByDocId
NewKnnSearchRequestByDocId instantiates a new KnnSearchRequestByDocId 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 NewKnnSearchRequestByDocIdWithDefaults ¶
func NewKnnSearchRequestByDocIdWithDefaults() *KnnSearchRequestByDocId
NewKnnSearchRequestByDocIdWithDefaults instantiates a new KnnSearchRequestByDocId 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 (*KnnSearchRequestByDocId) GetAggs ¶
func (o *KnnSearchRequestByDocId) GetAggs() map[string]Aggregation
GetAggs returns the Aggs field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetAggsOk ¶
func (o *KnnSearchRequestByDocId) GetAggsOk() (*map[string]Aggregation, bool)
GetAggsOk returns a tuple with the Aggs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetAttrFilter ¶
func (o *KnnSearchRequestByDocId) GetAttrFilter() map[string]interface{}
GetAttrFilter returns the AttrFilter field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetAttrFilterOk ¶
func (o *KnnSearchRequestByDocId) GetAttrFilterOk() (map[string]interface{}, bool)
GetAttrFilterOk returns a tuple with the AttrFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetDocId ¶
func (o *KnnSearchRequestByDocId) GetDocId() int32
GetDocId returns the DocId field value
func (*KnnSearchRequestByDocId) GetDocIdOk ¶
func (o *KnnSearchRequestByDocId) GetDocIdOk() (*int32, bool)
GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetExpressions ¶
func (o *KnnSearchRequestByDocId) GetExpressions() map[string]string
GetExpressions returns the Expressions field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetExpressionsOk ¶
func (o *KnnSearchRequestByDocId) GetExpressionsOk() (*map[string]string, bool)
GetExpressionsOk returns a tuple with the Expressions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetField ¶
func (o *KnnSearchRequestByDocId) GetField() string
GetField returns the Field field value
func (*KnnSearchRequestByDocId) GetFieldOk ¶
func (o *KnnSearchRequestByDocId) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetFulltextFilter ¶
func (o *KnnSearchRequestByDocId) GetFulltextFilter() map[string]interface{}
GetFulltextFilter returns the FulltextFilter field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetFulltextFilterOk ¶
func (o *KnnSearchRequestByDocId) GetFulltextFilterOk() (map[string]interface{}, bool)
GetFulltextFilterOk returns a tuple with the FulltextFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetHighlight ¶
func (o *KnnSearchRequestByDocId) GetHighlight() Highlight
GetHighlight returns the Highlight field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetHighlightOk ¶
func (o *KnnSearchRequestByDocId) GetHighlightOk() (*Highlight, bool)
GetHighlightOk returns a tuple with the Highlight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetIndex ¶
func (o *KnnSearchRequestByDocId) GetIndex() string
GetIndex returns the Index field value
func (*KnnSearchRequestByDocId) GetIndexOk ¶
func (o *KnnSearchRequestByDocId) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetK ¶
func (o *KnnSearchRequestByDocId) GetK() int32
GetK returns the K field value
func (*KnnSearchRequestByDocId) GetKOk ¶
func (o *KnnSearchRequestByDocId) GetKOk() (*int32, bool)
GetKOk returns a tuple with the K field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetLimit ¶
func (o *KnnSearchRequestByDocId) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetLimitOk ¶
func (o *KnnSearchRequestByDocId) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetMaxMatches ¶
func (o *KnnSearchRequestByDocId) GetMaxMatches() int32
GetMaxMatches returns the MaxMatches field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetMaxMatchesOk ¶
func (o *KnnSearchRequestByDocId) GetMaxMatchesOk() (*int32, bool)
GetMaxMatchesOk returns a tuple with the MaxMatches field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetOffset ¶
func (o *KnnSearchRequestByDocId) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetOffsetOk ¶
func (o *KnnSearchRequestByDocId) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetOptions ¶
func (o *KnnSearchRequestByDocId) GetOptions() map[string]interface{}
GetOptions returns the Options field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetOptionsOk ¶
func (o *KnnSearchRequestByDocId) GetOptionsOk() (map[string]interface{}, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetProfile ¶
func (o *KnnSearchRequestByDocId) GetProfile() bool
GetProfile returns the Profile field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetProfileOk ¶
func (o *KnnSearchRequestByDocId) GetProfileOk() (*bool, bool)
GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetSort ¶
func (o *KnnSearchRequestByDocId) GetSort() []map[string]interface{}
GetSort returns the Sort field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetSortOk ¶
func (o *KnnSearchRequestByDocId) GetSortOk() ([]map[string]interface{}, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetSource ¶
func (o *KnnSearchRequestByDocId) GetSource() map[string]interface{}
GetSource returns the Source field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetSourceOk ¶
func (o *KnnSearchRequestByDocId) GetSourceOk() (map[string]interface{}, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) GetTrackScores ¶
func (o *KnnSearchRequestByDocId) GetTrackScores() bool
GetTrackScores returns the TrackScores field value if set, zero value otherwise.
func (*KnnSearchRequestByDocId) GetTrackScoresOk ¶
func (o *KnnSearchRequestByDocId) GetTrackScoresOk() (*bool, bool)
GetTrackScoresOk returns a tuple with the TrackScores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByDocId) HasAggs ¶
func (o *KnnSearchRequestByDocId) HasAggs() bool
HasAggs returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasAttrFilter ¶
func (o *KnnSearchRequestByDocId) HasAttrFilter() bool
HasAttrFilter returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasExpressions ¶
func (o *KnnSearchRequestByDocId) HasExpressions() bool
HasExpressions returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasFulltextFilter ¶
func (o *KnnSearchRequestByDocId) HasFulltextFilter() bool
HasFulltextFilter returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasHighlight ¶
func (o *KnnSearchRequestByDocId) HasHighlight() bool
HasHighlight returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasLimit ¶
func (o *KnnSearchRequestByDocId) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasMaxMatches ¶
func (o *KnnSearchRequestByDocId) HasMaxMatches() bool
HasMaxMatches returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasOffset ¶
func (o *KnnSearchRequestByDocId) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasOptions ¶
func (o *KnnSearchRequestByDocId) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasProfile ¶
func (o *KnnSearchRequestByDocId) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasSort ¶
func (o *KnnSearchRequestByDocId) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasSource ¶
func (o *KnnSearchRequestByDocId) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*KnnSearchRequestByDocId) HasTrackScores ¶
func (o *KnnSearchRequestByDocId) HasTrackScores() bool
HasTrackScores returns a boolean if a field has been set.
func (KnnSearchRequestByDocId) MarshalJSON ¶
func (o KnnSearchRequestByDocId) MarshalJSON() ([]byte, error)
func (*KnnSearchRequestByDocId) SetAggs ¶
func (o *KnnSearchRequestByDocId) SetAggs(v map[string]Aggregation)
SetAggs gets a reference to the given map[string]Aggregation and assigns it to the Aggs field.
func (*KnnSearchRequestByDocId) SetAttrFilter ¶
func (o *KnnSearchRequestByDocId) SetAttrFilter(v map[string]interface{})
SetAttrFilter gets a reference to the given map[string]interface{} and assigns it to the AttrFilter field.
func (*KnnSearchRequestByDocId) SetDocId ¶
func (o *KnnSearchRequestByDocId) SetDocId(v int32)
SetDocId sets field value
func (*KnnSearchRequestByDocId) SetExpressions ¶
func (o *KnnSearchRequestByDocId) SetExpressions(v map[string]string)
SetExpressions gets a reference to the given map[string]string and assigns it to the Expressions field.
func (*KnnSearchRequestByDocId) SetField ¶
func (o *KnnSearchRequestByDocId) SetField(v string)
SetField sets field value
func (*KnnSearchRequestByDocId) SetFulltextFilter ¶
func (o *KnnSearchRequestByDocId) SetFulltextFilter(v map[string]interface{})
SetFulltextFilter gets a reference to the given map[string]interface{} and assigns it to the FulltextFilter field.
func (*KnnSearchRequestByDocId) SetHighlight ¶
func (o *KnnSearchRequestByDocId) SetHighlight(v Highlight)
SetHighlight gets a reference to the given Highlight and assigns it to the Highlight field.
func (*KnnSearchRequestByDocId) SetIndex ¶
func (o *KnnSearchRequestByDocId) SetIndex(v string)
SetIndex sets field value
func (*KnnSearchRequestByDocId) SetK ¶
func (o *KnnSearchRequestByDocId) SetK(v int32)
SetK sets field value
func (*KnnSearchRequestByDocId) SetLimit ¶
func (o *KnnSearchRequestByDocId) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*KnnSearchRequestByDocId) SetMaxMatches ¶
func (o *KnnSearchRequestByDocId) SetMaxMatches(v int32)
SetMaxMatches gets a reference to the given int32 and assigns it to the MaxMatches field.
func (*KnnSearchRequestByDocId) SetOffset ¶
func (o *KnnSearchRequestByDocId) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*KnnSearchRequestByDocId) SetOptions ¶
func (o *KnnSearchRequestByDocId) SetOptions(v map[string]interface{})
SetOptions gets a reference to the given map[string]interface{} and assigns it to the Options field.
func (*KnnSearchRequestByDocId) SetProfile ¶
func (o *KnnSearchRequestByDocId) SetProfile(v bool)
SetProfile gets a reference to the given bool and assigns it to the Profile field.
func (*KnnSearchRequestByDocId) SetSort ¶
func (o *KnnSearchRequestByDocId) SetSort(v []map[string]interface{})
SetSort gets a reference to the given []map[string]interface{} and assigns it to the Sort field.
func (*KnnSearchRequestByDocId) SetSource ¶
func (o *KnnSearchRequestByDocId) SetSource(v map[string]interface{})
SetSource gets a reference to the given map[string]interface{} and assigns it to the Source field.
func (*KnnSearchRequestByDocId) SetTrackScores ¶
func (o *KnnSearchRequestByDocId) SetTrackScores(v bool)
SetTrackScores gets a reference to the given bool and assigns it to the TrackScores field.
func (KnnSearchRequestByDocId) ToMap ¶
func (o KnnSearchRequestByDocId) ToMap() (map[string]interface{}, error)
func (*KnnSearchRequestByDocId) UnmarshalJSON ¶
func (o *KnnSearchRequestByDocId) UnmarshalJSON(data []byte) (err error)
type KnnSearchRequestByVector ¶
type KnnSearchRequestByVector struct { Index string `json:"index"` Field string `json:"field"` QueryVector []float32 `json:"query_vector"` K int32 `json:"k"` FulltextFilter map[string]interface{} `json:"fulltext_filter,omitempty"` AttrFilter map[string]interface{} `json:"attr_filter,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` MaxMatches *int32 `json:"max_matches,omitempty"` Sort []map[string]interface{} `json:"sort,omitempty"` Aggs *map[string]Aggregation `json:"aggs,omitempty"` Expressions *map[string]string `json:"expressions,omitempty"` Highlight *Highlight `json:"highlight,omitempty"` Source map[string]interface{} `json:"source,omitempty"` Options map[string]interface{} `json:"options,omitempty"` Profile *bool `json:"profile,omitempty"` TrackScores *bool `json:"track_scores,omitempty"` }
KnnSearchRequestByVector Request object for knn search operation
func NewKnnSearchRequestByVector ¶
func NewKnnSearchRequestByVector(index string, field string, queryVector []float32, k int32) *KnnSearchRequestByVector
NewKnnSearchRequestByVector instantiates a new KnnSearchRequestByVector 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 NewKnnSearchRequestByVectorWithDefaults ¶
func NewKnnSearchRequestByVectorWithDefaults() *KnnSearchRequestByVector
NewKnnSearchRequestByVectorWithDefaults instantiates a new KnnSearchRequestByVector 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 (*KnnSearchRequestByVector) GetAggs ¶
func (o *KnnSearchRequestByVector) GetAggs() map[string]Aggregation
GetAggs returns the Aggs field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetAggsOk ¶
func (o *KnnSearchRequestByVector) GetAggsOk() (*map[string]Aggregation, bool)
GetAggsOk returns a tuple with the Aggs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetAttrFilter ¶
func (o *KnnSearchRequestByVector) GetAttrFilter() map[string]interface{}
GetAttrFilter returns the AttrFilter field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetAttrFilterOk ¶
func (o *KnnSearchRequestByVector) GetAttrFilterOk() (map[string]interface{}, bool)
GetAttrFilterOk returns a tuple with the AttrFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetExpressions ¶
func (o *KnnSearchRequestByVector) GetExpressions() map[string]string
GetExpressions returns the Expressions field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetExpressionsOk ¶
func (o *KnnSearchRequestByVector) GetExpressionsOk() (*map[string]string, bool)
GetExpressionsOk returns a tuple with the Expressions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetField ¶
func (o *KnnSearchRequestByVector) GetField() string
GetField returns the Field field value
func (*KnnSearchRequestByVector) GetFieldOk ¶
func (o *KnnSearchRequestByVector) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetFulltextFilter ¶
func (o *KnnSearchRequestByVector) GetFulltextFilter() map[string]interface{}
GetFulltextFilter returns the FulltextFilter field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetFulltextFilterOk ¶
func (o *KnnSearchRequestByVector) GetFulltextFilterOk() (map[string]interface{}, bool)
GetFulltextFilterOk returns a tuple with the FulltextFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetHighlight ¶
func (o *KnnSearchRequestByVector) GetHighlight() Highlight
GetHighlight returns the Highlight field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetHighlightOk ¶
func (o *KnnSearchRequestByVector) GetHighlightOk() (*Highlight, bool)
GetHighlightOk returns a tuple with the Highlight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetIndex ¶
func (o *KnnSearchRequestByVector) GetIndex() string
GetIndex returns the Index field value
func (*KnnSearchRequestByVector) GetIndexOk ¶
func (o *KnnSearchRequestByVector) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetK ¶
func (o *KnnSearchRequestByVector) GetK() int32
GetK returns the K field value
func (*KnnSearchRequestByVector) GetKOk ¶
func (o *KnnSearchRequestByVector) GetKOk() (*int32, bool)
GetKOk returns a tuple with the K field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetLimit ¶
func (o *KnnSearchRequestByVector) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetLimitOk ¶
func (o *KnnSearchRequestByVector) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetMaxMatches ¶
func (o *KnnSearchRequestByVector) GetMaxMatches() int32
GetMaxMatches returns the MaxMatches field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetMaxMatchesOk ¶
func (o *KnnSearchRequestByVector) GetMaxMatchesOk() (*int32, bool)
GetMaxMatchesOk returns a tuple with the MaxMatches field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetOffset ¶
func (o *KnnSearchRequestByVector) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetOffsetOk ¶
func (o *KnnSearchRequestByVector) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetOptions ¶
func (o *KnnSearchRequestByVector) GetOptions() map[string]interface{}
GetOptions returns the Options field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetOptionsOk ¶
func (o *KnnSearchRequestByVector) GetOptionsOk() (map[string]interface{}, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetProfile ¶
func (o *KnnSearchRequestByVector) GetProfile() bool
GetProfile returns the Profile field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetProfileOk ¶
func (o *KnnSearchRequestByVector) GetProfileOk() (*bool, bool)
GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetQueryVector ¶
func (o *KnnSearchRequestByVector) GetQueryVector() []float32
GetQueryVector returns the QueryVector field value
func (*KnnSearchRequestByVector) GetQueryVectorOk ¶
func (o *KnnSearchRequestByVector) GetQueryVectorOk() ([]float32, bool)
GetQueryVectorOk returns a tuple with the QueryVector field value and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetSort ¶
func (o *KnnSearchRequestByVector) GetSort() []map[string]interface{}
GetSort returns the Sort field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetSortOk ¶
func (o *KnnSearchRequestByVector) GetSortOk() ([]map[string]interface{}, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetSource ¶
func (o *KnnSearchRequestByVector) GetSource() map[string]interface{}
GetSource returns the Source field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetSourceOk ¶
func (o *KnnSearchRequestByVector) GetSourceOk() (map[string]interface{}, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) GetTrackScores ¶
func (o *KnnSearchRequestByVector) GetTrackScores() bool
GetTrackScores returns the TrackScores field value if set, zero value otherwise.
func (*KnnSearchRequestByVector) GetTrackScoresOk ¶
func (o *KnnSearchRequestByVector) GetTrackScoresOk() (*bool, bool)
GetTrackScoresOk returns a tuple with the TrackScores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnnSearchRequestByVector) HasAggs ¶
func (o *KnnSearchRequestByVector) HasAggs() bool
HasAggs returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasAttrFilter ¶
func (o *KnnSearchRequestByVector) HasAttrFilter() bool
HasAttrFilter returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasExpressions ¶
func (o *KnnSearchRequestByVector) HasExpressions() bool
HasExpressions returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasFulltextFilter ¶
func (o *KnnSearchRequestByVector) HasFulltextFilter() bool
HasFulltextFilter returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasHighlight ¶
func (o *KnnSearchRequestByVector) HasHighlight() bool
HasHighlight returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasLimit ¶
func (o *KnnSearchRequestByVector) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasMaxMatches ¶
func (o *KnnSearchRequestByVector) HasMaxMatches() bool
HasMaxMatches returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasOffset ¶
func (o *KnnSearchRequestByVector) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasOptions ¶
func (o *KnnSearchRequestByVector) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasProfile ¶
func (o *KnnSearchRequestByVector) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasSort ¶
func (o *KnnSearchRequestByVector) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasSource ¶
func (o *KnnSearchRequestByVector) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*KnnSearchRequestByVector) HasTrackScores ¶
func (o *KnnSearchRequestByVector) HasTrackScores() bool
HasTrackScores returns a boolean if a field has been set.
func (KnnSearchRequestByVector) MarshalJSON ¶
func (o KnnSearchRequestByVector) MarshalJSON() ([]byte, error)
func (*KnnSearchRequestByVector) SetAggs ¶
func (o *KnnSearchRequestByVector) SetAggs(v map[string]Aggregation)
SetAggs gets a reference to the given map[string]Aggregation and assigns it to the Aggs field.
func (*KnnSearchRequestByVector) SetAttrFilter ¶
func (o *KnnSearchRequestByVector) SetAttrFilter(v map[string]interface{})
SetAttrFilter gets a reference to the given map[string]interface{} and assigns it to the AttrFilter field.
func (*KnnSearchRequestByVector) SetExpressions ¶
func (o *KnnSearchRequestByVector) SetExpressions(v map[string]string)
SetExpressions gets a reference to the given map[string]string and assigns it to the Expressions field.
func (*KnnSearchRequestByVector) SetField ¶
func (o *KnnSearchRequestByVector) SetField(v string)
SetField sets field value
func (*KnnSearchRequestByVector) SetFulltextFilter ¶
func (o *KnnSearchRequestByVector) SetFulltextFilter(v map[string]interface{})
SetFulltextFilter gets a reference to the given map[string]interface{} and assigns it to the FulltextFilter field.
func (*KnnSearchRequestByVector) SetHighlight ¶
func (o *KnnSearchRequestByVector) SetHighlight(v Highlight)
SetHighlight gets a reference to the given Highlight and assigns it to the Highlight field.
func (*KnnSearchRequestByVector) SetIndex ¶
func (o *KnnSearchRequestByVector) SetIndex(v string)
SetIndex sets field value
func (*KnnSearchRequestByVector) SetK ¶
func (o *KnnSearchRequestByVector) SetK(v int32)
SetK sets field value
func (*KnnSearchRequestByVector) SetLimit ¶
func (o *KnnSearchRequestByVector) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*KnnSearchRequestByVector) SetMaxMatches ¶
func (o *KnnSearchRequestByVector) SetMaxMatches(v int32)
SetMaxMatches gets a reference to the given int32 and assigns it to the MaxMatches field.
func (*KnnSearchRequestByVector) SetOffset ¶
func (o *KnnSearchRequestByVector) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*KnnSearchRequestByVector) SetOptions ¶
func (o *KnnSearchRequestByVector) SetOptions(v map[string]interface{})
SetOptions gets a reference to the given map[string]interface{} and assigns it to the Options field.
func (*KnnSearchRequestByVector) SetProfile ¶
func (o *KnnSearchRequestByVector) SetProfile(v bool)
SetProfile gets a reference to the given bool and assigns it to the Profile field.
func (*KnnSearchRequestByVector) SetQueryVector ¶
func (o *KnnSearchRequestByVector) SetQueryVector(v []float32)
SetQueryVector sets field value
func (*KnnSearchRequestByVector) SetSort ¶
func (o *KnnSearchRequestByVector) SetSort(v []map[string]interface{})
SetSort gets a reference to the given []map[string]interface{} and assigns it to the Sort field.
func (*KnnSearchRequestByVector) SetSource ¶
func (o *KnnSearchRequestByVector) SetSource(v map[string]interface{})
SetSource gets a reference to the given map[string]interface{} and assigns it to the Source field.
func (*KnnSearchRequestByVector) SetTrackScores ¶
func (o *KnnSearchRequestByVector) SetTrackScores(v bool)
SetTrackScores gets a reference to the given bool and assigns it to the TrackScores field.
func (KnnSearchRequestByVector) ToMap ¶
func (o KnnSearchRequestByVector) ToMap() (map[string]interface{}, error)
func (*KnnSearchRequestByVector) UnmarshalJSON ¶
func (o *KnnSearchRequestByVector) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type MatchFilter ¶
type MatchFilter struct { QueryString string `json:"query_string"` QueryFields string `json:"query_fields"` }
MatchFilter Query match filter
func NewMatchFilter ¶
func NewMatchFilter(queryString string, queryFields string) *MatchFilter
NewMatchFilter instantiates a new MatchFilter 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 NewMatchFilterWithDefaults ¶
func NewMatchFilterWithDefaults() *MatchFilter
NewMatchFilterWithDefaults instantiates a new MatchFilter 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 (*MatchFilter) GetQueryFields ¶
func (o *MatchFilter) GetQueryFields() string
GetQueryFields returns the QueryFields field value
func (*MatchFilter) GetQueryFieldsOk ¶
func (o *MatchFilter) GetQueryFieldsOk() (*string, bool)
GetQueryFieldsOk returns a tuple with the QueryFields field value and a boolean to check if the value has been set.
func (*MatchFilter) GetQueryString ¶
func (o *MatchFilter) GetQueryString() string
GetQueryString returns the QueryString field value
func (*MatchFilter) GetQueryStringOk ¶
func (o *MatchFilter) GetQueryStringOk() (*string, bool)
GetQueryStringOk returns a tuple with the QueryString field value and a boolean to check if the value has been set.
func (MatchFilter) MarshalJSON ¶
func (o MatchFilter) MarshalJSON() ([]byte, error)
func (*MatchFilter) SetQueryFields ¶
func (o *MatchFilter) SetQueryFields(v string)
SetQueryFields sets field value
func (*MatchFilter) SetQueryString ¶
func (o *MatchFilter) SetQueryString(v string)
SetQueryString sets field value
func (MatchFilter) ToMap ¶
func (o MatchFilter) ToMap() (map[string]interface{}, error)
func (*MatchFilter) UnmarshalJSON ¶
func (o *MatchFilter) UnmarshalJSON(data []byte) (err error)
type MatchOp ¶
type MatchOp struct {
QueryInfo map[string]interface{} `json:"query_info"`
}
MatchOp Query match expression with logical operator
func NewMatchOp ¶
NewMatchOp instantiates a new MatchOp 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 NewMatchOpWithDefaults ¶
func NewMatchOpWithDefaults() *MatchOp
NewMatchOpWithDefaults instantiates a new MatchOp 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 (*MatchOp) GetQueryInfo ¶
GetQueryInfo returns the QueryInfo field value
func (*MatchOp) GetQueryInfoOk ¶
GetQueryInfoOk returns a tuple with the QueryInfo field value and a boolean to check if the value has been set.
func (MatchOp) MarshalJSON ¶
func (*MatchOp) SetQueryInfo ¶
SetQueryInfo sets field value
func (*MatchOp) UnmarshalJSON ¶
type MatchOpFilter ¶
type MatchOpFilter struct { QueryString string `json:"query_string"` QueryFields string `json:"query_fields"` Operator string `json:"operator"` }
MatchOpFilter Query match expression
func NewMatchOpFilter ¶
func NewMatchOpFilter(queryString string, queryFields string, operator string) *MatchOpFilter
NewMatchOpFilter instantiates a new MatchOpFilter 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 NewMatchOpFilterWithDefaults ¶
func NewMatchOpFilterWithDefaults() *MatchOpFilter
NewMatchOpFilterWithDefaults instantiates a new MatchOpFilter 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 (*MatchOpFilter) GetOperator ¶
func (o *MatchOpFilter) GetOperator() string
GetOperator returns the Operator field value
func (*MatchOpFilter) GetOperatorOk ¶
func (o *MatchOpFilter) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.
func (*MatchOpFilter) GetQueryFields ¶
func (o *MatchOpFilter) GetQueryFields() string
GetQueryFields returns the QueryFields field value
func (*MatchOpFilter) GetQueryFieldsOk ¶
func (o *MatchOpFilter) GetQueryFieldsOk() (*string, bool)
GetQueryFieldsOk returns a tuple with the QueryFields field value and a boolean to check if the value has been set.
func (*MatchOpFilter) GetQueryString ¶
func (o *MatchOpFilter) GetQueryString() string
GetQueryString returns the QueryString field value
func (*MatchOpFilter) GetQueryStringOk ¶
func (o *MatchOpFilter) GetQueryStringOk() (*string, bool)
GetQueryStringOk returns a tuple with the QueryString field value and a boolean to check if the value has been set.
func (MatchOpFilter) MarshalJSON ¶
func (o MatchOpFilter) MarshalJSON() ([]byte, error)
func (*MatchOpFilter) SetOperator ¶
func (o *MatchOpFilter) SetOperator(v string)
SetOperator sets field value
func (*MatchOpFilter) SetQueryFields ¶
func (o *MatchOpFilter) SetQueryFields(v string)
SetQueryFields sets field value
func (*MatchOpFilter) SetQueryString ¶
func (o *MatchOpFilter) SetQueryString(v string)
SetQueryString sets field value
func (MatchOpFilter) ToMap ¶
func (o MatchOpFilter) ToMap() (map[string]interface{}, error)
func (*MatchOpFilter) UnmarshalJSON ¶
func (o *MatchOpFilter) UnmarshalJSON(data []byte) (err error)
type MatchPhraseFilter ¶
type MatchPhraseFilter struct { QueryPhrase string `json:"query_phrase"` QueryFields string `json:"query_fields"` }
MatchPhraseFilter Query match expression
func NewMatchPhraseFilter ¶
func NewMatchPhraseFilter(queryPhrase string, queryFields string) *MatchPhraseFilter
NewMatchPhraseFilter instantiates a new MatchPhraseFilter 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 NewMatchPhraseFilterWithDefaults ¶
func NewMatchPhraseFilterWithDefaults() *MatchPhraseFilter
NewMatchPhraseFilterWithDefaults instantiates a new MatchPhraseFilter 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 (*MatchPhraseFilter) GetQueryFields ¶
func (o *MatchPhraseFilter) GetQueryFields() string
GetQueryFields returns the QueryFields field value
func (*MatchPhraseFilter) GetQueryFieldsOk ¶
func (o *MatchPhraseFilter) GetQueryFieldsOk() (*string, bool)
GetQueryFieldsOk returns a tuple with the QueryFields field value and a boolean to check if the value has been set.
func (*MatchPhraseFilter) GetQueryPhrase ¶
func (o *MatchPhraseFilter) GetQueryPhrase() string
GetQueryPhrase returns the QueryPhrase field value
func (*MatchPhraseFilter) GetQueryPhraseOk ¶
func (o *MatchPhraseFilter) GetQueryPhraseOk() (*string, bool)
GetQueryPhraseOk returns a tuple with the QueryPhrase field value and a boolean to check if the value has been set.
func (MatchPhraseFilter) MarshalJSON ¶
func (o MatchPhraseFilter) MarshalJSON() ([]byte, error)
func (*MatchPhraseFilter) SetQueryFields ¶
func (o *MatchPhraseFilter) SetQueryFields(v string)
SetQueryFields sets field value
func (*MatchPhraseFilter) SetQueryPhrase ¶
func (o *MatchPhraseFilter) SetQueryPhrase(v string)
SetQueryPhrase sets field value
func (MatchPhraseFilter) ToMap ¶
func (o MatchPhraseFilter) ToMap() (map[string]interface{}, error)
func (*MatchPhraseFilter) UnmarshalJSON ¶
func (o *MatchPhraseFilter) UnmarshalJSON(data []byte) (err error)
type NotFilterBoolean ¶
type NotFilterBoolean struct { FilterField string `json:"filter_field"` Operation string `json:"operation"` FilterValue bool `json:"filter_value"` }
NotFilterBoolean Query filter
func NewNotFilterBoolean ¶
func NewNotFilterBoolean(filterField string, operation string, filterValue bool) *NotFilterBoolean
NewNotFilterBoolean instantiates a new NotFilterBoolean 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 NewNotFilterBooleanWithDefaults ¶
func NewNotFilterBooleanWithDefaults() *NotFilterBoolean
NewNotFilterBooleanWithDefaults instantiates a new NotFilterBoolean 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 (*NotFilterBoolean) GetFilterField ¶
func (o *NotFilterBoolean) GetFilterField() string
GetFilterField returns the FilterField field value
func (*NotFilterBoolean) GetFilterFieldOk ¶
func (o *NotFilterBoolean) GetFilterFieldOk() (*string, bool)
GetFilterFieldOk returns a tuple with the FilterField field value and a boolean to check if the value has been set.
func (*NotFilterBoolean) GetFilterValue ¶
func (o *NotFilterBoolean) GetFilterValue() bool
GetFilterValue returns the FilterValue field value
func (*NotFilterBoolean) GetFilterValueOk ¶
func (o *NotFilterBoolean) GetFilterValueOk() (*bool, bool)
GetFilterValueOk returns a tuple with the FilterValue field value and a boolean to check if the value has been set.
func (*NotFilterBoolean) GetOperation ¶
func (o *NotFilterBoolean) GetOperation() string
GetOperation returns the Operation field value
func (*NotFilterBoolean) GetOperationOk ¶
func (o *NotFilterBoolean) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (NotFilterBoolean) MarshalJSON ¶
func (o NotFilterBoolean) MarshalJSON() ([]byte, error)
func (*NotFilterBoolean) SetFilterField ¶
func (o *NotFilterBoolean) SetFilterField(v string)
SetFilterField sets field value
func (*NotFilterBoolean) SetFilterValue ¶
func (o *NotFilterBoolean) SetFilterValue(v bool)
SetFilterValue sets field value
func (*NotFilterBoolean) SetOperation ¶
func (o *NotFilterBoolean) SetOperation(v string)
SetOperation sets field value
func (NotFilterBoolean) ToMap ¶
func (o NotFilterBoolean) ToMap() (map[string]interface{}, error)
func (*NotFilterBoolean) UnmarshalJSON ¶
func (o *NotFilterBoolean) UnmarshalJSON(data []byte) (err error)
type NotFilterNumber ¶
type NotFilterNumber struct { FilterField string `json:"filter_field"` Operation string `json:"operation"` FilterValue float32 `json:"filter_value"` }
NotFilterNumber Query filter
func NewNotFilterNumber ¶
func NewNotFilterNumber(filterField string, operation string, filterValue float32) *NotFilterNumber
NewNotFilterNumber instantiates a new NotFilterNumber 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 NewNotFilterNumberWithDefaults ¶
func NewNotFilterNumberWithDefaults() *NotFilterNumber
NewNotFilterNumberWithDefaults instantiates a new NotFilterNumber 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 (*NotFilterNumber) GetFilterField ¶
func (o *NotFilterNumber) GetFilterField() string
GetFilterField returns the FilterField field value
func (*NotFilterNumber) GetFilterFieldOk ¶
func (o *NotFilterNumber) GetFilterFieldOk() (*string, bool)
GetFilterFieldOk returns a tuple with the FilterField field value and a boolean to check if the value has been set.
func (*NotFilterNumber) GetFilterValue ¶
func (o *NotFilterNumber) GetFilterValue() float32
GetFilterValue returns the FilterValue field value
func (*NotFilterNumber) GetFilterValueOk ¶
func (o *NotFilterNumber) GetFilterValueOk() (*float32, bool)
GetFilterValueOk returns a tuple with the FilterValue field value and a boolean to check if the value has been set.
func (*NotFilterNumber) GetOperation ¶
func (o *NotFilterNumber) GetOperation() string
GetOperation returns the Operation field value
func (*NotFilterNumber) GetOperationOk ¶
func (o *NotFilterNumber) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (NotFilterNumber) MarshalJSON ¶
func (o NotFilterNumber) MarshalJSON() ([]byte, error)
func (*NotFilterNumber) SetFilterField ¶
func (o *NotFilterNumber) SetFilterField(v string)
SetFilterField sets field value
func (*NotFilterNumber) SetFilterValue ¶
func (o *NotFilterNumber) SetFilterValue(v float32)
SetFilterValue sets field value
func (*NotFilterNumber) SetOperation ¶
func (o *NotFilterNumber) SetOperation(v string)
SetOperation sets field value
func (NotFilterNumber) ToMap ¶
func (o NotFilterNumber) ToMap() (map[string]interface{}, error)
func (*NotFilterNumber) UnmarshalJSON ¶
func (o *NotFilterNumber) UnmarshalJSON(data []byte) (err error)
type NotFilterString ¶
type NotFilterString struct { FilterField string `json:"filter_field"` Operation string `json:"operation"` FilterValue string `json:"filter_value"` }
NotFilterString Query filter
func NewNotFilterString ¶
func NewNotFilterString(filterField string, operation string, filterValue string) *NotFilterString
NewNotFilterString instantiates a new NotFilterString 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 NewNotFilterStringWithDefaults ¶
func NewNotFilterStringWithDefaults() *NotFilterString
NewNotFilterStringWithDefaults instantiates a new NotFilterString 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 (*NotFilterString) GetFilterField ¶
func (o *NotFilterString) GetFilterField() string
GetFilterField returns the FilterField field value
func (*NotFilterString) GetFilterFieldOk ¶
func (o *NotFilterString) GetFilterFieldOk() (*string, bool)
GetFilterFieldOk returns a tuple with the FilterField field value and a boolean to check if the value has been set.
func (*NotFilterString) GetFilterValue ¶
func (o *NotFilterString) GetFilterValue() string
GetFilterValue returns the FilterValue field value
func (*NotFilterString) GetFilterValueOk ¶
func (o *NotFilterString) GetFilterValueOk() (*string, bool)
GetFilterValueOk returns a tuple with the FilterValue field value and a boolean to check if the value has been set.
func (*NotFilterString) GetOperation ¶
func (o *NotFilterString) GetOperation() string
GetOperation returns the Operation field value
func (*NotFilterString) GetOperationOk ¶
func (o *NotFilterString) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (NotFilterString) MarshalJSON ¶
func (o NotFilterString) MarshalJSON() ([]byte, error)
func (*NotFilterString) SetFilterField ¶
func (o *NotFilterString) SetFilterField(v string)
SetFilterField sets field value
func (*NotFilterString) SetFilterValue ¶
func (o *NotFilterString) SetFilterValue(v string)
SetFilterValue sets field value
func (*NotFilterString) SetOperation ¶
func (o *NotFilterString) SetOperation(v string)
SetOperation sets field value
func (NotFilterString) ToMap ¶
func (o NotFilterString) ToMap() (map[string]interface{}, error)
func (*NotFilterString) UnmarshalJSON ¶
func (o *NotFilterString) UnmarshalJSON(data []byte) (err error)
type NullableAggregation ¶
type NullableAggregation struct {
// contains filtered or unexported fields
}
func NewNullableAggregation ¶
func NewNullableAggregation(val *Aggregation) *NullableAggregation
func (NullableAggregation) Get ¶
func (v NullableAggregation) Get() *Aggregation
func (NullableAggregation) IsSet ¶
func (v NullableAggregation) IsSet() bool
func (NullableAggregation) MarshalJSON ¶
func (v NullableAggregation) MarshalJSON() ([]byte, error)
func (*NullableAggregation) Set ¶
func (v *NullableAggregation) Set(val *Aggregation)
func (*NullableAggregation) UnmarshalJSON ¶
func (v *NullableAggregation) UnmarshalJSON(src []byte) error
func (*NullableAggregation) Unset ¶
func (v *NullableAggregation) Unset()
type NullableAggregationSortInnerValue ¶
type NullableAggregationSortInnerValue struct {
// contains filtered or unexported fields
}
func NewNullableAggregationSortInnerValue ¶
func NewNullableAggregationSortInnerValue(val *AggregationSortInnerValue) *NullableAggregationSortInnerValue
func (NullableAggregationSortInnerValue) Get ¶
func (v NullableAggregationSortInnerValue) Get() *AggregationSortInnerValue
func (NullableAggregationSortInnerValue) IsSet ¶
func (v NullableAggregationSortInnerValue) IsSet() bool
func (NullableAggregationSortInnerValue) MarshalJSON ¶
func (v NullableAggregationSortInnerValue) MarshalJSON() ([]byte, error)
func (*NullableAggregationSortInnerValue) Set ¶
func (v *NullableAggregationSortInnerValue) Set(val *AggregationSortInnerValue)
func (*NullableAggregationSortInnerValue) UnmarshalJSON ¶
func (v *NullableAggregationSortInnerValue) UnmarshalJSON(src []byte) error
func (*NullableAggregationSortInnerValue) Unset ¶
func (v *NullableAggregationSortInnerValue) Unset()
type NullableAggregationTerms ¶
type NullableAggregationTerms struct {
// contains filtered or unexported fields
}
func NewNullableAggregationTerms ¶
func NewNullableAggregationTerms(val *AggregationTerms) *NullableAggregationTerms
func (NullableAggregationTerms) Get ¶
func (v NullableAggregationTerms) Get() *AggregationTerms
func (NullableAggregationTerms) IsSet ¶
func (v NullableAggregationTerms) IsSet() bool
func (NullableAggregationTerms) MarshalJSON ¶
func (v NullableAggregationTerms) MarshalJSON() ([]byte, error)
func (*NullableAggregationTerms) Set ¶
func (v *NullableAggregationTerms) Set(val *AggregationTerms)
func (*NullableAggregationTerms) UnmarshalJSON ¶
func (v *NullableAggregationTerms) UnmarshalJSON(src []byte) error
func (*NullableAggregationTerms) Unset ¶
func (v *NullableAggregationTerms) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBoolFilter ¶
type NullableBoolFilter struct {
// contains filtered or unexported fields
}
func NewNullableBoolFilter ¶
func NewNullableBoolFilter(val *BoolFilter) *NullableBoolFilter
func (NullableBoolFilter) Get ¶
func (v NullableBoolFilter) Get() *BoolFilter
func (NullableBoolFilter) IsSet ¶
func (v NullableBoolFilter) IsSet() bool
func (NullableBoolFilter) MarshalJSON ¶
func (v NullableBoolFilter) MarshalJSON() ([]byte, error)
func (*NullableBoolFilter) Set ¶
func (v *NullableBoolFilter) Set(val *BoolFilter)
func (*NullableBoolFilter) UnmarshalJSON ¶
func (v *NullableBoolFilter) UnmarshalJSON(src []byte) error
func (*NullableBoolFilter) Unset ¶
func (v *NullableBoolFilter) Unset()
type NullableBulkResponse ¶
type NullableBulkResponse struct {
// contains filtered or unexported fields
}
func NewNullableBulkResponse ¶
func NewNullableBulkResponse(val *BulkResponse) *NullableBulkResponse
func (NullableBulkResponse) Get ¶
func (v NullableBulkResponse) Get() *BulkResponse
func (NullableBulkResponse) IsSet ¶
func (v NullableBulkResponse) IsSet() bool
func (NullableBulkResponse) MarshalJSON ¶
func (v NullableBulkResponse) MarshalJSON() ([]byte, error)
func (*NullableBulkResponse) Set ¶
func (v *NullableBulkResponse) Set(val *BulkResponse)
func (*NullableBulkResponse) UnmarshalJSON ¶
func (v *NullableBulkResponse) UnmarshalJSON(src []byte) error
func (*NullableBulkResponse) Unset ¶
func (v *NullableBulkResponse) Unset()
type NullableDeleteDocumentRequest ¶
type NullableDeleteDocumentRequest struct {
// contains filtered or unexported fields
}
func NewNullableDeleteDocumentRequest ¶
func NewNullableDeleteDocumentRequest(val *DeleteDocumentRequest) *NullableDeleteDocumentRequest
func (NullableDeleteDocumentRequest) Get ¶
func (v NullableDeleteDocumentRequest) Get() *DeleteDocumentRequest
func (NullableDeleteDocumentRequest) IsSet ¶
func (v NullableDeleteDocumentRequest) IsSet() bool
func (NullableDeleteDocumentRequest) MarshalJSON ¶
func (v NullableDeleteDocumentRequest) MarshalJSON() ([]byte, error)
func (*NullableDeleteDocumentRequest) Set ¶
func (v *NullableDeleteDocumentRequest) Set(val *DeleteDocumentRequest)
func (*NullableDeleteDocumentRequest) UnmarshalJSON ¶
func (v *NullableDeleteDocumentRequest) UnmarshalJSON(src []byte) error
func (*NullableDeleteDocumentRequest) Unset ¶
func (v *NullableDeleteDocumentRequest) Unset()
type NullableDeleteResponse ¶
type NullableDeleteResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteResponse ¶
func NewNullableDeleteResponse(val *DeleteResponse) *NullableDeleteResponse
func (NullableDeleteResponse) Get ¶
func (v NullableDeleteResponse) Get() *DeleteResponse
func (NullableDeleteResponse) IsSet ¶
func (v NullableDeleteResponse) IsSet() bool
func (NullableDeleteResponse) MarshalJSON ¶
func (v NullableDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteResponse) Set ¶
func (v *NullableDeleteResponse) Set(val *DeleteResponse)
func (*NullableDeleteResponse) UnmarshalJSON ¶
func (v *NullableDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteResponse) Unset ¶
func (v *NullableDeleteResponse) Unset()
type NullableEqualsFilter ¶
type NullableEqualsFilter struct {
// contains filtered or unexported fields
}
func NewNullableEqualsFilter ¶
func NewNullableEqualsFilter(val *EqualsFilter) *NullableEqualsFilter
func (NullableEqualsFilter) Get ¶
func (v NullableEqualsFilter) Get() *EqualsFilter
func (NullableEqualsFilter) IsSet ¶
func (v NullableEqualsFilter) IsSet() bool
func (NullableEqualsFilter) MarshalJSON ¶
func (v NullableEqualsFilter) MarshalJSON() ([]byte, error)
func (*NullableEqualsFilter) Set ¶
func (v *NullableEqualsFilter) Set(val *EqualsFilter)
func (*NullableEqualsFilter) UnmarshalJSON ¶
func (v *NullableEqualsFilter) UnmarshalJSON(src []byte) error
func (*NullableEqualsFilter) Unset ¶
func (v *NullableEqualsFilter) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableErrorResponseString ¶
type NullableErrorResponseString struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponseString ¶
func NewNullableErrorResponseString(val *ErrorResponseString) *NullableErrorResponseString
func (NullableErrorResponseString) Get ¶
func (v NullableErrorResponseString) Get() *ErrorResponseString
func (NullableErrorResponseString) IsSet ¶
func (v NullableErrorResponseString) IsSet() bool
func (NullableErrorResponseString) MarshalJSON ¶
func (v NullableErrorResponseString) MarshalJSON() ([]byte, error)
func (*NullableErrorResponseString) Set ¶
func (v *NullableErrorResponseString) Set(val *ErrorResponseString)
func (*NullableErrorResponseString) UnmarshalJSON ¶
func (v *NullableErrorResponseString) UnmarshalJSON(src []byte) error
func (*NullableErrorResponseString) Unset ¶
func (v *NullableErrorResponseString) Unset()
type NullableFacet ¶
type NullableFacet struct {
// contains filtered or unexported fields
}
func NewNullableFacet ¶
func NewNullableFacet(val *Facet) *NullableFacet
func (NullableFacet) Get ¶
func (v NullableFacet) Get() *Facet
func (NullableFacet) IsSet ¶
func (v NullableFacet) IsSet() bool
func (NullableFacet) MarshalJSON ¶
func (v NullableFacet) MarshalJSON() ([]byte, error)
func (*NullableFacet) Set ¶
func (v *NullableFacet) Set(val *Facet)
func (*NullableFacet) UnmarshalJSON ¶
func (v *NullableFacet) UnmarshalJSON(src []byte) error
func (*NullableFacet) Unset ¶
func (v *NullableFacet) Unset()
type NullableFilterBoolean ¶
type NullableFilterBoolean struct {
// contains filtered or unexported fields
}
func NewNullableFilterBoolean ¶
func NewNullableFilterBoolean(val *FilterBoolean) *NullableFilterBoolean
func (NullableFilterBoolean) Get ¶
func (v NullableFilterBoolean) Get() *FilterBoolean
func (NullableFilterBoolean) IsSet ¶
func (v NullableFilterBoolean) IsSet() bool
func (NullableFilterBoolean) MarshalJSON ¶
func (v NullableFilterBoolean) MarshalJSON() ([]byte, error)
func (*NullableFilterBoolean) Set ¶
func (v *NullableFilterBoolean) Set(val *FilterBoolean)
func (*NullableFilterBoolean) UnmarshalJSON ¶
func (v *NullableFilterBoolean) UnmarshalJSON(src []byte) error
func (*NullableFilterBoolean) Unset ¶
func (v *NullableFilterBoolean) Unset()
type NullableFilterNumber ¶
type NullableFilterNumber struct {
// contains filtered or unexported fields
}
func NewNullableFilterNumber ¶
func NewNullableFilterNumber(val *FilterNumber) *NullableFilterNumber
func (NullableFilterNumber) Get ¶
func (v NullableFilterNumber) Get() *FilterNumber
func (NullableFilterNumber) IsSet ¶
func (v NullableFilterNumber) IsSet() bool
func (NullableFilterNumber) MarshalJSON ¶
func (v NullableFilterNumber) MarshalJSON() ([]byte, error)
func (*NullableFilterNumber) Set ¶
func (v *NullableFilterNumber) Set(val *FilterNumber)
func (*NullableFilterNumber) UnmarshalJSON ¶
func (v *NullableFilterNumber) UnmarshalJSON(src []byte) error
func (*NullableFilterNumber) Unset ¶
func (v *NullableFilterNumber) Unset()
type NullableFilterString ¶
type NullableFilterString struct {
// contains filtered or unexported fields
}
func NewNullableFilterString ¶
func NewNullableFilterString(val *FilterString) *NullableFilterString
func (NullableFilterString) Get ¶
func (v NullableFilterString) Get() *FilterString
func (NullableFilterString) IsSet ¶
func (v NullableFilterString) IsSet() bool
func (NullableFilterString) MarshalJSON ¶
func (v NullableFilterString) MarshalJSON() ([]byte, error)
func (*NullableFilterString) Set ¶
func (v *NullableFilterString) Set(val *FilterString)
func (*NullableFilterString) UnmarshalJSON ¶
func (v *NullableFilterString) UnmarshalJSON(src []byte) error
func (*NullableFilterString) Unset ¶
func (v *NullableFilterString) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGeoDistanceFilter ¶
type NullableGeoDistanceFilter struct {
// contains filtered or unexported fields
}
func NewNullableGeoDistanceFilter ¶
func NewNullableGeoDistanceFilter(val *GeoDistanceFilter) *NullableGeoDistanceFilter
func (NullableGeoDistanceFilter) Get ¶
func (v NullableGeoDistanceFilter) Get() *GeoDistanceFilter
func (NullableGeoDistanceFilter) IsSet ¶
func (v NullableGeoDistanceFilter) IsSet() bool
func (NullableGeoDistanceFilter) MarshalJSON ¶
func (v NullableGeoDistanceFilter) MarshalJSON() ([]byte, error)
func (*NullableGeoDistanceFilter) Set ¶
func (v *NullableGeoDistanceFilter) Set(val *GeoDistanceFilter)
func (*NullableGeoDistanceFilter) UnmarshalJSON ¶
func (v *NullableGeoDistanceFilter) UnmarshalJSON(src []byte) error
func (*NullableGeoDistanceFilter) Unset ¶
func (v *NullableGeoDistanceFilter) Unset()
type NullableGeoDistanceFilterLocationAnchor ¶
type NullableGeoDistanceFilterLocationAnchor struct {
// contains filtered or unexported fields
}
func NewNullableGeoDistanceFilterLocationAnchor ¶
func NewNullableGeoDistanceFilterLocationAnchor(val *GeoDistanceFilterLocationAnchor) *NullableGeoDistanceFilterLocationAnchor
func (NullableGeoDistanceFilterLocationAnchor) IsSet ¶
func (v NullableGeoDistanceFilterLocationAnchor) IsSet() bool
func (NullableGeoDistanceFilterLocationAnchor) MarshalJSON ¶
func (v NullableGeoDistanceFilterLocationAnchor) MarshalJSON() ([]byte, error)
func (*NullableGeoDistanceFilterLocationAnchor) Set ¶
func (v *NullableGeoDistanceFilterLocationAnchor) Set(val *GeoDistanceFilterLocationAnchor)
func (*NullableGeoDistanceFilterLocationAnchor) UnmarshalJSON ¶
func (v *NullableGeoDistanceFilterLocationAnchor) UnmarshalJSON(src []byte) error
func (*NullableGeoDistanceFilterLocationAnchor) Unset ¶
func (v *NullableGeoDistanceFilterLocationAnchor) Unset()
type NullableHighlight ¶
type NullableHighlight struct {
// contains filtered or unexported fields
}
func NewNullableHighlight ¶
func NewNullableHighlight(val *Highlight) *NullableHighlight
func (NullableHighlight) Get ¶
func (v NullableHighlight) Get() *Highlight
func (NullableHighlight) IsSet ¶
func (v NullableHighlight) IsSet() bool
func (NullableHighlight) MarshalJSON ¶
func (v NullableHighlight) MarshalJSON() ([]byte, error)
func (*NullableHighlight) Set ¶
func (v *NullableHighlight) Set(val *Highlight)
func (*NullableHighlight) UnmarshalJSON ¶
func (v *NullableHighlight) UnmarshalJSON(src []byte) error
func (*NullableHighlight) Unset ¶
func (v *NullableHighlight) Unset()
type NullableHighlightField ¶
type NullableHighlightField struct {
// contains filtered or unexported fields
}
func NewNullableHighlightField ¶
func NewNullableHighlightField(val *HighlightField) *NullableHighlightField
func (NullableHighlightField) Get ¶
func (v NullableHighlightField) Get() *HighlightField
func (NullableHighlightField) IsSet ¶
func (v NullableHighlightField) IsSet() bool
func (NullableHighlightField) MarshalJSON ¶
func (v NullableHighlightField) MarshalJSON() ([]byte, error)
func (*NullableHighlightField) Set ¶
func (v *NullableHighlightField) Set(val *HighlightField)
func (*NullableHighlightField) UnmarshalJSON ¶
func (v *NullableHighlightField) UnmarshalJSON(src []byte) error
func (*NullableHighlightField) Unset ¶
func (v *NullableHighlightField) Unset()
type NullableInFilter ¶
type NullableInFilter struct {
// contains filtered or unexported fields
}
func NewNullableInFilter ¶
func NewNullableInFilter(val *InFilter) *NullableInFilter
func (NullableInFilter) Get ¶
func (v NullableInFilter) Get() *InFilter
func (NullableInFilter) IsSet ¶
func (v NullableInFilter) IsSet() bool
func (NullableInFilter) MarshalJSON ¶
func (v NullableInFilter) MarshalJSON() ([]byte, error)
func (*NullableInFilter) Set ¶
func (v *NullableInFilter) Set(val *InFilter)
func (*NullableInFilter) UnmarshalJSON ¶
func (v *NullableInFilter) UnmarshalJSON(src []byte) error
func (*NullableInFilter) Unset ¶
func (v *NullableInFilter) Unset()
type NullableInsertDocumentRequest ¶
type NullableInsertDocumentRequest struct {
// contains filtered or unexported fields
}
func NewNullableInsertDocumentRequest ¶
func NewNullableInsertDocumentRequest(val *InsertDocumentRequest) *NullableInsertDocumentRequest
func (NullableInsertDocumentRequest) Get ¶
func (v NullableInsertDocumentRequest) Get() *InsertDocumentRequest
func (NullableInsertDocumentRequest) IsSet ¶
func (v NullableInsertDocumentRequest) IsSet() bool
func (NullableInsertDocumentRequest) MarshalJSON ¶
func (v NullableInsertDocumentRequest) MarshalJSON() ([]byte, error)
func (*NullableInsertDocumentRequest) Set ¶
func (v *NullableInsertDocumentRequest) Set(val *InsertDocumentRequest)
func (*NullableInsertDocumentRequest) UnmarshalJSON ¶
func (v *NullableInsertDocumentRequest) UnmarshalJSON(src []byte) error
func (*NullableInsertDocumentRequest) Unset ¶
func (v *NullableInsertDocumentRequest) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableKnnSearchRequestByDocId ¶
type NullableKnnSearchRequestByDocId struct {
// contains filtered or unexported fields
}
func NewNullableKnnSearchRequestByDocId ¶
func NewNullableKnnSearchRequestByDocId(val *KnnSearchRequestByDocId) *NullableKnnSearchRequestByDocId
func (NullableKnnSearchRequestByDocId) Get ¶
func (v NullableKnnSearchRequestByDocId) Get() *KnnSearchRequestByDocId
func (NullableKnnSearchRequestByDocId) IsSet ¶
func (v NullableKnnSearchRequestByDocId) IsSet() bool
func (NullableKnnSearchRequestByDocId) MarshalJSON ¶
func (v NullableKnnSearchRequestByDocId) MarshalJSON() ([]byte, error)
func (*NullableKnnSearchRequestByDocId) Set ¶
func (v *NullableKnnSearchRequestByDocId) Set(val *KnnSearchRequestByDocId)
func (*NullableKnnSearchRequestByDocId) UnmarshalJSON ¶
func (v *NullableKnnSearchRequestByDocId) UnmarshalJSON(src []byte) error
func (*NullableKnnSearchRequestByDocId) Unset ¶
func (v *NullableKnnSearchRequestByDocId) Unset()
type NullableKnnSearchRequestByVector ¶
type NullableKnnSearchRequestByVector struct {
// contains filtered or unexported fields
}
func NewNullableKnnSearchRequestByVector ¶
func NewNullableKnnSearchRequestByVector(val *KnnSearchRequestByVector) *NullableKnnSearchRequestByVector
func (NullableKnnSearchRequestByVector) Get ¶
func (v NullableKnnSearchRequestByVector) Get() *KnnSearchRequestByVector
func (NullableKnnSearchRequestByVector) IsSet ¶
func (v NullableKnnSearchRequestByVector) IsSet() bool
func (NullableKnnSearchRequestByVector) MarshalJSON ¶
func (v NullableKnnSearchRequestByVector) MarshalJSON() ([]byte, error)
func (*NullableKnnSearchRequestByVector) Set ¶
func (v *NullableKnnSearchRequestByVector) Set(val *KnnSearchRequestByVector)
func (*NullableKnnSearchRequestByVector) UnmarshalJSON ¶
func (v *NullableKnnSearchRequestByVector) UnmarshalJSON(src []byte) error
func (*NullableKnnSearchRequestByVector) Unset ¶
func (v *NullableKnnSearchRequestByVector) Unset()
type NullableMatchFilter ¶
type NullableMatchFilter struct {
// contains filtered or unexported fields
}
func NewNullableMatchFilter ¶
func NewNullableMatchFilter(val *MatchFilter) *NullableMatchFilter
func (NullableMatchFilter) Get ¶
func (v NullableMatchFilter) Get() *MatchFilter
func (NullableMatchFilter) IsSet ¶
func (v NullableMatchFilter) IsSet() bool
func (NullableMatchFilter) MarshalJSON ¶
func (v NullableMatchFilter) MarshalJSON() ([]byte, error)
func (*NullableMatchFilter) Set ¶
func (v *NullableMatchFilter) Set(val *MatchFilter)
func (*NullableMatchFilter) UnmarshalJSON ¶
func (v *NullableMatchFilter) UnmarshalJSON(src []byte) error
func (*NullableMatchFilter) Unset ¶
func (v *NullableMatchFilter) Unset()
type NullableMatchOp ¶
type NullableMatchOp struct {
// contains filtered or unexported fields
}
func NewNullableMatchOp ¶
func NewNullableMatchOp(val *MatchOp) *NullableMatchOp
func (NullableMatchOp) Get ¶
func (v NullableMatchOp) Get() *MatchOp
func (NullableMatchOp) IsSet ¶
func (v NullableMatchOp) IsSet() bool
func (NullableMatchOp) MarshalJSON ¶
func (v NullableMatchOp) MarshalJSON() ([]byte, error)
func (*NullableMatchOp) Set ¶
func (v *NullableMatchOp) Set(val *MatchOp)
func (*NullableMatchOp) UnmarshalJSON ¶
func (v *NullableMatchOp) UnmarshalJSON(src []byte) error
func (*NullableMatchOp) Unset ¶
func (v *NullableMatchOp) Unset()
type NullableMatchOpFilter ¶
type NullableMatchOpFilter struct {
// contains filtered or unexported fields
}
func NewNullableMatchOpFilter ¶
func NewNullableMatchOpFilter(val *MatchOpFilter) *NullableMatchOpFilter
func (NullableMatchOpFilter) Get ¶
func (v NullableMatchOpFilter) Get() *MatchOpFilter
func (NullableMatchOpFilter) IsSet ¶
func (v NullableMatchOpFilter) IsSet() bool
func (NullableMatchOpFilter) MarshalJSON ¶
func (v NullableMatchOpFilter) MarshalJSON() ([]byte, error)
func (*NullableMatchOpFilter) Set ¶
func (v *NullableMatchOpFilter) Set(val *MatchOpFilter)
func (*NullableMatchOpFilter) UnmarshalJSON ¶
func (v *NullableMatchOpFilter) UnmarshalJSON(src []byte) error
func (*NullableMatchOpFilter) Unset ¶
func (v *NullableMatchOpFilter) Unset()
type NullableMatchPhraseFilter ¶
type NullableMatchPhraseFilter struct {
// contains filtered or unexported fields
}
func NewNullableMatchPhraseFilter ¶
func NewNullableMatchPhraseFilter(val *MatchPhraseFilter) *NullableMatchPhraseFilter
func (NullableMatchPhraseFilter) Get ¶
func (v NullableMatchPhraseFilter) Get() *MatchPhraseFilter
func (NullableMatchPhraseFilter) IsSet ¶
func (v NullableMatchPhraseFilter) IsSet() bool
func (NullableMatchPhraseFilter) MarshalJSON ¶
func (v NullableMatchPhraseFilter) MarshalJSON() ([]byte, error)
func (*NullableMatchPhraseFilter) Set ¶
func (v *NullableMatchPhraseFilter) Set(val *MatchPhraseFilter)
func (*NullableMatchPhraseFilter) UnmarshalJSON ¶
func (v *NullableMatchPhraseFilter) UnmarshalJSON(src []byte) error
func (*NullableMatchPhraseFilter) Unset ¶
func (v *NullableMatchPhraseFilter) Unset()
type NullableNotFilterBoolean ¶
type NullableNotFilterBoolean struct {
// contains filtered or unexported fields
}
func NewNullableNotFilterBoolean ¶
func NewNullableNotFilterBoolean(val *NotFilterBoolean) *NullableNotFilterBoolean
func (NullableNotFilterBoolean) Get ¶
func (v NullableNotFilterBoolean) Get() *NotFilterBoolean
func (NullableNotFilterBoolean) IsSet ¶
func (v NullableNotFilterBoolean) IsSet() bool
func (NullableNotFilterBoolean) MarshalJSON ¶
func (v NullableNotFilterBoolean) MarshalJSON() ([]byte, error)
func (*NullableNotFilterBoolean) Set ¶
func (v *NullableNotFilterBoolean) Set(val *NotFilterBoolean)
func (*NullableNotFilterBoolean) UnmarshalJSON ¶
func (v *NullableNotFilterBoolean) UnmarshalJSON(src []byte) error
func (*NullableNotFilterBoolean) Unset ¶
func (v *NullableNotFilterBoolean) Unset()
type NullableNotFilterNumber ¶
type NullableNotFilterNumber struct {
// contains filtered or unexported fields
}
func NewNullableNotFilterNumber ¶
func NewNullableNotFilterNumber(val *NotFilterNumber) *NullableNotFilterNumber
func (NullableNotFilterNumber) Get ¶
func (v NullableNotFilterNumber) Get() *NotFilterNumber
func (NullableNotFilterNumber) IsSet ¶
func (v NullableNotFilterNumber) IsSet() bool
func (NullableNotFilterNumber) MarshalJSON ¶
func (v NullableNotFilterNumber) MarshalJSON() ([]byte, error)
func (*NullableNotFilterNumber) Set ¶
func (v *NullableNotFilterNumber) Set(val *NotFilterNumber)
func (*NullableNotFilterNumber) UnmarshalJSON ¶
func (v *NullableNotFilterNumber) UnmarshalJSON(src []byte) error
func (*NullableNotFilterNumber) Unset ¶
func (v *NullableNotFilterNumber) Unset()
type NullableNotFilterString ¶
type NullableNotFilterString struct {
// contains filtered or unexported fields
}
func NewNullableNotFilterString ¶
func NewNullableNotFilterString(val *NotFilterString) *NullableNotFilterString
func (NullableNotFilterString) Get ¶
func (v NullableNotFilterString) Get() *NotFilterString
func (NullableNotFilterString) IsSet ¶
func (v NullableNotFilterString) IsSet() bool
func (NullableNotFilterString) MarshalJSON ¶
func (v NullableNotFilterString) MarshalJSON() ([]byte, error)
func (*NullableNotFilterString) Set ¶
func (v *NullableNotFilterString) Set(val *NotFilterString)
func (*NullableNotFilterString) UnmarshalJSON ¶
func (v *NullableNotFilterString) UnmarshalJSON(src []byte) error
func (*NullableNotFilterString) Unset ¶
func (v *NullableNotFilterString) Unset()
type NullablePercolateRequest ¶
type NullablePercolateRequest struct {
// contains filtered or unexported fields
}
func NewNullablePercolateRequest ¶
func NewNullablePercolateRequest(val *PercolateRequest) *NullablePercolateRequest
func (NullablePercolateRequest) Get ¶
func (v NullablePercolateRequest) Get() *PercolateRequest
func (NullablePercolateRequest) IsSet ¶
func (v NullablePercolateRequest) IsSet() bool
func (NullablePercolateRequest) MarshalJSON ¶
func (v NullablePercolateRequest) MarshalJSON() ([]byte, error)
func (*NullablePercolateRequest) Set ¶
func (v *NullablePercolateRequest) Set(val *PercolateRequest)
func (*NullablePercolateRequest) UnmarshalJSON ¶
func (v *NullablePercolateRequest) UnmarshalJSON(src []byte) error
func (*NullablePercolateRequest) Unset ¶
func (v *NullablePercolateRequest) Unset()
type NullablePercolateRequestQuery ¶
type NullablePercolateRequestQuery struct {
// contains filtered or unexported fields
}
func NewNullablePercolateRequestQuery ¶
func NewNullablePercolateRequestQuery(val *PercolateRequestQuery) *NullablePercolateRequestQuery
func (NullablePercolateRequestQuery) Get ¶
func (v NullablePercolateRequestQuery) Get() *PercolateRequestQuery
func (NullablePercolateRequestQuery) IsSet ¶
func (v NullablePercolateRequestQuery) IsSet() bool
func (NullablePercolateRequestQuery) MarshalJSON ¶
func (v NullablePercolateRequestQuery) MarshalJSON() ([]byte, error)
func (*NullablePercolateRequestQuery) Set ¶
func (v *NullablePercolateRequestQuery) Set(val *PercolateRequestQuery)
func (*NullablePercolateRequestQuery) UnmarshalJSON ¶
func (v *NullablePercolateRequestQuery) UnmarshalJSON(src []byte) error
func (*NullablePercolateRequestQuery) Unset ¶
func (v *NullablePercolateRequestQuery) Unset()
type NullableQueryFilter ¶
type NullableQueryFilter struct {
// contains filtered or unexported fields
}
func NewNullableQueryFilter ¶
func NewNullableQueryFilter(val *QueryFilter) *NullableQueryFilter
func (NullableQueryFilter) Get ¶
func (v NullableQueryFilter) Get() *QueryFilter
func (NullableQueryFilter) IsSet ¶
func (v NullableQueryFilter) IsSet() bool
func (NullableQueryFilter) MarshalJSON ¶
func (v NullableQueryFilter) MarshalJSON() ([]byte, error)
func (*NullableQueryFilter) Set ¶
func (v *NullableQueryFilter) Set(val *QueryFilter)
func (*NullableQueryFilter) UnmarshalJSON ¶
func (v *NullableQueryFilter) UnmarshalJSON(src []byte) error
func (*NullableQueryFilter) Unset ¶
func (v *NullableQueryFilter) Unset()
type NullableRangeFilter ¶
type NullableRangeFilter struct {
// contains filtered or unexported fields
}
func NewNullableRangeFilter ¶
func NewNullableRangeFilter(val *RangeFilter) *NullableRangeFilter
func (NullableRangeFilter) Get ¶
func (v NullableRangeFilter) Get() *RangeFilter
func (NullableRangeFilter) IsSet ¶
func (v NullableRangeFilter) IsSet() bool
func (NullableRangeFilter) MarshalJSON ¶
func (v NullableRangeFilter) MarshalJSON() ([]byte, error)
func (*NullableRangeFilter) Set ¶
func (v *NullableRangeFilter) Set(val *RangeFilter)
func (*NullableRangeFilter) UnmarshalJSON ¶
func (v *NullableRangeFilter) UnmarshalJSON(src []byte) error
func (*NullableRangeFilter) Unset ¶
func (v *NullableRangeFilter) Unset()
type NullableSearchRequest ¶
type NullableSearchRequest struct {
// contains filtered or unexported fields
}
func NewNullableSearchRequest ¶
func NewNullableSearchRequest(val *SearchRequest) *NullableSearchRequest
func (NullableSearchRequest) Get ¶
func (v NullableSearchRequest) Get() *SearchRequest
func (NullableSearchRequest) IsSet ¶
func (v NullableSearchRequest) IsSet() bool
func (NullableSearchRequest) MarshalJSON ¶
func (v NullableSearchRequest) MarshalJSON() ([]byte, error)
func (*NullableSearchRequest) Set ¶
func (v *NullableSearchRequest) Set(val *SearchRequest)
func (*NullableSearchRequest) UnmarshalJSON ¶
func (v *NullableSearchRequest) UnmarshalJSON(src []byte) error
func (*NullableSearchRequest) Unset ¶
func (v *NullableSearchRequest) Unset()
type NullableSearchResponse ¶
type NullableSearchResponse struct {
// contains filtered or unexported fields
}
func NewNullableSearchResponse ¶
func NewNullableSearchResponse(val *SearchResponse) *NullableSearchResponse
func (NullableSearchResponse) Get ¶
func (v NullableSearchResponse) Get() *SearchResponse
func (NullableSearchResponse) IsSet ¶
func (v NullableSearchResponse) IsSet() bool
func (NullableSearchResponse) MarshalJSON ¶
func (v NullableSearchResponse) MarshalJSON() ([]byte, error)
func (*NullableSearchResponse) Set ¶
func (v *NullableSearchResponse) Set(val *SearchResponse)
func (*NullableSearchResponse) UnmarshalJSON ¶
func (v *NullableSearchResponse) UnmarshalJSON(src []byte) error
func (*NullableSearchResponse) Unset ¶
func (v *NullableSearchResponse) Unset()
type NullableSearchResponseHits ¶
type NullableSearchResponseHits struct {
// contains filtered or unexported fields
}
func NewNullableSearchResponseHits ¶
func NewNullableSearchResponseHits(val *SearchResponseHits) *NullableSearchResponseHits
func (NullableSearchResponseHits) Get ¶
func (v NullableSearchResponseHits) Get() *SearchResponseHits
func (NullableSearchResponseHits) IsSet ¶
func (v NullableSearchResponseHits) IsSet() bool
func (NullableSearchResponseHits) MarshalJSON ¶
func (v NullableSearchResponseHits) MarshalJSON() ([]byte, error)
func (*NullableSearchResponseHits) Set ¶
func (v *NullableSearchResponseHits) Set(val *SearchResponseHits)
func (*NullableSearchResponseHits) UnmarshalJSON ¶
func (v *NullableSearchResponseHits) UnmarshalJSON(src []byte) error
func (*NullableSearchResponseHits) Unset ¶
func (v *NullableSearchResponseHits) Unset()
type NullableSortMVA ¶
type NullableSortMVA struct {
// contains filtered or unexported fields
}
func NewNullableSortMVA ¶
func NewNullableSortMVA(val *SortMVA) *NullableSortMVA
func (NullableSortMVA) Get ¶
func (v NullableSortMVA) Get() *SortMVA
func (NullableSortMVA) IsSet ¶
func (v NullableSortMVA) IsSet() bool
func (NullableSortMVA) MarshalJSON ¶
func (v NullableSortMVA) MarshalJSON() ([]byte, error)
func (*NullableSortMVA) Set ¶
func (v *NullableSortMVA) Set(val *SortMVA)
func (*NullableSortMVA) UnmarshalJSON ¶
func (v *NullableSortMVA) UnmarshalJSON(src []byte) error
func (*NullableSortMVA) Unset ¶
func (v *NullableSortMVA) Unset()
type NullableSortMultiple ¶
type NullableSortMultiple struct {
// contains filtered or unexported fields
}
func NewNullableSortMultiple ¶
func NewNullableSortMultiple(val *SortMultiple) *NullableSortMultiple
func (NullableSortMultiple) Get ¶
func (v NullableSortMultiple) Get() *SortMultiple
func (NullableSortMultiple) IsSet ¶
func (v NullableSortMultiple) IsSet() bool
func (NullableSortMultiple) MarshalJSON ¶
func (v NullableSortMultiple) MarshalJSON() ([]byte, error)
func (*NullableSortMultiple) Set ¶
func (v *NullableSortMultiple) Set(val *SortMultiple)
func (*NullableSortMultiple) UnmarshalJSON ¶
func (v *NullableSortMultiple) UnmarshalJSON(src []byte) error
func (*NullableSortMultiple) Unset ¶
func (v *NullableSortMultiple) Unset()
type NullableSortOrder ¶
type NullableSortOrder struct {
// contains filtered or unexported fields
}
func NewNullableSortOrder ¶
func NewNullableSortOrder(val *SortOrder) *NullableSortOrder
func (NullableSortOrder) Get ¶
func (v NullableSortOrder) Get() *SortOrder
func (NullableSortOrder) IsSet ¶
func (v NullableSortOrder) IsSet() bool
func (NullableSortOrder) MarshalJSON ¶
func (v NullableSortOrder) MarshalJSON() ([]byte, error)
func (*NullableSortOrder) Set ¶
func (v *NullableSortOrder) Set(val *SortOrder)
func (*NullableSortOrder) UnmarshalJSON ¶
func (v *NullableSortOrder) UnmarshalJSON(src []byte) error
func (*NullableSortOrder) Unset ¶
func (v *NullableSortOrder) Unset()
type NullableSourceByRules ¶
type NullableSourceByRules struct {
// contains filtered or unexported fields
}
func NewNullableSourceByRules ¶
func NewNullableSourceByRules(val *SourceByRules) *NullableSourceByRules
func (NullableSourceByRules) Get ¶
func (v NullableSourceByRules) Get() *SourceByRules
func (NullableSourceByRules) IsSet ¶
func (v NullableSourceByRules) IsSet() bool
func (NullableSourceByRules) MarshalJSON ¶
func (v NullableSourceByRules) MarshalJSON() ([]byte, error)
func (*NullableSourceByRules) Set ¶
func (v *NullableSourceByRules) Set(val *SourceByRules)
func (*NullableSourceByRules) UnmarshalJSON ¶
func (v *NullableSourceByRules) UnmarshalJSON(src []byte) error
func (*NullableSourceByRules) Unset ¶
func (v *NullableSourceByRules) Unset()
type NullableSqlDefaultResponse ¶
type NullableSqlDefaultResponse struct {
// contains filtered or unexported fields
}
func NewNullableSqlDefaultResponse ¶
func NewNullableSqlDefaultResponse(val *SqlDefaultResponse) *NullableSqlDefaultResponse
func (NullableSqlDefaultResponse) Get ¶
func (v NullableSqlDefaultResponse) Get() *SqlDefaultResponse
func (NullableSqlDefaultResponse) IsSet ¶
func (v NullableSqlDefaultResponse) IsSet() bool
func (NullableSqlDefaultResponse) MarshalJSON ¶
func (v NullableSqlDefaultResponse) MarshalJSON() ([]byte, error)
func (*NullableSqlDefaultResponse) Set ¶
func (v *NullableSqlDefaultResponse) Set(val *SqlDefaultResponse)
func (*NullableSqlDefaultResponse) UnmarshalJSON ¶
func (v *NullableSqlDefaultResponse) UnmarshalJSON(src []byte) error
func (*NullableSqlDefaultResponse) Unset ¶
func (v *NullableSqlDefaultResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSuccessResponse ¶
type NullableSuccessResponse struct {
// contains filtered or unexported fields
}
func NewNullableSuccessResponse ¶
func NewNullableSuccessResponse(val *SuccessResponse) *NullableSuccessResponse
func (NullableSuccessResponse) Get ¶
func (v NullableSuccessResponse) Get() *SuccessResponse
func (NullableSuccessResponse) IsSet ¶
func (v NullableSuccessResponse) IsSet() bool
func (NullableSuccessResponse) MarshalJSON ¶
func (v NullableSuccessResponse) MarshalJSON() ([]byte, error)
func (*NullableSuccessResponse) Set ¶
func (v *NullableSuccessResponse) Set(val *SuccessResponse)
func (*NullableSuccessResponse) UnmarshalJSON ¶
func (v *NullableSuccessResponse) UnmarshalJSON(src []byte) error
func (*NullableSuccessResponse) Unset ¶
func (v *NullableSuccessResponse) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateDocumentRequest ¶
type NullableUpdateDocumentRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDocumentRequest ¶
func NewNullableUpdateDocumentRequest(val *UpdateDocumentRequest) *NullableUpdateDocumentRequest
func (NullableUpdateDocumentRequest) Get ¶
func (v NullableUpdateDocumentRequest) Get() *UpdateDocumentRequest
func (NullableUpdateDocumentRequest) IsSet ¶
func (v NullableUpdateDocumentRequest) IsSet() bool
func (NullableUpdateDocumentRequest) MarshalJSON ¶
func (v NullableUpdateDocumentRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateDocumentRequest) Set ¶
func (v *NullableUpdateDocumentRequest) Set(val *UpdateDocumentRequest)
func (*NullableUpdateDocumentRequest) UnmarshalJSON ¶
func (v *NullableUpdateDocumentRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateDocumentRequest) Unset ¶
func (v *NullableUpdateDocumentRequest) Unset()
type NullableUpdateResponse ¶
type NullableUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateResponse ¶
func NewNullableUpdateResponse(val *UpdateResponse) *NullableUpdateResponse
func (NullableUpdateResponse) Get ¶
func (v NullableUpdateResponse) Get() *UpdateResponse
func (NullableUpdateResponse) IsSet ¶
func (v NullableUpdateResponse) IsSet() bool
func (NullableUpdateResponse) MarshalJSON ¶
func (v NullableUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateResponse) Set ¶
func (v *NullableUpdateResponse) Set(val *UpdateResponse)
func (*NullableUpdateResponse) UnmarshalJSON ¶
func (v *NullableUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateResponse) Unset ¶
func (v *NullableUpdateResponse) Unset()
type PercolateRequest ¶
type PercolateRequest struct {
Query PercolateRequestQuery `json:"query"`
}
PercolateRequest Object with documents to percolate
func NewPercolateRequest ¶
func NewPercolateRequest(query PercolateRequestQuery) *PercolateRequest
NewPercolateRequest instantiates a new PercolateRequest 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 NewPercolateRequestWithDefaults ¶
func NewPercolateRequestWithDefaults() *PercolateRequest
NewPercolateRequestWithDefaults instantiates a new PercolateRequest 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 (*PercolateRequest) GetQuery ¶
func (o *PercolateRequest) GetQuery() PercolateRequestQuery
GetQuery returns the Query field value
func (*PercolateRequest) GetQueryOk ¶
func (o *PercolateRequest) GetQueryOk() (*PercolateRequestQuery, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (PercolateRequest) MarshalJSON ¶
func (o PercolateRequest) MarshalJSON() ([]byte, error)
func (*PercolateRequest) SetQuery ¶
func (o *PercolateRequest) SetQuery(v PercolateRequestQuery)
SetQuery sets field value
func (PercolateRequest) ToMap ¶
func (o PercolateRequest) ToMap() (map[string]interface{}, error)
func (*PercolateRequest) UnmarshalJSON ¶
func (o *PercolateRequest) UnmarshalJSON(data []byte) (err error)
type PercolateRequestQuery ¶
type PercolateRequestQuery struct { Percolate map[string]interface{} `json:"percolate"` AdditionalProperties map[string]interface{} }
PercolateRequestQuery struct for PercolateRequestQuery
func NewPercolateRequestQuery ¶
func NewPercolateRequestQuery(percolate map[string]interface{}) *PercolateRequestQuery
NewPercolateRequestQuery instantiates a new PercolateRequestQuery 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 NewPercolateRequestQueryWithDefaults ¶
func NewPercolateRequestQueryWithDefaults() *PercolateRequestQuery
NewPercolateRequestQueryWithDefaults instantiates a new PercolateRequestQuery 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 (*PercolateRequestQuery) GetPercolate ¶
func (o *PercolateRequestQuery) GetPercolate() map[string]interface{}
GetPercolate returns the Percolate field value
func (*PercolateRequestQuery) GetPercolateOk ¶
func (o *PercolateRequestQuery) GetPercolateOk() (map[string]interface{}, bool)
GetPercolateOk returns a tuple with the Percolate field value and a boolean to check if the value has been set.
func (PercolateRequestQuery) MarshalJSON ¶
func (o PercolateRequestQuery) MarshalJSON() ([]byte, error)
func (*PercolateRequestQuery) SetPercolate ¶
func (o *PercolateRequestQuery) SetPercolate(v map[string]interface{})
SetPercolate sets field value
func (PercolateRequestQuery) ToMap ¶
func (o PercolateRequestQuery) ToMap() (map[string]interface{}, error)
func (*PercolateRequestQuery) UnmarshalJSON ¶
func (o *PercolateRequestQuery) UnmarshalJSON(data []byte) (err error)
type QueryFilter ¶
type QueryFilter struct {
QueryString string `json:"query_string"`
}
QueryFilter Query string filter
func NewQueryFilter ¶
func NewQueryFilter(queryString string) *QueryFilter
NewQueryFilter instantiates a new QueryFilter 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 NewQueryFilterWithDefaults ¶
func NewQueryFilterWithDefaults() *QueryFilter
NewQueryFilterWithDefaults instantiates a new QueryFilter 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 (*QueryFilter) GetQueryString ¶
func (o *QueryFilter) GetQueryString() string
GetQueryString returns the QueryString field value
func (*QueryFilter) GetQueryStringOk ¶
func (o *QueryFilter) GetQueryStringOk() (*string, bool)
GetQueryStringOk returns a tuple with the QueryString field value and a boolean to check if the value has been set.
func (QueryFilter) MarshalJSON ¶
func (o QueryFilter) MarshalJSON() ([]byte, error)
func (*QueryFilter) SetQueryString ¶
func (o *QueryFilter) SetQueryString(v string)
SetQueryString sets field value
func (QueryFilter) ToMap ¶
func (o QueryFilter) ToMap() (map[string]interface{}, error)
func (*QueryFilter) UnmarshalJSON ¶
func (o *QueryFilter) UnmarshalJSON(data []byte) (err error)
type RangeFilter ¶
type RangeFilter struct { Field string `json:"field"` Lte NullableFloat32 `json:"lte,omitempty"` Gte NullableFloat32 `json:"gte,omitempty"` Lt NullableFloat32 `json:"lt,omitempty"` Gt NullableFloat32 `json:"gt,omitempty"` }
RangeFilter Range attribute filter
func NewRangeFilter ¶
func NewRangeFilter(field string) *RangeFilter
NewRangeFilter instantiates a new RangeFilter 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 NewRangeFilterWithDefaults ¶
func NewRangeFilterWithDefaults() *RangeFilter
NewRangeFilterWithDefaults instantiates a new RangeFilter 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 (*RangeFilter) GetField ¶
func (o *RangeFilter) GetField() string
GetField returns the Field field value
func (*RangeFilter) GetFieldOk ¶
func (o *RangeFilter) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*RangeFilter) GetGt ¶
func (o *RangeFilter) GetGt() float32
GetGt returns the Gt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RangeFilter) GetGtOk ¶
func (o *RangeFilter) GetGtOk() (*float32, bool)
GetGtOk returns a tuple with the Gt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RangeFilter) GetGte ¶
func (o *RangeFilter) GetGte() float32
GetGte returns the Gte field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RangeFilter) GetGteOk ¶
func (o *RangeFilter) GetGteOk() (*float32, bool)
GetGteOk returns a tuple with the Gte field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RangeFilter) GetLt ¶
func (o *RangeFilter) GetLt() float32
GetLt returns the Lt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RangeFilter) GetLtOk ¶
func (o *RangeFilter) GetLtOk() (*float32, bool)
GetLtOk returns a tuple with the Lt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RangeFilter) GetLte ¶
func (o *RangeFilter) GetLte() float32
GetLte returns the Lte field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RangeFilter) GetLteOk ¶
func (o *RangeFilter) GetLteOk() (*float32, bool)
GetLteOk returns a tuple with the Lte field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RangeFilter) HasGt ¶
func (o *RangeFilter) HasGt() bool
HasGt returns a boolean if a field has been set.
func (*RangeFilter) HasGte ¶
func (o *RangeFilter) HasGte() bool
HasGte returns a boolean if a field has been set.
func (*RangeFilter) HasLt ¶
func (o *RangeFilter) HasLt() bool
HasLt returns a boolean if a field has been set.
func (*RangeFilter) HasLte ¶
func (o *RangeFilter) HasLte() bool
HasLte returns a boolean if a field has been set.
func (RangeFilter) MarshalJSON ¶
func (o RangeFilter) MarshalJSON() ([]byte, error)
func (*RangeFilter) SetGt ¶
func (o *RangeFilter) SetGt(v float32)
SetGt gets a reference to the given NullableFloat32 and assigns it to the Gt field.
func (*RangeFilter) SetGtNil ¶
func (o *RangeFilter) SetGtNil()
SetGtNil sets the value for Gt to be an explicit nil
func (*RangeFilter) SetGte ¶
func (o *RangeFilter) SetGte(v float32)
SetGte gets a reference to the given NullableFloat32 and assigns it to the Gte field.
func (*RangeFilter) SetGteNil ¶
func (o *RangeFilter) SetGteNil()
SetGteNil sets the value for Gte to be an explicit nil
func (*RangeFilter) SetLt ¶
func (o *RangeFilter) SetLt(v float32)
SetLt gets a reference to the given NullableFloat32 and assigns it to the Lt field.
func (*RangeFilter) SetLtNil ¶
func (o *RangeFilter) SetLtNil()
SetLtNil sets the value for Lt to be an explicit nil
func (*RangeFilter) SetLte ¶
func (o *RangeFilter) SetLte(v float32)
SetLte gets a reference to the given NullableFloat32 and assigns it to the Lte field.
func (*RangeFilter) SetLteNil ¶
func (o *RangeFilter) SetLteNil()
SetLteNil sets the value for Lte to be an explicit nil
func (RangeFilter) ToMap ¶
func (o RangeFilter) ToMap() (map[string]interface{}, error)
func (*RangeFilter) UnmarshalJSON ¶
func (o *RangeFilter) UnmarshalJSON(data []byte) (err error)
func (*RangeFilter) UnsetGt ¶
func (o *RangeFilter) UnsetGt()
UnsetGt ensures that no value is present for Gt, not even an explicit nil
func (*RangeFilter) UnsetGte ¶
func (o *RangeFilter) UnsetGte()
UnsetGte ensures that no value is present for Gte, not even an explicit nil
func (*RangeFilter) UnsetLt ¶
func (o *RangeFilter) UnsetLt()
UnsetLt ensures that no value is present for Lt, not even an explicit nil
func (*RangeFilter) UnsetLte ¶
func (o *RangeFilter) UnsetLte()
UnsetLte ensures that no value is present for Lte, not even an explicit nil
type SearchAPIService ¶
type SearchAPIService service
SearchAPIService SearchAPI service
func (*SearchAPIService) Percolate ¶
func (a *SearchAPIService) Percolate(ctx context.Context, index string) ApiPercolateRequest
Percolate Perform reverse search on a percolate index
Performs a percolate search. This method must be used only on percolate indexes.
Expects two parameters: the index name and an object with array of documents to be tested. An example of the documents object:
``` { "query": { "percolate": { "document": { "content":"sample content" } } } } ```
Responds with an object with matched stored queries:
``` { 'timed_out':false, 'hits': { 'total':2, 'max_score':1, 'hits': [ { '_index':'idx_pq_1', '_type':'doc', '_id':'2', '_score':'1', '_source': { 'query': { 'match':{'title':'some'} } } }, { '_index':'idx_pq_1', '_type':'doc', '_id':'5', '_score':'1', '_source': { 'query': { 'ql':'some | none' } } } ] } } ``` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param index Name of the percolate index @return ApiPercolateRequest
func (*SearchAPIService) PercolateExecute ¶
func (a *SearchAPIService) PercolateExecute(r ApiPercolateRequest) (*SearchResponse, *http.Response, error)
Execute executes the request
@return SearchResponse
func (*SearchAPIService) Search ¶
func (a *SearchAPIService) Search(ctx context.Context) ApiSearchRequest
Search Performs a search on an index
The method expects an object with the following mandatory properties: * the name of the index to search * the match query object For details, see the documentation on [**SearchRequest**](SearchRequest.md) The method returns an object with the following properties: - took: the time taken to execute the search query. - timed_out: a boolean indicating whether the query timed out. - hits: an object with the following properties:
- total: the total number of hits found.
- hits: an array of hit objects, where each hit object represents a matched document. Each hit object has the following properties:
- _id: the ID of the matched document.
- _score: the score of the matched document.
- _source: the source data of the matched document.
In addition, if profiling is enabled, the response will include an additional array with profiling information attached. Here is an example search response:
``` { 'took':10, 'timed_out':false, 'hits': { 'total':2, 'hits': [ {'_id':'1','_score':1,'_source':{'gid':11}}, {'_id':'2','_score':1,'_source':{'gid':12}} ] } } ```
For more information about the match query syntax and additional parameters that can be added to request and response, please see the documentation [here](https://manual.manticoresearch.com/Searching/Full_text_matching/Basic_usage#HTTP-JSON).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSearchRequest
func (*SearchAPIService) SearchExecute ¶
func (a *SearchAPIService) SearchExecute(r ApiSearchRequest) (*SearchResponse, *http.Response, error)
Execute executes the request
@return SearchResponse
type SearchRequest ¶
type SearchRequest struct { Index string `json:"index"` Query map[string]interface{} `json:"query,omitempty"` FulltextFilter map[string]interface{} `json:"fulltext_filter,omitempty"` AttrFilter map[string]interface{} `json:"attr_filter,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` MaxMatches *int32 `json:"max_matches,omitempty"` Sort []map[string]interface{} `json:"sort,omitempty"` Aggs *map[string]Aggregation `json:"aggs,omitempty"` Expressions *map[string]string `json:"expressions,omitempty"` Highlight *Highlight `json:"highlight,omitempty"` Source map[string]interface{} `json:"source,omitempty"` Options map[string]interface{} `json:"options,omitempty"` Profile *bool `json:"profile,omitempty"` TrackScores *bool `json:"track_scores,omitempty"` }
SearchRequest Request object for search operation
func NewSearchRequest ¶
func NewSearchRequest(index string) *SearchRequest
NewSearchRequest instantiates a new SearchRequest 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 NewSearchRequestWithDefaults ¶
func NewSearchRequestWithDefaults() *SearchRequest
NewSearchRequestWithDefaults instantiates a new SearchRequest 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 (*SearchRequest) GetAggs ¶
func (o *SearchRequest) GetAggs() map[string]Aggregation
GetAggs returns the Aggs field value if set, zero value otherwise.
func (*SearchRequest) GetAggsOk ¶
func (o *SearchRequest) GetAggsOk() (*map[string]Aggregation, bool)
GetAggsOk returns a tuple with the Aggs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetAttrFilter ¶
func (o *SearchRequest) GetAttrFilter() map[string]interface{}
GetAttrFilter returns the AttrFilter field value if set, zero value otherwise.
func (*SearchRequest) GetAttrFilterOk ¶
func (o *SearchRequest) GetAttrFilterOk() (map[string]interface{}, bool)
GetAttrFilterOk returns a tuple with the AttrFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetExpressions ¶
func (o *SearchRequest) GetExpressions() map[string]string
GetExpressions returns the Expressions field value if set, zero value otherwise.
func (*SearchRequest) GetExpressionsOk ¶
func (o *SearchRequest) GetExpressionsOk() (*map[string]string, bool)
GetExpressionsOk returns a tuple with the Expressions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetFulltextFilter ¶
func (o *SearchRequest) GetFulltextFilter() map[string]interface{}
GetFulltextFilter returns the FulltextFilter field value if set, zero value otherwise.
func (*SearchRequest) GetFulltextFilterOk ¶
func (o *SearchRequest) GetFulltextFilterOk() (map[string]interface{}, bool)
GetFulltextFilterOk returns a tuple with the FulltextFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetHighlight ¶
func (o *SearchRequest) GetHighlight() Highlight
GetHighlight returns the Highlight field value if set, zero value otherwise.
func (*SearchRequest) GetHighlightOk ¶
func (o *SearchRequest) GetHighlightOk() (*Highlight, bool)
GetHighlightOk returns a tuple with the Highlight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetIndex ¶
func (o *SearchRequest) GetIndex() string
GetIndex returns the Index field value
func (*SearchRequest) GetIndexOk ¶
func (o *SearchRequest) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*SearchRequest) GetLimit ¶
func (o *SearchRequest) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*SearchRequest) GetLimitOk ¶
func (o *SearchRequest) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetMaxMatches ¶
func (o *SearchRequest) GetMaxMatches() int32
GetMaxMatches returns the MaxMatches field value if set, zero value otherwise.
func (*SearchRequest) GetMaxMatchesOk ¶
func (o *SearchRequest) GetMaxMatchesOk() (*int32, bool)
GetMaxMatchesOk returns a tuple with the MaxMatches field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetOffset ¶
func (o *SearchRequest) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*SearchRequest) GetOffsetOk ¶
func (o *SearchRequest) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetOptions ¶
func (o *SearchRequest) GetOptions() map[string]interface{}
GetOptions returns the Options field value if set, zero value otherwise.
func (*SearchRequest) GetOptionsOk ¶
func (o *SearchRequest) GetOptionsOk() (map[string]interface{}, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetProfile ¶
func (o *SearchRequest) GetProfile() bool
GetProfile returns the Profile field value if set, zero value otherwise.
func (*SearchRequest) GetProfileOk ¶
func (o *SearchRequest) GetProfileOk() (*bool, bool)
GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetQuery ¶
func (o *SearchRequest) GetQuery() map[string]interface{}
GetQuery returns the Query field value if set, zero value otherwise.
func (*SearchRequest) GetQueryOk ¶
func (o *SearchRequest) GetQueryOk() (map[string]interface{}, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetSort ¶
func (o *SearchRequest) GetSort() []map[string]interface{}
GetSort returns the Sort field value if set, zero value otherwise.
func (*SearchRequest) GetSortOk ¶
func (o *SearchRequest) GetSortOk() ([]map[string]interface{}, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetSource ¶
func (o *SearchRequest) GetSource() map[string]interface{}
GetSource returns the Source field value if set, zero value otherwise.
func (*SearchRequest) GetSourceOk ¶
func (o *SearchRequest) GetSourceOk() (map[string]interface{}, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) GetTrackScores ¶
func (o *SearchRequest) GetTrackScores() bool
GetTrackScores returns the TrackScores field value if set, zero value otherwise.
func (*SearchRequest) GetTrackScoresOk ¶
func (o *SearchRequest) GetTrackScoresOk() (*bool, bool)
GetTrackScoresOk returns a tuple with the TrackScores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchRequest) HasAggs ¶
func (o *SearchRequest) HasAggs() bool
HasAggs returns a boolean if a field has been set.
func (*SearchRequest) HasAttrFilter ¶
func (o *SearchRequest) HasAttrFilter() bool
HasAttrFilter returns a boolean if a field has been set.
func (*SearchRequest) HasExpressions ¶
func (o *SearchRequest) HasExpressions() bool
HasExpressions returns a boolean if a field has been set.
func (*SearchRequest) HasFulltextFilter ¶
func (o *SearchRequest) HasFulltextFilter() bool
HasFulltextFilter returns a boolean if a field has been set.
func (*SearchRequest) HasHighlight ¶
func (o *SearchRequest) HasHighlight() bool
HasHighlight returns a boolean if a field has been set.
func (*SearchRequest) HasLimit ¶
func (o *SearchRequest) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*SearchRequest) HasMaxMatches ¶
func (o *SearchRequest) HasMaxMatches() bool
HasMaxMatches returns a boolean if a field has been set.
func (*SearchRequest) HasOffset ¶
func (o *SearchRequest) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*SearchRequest) HasOptions ¶
func (o *SearchRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*SearchRequest) HasProfile ¶
func (o *SearchRequest) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (*SearchRequest) HasQuery ¶
func (o *SearchRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*SearchRequest) HasSort ¶
func (o *SearchRequest) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*SearchRequest) HasSource ¶
func (o *SearchRequest) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*SearchRequest) HasTrackScores ¶
func (o *SearchRequest) HasTrackScores() bool
HasTrackScores returns a boolean if a field has been set.
func (SearchRequest) MarshalJSON ¶
func (o SearchRequest) MarshalJSON() ([]byte, error)
func (*SearchRequest) SetAggs ¶
func (o *SearchRequest) SetAggs(v map[string]Aggregation)
SetAggs gets a reference to the given map[string]Aggregation and assigns it to the Aggs field.
func (*SearchRequest) SetAttrFilter ¶
func (o *SearchRequest) SetAttrFilter(v map[string]interface{})
SetAttrFilter gets a reference to the given map[string]interface{} and assigns it to the AttrFilter field.
func (*SearchRequest) SetExpressions ¶
func (o *SearchRequest) SetExpressions(v map[string]string)
SetExpressions gets a reference to the given map[string]string and assigns it to the Expressions field.
func (*SearchRequest) SetFulltextFilter ¶
func (o *SearchRequest) SetFulltextFilter(v map[string]interface{})
SetFulltextFilter gets a reference to the given map[string]interface{} and assigns it to the FulltextFilter field.
func (*SearchRequest) SetHighlight ¶
func (o *SearchRequest) SetHighlight(v Highlight)
SetHighlight gets a reference to the given Highlight and assigns it to the Highlight field.
func (*SearchRequest) SetIndex ¶
func (o *SearchRequest) SetIndex(v string)
SetIndex sets field value
func (*SearchRequest) SetLimit ¶
func (o *SearchRequest) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*SearchRequest) SetMaxMatches ¶
func (o *SearchRequest) SetMaxMatches(v int32)
SetMaxMatches gets a reference to the given int32 and assigns it to the MaxMatches field.
func (*SearchRequest) SetOffset ¶
func (o *SearchRequest) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*SearchRequest) SetOptions ¶
func (o *SearchRequest) SetOptions(v map[string]interface{})
SetOptions gets a reference to the given map[string]interface{} and assigns it to the Options field.
func (*SearchRequest) SetProfile ¶
func (o *SearchRequest) SetProfile(v bool)
SetProfile gets a reference to the given bool and assigns it to the Profile field.
func (*SearchRequest) SetQuery ¶
func (o *SearchRequest) SetQuery(v map[string]interface{})
SetQuery gets a reference to the given map[string]interface{} and assigns it to the Query field.
func (*SearchRequest) SetSort ¶
func (o *SearchRequest) SetSort(v []map[string]interface{})
SetSort gets a reference to the given []map[string]interface{} and assigns it to the Sort field.
func (*SearchRequest) SetSource ¶
func (o *SearchRequest) SetSource(v map[string]interface{})
SetSource gets a reference to the given map[string]interface{} and assigns it to the Source field.
func (*SearchRequest) SetTrackScores ¶
func (o *SearchRequest) SetTrackScores(v bool)
SetTrackScores gets a reference to the given bool and assigns it to the TrackScores field.
func (SearchRequest) ToMap ¶
func (o SearchRequest) ToMap() (map[string]interface{}, error)
func (*SearchRequest) UnmarshalJSON ¶
func (o *SearchRequest) UnmarshalJSON(data []byte) (err error)
type SearchResponse ¶
type SearchResponse struct { Took *int32 `json:"took,omitempty"` TimedOut *bool `json:"timed_out,omitempty"` Aggregations map[string]interface{} `json:"aggregations,omitempty"` Hits *SearchResponseHits `json:"hits,omitempty"` Profile map[string]interface{} `json:"profile,omitempty"` Warning map[string]interface{} `json:"warning,omitempty"` }
SearchResponse Response object of a search request
func NewSearchResponse ¶
func NewSearchResponse() *SearchResponse
NewSearchResponse instantiates a new SearchResponse 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 NewSearchResponseWithDefaults ¶
func NewSearchResponseWithDefaults() *SearchResponse
NewSearchResponseWithDefaults instantiates a new SearchResponse 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 (*SearchResponse) GetAggregations ¶
func (o *SearchResponse) GetAggregations() map[string]interface{}
GetAggregations returns the Aggregations field value if set, zero value otherwise.
func (*SearchResponse) GetAggregationsOk ¶
func (o *SearchResponse) GetAggregationsOk() (map[string]interface{}, bool)
GetAggregationsOk returns a tuple with the Aggregations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponse) GetHits ¶
func (o *SearchResponse) GetHits() SearchResponseHits
GetHits returns the Hits field value if set, zero value otherwise.
func (*SearchResponse) GetHitsOk ¶
func (o *SearchResponse) GetHitsOk() (*SearchResponseHits, bool)
GetHitsOk returns a tuple with the Hits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponse) GetProfile ¶
func (o *SearchResponse) GetProfile() map[string]interface{}
GetProfile returns the Profile field value if set, zero value otherwise.
func (*SearchResponse) GetProfileOk ¶
func (o *SearchResponse) GetProfileOk() (map[string]interface{}, bool)
GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponse) GetTimedOut ¶
func (o *SearchResponse) GetTimedOut() bool
GetTimedOut returns the TimedOut field value if set, zero value otherwise.
func (*SearchResponse) GetTimedOutOk ¶
func (o *SearchResponse) GetTimedOutOk() (*bool, bool)
GetTimedOutOk returns a tuple with the TimedOut field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponse) GetTook ¶
func (o *SearchResponse) GetTook() int32
GetTook returns the Took field value if set, zero value otherwise.
func (*SearchResponse) GetTookOk ¶
func (o *SearchResponse) GetTookOk() (*int32, bool)
GetTookOk returns a tuple with the Took field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponse) GetWarning ¶
func (o *SearchResponse) GetWarning() map[string]interface{}
GetWarning returns the Warning field value if set, zero value otherwise.
func (*SearchResponse) GetWarningOk ¶
func (o *SearchResponse) GetWarningOk() (map[string]interface{}, bool)
GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponse) HasAggregations ¶
func (o *SearchResponse) HasAggregations() bool
HasAggregations returns a boolean if a field has been set.
func (*SearchResponse) HasHits ¶
func (o *SearchResponse) HasHits() bool
HasHits returns a boolean if a field has been set.
func (*SearchResponse) HasProfile ¶
func (o *SearchResponse) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (*SearchResponse) HasTimedOut ¶
func (o *SearchResponse) HasTimedOut() bool
HasTimedOut returns a boolean if a field has been set.
func (*SearchResponse) HasTook ¶
func (o *SearchResponse) HasTook() bool
HasTook returns a boolean if a field has been set.
func (*SearchResponse) HasWarning ¶
func (o *SearchResponse) HasWarning() bool
HasWarning returns a boolean if a field has been set.
func (SearchResponse) MarshalJSON ¶
func (o SearchResponse) MarshalJSON() ([]byte, error)
func (*SearchResponse) SetAggregations ¶
func (o *SearchResponse) SetAggregations(v map[string]interface{})
SetAggregations gets a reference to the given map[string]interface{} and assigns it to the Aggregations field.
func (*SearchResponse) SetHits ¶
func (o *SearchResponse) SetHits(v SearchResponseHits)
SetHits gets a reference to the given SearchResponseHits and assigns it to the Hits field.
func (*SearchResponse) SetProfile ¶
func (o *SearchResponse) SetProfile(v map[string]interface{})
SetProfile gets a reference to the given map[string]interface{} and assigns it to the Profile field.
func (*SearchResponse) SetTimedOut ¶
func (o *SearchResponse) SetTimedOut(v bool)
SetTimedOut gets a reference to the given bool and assigns it to the TimedOut field.
func (*SearchResponse) SetTook ¶
func (o *SearchResponse) SetTook(v int32)
SetTook gets a reference to the given int32 and assigns it to the Took field.
func (*SearchResponse) SetWarning ¶
func (o *SearchResponse) SetWarning(v map[string]interface{})
SetWarning gets a reference to the given map[string]interface{} and assigns it to the Warning field.
func (SearchResponse) ToMap ¶
func (o SearchResponse) ToMap() (map[string]interface{}, error)
type SearchResponseHits ¶
type SearchResponseHits struct { MaxScore *int32 `json:"max_score,omitempty"` Total *int32 `json:"total,omitempty"` TotalRelation *string `json:"total_relation,omitempty"` Hits []map[string]interface{} `json:"hits,omitempty"` }
SearchResponseHits struct for SearchResponseHits
func 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
func 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
func (*SearchResponseHits) GetHits ¶
func (o *SearchResponseHits) GetHits() []map[string]interface{}
GetHits returns the Hits field value if set, zero value otherwise.
func (*SearchResponseHits) GetHitsOk ¶
func (o *SearchResponseHits) GetHitsOk() ([]map[string]interface{}, bool)
GetHitsOk returns a tuple with the Hits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponseHits) GetMaxScore ¶
func (o *SearchResponseHits) GetMaxScore() int32
GetMaxScore returns the MaxScore field value if set, zero value otherwise.
func (*SearchResponseHits) GetMaxScoreOk ¶
func (o *SearchResponseHits) GetMaxScoreOk() (*int32, bool)
GetMaxScoreOk returns a tuple with the MaxScore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponseHits) GetTotal ¶
func (o *SearchResponseHits) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise.
func (*SearchResponseHits) GetTotalOk ¶
func (o *SearchResponseHits) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponseHits) GetTotalRelation ¶
func (o *SearchResponseHits) GetTotalRelation() string
GetTotalRelation returns the TotalRelation field value if set, zero value otherwise.
func (*SearchResponseHits) GetTotalRelationOk ¶
func (o *SearchResponseHits) GetTotalRelationOk() (*string, bool)
GetTotalRelationOk returns a tuple with the TotalRelation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResponseHits) HasHits ¶
func (o *SearchResponseHits) HasHits() bool
HasHits returns a boolean if a field has been set.
func (*SearchResponseHits) HasMaxScore ¶
func (o *SearchResponseHits) HasMaxScore() bool
HasMaxScore returns a boolean if a field has been set.
func (*SearchResponseHits) HasTotal ¶
func (o *SearchResponseHits) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (*SearchResponseHits) HasTotalRelation ¶
func (o *SearchResponseHits) HasTotalRelation() bool
HasTotalRelation returns a boolean if a field has been set.
func (SearchResponseHits) MarshalJSON ¶
func (o SearchResponseHits) MarshalJSON() ([]byte, error)
func (*SearchResponseHits) SetHits ¶
func (o *SearchResponseHits) SetHits(v []map[string]interface{})
SetHits gets a reference to the given []map[string]interface{} and assigns it to the Hits field.
func (*SearchResponseHits) SetMaxScore ¶
func (o *SearchResponseHits) SetMaxScore(v int32)
SetMaxScore gets a reference to the given int32 and assigns it to the MaxScore field.
func (*SearchResponseHits) SetTotal ¶
func (o *SearchResponseHits) SetTotal(v int32)
SetTotal gets a reference to the given int32 and assigns it to the Total field.
func (*SearchResponseHits) SetTotalRelation ¶
func (o *SearchResponseHits) SetTotalRelation(v string)
SetTotalRelation gets a reference to the given string and assigns it to the TotalRelation field.
func (SearchResponseHits) ToMap ¶
func (o SearchResponseHits) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SortMVA ¶
type SortMVA struct { Attr string `json:"attr"` Order string `json:"order"` Mode string `json:"mode"` }
SortMVA Query sort expression for MVA attributes
func NewSortMVA ¶
NewSortMVA instantiates a new SortMVA 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 NewSortMVAWithDefaults ¶
func NewSortMVAWithDefaults() *SortMVA
NewSortMVAWithDefaults instantiates a new SortMVA 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 (*SortMVA) GetAttrOk ¶
GetAttrOk returns a tuple with the Attr field value and a boolean to check if the value has been set.
func (*SortMVA) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.
func (*SortMVA) GetOrderOk ¶
GetOrderOk returns a tuple with the Order field value and a boolean to check if the value has been set.
func (SortMVA) MarshalJSON ¶
func (*SortMVA) UnmarshalJSON ¶
type SortMultiple ¶
type SortMultiple struct { Attrs map[string]interface{} `json:"attrs"` Replace bool `json:"replace"` }
SortMultiple Query sort expression for multiple attributes
func NewSortMultiple ¶
func NewSortMultiple(attrs map[string]interface{}, replace bool) *SortMultiple
NewSortMultiple instantiates a new SortMultiple 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 NewSortMultipleWithDefaults ¶
func NewSortMultipleWithDefaults() *SortMultiple
NewSortMultipleWithDefaults instantiates a new SortMultiple 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 (*SortMultiple) GetAttrs ¶
func (o *SortMultiple) GetAttrs() map[string]interface{}
GetAttrs returns the Attrs field value
func (*SortMultiple) GetAttrsOk ¶
func (o *SortMultiple) GetAttrsOk() (map[string]interface{}, bool)
GetAttrsOk returns a tuple with the Attrs field value and a boolean to check if the value has been set.
func (*SortMultiple) GetReplace ¶
func (o *SortMultiple) GetReplace() bool
GetReplace returns the Replace field value
func (*SortMultiple) GetReplaceOk ¶
func (o *SortMultiple) GetReplaceOk() (*bool, bool)
GetReplaceOk returns a tuple with the Replace field value and a boolean to check if the value has been set.
func (SortMultiple) MarshalJSON ¶
func (o SortMultiple) MarshalJSON() ([]byte, error)
func (*SortMultiple) SetAttrs ¶
func (o *SortMultiple) SetAttrs(v map[string]interface{})
SetAttrs sets field value
func (*SortMultiple) SetReplace ¶
func (o *SortMultiple) SetReplace(v bool)
SetReplace sets field value
func (SortMultiple) ToMap ¶
func (o SortMultiple) ToMap() (map[string]interface{}, error)
func (*SortMultiple) UnmarshalJSON ¶
func (o *SortMultiple) UnmarshalJSON(data []byte) (err error)
type SortOrder ¶
SortOrder Query sort expression
func NewSortOrder ¶
NewSortOrder instantiates a new SortOrder 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 NewSortOrderWithDefaults ¶
func NewSortOrderWithDefaults() *SortOrder
NewSortOrderWithDefaults instantiates a new SortOrder 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 (*SortOrder) GetAttrOk ¶
GetAttrOk returns a tuple with the Attr field value and a boolean to check if the value has been set.
func (*SortOrder) GetOrderOk ¶
GetOrderOk returns a tuple with the Order field value and a boolean to check if the value has been set.
func (SortOrder) MarshalJSON ¶
func (*SortOrder) UnmarshalJSON ¶
type SourceByRules ¶
type SourceByRules struct { Includes []string `json:"includes"` Excludes []string `json:"excludes"` }
SourceByRules Query fields to be included/excluded to/from response
func NewSourceByRules ¶
func NewSourceByRules(includes []string, excludes []string) *SourceByRules
NewSourceByRules instantiates a new SourceByRules 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 NewSourceByRulesWithDefaults ¶
func NewSourceByRulesWithDefaults() *SourceByRules
NewSourceByRulesWithDefaults instantiates a new SourceByRules 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 (*SourceByRules) GetExcludes ¶
func (o *SourceByRules) GetExcludes() []string
GetExcludes returns the Excludes field value
func (*SourceByRules) GetExcludesOk ¶
func (o *SourceByRules) GetExcludesOk() ([]string, bool)
GetExcludesOk returns a tuple with the Excludes field value and a boolean to check if the value has been set.
func (*SourceByRules) GetIncludes ¶
func (o *SourceByRules) GetIncludes() []string
GetIncludes returns the Includes field value
func (*SourceByRules) GetIncludesOk ¶
func (o *SourceByRules) GetIncludesOk() ([]string, bool)
GetIncludesOk returns a tuple with the Includes field value and a boolean to check if the value has been set.
func (SourceByRules) MarshalJSON ¶
func (o SourceByRules) MarshalJSON() ([]byte, error)
func (*SourceByRules) SetExcludes ¶
func (o *SourceByRules) SetExcludes(v []string)
SetExcludes sets field value
func (*SourceByRules) SetIncludes ¶
func (o *SourceByRules) SetIncludes(v []string)
SetIncludes sets field value
func (SourceByRules) ToMap ¶
func (o SourceByRules) ToMap() (map[string]interface{}, error)
func (*SourceByRules) UnmarshalJSON ¶
func (o *SourceByRules) UnmarshalJSON(data []byte) (err error)
type SqlDefaultResponse ¶
type SqlDefaultResponse struct { ErrorResponse *ErrorResponse ErrorResponseString *ErrorResponseString }
SqlDefaultResponse - struct for SqlDefaultResponse
func ErrorResponseAsSqlDefaultResponse ¶
func ErrorResponseAsSqlDefaultResponse(v *ErrorResponse) SqlDefaultResponse
ErrorResponseAsSqlDefaultResponse is a convenience function that returns ErrorResponse wrapped in SqlDefaultResponse
func ErrorResponseStringAsSqlDefaultResponse ¶
func ErrorResponseStringAsSqlDefaultResponse(v *ErrorResponseString) SqlDefaultResponse
ErrorResponseStringAsSqlDefaultResponse is a convenience function that returns ErrorResponseString wrapped in SqlDefaultResponse
func (*SqlDefaultResponse) GetActualInstance ¶
func (obj *SqlDefaultResponse) GetActualInstance() interface{}
Get the actual instance
func (SqlDefaultResponse) MarshalJSON ¶
func (src SqlDefaultResponse) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SqlDefaultResponse) UnmarshalJSON ¶
func (dst *SqlDefaultResponse) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SuccessResponse ¶
type SuccessResponse struct { Index *string `json:"_index,omitempty"` Id *int64 `json:"_id,omitempty"` Created *bool `json:"created,omitempty"` Result *string `json:"result,omitempty"` Found *bool `json:"found,omitempty"` }
SuccessResponse Success response
func NewSuccessResponse ¶
func NewSuccessResponse() *SuccessResponse
NewSuccessResponse instantiates a new SuccessResponse 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 NewSuccessResponseWithDefaults ¶
func NewSuccessResponseWithDefaults() *SuccessResponse
NewSuccessResponseWithDefaults instantiates a new SuccessResponse 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 (*SuccessResponse) GetCreated ¶
func (o *SuccessResponse) GetCreated() bool
GetCreated returns the Created field value if set, zero value otherwise.
func (*SuccessResponse) GetCreatedOk ¶
func (o *SuccessResponse) GetCreatedOk() (*bool, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuccessResponse) GetFound ¶
func (o *SuccessResponse) GetFound() bool
GetFound returns the Found field value if set, zero value otherwise.
func (*SuccessResponse) GetFoundOk ¶
func (o *SuccessResponse) GetFoundOk() (*bool, bool)
GetFoundOk returns a tuple with the Found field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuccessResponse) GetId ¶
func (o *SuccessResponse) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SuccessResponse) GetIdOk ¶
func (o *SuccessResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuccessResponse) GetIndex ¶
func (o *SuccessResponse) GetIndex() string
GetIndex returns the Index field value if set, zero value otherwise.
func (*SuccessResponse) GetIndexOk ¶
func (o *SuccessResponse) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuccessResponse) GetResult ¶
func (o *SuccessResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*SuccessResponse) GetResultOk ¶
func (o *SuccessResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuccessResponse) HasCreated ¶
func (o *SuccessResponse) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*SuccessResponse) HasFound ¶
func (o *SuccessResponse) HasFound() bool
HasFound returns a boolean if a field has been set.
func (*SuccessResponse) HasId ¶
func (o *SuccessResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*SuccessResponse) HasIndex ¶
func (o *SuccessResponse) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (*SuccessResponse) HasResult ¶
func (o *SuccessResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (SuccessResponse) MarshalJSON ¶
func (o SuccessResponse) MarshalJSON() ([]byte, error)
func (*SuccessResponse) SetCreated ¶
func (o *SuccessResponse) SetCreated(v bool)
SetCreated gets a reference to the given bool and assigns it to the Created field.
func (*SuccessResponse) SetFound ¶
func (o *SuccessResponse) SetFound(v bool)
SetFound gets a reference to the given bool and assigns it to the Found field.
func (*SuccessResponse) SetId ¶
func (o *SuccessResponse) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SuccessResponse) SetIndex ¶
func (o *SuccessResponse) SetIndex(v string)
SetIndex gets a reference to the given string and assigns it to the Index field.
func (*SuccessResponse) SetResult ¶
func (o *SuccessResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (SuccessResponse) ToMap ¶
func (o SuccessResponse) ToMap() (map[string]interface{}, error)
type UpdateDocumentRequest ¶
type UpdateDocumentRequest struct { Index string `json:"index"` // Index name Doc map[string]interface{} `json:"doc"` // Document ID Id *int64 `json:"id,omitempty"` // Query tree object Query map[string]interface{} `json:"query,omitempty"` }
UpdateDocumentRequest Payload for update document
func NewUpdateDocumentRequest ¶
func NewUpdateDocumentRequest(index string, doc map[string]interface{}) *UpdateDocumentRequest
NewUpdateDocumentRequest instantiates a new UpdateDocumentRequest 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 NewUpdateDocumentRequestWithDefaults ¶
func NewUpdateDocumentRequestWithDefaults() *UpdateDocumentRequest
NewUpdateDocumentRequestWithDefaults instantiates a new UpdateDocumentRequest 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 (*UpdateDocumentRequest) GetDoc ¶
func (o *UpdateDocumentRequest) GetDoc() map[string]interface{}
GetDoc returns the Doc field value
func (*UpdateDocumentRequest) GetDocOk ¶
func (o *UpdateDocumentRequest) GetDocOk() (map[string]interface{}, bool)
GetDocOk returns a tuple with the Doc field value and a boolean to check if the value has been set.
func (*UpdateDocumentRequest) GetId ¶
func (o *UpdateDocumentRequest) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*UpdateDocumentRequest) GetIdOk ¶
func (o *UpdateDocumentRequest) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDocumentRequest) GetIndex ¶
func (o *UpdateDocumentRequest) GetIndex() string
GetIndex returns the Index field value
func (*UpdateDocumentRequest) GetIndexOk ¶
func (o *UpdateDocumentRequest) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*UpdateDocumentRequest) GetQuery ¶
func (o *UpdateDocumentRequest) GetQuery() map[string]interface{}
GetQuery returns the Query field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateDocumentRequest) GetQueryOk ¶
func (o *UpdateDocumentRequest) GetQueryOk() (map[string]interface{}, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateDocumentRequest) HasId ¶
func (o *UpdateDocumentRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdateDocumentRequest) HasQuery ¶
func (o *UpdateDocumentRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (UpdateDocumentRequest) MarshalJSON ¶
func (o UpdateDocumentRequest) MarshalJSON() ([]byte, error)
func (*UpdateDocumentRequest) SetDoc ¶
func (o *UpdateDocumentRequest) SetDoc(v map[string]interface{})
SetDoc sets field value
func (*UpdateDocumentRequest) SetId ¶
func (o *UpdateDocumentRequest) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*UpdateDocumentRequest) SetIndex ¶
func (o *UpdateDocumentRequest) SetIndex(v string)
SetIndex sets field value
func (*UpdateDocumentRequest) SetQuery ¶
func (o *UpdateDocumentRequest) SetQuery(v map[string]interface{})
SetQuery gets a reference to the given map[string]interface{} and assigns it to the Query field.
func (UpdateDocumentRequest) ToMap ¶
func (o UpdateDocumentRequest) ToMap() (map[string]interface{}, error)
func (*UpdateDocumentRequest) UnmarshalJSON ¶
func (o *UpdateDocumentRequest) UnmarshalJSON(data []byte) (err error)
type UpdateResponse ¶
type UpdateResponse struct { Index *string `json:"_index,omitempty"` Updated *int32 `json:"updated,omitempty"` Id *int64 `json:"_id,omitempty"` Result *string `json:"result,omitempty"` }
UpdateResponse Success response
func NewUpdateResponse ¶
func NewUpdateResponse() *UpdateResponse
NewUpdateResponse instantiates a new UpdateResponse 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 NewUpdateResponseWithDefaults ¶
func NewUpdateResponseWithDefaults() *UpdateResponse
NewUpdateResponseWithDefaults instantiates a new UpdateResponse 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 (*UpdateResponse) GetId ¶
func (o *UpdateResponse) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*UpdateResponse) GetIdOk ¶
func (o *UpdateResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResponse) GetIndex ¶
func (o *UpdateResponse) GetIndex() string
GetIndex returns the Index field value if set, zero value otherwise.
func (*UpdateResponse) GetIndexOk ¶
func (o *UpdateResponse) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResponse) GetResult ¶
func (o *UpdateResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*UpdateResponse) GetResultOk ¶
func (o *UpdateResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResponse) GetUpdated ¶
func (o *UpdateResponse) GetUpdated() int32
GetUpdated returns the Updated field value if set, zero value otherwise.
func (*UpdateResponse) GetUpdatedOk ¶
func (o *UpdateResponse) GetUpdatedOk() (*int32, bool)
GetUpdatedOk returns a tuple with the Updated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResponse) HasId ¶
func (o *UpdateResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdateResponse) HasIndex ¶
func (o *UpdateResponse) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (*UpdateResponse) HasResult ¶
func (o *UpdateResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (*UpdateResponse) HasUpdated ¶
func (o *UpdateResponse) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.
func (UpdateResponse) MarshalJSON ¶
func (o UpdateResponse) MarshalJSON() ([]byte, error)
func (*UpdateResponse) SetId ¶
func (o *UpdateResponse) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*UpdateResponse) SetIndex ¶
func (o *UpdateResponse) SetIndex(v string)
SetIndex gets a reference to the given string and assigns it to the Index field.
func (*UpdateResponse) SetResult ¶
func (o *UpdateResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (*UpdateResponse) SetUpdated ¶
func (o *UpdateResponse) SetUpdated(v int32)
SetUpdated gets a reference to the given int32 and assigns it to the Updated field.
func (UpdateResponse) ToMap ¶
func (o UpdateResponse) ToMap() (map[string]interface{}, error)
type UtilsAPIService ¶
type UtilsAPIService service
UtilsAPIService UtilsAPI service
func (*UtilsAPIService) Sql ¶
func (a *UtilsAPIService) Sql(ctx context.Context) ApiSqlRequest
Sql Perform SQL requests
Run a query in SQL format. Expects a query string passed through `body` parameter and optional `raw_response` parameter that defines a format of response. `raw_response` can be set to `False` for Select queries only, e.g., `SELECT * FROM myindex` The query string must stay as it is, no URL encoding is needed. The response object depends on the query executed. In select mode the response has same format as `/search` operation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSqlRequest
func (*UtilsAPIService) SqlExecute ¶
func (a *UtilsAPIService) SqlExecute(r ApiSqlRequest) ([]map[string]interface{}, *http.Response, error)
Execute executes the request
@return []map[string]interface{}
Source Files ¶
- api_index.go
- api_search.go
- api_utils.go
- client.go
- configuration.go
- model_aggregation.go
- model_aggregation_sort_inner_value.go
- model_aggregation_terms.go
- model_bool_filter.go
- model_bulk_response.go
- model_delete_document_request.go
- model_delete_response.go
- model_equals_filter.go
- model_error_response.go
- model_error_response_string.go
- model_facet.go
- model_filter_boolean.go
- model_filter_number.go
- model_filter_string.go
- model_geo_distance_filter.go
- model_geo_distance_filter_location_anchor.go
- model_highlight.go
- model_highlight_field.go
- model_in_filter.go
- model_insert_document_request.go
- model_knn_search_request_by_doc_id.go
- model_knn_search_request_by_vector.go
- model_match_filter.go
- model_match_op.go
- model_match_op_filter.go
- model_match_phrase_filter.go
- model_not_filter_boolean.go
- model_not_filter_number.go
- model_not_filter_string.go
- model_percolate_request.go
- model_percolate_request_query.go
- model_query_filter.go
- model_range_filter.go
- model_search_request.go
- model_search_response.go
- model_search_response_hits.go
- model_sort_multiple.go
- model_sort_mva.go
- model_sort_order.go
- model_source_by_rules.go
- model_sql_default_response.go
- model_success_response.go
- model_update_document_request.go
- model_update_response.go
- response.go
- utils.go