search_universal_relative

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

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

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

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

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

WithContext adds the context to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithFields

WithFields adds the fields to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithFilter

WithFilter adds the filter to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithKeyword

WithKeyword adds the keyword to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithLimit

WithLimit adds the limit to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithOffset

WithOffset adds the offset to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithQuery

WithQuery adds the query to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WithTimeout

WithTimeout adds the timeout to the export search keyword chunked params

func (*ExportSearchKeywordChunkedParams) WriteToRequest

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

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

WithContext adds the context to the field histogram keyword params

func (*FieldHistogramKeywordParams) WithField

WithField adds the field to the field histogram keyword params

func (*FieldHistogramKeywordParams) WithFilter

WithFilter adds the filter to the field histogram keyword params

func (*FieldHistogramKeywordParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the field histogram keyword params

func (*FieldHistogramKeywordParams) WithInterval

WithInterval adds the interval to the field histogram keyword params

func (*FieldHistogramKeywordParams) WithKeyword

WithKeyword adds the keyword to the field histogram keyword params

func (*FieldHistogramKeywordParams) WithQuery

WithQuery adds the query to the field histogram keyword params

func (*FieldHistogramKeywordParams) WithTimeout

WithTimeout adds the timeout to the field histogram keyword params

func (*FieldHistogramKeywordParams) WriteToRequest

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

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

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

WithQuery adds the query to the histogram keyword params

func (*HistogramKeywordParams) WithTimeout

WithTimeout adds the timeout to the histogram keyword params

func (*HistogramKeywordParams) WriteToRequest

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

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

WithContext adds the context to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithFields

WithFields adds the fields to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithFilter

WithFilter adds the filter to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithKeyword

WithKeyword adds the keyword to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithLimit

WithLimit adds the limit to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithOffset

WithOffset adds the offset to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithQuery

WithQuery adds the query to the search keyword chunked params

func (*SearchKeywordChunkedParams) WithTimeout

WithTimeout adds the timeout to the search keyword chunked params

func (*SearchKeywordChunkedParams) WriteToRequest

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL