Documentation ¶
Index ¶
- type Client
- func (a *Client) ExportSearchKeywordChunked(params *ExportSearchKeywordChunkedParams, ...) (*ExportSearchKeywordChunkedOK, error)
- func (a *Client) FieldHistogramKeyword(params *FieldHistogramKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*FieldHistogramKeywordOK, error)
- func (a *Client) HistogramKeyword(params *HistogramKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*HistogramKeywordOK, error)
- func (a *Client) SearchKeyword(params *SearchKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*SearchKeywordOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StatsKeyword(params *StatsKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*StatsKeywordOK, error)
- func (a *Client) TermsKeyword(params *TermsKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*TermsKeywordOK, error)
- type ExportSearchKeywordChunkedBadRequest
- type ExportSearchKeywordChunkedOK
- type ExportSearchKeywordChunkedParams
- func NewExportSearchKeywordChunkedParams() *ExportSearchKeywordChunkedParams
- func NewExportSearchKeywordChunkedParamsWithContext(ctx context.Context) *ExportSearchKeywordChunkedParams
- func NewExportSearchKeywordChunkedParamsWithHTTPClient(client *http.Client) *ExportSearchKeywordChunkedParams
- func NewExportSearchKeywordChunkedParamsWithTimeout(timeout time.Duration) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) SetContext(ctx context.Context)
- func (o *ExportSearchKeywordChunkedParams) SetFields(fields string)
- func (o *ExportSearchKeywordChunkedParams) SetFilter(filter *string)
- func (o *ExportSearchKeywordChunkedParams) SetHTTPClient(client *http.Client)
- func (o *ExportSearchKeywordChunkedParams) SetKeyword(keyword string)
- func (o *ExportSearchKeywordChunkedParams) SetLimit(limit *int64)
- func (o *ExportSearchKeywordChunkedParams) SetOffset(offset *int64)
- func (o *ExportSearchKeywordChunkedParams) SetQuery(query string)
- func (o *ExportSearchKeywordChunkedParams) SetTimeout(timeout time.Duration)
- func (o *ExportSearchKeywordChunkedParams) WithContext(ctx context.Context) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithFields(fields string) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithFilter(filter *string) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithHTTPClient(client *http.Client) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithKeyword(keyword string) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithLimit(limit *int64) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithOffset(offset *int64) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithQuery(query string) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WithTimeout(timeout time.Duration) *ExportSearchKeywordChunkedParams
- func (o *ExportSearchKeywordChunkedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportSearchKeywordChunkedReader
- type FieldHistogramKeywordBadRequest
- type FieldHistogramKeywordOK
- type FieldHistogramKeywordParams
- func NewFieldHistogramKeywordParams() *FieldHistogramKeywordParams
- func NewFieldHistogramKeywordParamsWithContext(ctx context.Context) *FieldHistogramKeywordParams
- func NewFieldHistogramKeywordParamsWithHTTPClient(client *http.Client) *FieldHistogramKeywordParams
- func NewFieldHistogramKeywordParamsWithTimeout(timeout time.Duration) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) SetCardinality(cardinality *bool)
- func (o *FieldHistogramKeywordParams) SetContext(ctx context.Context)
- func (o *FieldHistogramKeywordParams) SetField(field string)
- func (o *FieldHistogramKeywordParams) SetFilter(filter *string)
- func (o *FieldHistogramKeywordParams) SetHTTPClient(client *http.Client)
- func (o *FieldHistogramKeywordParams) SetInterval(interval string)
- func (o *FieldHistogramKeywordParams) SetKeyword(keyword string)
- func (o *FieldHistogramKeywordParams) SetQuery(query string)
- func (o *FieldHistogramKeywordParams) SetTimeout(timeout time.Duration)
- func (o *FieldHistogramKeywordParams) WithCardinality(cardinality *bool) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithContext(ctx context.Context) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithField(field string) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithFilter(filter *string) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithHTTPClient(client *http.Client) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithInterval(interval string) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithKeyword(keyword string) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithQuery(query string) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WithTimeout(timeout time.Duration) *FieldHistogramKeywordParams
- func (o *FieldHistogramKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FieldHistogramKeywordReader
- type HistogramKeywordBadRequest
- type HistogramKeywordOK
- type HistogramKeywordParams
- func NewHistogramKeywordParams() *HistogramKeywordParams
- func NewHistogramKeywordParamsWithContext(ctx context.Context) *HistogramKeywordParams
- func NewHistogramKeywordParamsWithHTTPClient(client *http.Client) *HistogramKeywordParams
- func NewHistogramKeywordParamsWithTimeout(timeout time.Duration) *HistogramKeywordParams
- func (o *HistogramKeywordParams) SetContext(ctx context.Context)
- func (o *HistogramKeywordParams) SetFilter(filter *string)
- func (o *HistogramKeywordParams) SetHTTPClient(client *http.Client)
- func (o *HistogramKeywordParams) SetInterval(interval string)
- func (o *HistogramKeywordParams) SetKeyword(keyword string)
- func (o *HistogramKeywordParams) SetQuery(query string)
- func (o *HistogramKeywordParams) SetTimeout(timeout time.Duration)
- func (o *HistogramKeywordParams) WithContext(ctx context.Context) *HistogramKeywordParams
- func (o *HistogramKeywordParams) WithFilter(filter *string) *HistogramKeywordParams
- func (o *HistogramKeywordParams) WithHTTPClient(client *http.Client) *HistogramKeywordParams
- func (o *HistogramKeywordParams) WithInterval(interval string) *HistogramKeywordParams
- func (o *HistogramKeywordParams) WithKeyword(keyword string) *HistogramKeywordParams
- func (o *HistogramKeywordParams) WithQuery(query string) *HistogramKeywordParams
- func (o *HistogramKeywordParams) WithTimeout(timeout time.Duration) *HistogramKeywordParams
- func (o *HistogramKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HistogramKeywordReader
- type SearchKeywordBadRequest
- type SearchKeywordChunkedBadRequest
- type SearchKeywordChunkedOK
- type SearchKeywordChunkedOKBody
- type SearchKeywordChunkedParams
- func NewSearchKeywordChunkedParams() *SearchKeywordChunkedParams
- func NewSearchKeywordChunkedParamsWithContext(ctx context.Context) *SearchKeywordChunkedParams
- func NewSearchKeywordChunkedParamsWithHTTPClient(client *http.Client) *SearchKeywordChunkedParams
- func NewSearchKeywordChunkedParamsWithTimeout(timeout time.Duration) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) SetContext(ctx context.Context)
- func (o *SearchKeywordChunkedParams) SetFields(fields string)
- func (o *SearchKeywordChunkedParams) SetFilter(filter *string)
- func (o *SearchKeywordChunkedParams) SetHTTPClient(client *http.Client)
- func (o *SearchKeywordChunkedParams) SetKeyword(keyword string)
- func (o *SearchKeywordChunkedParams) SetLimit(limit *int64)
- func (o *SearchKeywordChunkedParams) SetOffset(offset *int64)
- func (o *SearchKeywordChunkedParams) SetQuery(query string)
- func (o *SearchKeywordChunkedParams) SetTimeout(timeout time.Duration)
- func (o *SearchKeywordChunkedParams) WithContext(ctx context.Context) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithFields(fields string) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithFilter(filter *string) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithHTTPClient(client *http.Client) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithKeyword(keyword string) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithLimit(limit *int64) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithOffset(offset *int64) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithQuery(query string) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WithTimeout(timeout time.Duration) *SearchKeywordChunkedParams
- func (o *SearchKeywordChunkedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchKeywordChunkedReader
- type SearchKeywordOK
- type SearchKeywordParams
- func (o *SearchKeywordParams) SetContext(ctx context.Context)
- func (o *SearchKeywordParams) SetDecorate(decorate *bool)
- func (o *SearchKeywordParams) SetFields(fields *string)
- func (o *SearchKeywordParams) SetFilter(filter *string)
- func (o *SearchKeywordParams) SetHTTPClient(client *http.Client)
- func (o *SearchKeywordParams) SetKeyword(keyword string)
- func (o *SearchKeywordParams) SetLimit(limit *int64)
- func (o *SearchKeywordParams) SetOffset(offset *int64)
- func (o *SearchKeywordParams) SetQuery(query string)
- func (o *SearchKeywordParams) SetSort(sort *string)
- func (o *SearchKeywordParams) SetTimeout(timeout time.Duration)
- func (o *SearchKeywordParams) WithContext(ctx context.Context) *SearchKeywordParams
- func (o *SearchKeywordParams) WithDecorate(decorate *bool) *SearchKeywordParams
- func (o *SearchKeywordParams) WithFields(fields *string) *SearchKeywordParams
- func (o *SearchKeywordParams) WithFilter(filter *string) *SearchKeywordParams
- func (o *SearchKeywordParams) WithHTTPClient(client *http.Client) *SearchKeywordParams
- func (o *SearchKeywordParams) WithKeyword(keyword string) *SearchKeywordParams
- func (o *SearchKeywordParams) WithLimit(limit *int64) *SearchKeywordParams
- func (o *SearchKeywordParams) WithOffset(offset *int64) *SearchKeywordParams
- func (o *SearchKeywordParams) WithQuery(query string) *SearchKeywordParams
- func (o *SearchKeywordParams) WithSort(sort *string) *SearchKeywordParams
- func (o *SearchKeywordParams) WithTimeout(timeout time.Duration) *SearchKeywordParams
- func (o *SearchKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchKeywordReader
- type StatsKeywordBadRequest
- type StatsKeywordOK
- type StatsKeywordParams
- func (o *StatsKeywordParams) SetContext(ctx context.Context)
- func (o *StatsKeywordParams) SetField(field string)
- func (o *StatsKeywordParams) SetFilter(filter *string)
- func (o *StatsKeywordParams) SetHTTPClient(client *http.Client)
- func (o *StatsKeywordParams) SetKeyword(keyword string)
- func (o *StatsKeywordParams) SetQuery(query string)
- func (o *StatsKeywordParams) SetTimeout(timeout time.Duration)
- func (o *StatsKeywordParams) WithContext(ctx context.Context) *StatsKeywordParams
- func (o *StatsKeywordParams) WithField(field string) *StatsKeywordParams
- func (o *StatsKeywordParams) WithFilter(filter *string) *StatsKeywordParams
- func (o *StatsKeywordParams) WithHTTPClient(client *http.Client) *StatsKeywordParams
- func (o *StatsKeywordParams) WithKeyword(keyword string) *StatsKeywordParams
- func (o *StatsKeywordParams) WithQuery(query string) *StatsKeywordParams
- func (o *StatsKeywordParams) WithTimeout(timeout time.Duration) *StatsKeywordParams
- func (o *StatsKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatsKeywordReader
- type TermsKeywordBadRequest
- type TermsKeywordOK
- type TermsKeywordParams
- func (o *TermsKeywordParams) SetContext(ctx context.Context)
- func (o *TermsKeywordParams) SetField(field string)
- func (o *TermsKeywordParams) SetFilter(filter *string)
- func (o *TermsKeywordParams) SetHTTPClient(client *http.Client)
- func (o *TermsKeywordParams) SetKeyword(keyword string)
- func (o *TermsKeywordParams) SetOrder(order *string)
- func (o *TermsKeywordParams) SetQuery(query string)
- func (o *TermsKeywordParams) SetSize(size *int64)
- func (o *TermsKeywordParams) SetStackedFields(stackedFields *string)
- func (o *TermsKeywordParams) SetTimeout(timeout time.Duration)
- func (o *TermsKeywordParams) WithContext(ctx context.Context) *TermsKeywordParams
- func (o *TermsKeywordParams) WithField(field string) *TermsKeywordParams
- func (o *TermsKeywordParams) WithFilter(filter *string) *TermsKeywordParams
- func (o *TermsKeywordParams) WithHTTPClient(client *http.Client) *TermsKeywordParams
- func (o *TermsKeywordParams) WithKeyword(keyword string) *TermsKeywordParams
- func (o *TermsKeywordParams) WithOrder(order *string) *TermsKeywordParams
- func (o *TermsKeywordParams) WithQuery(query string) *TermsKeywordParams
- func (o *TermsKeywordParams) WithSize(size *int64) *TermsKeywordParams
- func (o *TermsKeywordParams) WithStackedFields(stackedFields *string) *TermsKeywordParams
- func (o *TermsKeywordParams) WithTimeout(timeout time.Duration) *TermsKeywordParams
- func (o *TermsKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TermsKeywordReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for search universal relative API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new search universal relative API client.
func (*Client) ExportSearchKeywordChunked ¶
func (a *Client) ExportSearchKeywordChunked(params *ExportSearchKeywordChunkedParams, authInfo runtime.ClientAuthInfoWriter) (*ExportSearchKeywordChunkedOK, error)
ExportSearchKeywordChunked exports message search with keyword as timerange
Search for messages in a timerange defined by a keyword like "yesterday" or "2 weeks ago to wednesday".
func (*Client) FieldHistogramKeyword ¶
func (a *Client) FieldHistogramKeyword(params *FieldHistogramKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*FieldHistogramKeywordOK, error)
FieldHistogramKeyword datetimes histogram of a query using keyword timerange
func (*Client) HistogramKeyword ¶
func (a *Client) HistogramKeyword(params *HistogramKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*HistogramKeywordOK, error)
HistogramKeyword datetimes histogram of a query using keyword timerange
func (*Client) SearchKeyword ¶
func (a *Client) SearchKeyword(params *SearchKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*SearchKeywordOK, error)
SearchKeyword messages search with keyword as timerange
Search for messages in a timerange defined by a keyword like "yesterday" or "2 weeks ago to wednesday".
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StatsKeyword ¶
func (a *Client) StatsKeyword(params *StatsKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*StatsKeywordOK, error)
StatsKeyword fields statistics for a query using a keyword timerange
Returns statistics like min/max or standard deviation of numeric fields over the whole query result set.
func (*Client) TermsKeyword ¶
func (a *Client) TermsKeyword(params *TermsKeywordParams, authInfo runtime.ClientAuthInfoWriter) (*TermsKeywordOK, error)
TermsKeyword mosts common field terms of a query using a keyword timerange
type ExportSearchKeywordChunkedBadRequest ¶
type ExportSearchKeywordChunkedBadRequest struct { }
ExportSearchKeywordChunkedBadRequest handles this case with default header values.
Invalid keyword provided.
func NewExportSearchKeywordChunkedBadRequest ¶
func NewExportSearchKeywordChunkedBadRequest() *ExportSearchKeywordChunkedBadRequest
NewExportSearchKeywordChunkedBadRequest creates a ExportSearchKeywordChunkedBadRequest with default headers values
func (*ExportSearchKeywordChunkedBadRequest) Error ¶
func (o *ExportSearchKeywordChunkedBadRequest) Error() string
type ExportSearchKeywordChunkedOK ¶
type ExportSearchKeywordChunkedOK struct { }
ExportSearchKeywordChunkedOK handles this case with default header values.
No response was specified
func NewExportSearchKeywordChunkedOK ¶
func NewExportSearchKeywordChunkedOK() *ExportSearchKeywordChunkedOK
NewExportSearchKeywordChunkedOK creates a ExportSearchKeywordChunkedOK with default headers values
func (*ExportSearchKeywordChunkedOK) Error ¶
func (o *ExportSearchKeywordChunkedOK) Error() string
type ExportSearchKeywordChunkedParams ¶
type ExportSearchKeywordChunkedParams struct { /*Fields Comma separated list of fields to return */ Fields string /*Filter Filter */ Filter *string /*Keyword Range keyword */ Keyword string /*Limit Maximum number of messages to return. */ Limit *int64 /*Offset Offset */ Offset *int64 /*Query Query (Lucene syntax) */ Query string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportSearchKeywordChunkedParams contains all the parameters to send to the API endpoint for the export search keyword chunked operation typically these are written to a http.Request
func NewExportSearchKeywordChunkedParams ¶
func NewExportSearchKeywordChunkedParams() *ExportSearchKeywordChunkedParams
NewExportSearchKeywordChunkedParams creates a new ExportSearchKeywordChunkedParams object with the default values initialized.
func NewExportSearchKeywordChunkedParamsWithContext ¶
func NewExportSearchKeywordChunkedParamsWithContext(ctx context.Context) *ExportSearchKeywordChunkedParams
NewExportSearchKeywordChunkedParamsWithContext creates a new ExportSearchKeywordChunkedParams object with the default values initialized, and the ability to set a context for a request
func NewExportSearchKeywordChunkedParamsWithHTTPClient ¶
func NewExportSearchKeywordChunkedParamsWithHTTPClient(client *http.Client) *ExportSearchKeywordChunkedParams
NewExportSearchKeywordChunkedParamsWithHTTPClient creates a new ExportSearchKeywordChunkedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExportSearchKeywordChunkedParamsWithTimeout ¶
func NewExportSearchKeywordChunkedParamsWithTimeout(timeout time.Duration) *ExportSearchKeywordChunkedParams
NewExportSearchKeywordChunkedParamsWithTimeout creates a new ExportSearchKeywordChunkedParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExportSearchKeywordChunkedParams) SetContext ¶
func (o *ExportSearchKeywordChunkedParams) SetContext(ctx context.Context)
SetContext adds the context to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetFields ¶
func (o *ExportSearchKeywordChunkedParams) SetFields(fields string)
SetFields adds the fields to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetFilter ¶
func (o *ExportSearchKeywordChunkedParams) SetFilter(filter *string)
SetFilter adds the filter to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetHTTPClient ¶
func (o *ExportSearchKeywordChunkedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetKeyword ¶
func (o *ExportSearchKeywordChunkedParams) SetKeyword(keyword string)
SetKeyword adds the keyword to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetLimit ¶
func (o *ExportSearchKeywordChunkedParams) SetLimit(limit *int64)
SetLimit adds the limit to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetOffset ¶
func (o *ExportSearchKeywordChunkedParams) SetOffset(offset *int64)
SetOffset adds the offset to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetQuery ¶
func (o *ExportSearchKeywordChunkedParams) SetQuery(query string)
SetQuery adds the query to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) SetTimeout ¶
func (o *ExportSearchKeywordChunkedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithContext ¶
func (o *ExportSearchKeywordChunkedParams) WithContext(ctx context.Context) *ExportSearchKeywordChunkedParams
WithContext adds the context to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithFields ¶
func (o *ExportSearchKeywordChunkedParams) WithFields(fields string) *ExportSearchKeywordChunkedParams
WithFields adds the fields to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithFilter ¶
func (o *ExportSearchKeywordChunkedParams) WithFilter(filter *string) *ExportSearchKeywordChunkedParams
WithFilter adds the filter to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithHTTPClient ¶
func (o *ExportSearchKeywordChunkedParams) WithHTTPClient(client *http.Client) *ExportSearchKeywordChunkedParams
WithHTTPClient adds the HTTPClient to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithKeyword ¶
func (o *ExportSearchKeywordChunkedParams) WithKeyword(keyword string) *ExportSearchKeywordChunkedParams
WithKeyword adds the keyword to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithLimit ¶
func (o *ExportSearchKeywordChunkedParams) WithLimit(limit *int64) *ExportSearchKeywordChunkedParams
WithLimit adds the limit to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithOffset ¶
func (o *ExportSearchKeywordChunkedParams) WithOffset(offset *int64) *ExportSearchKeywordChunkedParams
WithOffset adds the offset to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithQuery ¶
func (o *ExportSearchKeywordChunkedParams) WithQuery(query string) *ExportSearchKeywordChunkedParams
WithQuery adds the query to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WithTimeout ¶
func (o *ExportSearchKeywordChunkedParams) WithTimeout(timeout time.Duration) *ExportSearchKeywordChunkedParams
WithTimeout adds the timeout to the export search keyword chunked params
func (*ExportSearchKeywordChunkedParams) WriteToRequest ¶
func (o *ExportSearchKeywordChunkedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportSearchKeywordChunkedReader ¶
type ExportSearchKeywordChunkedReader struct {
// contains filtered or unexported fields
}
ExportSearchKeywordChunkedReader is a Reader for the ExportSearchKeywordChunked structure.
func (*ExportSearchKeywordChunkedReader) ReadResponse ¶
func (o *ExportSearchKeywordChunkedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FieldHistogramKeywordBadRequest ¶
type FieldHistogramKeywordBadRequest struct { }
FieldHistogramKeywordBadRequest handles this case with default header values.
Field is not of numeric type.
func NewFieldHistogramKeywordBadRequest ¶
func NewFieldHistogramKeywordBadRequest() *FieldHistogramKeywordBadRequest
NewFieldHistogramKeywordBadRequest creates a FieldHistogramKeywordBadRequest with default headers values
func (*FieldHistogramKeywordBadRequest) Error ¶
func (o *FieldHistogramKeywordBadRequest) Error() string
type FieldHistogramKeywordOK ¶
type FieldHistogramKeywordOK struct {
Payload *models.HistogramResult
}
FieldHistogramKeywordOK handles this case with default header values.
No response was specified
func NewFieldHistogramKeywordOK ¶
func NewFieldHistogramKeywordOK() *FieldHistogramKeywordOK
NewFieldHistogramKeywordOK creates a FieldHistogramKeywordOK with default headers values
func (*FieldHistogramKeywordOK) Error ¶
func (o *FieldHistogramKeywordOK) Error() string
type FieldHistogramKeywordParams ¶
type FieldHistogramKeywordParams struct { /*Cardinality Calculate the cardinality of the field as well */ Cardinality *bool /*Field Field of whose values to get the histogram of */ Field string /*Filter Filter */ Filter *string /*Interval Histogram interval / bucket size. (year, quarter, month, week, day, hour or minute) */ Interval string /*Keyword Range keyword */ Keyword string /*Query Query (Lucene syntax) */ Query string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FieldHistogramKeywordParams contains all the parameters to send to the API endpoint for the field histogram keyword operation typically these are written to a http.Request
func NewFieldHistogramKeywordParams ¶
func NewFieldHistogramKeywordParams() *FieldHistogramKeywordParams
NewFieldHistogramKeywordParams creates a new FieldHistogramKeywordParams object with the default values initialized.
func NewFieldHistogramKeywordParamsWithContext ¶
func NewFieldHistogramKeywordParamsWithContext(ctx context.Context) *FieldHistogramKeywordParams
NewFieldHistogramKeywordParamsWithContext creates a new FieldHistogramKeywordParams object with the default values initialized, and the ability to set a context for a request
func NewFieldHistogramKeywordParamsWithHTTPClient ¶
func NewFieldHistogramKeywordParamsWithHTTPClient(client *http.Client) *FieldHistogramKeywordParams
NewFieldHistogramKeywordParamsWithHTTPClient creates a new FieldHistogramKeywordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFieldHistogramKeywordParamsWithTimeout ¶
func NewFieldHistogramKeywordParamsWithTimeout(timeout time.Duration) *FieldHistogramKeywordParams
NewFieldHistogramKeywordParamsWithTimeout creates a new FieldHistogramKeywordParams object with the default values initialized, and the ability to set a timeout on a request
func (*FieldHistogramKeywordParams) SetCardinality ¶
func (o *FieldHistogramKeywordParams) SetCardinality(cardinality *bool)
SetCardinality adds the cardinality to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetContext ¶
func (o *FieldHistogramKeywordParams) SetContext(ctx context.Context)
SetContext adds the context to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetField ¶
func (o *FieldHistogramKeywordParams) SetField(field string)
SetField adds the field to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetFilter ¶
func (o *FieldHistogramKeywordParams) SetFilter(filter *string)
SetFilter adds the filter to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetHTTPClient ¶
func (o *FieldHistogramKeywordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetInterval ¶
func (o *FieldHistogramKeywordParams) SetInterval(interval string)
SetInterval adds the interval to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetKeyword ¶
func (o *FieldHistogramKeywordParams) SetKeyword(keyword string)
SetKeyword adds the keyword to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetQuery ¶
func (o *FieldHistogramKeywordParams) SetQuery(query string)
SetQuery adds the query to the field histogram keyword params
func (*FieldHistogramKeywordParams) SetTimeout ¶
func (o *FieldHistogramKeywordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithCardinality ¶
func (o *FieldHistogramKeywordParams) WithCardinality(cardinality *bool) *FieldHistogramKeywordParams
WithCardinality adds the cardinality to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithContext ¶
func (o *FieldHistogramKeywordParams) WithContext(ctx context.Context) *FieldHistogramKeywordParams
WithContext adds the context to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithField ¶
func (o *FieldHistogramKeywordParams) WithField(field string) *FieldHistogramKeywordParams
WithField adds the field to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithFilter ¶
func (o *FieldHistogramKeywordParams) WithFilter(filter *string) *FieldHistogramKeywordParams
WithFilter adds the filter to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithHTTPClient ¶
func (o *FieldHistogramKeywordParams) WithHTTPClient(client *http.Client) *FieldHistogramKeywordParams
WithHTTPClient adds the HTTPClient to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithInterval ¶
func (o *FieldHistogramKeywordParams) WithInterval(interval string) *FieldHistogramKeywordParams
WithInterval adds the interval to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithKeyword ¶
func (o *FieldHistogramKeywordParams) WithKeyword(keyword string) *FieldHistogramKeywordParams
WithKeyword adds the keyword to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithQuery ¶
func (o *FieldHistogramKeywordParams) WithQuery(query string) *FieldHistogramKeywordParams
WithQuery adds the query to the field histogram keyword params
func (*FieldHistogramKeywordParams) WithTimeout ¶
func (o *FieldHistogramKeywordParams) WithTimeout(timeout time.Duration) *FieldHistogramKeywordParams
WithTimeout adds the timeout to the field histogram keyword params
func (*FieldHistogramKeywordParams) WriteToRequest ¶
func (o *FieldHistogramKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FieldHistogramKeywordReader ¶
type FieldHistogramKeywordReader struct {
// contains filtered or unexported fields
}
FieldHistogramKeywordReader is a Reader for the FieldHistogramKeyword structure.
func (*FieldHistogramKeywordReader) ReadResponse ¶
func (o *FieldHistogramKeywordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HistogramKeywordBadRequest ¶
type HistogramKeywordBadRequest struct { }
HistogramKeywordBadRequest handles this case with default header values.
Invalid interval provided.
func NewHistogramKeywordBadRequest ¶
func NewHistogramKeywordBadRequest() *HistogramKeywordBadRequest
NewHistogramKeywordBadRequest creates a HistogramKeywordBadRequest with default headers values
func (*HistogramKeywordBadRequest) Error ¶
func (o *HistogramKeywordBadRequest) Error() string
type HistogramKeywordOK ¶
type HistogramKeywordOK struct {
Payload *models.HistogramResult
}
HistogramKeywordOK handles this case with default header values.
No response was specified
func NewHistogramKeywordOK ¶
func NewHistogramKeywordOK() *HistogramKeywordOK
NewHistogramKeywordOK creates a HistogramKeywordOK with default headers values
func (*HistogramKeywordOK) Error ¶
func (o *HistogramKeywordOK) Error() string
type HistogramKeywordParams ¶
type HistogramKeywordParams struct { /*Filter Filter */ Filter *string /*Interval Histogram interval / bucket size. (year, quarter, month, week, day, hour or minute) */ Interval string /*Keyword Range keyword */ Keyword string /*Query Query (Lucene syntax) */ Query string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HistogramKeywordParams contains all the parameters to send to the API endpoint for the histogram keyword operation typically these are written to a http.Request
func NewHistogramKeywordParams ¶
func NewHistogramKeywordParams() *HistogramKeywordParams
NewHistogramKeywordParams creates a new HistogramKeywordParams object with the default values initialized.
func NewHistogramKeywordParamsWithContext ¶
func NewHistogramKeywordParamsWithContext(ctx context.Context) *HistogramKeywordParams
NewHistogramKeywordParamsWithContext creates a new HistogramKeywordParams object with the default values initialized, and the ability to set a context for a request
func NewHistogramKeywordParamsWithHTTPClient ¶
func NewHistogramKeywordParamsWithHTTPClient(client *http.Client) *HistogramKeywordParams
NewHistogramKeywordParamsWithHTTPClient creates a new HistogramKeywordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewHistogramKeywordParamsWithTimeout ¶
func NewHistogramKeywordParamsWithTimeout(timeout time.Duration) *HistogramKeywordParams
NewHistogramKeywordParamsWithTimeout creates a new HistogramKeywordParams object with the default values initialized, and the ability to set a timeout on a request
func (*HistogramKeywordParams) SetContext ¶
func (o *HistogramKeywordParams) SetContext(ctx context.Context)
SetContext adds the context to the histogram keyword params
func (*HistogramKeywordParams) SetFilter ¶
func (o *HistogramKeywordParams) SetFilter(filter *string)
SetFilter adds the filter to the histogram keyword params
func (*HistogramKeywordParams) SetHTTPClient ¶
func (o *HistogramKeywordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the histogram keyword params
func (*HistogramKeywordParams) SetInterval ¶
func (o *HistogramKeywordParams) SetInterval(interval string)
SetInterval adds the interval to the histogram keyword params
func (*HistogramKeywordParams) SetKeyword ¶
func (o *HistogramKeywordParams) SetKeyword(keyword string)
SetKeyword adds the keyword to the histogram keyword params
func (*HistogramKeywordParams) SetQuery ¶
func (o *HistogramKeywordParams) SetQuery(query string)
SetQuery adds the query to the histogram keyword params
func (*HistogramKeywordParams) SetTimeout ¶
func (o *HistogramKeywordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the histogram keyword params
func (*HistogramKeywordParams) WithContext ¶
func (o *HistogramKeywordParams) WithContext(ctx context.Context) *HistogramKeywordParams
WithContext adds the context to the histogram keyword params
func (*HistogramKeywordParams) WithFilter ¶
func (o *HistogramKeywordParams) WithFilter(filter *string) *HistogramKeywordParams
WithFilter adds the filter to the histogram keyword params
func (*HistogramKeywordParams) WithHTTPClient ¶
func (o *HistogramKeywordParams) WithHTTPClient(client *http.Client) *HistogramKeywordParams
WithHTTPClient adds the HTTPClient to the histogram keyword params
func (*HistogramKeywordParams) WithInterval ¶
func (o *HistogramKeywordParams) WithInterval(interval string) *HistogramKeywordParams
WithInterval adds the interval to the histogram keyword params
func (*HistogramKeywordParams) WithKeyword ¶
func (o *HistogramKeywordParams) WithKeyword(keyword string) *HistogramKeywordParams
WithKeyword adds the keyword to the histogram keyword params
func (*HistogramKeywordParams) WithQuery ¶
func (o *HistogramKeywordParams) WithQuery(query string) *HistogramKeywordParams
WithQuery adds the query to the histogram keyword params
func (*HistogramKeywordParams) WithTimeout ¶
func (o *HistogramKeywordParams) WithTimeout(timeout time.Duration) *HistogramKeywordParams
WithTimeout adds the timeout to the histogram keyword params
func (*HistogramKeywordParams) WriteToRequest ¶
func (o *HistogramKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HistogramKeywordReader ¶
type HistogramKeywordReader struct {
// contains filtered or unexported fields
}
HistogramKeywordReader is a Reader for the HistogramKeyword structure.
func (*HistogramKeywordReader) ReadResponse ¶
func (o *HistogramKeywordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchKeywordBadRequest ¶
type SearchKeywordBadRequest struct { }
SearchKeywordBadRequest handles this case with default header values.
Invalid keyword provided.
func NewSearchKeywordBadRequest ¶
func NewSearchKeywordBadRequest() *SearchKeywordBadRequest
NewSearchKeywordBadRequest creates a SearchKeywordBadRequest with default headers values
func (*SearchKeywordBadRequest) Error ¶
func (o *SearchKeywordBadRequest) Error() string
type SearchKeywordChunkedBadRequest ¶
type SearchKeywordChunkedBadRequest struct { }
SearchKeywordChunkedBadRequest handles this case with default header values.
Invalid keyword provided.
func NewSearchKeywordChunkedBadRequest ¶
func NewSearchKeywordChunkedBadRequest() *SearchKeywordChunkedBadRequest
NewSearchKeywordChunkedBadRequest creates a SearchKeywordChunkedBadRequest with default headers values
func (*SearchKeywordChunkedBadRequest) Error ¶
func (o *SearchKeywordChunkedBadRequest) Error() string
type SearchKeywordChunkedOK ¶
type SearchKeywordChunkedOK struct {
Payload SearchKeywordChunkedOKBody
}
SearchKeywordChunkedOK handles this case with default header values.
No response was specified
func NewSearchKeywordChunkedOK ¶
func NewSearchKeywordChunkedOK() *SearchKeywordChunkedOK
NewSearchKeywordChunkedOK creates a SearchKeywordChunkedOK with default headers values
func (*SearchKeywordChunkedOK) Error ¶
func (o *SearchKeywordChunkedOK) Error() string
type SearchKeywordChunkedOKBody ¶
type SearchKeywordChunkedOKBody interface{}
SearchKeywordChunkedOKBody search keyword chunked o k body swagger:model SearchKeywordChunkedOKBody
type SearchKeywordChunkedParams ¶
type SearchKeywordChunkedParams struct { /*Fields Comma separated list of fields to return */ Fields string /*Filter Filter */ Filter *string /*Keyword Range keyword */ Keyword string /*Limit Maximum number of messages to return. */ Limit *int64 /*Offset Offset */ Offset *int64 /*Query Query (Lucene syntax) */ Query string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchKeywordChunkedParams contains all the parameters to send to the API endpoint for the search keyword chunked operation typically these are written to a http.Request
func NewSearchKeywordChunkedParams ¶
func NewSearchKeywordChunkedParams() *SearchKeywordChunkedParams
NewSearchKeywordChunkedParams creates a new SearchKeywordChunkedParams object with the default values initialized.
func NewSearchKeywordChunkedParamsWithContext ¶
func NewSearchKeywordChunkedParamsWithContext(ctx context.Context) *SearchKeywordChunkedParams
NewSearchKeywordChunkedParamsWithContext creates a new SearchKeywordChunkedParams object with the default values initialized, and the ability to set a context for a request
func NewSearchKeywordChunkedParamsWithHTTPClient ¶
func NewSearchKeywordChunkedParamsWithHTTPClient(client *http.Client) *SearchKeywordChunkedParams
NewSearchKeywordChunkedParamsWithHTTPClient creates a new SearchKeywordChunkedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchKeywordChunkedParamsWithTimeout ¶
func NewSearchKeywordChunkedParamsWithTimeout(timeout time.Duration) *SearchKeywordChunkedParams
NewSearchKeywordChunkedParamsWithTimeout creates a new SearchKeywordChunkedParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchKeywordChunkedParams) SetContext ¶
func (o *SearchKeywordChunkedParams) SetContext(ctx context.Context)
SetContext adds the context to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetFields ¶
func (o *SearchKeywordChunkedParams) SetFields(fields string)
SetFields adds the fields to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetFilter ¶
func (o *SearchKeywordChunkedParams) SetFilter(filter *string)
SetFilter adds the filter to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetHTTPClient ¶
func (o *SearchKeywordChunkedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetKeyword ¶
func (o *SearchKeywordChunkedParams) SetKeyword(keyword string)
SetKeyword adds the keyword to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetLimit ¶
func (o *SearchKeywordChunkedParams) SetLimit(limit *int64)
SetLimit adds the limit to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetOffset ¶
func (o *SearchKeywordChunkedParams) SetOffset(offset *int64)
SetOffset adds the offset to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetQuery ¶
func (o *SearchKeywordChunkedParams) SetQuery(query string)
SetQuery adds the query to the search keyword chunked params
func (*SearchKeywordChunkedParams) SetTimeout ¶
func (o *SearchKeywordChunkedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithContext ¶
func (o *SearchKeywordChunkedParams) WithContext(ctx context.Context) *SearchKeywordChunkedParams
WithContext adds the context to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithFields ¶
func (o *SearchKeywordChunkedParams) WithFields(fields string) *SearchKeywordChunkedParams
WithFields adds the fields to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithFilter ¶
func (o *SearchKeywordChunkedParams) WithFilter(filter *string) *SearchKeywordChunkedParams
WithFilter adds the filter to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithHTTPClient ¶
func (o *SearchKeywordChunkedParams) WithHTTPClient(client *http.Client) *SearchKeywordChunkedParams
WithHTTPClient adds the HTTPClient to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithKeyword ¶
func (o *SearchKeywordChunkedParams) WithKeyword(keyword string) *SearchKeywordChunkedParams
WithKeyword adds the keyword to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithLimit ¶
func (o *SearchKeywordChunkedParams) WithLimit(limit *int64) *SearchKeywordChunkedParams
WithLimit adds the limit to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithOffset ¶
func (o *SearchKeywordChunkedParams) WithOffset(offset *int64) *SearchKeywordChunkedParams
WithOffset adds the offset to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithQuery ¶
func (o *SearchKeywordChunkedParams) WithQuery(query string) *SearchKeywordChunkedParams
WithQuery adds the query to the search keyword chunked params
func (*SearchKeywordChunkedParams) WithTimeout ¶
func (o *SearchKeywordChunkedParams) WithTimeout(timeout time.Duration) *SearchKeywordChunkedParams
WithTimeout adds the timeout to the search keyword chunked params
func (*SearchKeywordChunkedParams) WriteToRequest ¶
func (o *SearchKeywordChunkedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchKeywordChunkedReader ¶
type SearchKeywordChunkedReader struct {
// contains filtered or unexported fields
}
SearchKeywordChunkedReader is a Reader for the SearchKeywordChunked structure.
func (*SearchKeywordChunkedReader) ReadResponse ¶
func (o *SearchKeywordChunkedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchKeywordOK ¶
type SearchKeywordOK struct {
Payload *models.SearchResponse
}
SearchKeywordOK handles this case with default header values.
No response was specified
func NewSearchKeywordOK ¶
func NewSearchKeywordOK() *SearchKeywordOK
NewSearchKeywordOK creates a SearchKeywordOK with default headers values
func (*SearchKeywordOK) Error ¶
func (o *SearchKeywordOK) Error() string
type SearchKeywordParams ¶
type SearchKeywordParams struct { /*Decorate Run decorators on search result */ Decorate *bool /*Fields Comma separated list of fields to return */ Fields *string /*Filter Filter */ Filter *string /*Keyword Range keyword */ Keyword string /*Limit Maximum number of messages to return. */ Limit *int64 /*Offset Offset */ Offset *int64 /*Query Query (Lucene syntax) */ Query string /*Sort Sorting (field:asc / field:desc) */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchKeywordParams contains all the parameters to send to the API endpoint for the search keyword operation typically these are written to a http.Request
func NewSearchKeywordParams ¶
func NewSearchKeywordParams() *SearchKeywordParams
NewSearchKeywordParams creates a new SearchKeywordParams object with the default values initialized.
func NewSearchKeywordParamsWithContext ¶
func NewSearchKeywordParamsWithContext(ctx context.Context) *SearchKeywordParams
NewSearchKeywordParamsWithContext creates a new SearchKeywordParams object with the default values initialized, and the ability to set a context for a request
func NewSearchKeywordParamsWithHTTPClient ¶
func NewSearchKeywordParamsWithHTTPClient(client *http.Client) *SearchKeywordParams
NewSearchKeywordParamsWithHTTPClient creates a new SearchKeywordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchKeywordParamsWithTimeout ¶
func NewSearchKeywordParamsWithTimeout(timeout time.Duration) *SearchKeywordParams
NewSearchKeywordParamsWithTimeout creates a new SearchKeywordParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchKeywordParams) SetContext ¶
func (o *SearchKeywordParams) SetContext(ctx context.Context)
SetContext adds the context to the search keyword params
func (*SearchKeywordParams) SetDecorate ¶
func (o *SearchKeywordParams) SetDecorate(decorate *bool)
SetDecorate adds the decorate to the search keyword params
func (*SearchKeywordParams) SetFields ¶
func (o *SearchKeywordParams) SetFields(fields *string)
SetFields adds the fields to the search keyword params
func (*SearchKeywordParams) SetFilter ¶
func (o *SearchKeywordParams) SetFilter(filter *string)
SetFilter adds the filter to the search keyword params
func (*SearchKeywordParams) SetHTTPClient ¶
func (o *SearchKeywordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search keyword params
func (*SearchKeywordParams) SetKeyword ¶
func (o *SearchKeywordParams) SetKeyword(keyword string)
SetKeyword adds the keyword to the search keyword params
func (*SearchKeywordParams) SetLimit ¶
func (o *SearchKeywordParams) SetLimit(limit *int64)
SetLimit adds the limit to the search keyword params
func (*SearchKeywordParams) SetOffset ¶
func (o *SearchKeywordParams) SetOffset(offset *int64)
SetOffset adds the offset to the search keyword params
func (*SearchKeywordParams) SetQuery ¶
func (o *SearchKeywordParams) SetQuery(query string)
SetQuery adds the query to the search keyword params
func (*SearchKeywordParams) SetSort ¶
func (o *SearchKeywordParams) SetSort(sort *string)
SetSort adds the sort to the search keyword params
func (*SearchKeywordParams) SetTimeout ¶
func (o *SearchKeywordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search keyword params
func (*SearchKeywordParams) WithContext ¶
func (o *SearchKeywordParams) WithContext(ctx context.Context) *SearchKeywordParams
WithContext adds the context to the search keyword params
func (*SearchKeywordParams) WithDecorate ¶
func (o *SearchKeywordParams) WithDecorate(decorate *bool) *SearchKeywordParams
WithDecorate adds the decorate to the search keyword params
func (*SearchKeywordParams) WithFields ¶
func (o *SearchKeywordParams) WithFields(fields *string) *SearchKeywordParams
WithFields adds the fields to the search keyword params
func (*SearchKeywordParams) WithFilter ¶
func (o *SearchKeywordParams) WithFilter(filter *string) *SearchKeywordParams
WithFilter adds the filter to the search keyword params
func (*SearchKeywordParams) WithHTTPClient ¶
func (o *SearchKeywordParams) WithHTTPClient(client *http.Client) *SearchKeywordParams
WithHTTPClient adds the HTTPClient to the search keyword params
func (*SearchKeywordParams) WithKeyword ¶
func (o *SearchKeywordParams) WithKeyword(keyword string) *SearchKeywordParams
WithKeyword adds the keyword to the search keyword params
func (*SearchKeywordParams) WithLimit ¶
func (o *SearchKeywordParams) WithLimit(limit *int64) *SearchKeywordParams
WithLimit adds the limit to the search keyword params
func (*SearchKeywordParams) WithOffset ¶
func (o *SearchKeywordParams) WithOffset(offset *int64) *SearchKeywordParams
WithOffset adds the offset to the search keyword params
func (*SearchKeywordParams) WithQuery ¶
func (o *SearchKeywordParams) WithQuery(query string) *SearchKeywordParams
WithQuery adds the query to the search keyword params
func (*SearchKeywordParams) WithSort ¶
func (o *SearchKeywordParams) WithSort(sort *string) *SearchKeywordParams
WithSort adds the sort to the search keyword params
func (*SearchKeywordParams) WithTimeout ¶
func (o *SearchKeywordParams) WithTimeout(timeout time.Duration) *SearchKeywordParams
WithTimeout adds the timeout to the search keyword params
func (*SearchKeywordParams) WriteToRequest ¶
func (o *SearchKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchKeywordReader ¶
type SearchKeywordReader struct {
// contains filtered or unexported fields
}
SearchKeywordReader is a Reader for the SearchKeyword structure.
func (*SearchKeywordReader) ReadResponse ¶
func (o *SearchKeywordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StatsKeywordBadRequest ¶
type StatsKeywordBadRequest struct { }
StatsKeywordBadRequest handles this case with default header values.
Field is not of numeric type.
func NewStatsKeywordBadRequest ¶
func NewStatsKeywordBadRequest() *StatsKeywordBadRequest
NewStatsKeywordBadRequest creates a StatsKeywordBadRequest with default headers values
func (*StatsKeywordBadRequest) Error ¶
func (o *StatsKeywordBadRequest) Error() string
type StatsKeywordOK ¶
type StatsKeywordOK struct {
Payload *models.FieldStatsResult
}
StatsKeywordOK handles this case with default header values.
No response was specified
func NewStatsKeywordOK ¶
func NewStatsKeywordOK() *StatsKeywordOK
NewStatsKeywordOK creates a StatsKeywordOK with default headers values
func (*StatsKeywordOK) Error ¶
func (o *StatsKeywordOK) Error() string
type StatsKeywordParams ¶
type StatsKeywordParams struct { /*Field Message field of numeric type to return statistics for */ Field string /*Filter Filter */ Filter *string /*Keyword Range keyword */ Keyword string /*Query Query (Lucene syntax) */ Query string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StatsKeywordParams contains all the parameters to send to the API endpoint for the stats keyword operation typically these are written to a http.Request
func NewStatsKeywordParams ¶
func NewStatsKeywordParams() *StatsKeywordParams
NewStatsKeywordParams creates a new StatsKeywordParams object with the default values initialized.
func NewStatsKeywordParamsWithContext ¶
func NewStatsKeywordParamsWithContext(ctx context.Context) *StatsKeywordParams
NewStatsKeywordParamsWithContext creates a new StatsKeywordParams object with the default values initialized, and the ability to set a context for a request
func NewStatsKeywordParamsWithHTTPClient ¶
func NewStatsKeywordParamsWithHTTPClient(client *http.Client) *StatsKeywordParams
NewStatsKeywordParamsWithHTTPClient creates a new StatsKeywordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStatsKeywordParamsWithTimeout ¶
func NewStatsKeywordParamsWithTimeout(timeout time.Duration) *StatsKeywordParams
NewStatsKeywordParamsWithTimeout creates a new StatsKeywordParams object with the default values initialized, and the ability to set a timeout on a request
func (*StatsKeywordParams) SetContext ¶
func (o *StatsKeywordParams) SetContext(ctx context.Context)
SetContext adds the context to the stats keyword params
func (*StatsKeywordParams) SetField ¶
func (o *StatsKeywordParams) SetField(field string)
SetField adds the field to the stats keyword params
func (*StatsKeywordParams) SetFilter ¶
func (o *StatsKeywordParams) SetFilter(filter *string)
SetFilter adds the filter to the stats keyword params
func (*StatsKeywordParams) SetHTTPClient ¶
func (o *StatsKeywordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stats keyword params
func (*StatsKeywordParams) SetKeyword ¶
func (o *StatsKeywordParams) SetKeyword(keyword string)
SetKeyword adds the keyword to the stats keyword params
func (*StatsKeywordParams) SetQuery ¶
func (o *StatsKeywordParams) SetQuery(query string)
SetQuery adds the query to the stats keyword params
func (*StatsKeywordParams) SetTimeout ¶
func (o *StatsKeywordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stats keyword params
func (*StatsKeywordParams) WithContext ¶
func (o *StatsKeywordParams) WithContext(ctx context.Context) *StatsKeywordParams
WithContext adds the context to the stats keyword params
func (*StatsKeywordParams) WithField ¶
func (o *StatsKeywordParams) WithField(field string) *StatsKeywordParams
WithField adds the field to the stats keyword params
func (*StatsKeywordParams) WithFilter ¶
func (o *StatsKeywordParams) WithFilter(filter *string) *StatsKeywordParams
WithFilter adds the filter to the stats keyword params
func (*StatsKeywordParams) WithHTTPClient ¶
func (o *StatsKeywordParams) WithHTTPClient(client *http.Client) *StatsKeywordParams
WithHTTPClient adds the HTTPClient to the stats keyword params
func (*StatsKeywordParams) WithKeyword ¶
func (o *StatsKeywordParams) WithKeyword(keyword string) *StatsKeywordParams
WithKeyword adds the keyword to the stats keyword params
func (*StatsKeywordParams) WithQuery ¶
func (o *StatsKeywordParams) WithQuery(query string) *StatsKeywordParams
WithQuery adds the query to the stats keyword params
func (*StatsKeywordParams) WithTimeout ¶
func (o *StatsKeywordParams) WithTimeout(timeout time.Duration) *StatsKeywordParams
WithTimeout adds the timeout to the stats keyword params
func (*StatsKeywordParams) WriteToRequest ¶
func (o *StatsKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatsKeywordReader ¶
type StatsKeywordReader struct {
// contains filtered or unexported fields
}
StatsKeywordReader is a Reader for the StatsKeyword structure.
func (*StatsKeywordReader) ReadResponse ¶
func (o *StatsKeywordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TermsKeywordBadRequest ¶
type TermsKeywordBadRequest struct { }
TermsKeywordBadRequest handles this case with default header values.
Invalid timerange parameters provided.
func NewTermsKeywordBadRequest ¶
func NewTermsKeywordBadRequest() *TermsKeywordBadRequest
NewTermsKeywordBadRequest creates a TermsKeywordBadRequest with default headers values
func (*TermsKeywordBadRequest) Error ¶
func (o *TermsKeywordBadRequest) Error() string
type TermsKeywordOK ¶
type TermsKeywordOK struct {
Payload *models.TermsResult
}
TermsKeywordOK handles this case with default header values.
No response was specified
func NewTermsKeywordOK ¶
func NewTermsKeywordOK() *TermsKeywordOK
NewTermsKeywordOK creates a TermsKeywordOK with default headers values
func (*TermsKeywordOK) Error ¶
func (o *TermsKeywordOK) Error() string
type TermsKeywordParams ¶
type TermsKeywordParams struct { /*Field Message field of to return terms of */ Field string /*Filter Filter */ Filter *string /*Keyword Range keyword */ Keyword string /*Order Sorting (field:asc / field:desc) */ Order *string /*Query Query (Lucene syntax) */ Query string /*Size Maximum number of terms to return */ Size *int64 /*StackedFields Fields to stack */ StackedFields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TermsKeywordParams contains all the parameters to send to the API endpoint for the terms keyword operation typically these are written to a http.Request
func NewTermsKeywordParams ¶
func NewTermsKeywordParams() *TermsKeywordParams
NewTermsKeywordParams creates a new TermsKeywordParams object with the default values initialized.
func NewTermsKeywordParamsWithContext ¶
func NewTermsKeywordParamsWithContext(ctx context.Context) *TermsKeywordParams
NewTermsKeywordParamsWithContext creates a new TermsKeywordParams object with the default values initialized, and the ability to set a context for a request
func NewTermsKeywordParamsWithHTTPClient ¶
func NewTermsKeywordParamsWithHTTPClient(client *http.Client) *TermsKeywordParams
NewTermsKeywordParamsWithHTTPClient creates a new TermsKeywordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTermsKeywordParamsWithTimeout ¶
func NewTermsKeywordParamsWithTimeout(timeout time.Duration) *TermsKeywordParams
NewTermsKeywordParamsWithTimeout creates a new TermsKeywordParams object with the default values initialized, and the ability to set a timeout on a request
func (*TermsKeywordParams) SetContext ¶
func (o *TermsKeywordParams) SetContext(ctx context.Context)
SetContext adds the context to the terms keyword params
func (*TermsKeywordParams) SetField ¶
func (o *TermsKeywordParams) SetField(field string)
SetField adds the field to the terms keyword params
func (*TermsKeywordParams) SetFilter ¶
func (o *TermsKeywordParams) SetFilter(filter *string)
SetFilter adds the filter to the terms keyword params
func (*TermsKeywordParams) SetHTTPClient ¶
func (o *TermsKeywordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the terms keyword params
func (*TermsKeywordParams) SetKeyword ¶
func (o *TermsKeywordParams) SetKeyword(keyword string)
SetKeyword adds the keyword to the terms keyword params
func (*TermsKeywordParams) SetOrder ¶
func (o *TermsKeywordParams) SetOrder(order *string)
SetOrder adds the order to the terms keyword params
func (*TermsKeywordParams) SetQuery ¶
func (o *TermsKeywordParams) SetQuery(query string)
SetQuery adds the query to the terms keyword params
func (*TermsKeywordParams) SetSize ¶
func (o *TermsKeywordParams) SetSize(size *int64)
SetSize adds the size to the terms keyword params
func (*TermsKeywordParams) SetStackedFields ¶
func (o *TermsKeywordParams) SetStackedFields(stackedFields *string)
SetStackedFields adds the stackedFields to the terms keyword params
func (*TermsKeywordParams) SetTimeout ¶
func (o *TermsKeywordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the terms keyword params
func (*TermsKeywordParams) WithContext ¶
func (o *TermsKeywordParams) WithContext(ctx context.Context) *TermsKeywordParams
WithContext adds the context to the terms keyword params
func (*TermsKeywordParams) WithField ¶
func (o *TermsKeywordParams) WithField(field string) *TermsKeywordParams
WithField adds the field to the terms keyword params
func (*TermsKeywordParams) WithFilter ¶
func (o *TermsKeywordParams) WithFilter(filter *string) *TermsKeywordParams
WithFilter adds the filter to the terms keyword params
func (*TermsKeywordParams) WithHTTPClient ¶
func (o *TermsKeywordParams) WithHTTPClient(client *http.Client) *TermsKeywordParams
WithHTTPClient adds the HTTPClient to the terms keyword params
func (*TermsKeywordParams) WithKeyword ¶
func (o *TermsKeywordParams) WithKeyword(keyword string) *TermsKeywordParams
WithKeyword adds the keyword to the terms keyword params
func (*TermsKeywordParams) WithOrder ¶
func (o *TermsKeywordParams) WithOrder(order *string) *TermsKeywordParams
WithOrder adds the order to the terms keyword params
func (*TermsKeywordParams) WithQuery ¶
func (o *TermsKeywordParams) WithQuery(query string) *TermsKeywordParams
WithQuery adds the query to the terms keyword params
func (*TermsKeywordParams) WithSize ¶
func (o *TermsKeywordParams) WithSize(size *int64) *TermsKeywordParams
WithSize adds the size to the terms keyword params
func (*TermsKeywordParams) WithStackedFields ¶
func (o *TermsKeywordParams) WithStackedFields(stackedFields *string) *TermsKeywordParams
WithStackedFields adds the stackedFields to the terms keyword params
func (*TermsKeywordParams) WithTimeout ¶
func (o *TermsKeywordParams) WithTimeout(timeout time.Duration) *TermsKeywordParams
WithTimeout adds the timeout to the terms keyword params
func (*TermsKeywordParams) WriteToRequest ¶
func (o *TermsKeywordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TermsKeywordReader ¶
type TermsKeywordReader struct {
// contains filtered or unexported fields
}
TermsKeywordReader is a Reader for the TermsKeyword structure.
func (*TermsKeywordReader) ReadResponse ¶
func (o *TermsKeywordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- export_search_keyword_chunked_parameters.go
- export_search_keyword_chunked_responses.go
- field_histogram_keyword_parameters.go
- field_histogram_keyword_responses.go
- histogram_keyword_parameters.go
- histogram_keyword_responses.go
- search_keyword_chunked_parameters.go
- search_keyword_chunked_responses.go
- search_keyword_parameters.go
- search_keyword_responses.go
- search_universal_relative_client.go
- stats_keyword_parameters.go
- stats_keyword_responses.go
- terms_keyword_parameters.go
- terms_keyword_responses.go