document

package
v0.0.0-...-cbe41fb Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 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 document API

func (*Client) RestColServiceCreateDocument

func (a *Client) RestColServiceCreateDocument(params *RestColServiceCreateDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateDocumentOK, error)

RestColServiceCreateDocument create a document to the collection

func (*Client) RestColServiceCreateDocument2

func (a *Client) RestColServiceCreateDocument2(params *RestColServiceCreateDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateDocument2OK, error)

RestColServiceCreateDocument2 create a document to the collection

func (*Client) RestColServiceCreateDocument3

func (a *Client) RestColServiceCreateDocument3(params *RestColServiceCreateDocument3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateDocument3OK, error)

RestColServiceCreateDocument3 create a document to the collection

func (*Client) RestColServiceDeleteDocument

func (a *Client) RestColServiceDeleteDocument(params *RestColServiceDeleteDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteDocumentOK, error)

RestColServiceDeleteDocument deletes document endpoint is a generic endpoint for deleting a specific data

Remove the specific document from the collection

func (*Client) RestColServiceDeleteDocument2

func (a *Client) RestColServiceDeleteDocument2(params *RestColServiceDeleteDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteDocument2OK, error)

RestColServiceDeleteDocument2 deletes document endpoint is a generic endpoint for deleting a specific data

Remove the specific document from the collection

func (*Client) RestColServiceGetDocument

func (a *Client) RestColServiceGetDocument(params *RestColServiceGetDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetDocumentOK, error)

RestColServiceGetDocument gets document endpoint is a generic endpoint for retrieving data across multiple collections

retrieve a document information from the collection.

func (*Client) RestColServiceGetDocument2

func (a *Client) RestColServiceGetDocument2(params *RestColServiceGetDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetDocument2OK, error)

RestColServiceGetDocument2 gets document endpoint is a generic endpoint for retrieving data across multiple collections

retrieve a document information from the collection.

func (*Client) RestColServiceGetDocument3

func (a *Client) RestColServiceGetDocument3(params *RestColServiceGetDocument3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetDocument3OK, error)

RestColServiceGetDocument3 gets document endpoint is a generic endpoint for retrieving data across multiple collections

retrieve a document information from the collection.

func (*Client) RestColServiceQueryDocument

func (a *Client) RestColServiceQueryDocument(params *RestColServiceQueryDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentOK, error)

RestColServiceQueryDocument run query against a collection, return documents matched the query

func (*Client) RestColServiceQueryDocument2

func (a *Client) RestColServiceQueryDocument2(params *RestColServiceQueryDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocument2OK, error)

RestColServiceQueryDocument2 run query against a collection, return documents matched the query

func (*Client) RestColServiceQueryDocument3

func (a *Client) RestColServiceQueryDocument3(params *RestColServiceQueryDocument3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocument3OK, error)

RestColServiceQueryDocument3 run query against a collection, return documents matched the query

func (*Client) RestColServiceQueryDocumentsStream

func (a *Client) RestColServiceQueryDocumentsStream(params *RestColServiceQueryDocumentsStreamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentsStreamOK, error)

RestColServiceQueryDocumentsStream run query against a collection, return documents in streaming which matched the query

func (*Client) RestColServiceQueryDocumentsStream2

func (a *Client) RestColServiceQueryDocumentsStream2(params *RestColServiceQueryDocumentsStream2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentsStream2OK, error)

RestColServiceQueryDocumentsStream2 run query against a collection, return documents in streaming which matched the query

func (*Client) RestColServiceQueryDocumentsStream3

func (a *Client) RestColServiceQueryDocumentsStream3(params *RestColServiceQueryDocumentsStream3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentsStream3OK, error)

RestColServiceQueryDocumentsStream3 run query against a collection, return documents in streaming which matched the query

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	RestColServiceCreateDocument(params *RestColServiceCreateDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateDocumentOK, error)

	RestColServiceCreateDocument2(params *RestColServiceCreateDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateDocument2OK, error)

	RestColServiceCreateDocument3(params *RestColServiceCreateDocument3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceCreateDocument3OK, error)

	RestColServiceDeleteDocument(params *RestColServiceDeleteDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteDocumentOK, error)

	RestColServiceDeleteDocument2(params *RestColServiceDeleteDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceDeleteDocument2OK, error)

	RestColServiceGetDocument(params *RestColServiceGetDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetDocumentOK, error)

	RestColServiceGetDocument2(params *RestColServiceGetDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetDocument2OK, error)

	RestColServiceGetDocument3(params *RestColServiceGetDocument3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceGetDocument3OK, error)

	RestColServiceQueryDocument(params *RestColServiceQueryDocumentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentOK, error)

	RestColServiceQueryDocument2(params *RestColServiceQueryDocument2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocument2OK, error)

	RestColServiceQueryDocument3(params *RestColServiceQueryDocument3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocument3OK, error)

	RestColServiceQueryDocumentsStream(params *RestColServiceQueryDocumentsStreamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentsStreamOK, error)

	RestColServiceQueryDocumentsStream2(params *RestColServiceQueryDocumentsStream2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentsStream2OK, error)

	RestColServiceQueryDocumentsStream3(params *RestColServiceQueryDocumentsStream3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestColServiceQueryDocumentsStream3OK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new document API client.

type RestColServiceCreateDocument2Default

type RestColServiceCreateDocument2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceCreateDocument2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceCreateDocument2Default

func NewRestColServiceCreateDocument2Default(code int) *RestColServiceCreateDocument2Default

NewRestColServiceCreateDocument2Default creates a RestColServiceCreateDocument2Default with default headers values

func (*RestColServiceCreateDocument2Default) Code

Code gets the status code for the rest col service create document2 default response

func (*RestColServiceCreateDocument2Default) Error

func (*RestColServiceCreateDocument2Default) GetPayload

func (*RestColServiceCreateDocument2Default) IsClientError

func (o *RestColServiceCreateDocument2Default) IsClientError() bool

IsClientError returns true when this rest col service create document2 default response has a 4xx status code

func (*RestColServiceCreateDocument2Default) IsCode

IsCode returns true when this rest col service create document2 default response a status code equal to that given

func (*RestColServiceCreateDocument2Default) IsRedirect

IsRedirect returns true when this rest col service create document2 default response has a 3xx status code

func (*RestColServiceCreateDocument2Default) IsServerError

func (o *RestColServiceCreateDocument2Default) IsServerError() bool

IsServerError returns true when this rest col service create document2 default response has a 5xx status code

func (*RestColServiceCreateDocument2Default) IsSuccess

IsSuccess returns true when this rest col service create document2 default response has a 2xx status code

func (*RestColServiceCreateDocument2Default) String

type RestColServiceCreateDocument2OK

type RestColServiceCreateDocument2OK struct {
	Payload *models.APICreateDocumentResponse
}

RestColServiceCreateDocument2OK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceCreateDocument2OK

func NewRestColServiceCreateDocument2OK() *RestColServiceCreateDocument2OK

NewRestColServiceCreateDocument2OK creates a RestColServiceCreateDocument2OK with default headers values

func (*RestColServiceCreateDocument2OK) Code

Code gets the status code for the rest col service create document2 o k response

func (*RestColServiceCreateDocument2OK) Error

func (*RestColServiceCreateDocument2OK) GetPayload

func (*RestColServiceCreateDocument2OK) IsClientError

func (o *RestColServiceCreateDocument2OK) IsClientError() bool

IsClientError returns true when this rest col service create document2 o k response has a 4xx status code

func (*RestColServiceCreateDocument2OK) IsCode

func (o *RestColServiceCreateDocument2OK) IsCode(code int) bool

IsCode returns true when this rest col service create document2 o k response a status code equal to that given

func (*RestColServiceCreateDocument2OK) IsRedirect

func (o *RestColServiceCreateDocument2OK) IsRedirect() bool

IsRedirect returns true when this rest col service create document2 o k response has a 3xx status code

func (*RestColServiceCreateDocument2OK) IsServerError

func (o *RestColServiceCreateDocument2OK) IsServerError() bool

IsServerError returns true when this rest col service create document2 o k response has a 5xx status code

func (*RestColServiceCreateDocument2OK) IsSuccess

func (o *RestColServiceCreateDocument2OK) IsSuccess() bool

IsSuccess returns true when this rest col service create document2 o k response has a 2xx status code

func (*RestColServiceCreateDocument2OK) String

type RestColServiceCreateDocument2Params

type RestColServiceCreateDocument2Params struct {

	// CollectionID.
	CollectionID string

	/* Data.

	   data represents rawdata for any kind of formating

	   Format: byte
	*/
	Data *strfmt.Base64

	// Dataformat.
	//
	// Default: "DATA_FORMAT_UNKNOWN"
	Dataformat *string

	// DocumentID.
	DocumentID *string

	// ProjectID.
	ProjectID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceCreateDocument2Params contains all the parameters to send to the API endpoint

for the rest col service create document2 operation.

Typically these are written to a http.Request.

func NewRestColServiceCreateDocument2Params

func NewRestColServiceCreateDocument2Params() *RestColServiceCreateDocument2Params

NewRestColServiceCreateDocument2Params creates a new RestColServiceCreateDocument2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceCreateDocument2ParamsWithContext

func NewRestColServiceCreateDocument2ParamsWithContext(ctx context.Context) *RestColServiceCreateDocument2Params

NewRestColServiceCreateDocument2ParamsWithContext creates a new RestColServiceCreateDocument2Params object with the ability to set a context for a request.

func NewRestColServiceCreateDocument2ParamsWithHTTPClient

func NewRestColServiceCreateDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceCreateDocument2Params

NewRestColServiceCreateDocument2ParamsWithHTTPClient creates a new RestColServiceCreateDocument2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceCreateDocument2ParamsWithTimeout

func NewRestColServiceCreateDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceCreateDocument2Params

NewRestColServiceCreateDocument2ParamsWithTimeout creates a new RestColServiceCreateDocument2Params object with the ability to set a timeout on a request.

func (*RestColServiceCreateDocument2Params) SetCollectionID

func (o *RestColServiceCreateDocument2Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) SetContext

SetContext adds the context to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) SetData

SetData adds the data to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) SetDataformat

func (o *RestColServiceCreateDocument2Params) SetDataformat(dataformat *string)

SetDataformat adds the dataformat to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) SetDefaults

func (o *RestColServiceCreateDocument2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service create document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceCreateDocument2Params) SetDocumentID

func (o *RestColServiceCreateDocument2Params) SetDocumentID(documentID *string)

SetDocumentID adds the documentId to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) SetHTTPClient

func (o *RestColServiceCreateDocument2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) SetProjectID

func (o *RestColServiceCreateDocument2Params) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) SetTimeout

func (o *RestColServiceCreateDocument2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithContext

WithContext adds the context to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithData

WithData adds the data to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithDataformat

WithDataformat adds the dataformat to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithDefaults

WithDefaults hydrates default values in the rest col service create document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceCreateDocument2Params) WithDocumentID

WithDocumentID adds the documentID to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithProjectID

WithProjectID adds the projectID to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WithTimeout

WithTimeout adds the timeout to the rest col service create document2 params

func (*RestColServiceCreateDocument2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceCreateDocument2Reader

type RestColServiceCreateDocument2Reader struct {
	// contains filtered or unexported fields
}

RestColServiceCreateDocument2Reader is a Reader for the RestColServiceCreateDocument2 structure.

func (*RestColServiceCreateDocument2Reader) ReadResponse

func (o *RestColServiceCreateDocument2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceCreateDocument3Default

type RestColServiceCreateDocument3Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceCreateDocument3Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceCreateDocument3Default

func NewRestColServiceCreateDocument3Default(code int) *RestColServiceCreateDocument3Default

NewRestColServiceCreateDocument3Default creates a RestColServiceCreateDocument3Default with default headers values

func (*RestColServiceCreateDocument3Default) Code

Code gets the status code for the rest col service create document3 default response

func (*RestColServiceCreateDocument3Default) Error

func (*RestColServiceCreateDocument3Default) GetPayload

func (*RestColServiceCreateDocument3Default) IsClientError

func (o *RestColServiceCreateDocument3Default) IsClientError() bool

IsClientError returns true when this rest col service create document3 default response has a 4xx status code

func (*RestColServiceCreateDocument3Default) IsCode

IsCode returns true when this rest col service create document3 default response a status code equal to that given

func (*RestColServiceCreateDocument3Default) IsRedirect

IsRedirect returns true when this rest col service create document3 default response has a 3xx status code

func (*RestColServiceCreateDocument3Default) IsServerError

func (o *RestColServiceCreateDocument3Default) IsServerError() bool

IsServerError returns true when this rest col service create document3 default response has a 5xx status code

func (*RestColServiceCreateDocument3Default) IsSuccess

IsSuccess returns true when this rest col service create document3 default response has a 2xx status code

func (*RestColServiceCreateDocument3Default) String

type RestColServiceCreateDocument3OK

type RestColServiceCreateDocument3OK struct {
	Payload *models.APICreateDocumentResponse
}

RestColServiceCreateDocument3OK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceCreateDocument3OK

func NewRestColServiceCreateDocument3OK() *RestColServiceCreateDocument3OK

NewRestColServiceCreateDocument3OK creates a RestColServiceCreateDocument3OK with default headers values

func (*RestColServiceCreateDocument3OK) Code

Code gets the status code for the rest col service create document3 o k response

func (*RestColServiceCreateDocument3OK) Error

func (*RestColServiceCreateDocument3OK) GetPayload

func (*RestColServiceCreateDocument3OK) IsClientError

func (o *RestColServiceCreateDocument3OK) IsClientError() bool

IsClientError returns true when this rest col service create document3 o k response has a 4xx status code

func (*RestColServiceCreateDocument3OK) IsCode

func (o *RestColServiceCreateDocument3OK) IsCode(code int) bool

IsCode returns true when this rest col service create document3 o k response a status code equal to that given

func (*RestColServiceCreateDocument3OK) IsRedirect

func (o *RestColServiceCreateDocument3OK) IsRedirect() bool

IsRedirect returns true when this rest col service create document3 o k response has a 3xx status code

func (*RestColServiceCreateDocument3OK) IsServerError

func (o *RestColServiceCreateDocument3OK) IsServerError() bool

IsServerError returns true when this rest col service create document3 o k response has a 5xx status code

func (*RestColServiceCreateDocument3OK) IsSuccess

func (o *RestColServiceCreateDocument3OK) IsSuccess() bool

IsSuccess returns true when this rest col service create document3 o k response has a 2xx status code

func (*RestColServiceCreateDocument3OK) String

type RestColServiceCreateDocument3Params

type RestColServiceCreateDocument3Params struct {

	// CollectionID.
	CollectionID string

	/* Data.

	   data represents rawdata for any kind of formating

	   Format: byte
	*/
	Data *strfmt.Base64

	// Dataformat.
	//
	// Default: "DATA_FORMAT_UNKNOWN"
	Dataformat *string

	// DocumentID.
	DocumentID *string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceCreateDocument3Params contains all the parameters to send to the API endpoint

for the rest col service create document3 operation.

Typically these are written to a http.Request.

func NewRestColServiceCreateDocument3Params

func NewRestColServiceCreateDocument3Params() *RestColServiceCreateDocument3Params

NewRestColServiceCreateDocument3Params creates a new RestColServiceCreateDocument3Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceCreateDocument3ParamsWithContext

func NewRestColServiceCreateDocument3ParamsWithContext(ctx context.Context) *RestColServiceCreateDocument3Params

NewRestColServiceCreateDocument3ParamsWithContext creates a new RestColServiceCreateDocument3Params object with the ability to set a context for a request.

func NewRestColServiceCreateDocument3ParamsWithHTTPClient

func NewRestColServiceCreateDocument3ParamsWithHTTPClient(client *http.Client) *RestColServiceCreateDocument3Params

NewRestColServiceCreateDocument3ParamsWithHTTPClient creates a new RestColServiceCreateDocument3Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceCreateDocument3ParamsWithTimeout

func NewRestColServiceCreateDocument3ParamsWithTimeout(timeout time.Duration) *RestColServiceCreateDocument3Params

NewRestColServiceCreateDocument3ParamsWithTimeout creates a new RestColServiceCreateDocument3Params object with the ability to set a timeout on a request.

func (*RestColServiceCreateDocument3Params) SetCollectionID

func (o *RestColServiceCreateDocument3Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) SetContext

SetContext adds the context to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) SetData

SetData adds the data to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) SetDataformat

func (o *RestColServiceCreateDocument3Params) SetDataformat(dataformat *string)

SetDataformat adds the dataformat to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) SetDefaults

func (o *RestColServiceCreateDocument3Params) SetDefaults()

SetDefaults hydrates default values in the rest col service create document3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceCreateDocument3Params) SetDocumentID

func (o *RestColServiceCreateDocument3Params) SetDocumentID(documentID *string)

SetDocumentID adds the documentId to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) SetHTTPClient

func (o *RestColServiceCreateDocument3Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) SetProjectID

func (o *RestColServiceCreateDocument3Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) SetTimeout

func (o *RestColServiceCreateDocument3Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithContext

WithContext adds the context to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithData

WithData adds the data to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithDataformat

WithDataformat adds the dataformat to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithDefaults

WithDefaults hydrates default values in the rest col service create document3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceCreateDocument3Params) WithDocumentID

WithDocumentID adds the documentID to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithProjectID

WithProjectID adds the projectID to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WithTimeout

WithTimeout adds the timeout to the rest col service create document3 params

func (*RestColServiceCreateDocument3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceCreateDocument3Reader

type RestColServiceCreateDocument3Reader struct {
	// contains filtered or unexported fields
}

RestColServiceCreateDocument3Reader is a Reader for the RestColServiceCreateDocument3 structure.

func (*RestColServiceCreateDocument3Reader) ReadResponse

func (o *RestColServiceCreateDocument3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceCreateDocumentDefault

type RestColServiceCreateDocumentDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceCreateDocumentDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceCreateDocumentDefault

func NewRestColServiceCreateDocumentDefault(code int) *RestColServiceCreateDocumentDefault

NewRestColServiceCreateDocumentDefault creates a RestColServiceCreateDocumentDefault with default headers values

func (*RestColServiceCreateDocumentDefault) Code

Code gets the status code for the rest col service create document default response

func (*RestColServiceCreateDocumentDefault) Error

func (*RestColServiceCreateDocumentDefault) GetPayload

func (*RestColServiceCreateDocumentDefault) IsClientError

func (o *RestColServiceCreateDocumentDefault) IsClientError() bool

IsClientError returns true when this rest col service create document default response has a 4xx status code

func (*RestColServiceCreateDocumentDefault) IsCode

IsCode returns true when this rest col service create document default response a status code equal to that given

func (*RestColServiceCreateDocumentDefault) IsRedirect

func (o *RestColServiceCreateDocumentDefault) IsRedirect() bool

IsRedirect returns true when this rest col service create document default response has a 3xx status code

func (*RestColServiceCreateDocumentDefault) IsServerError

func (o *RestColServiceCreateDocumentDefault) IsServerError() bool

IsServerError returns true when this rest col service create document default response has a 5xx status code

func (*RestColServiceCreateDocumentDefault) IsSuccess

IsSuccess returns true when this rest col service create document default response has a 2xx status code

func (*RestColServiceCreateDocumentDefault) String

type RestColServiceCreateDocumentOK

type RestColServiceCreateDocumentOK struct {
	Payload *models.APICreateDocumentResponse
}

RestColServiceCreateDocumentOK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceCreateDocumentOK

func NewRestColServiceCreateDocumentOK() *RestColServiceCreateDocumentOK

NewRestColServiceCreateDocumentOK creates a RestColServiceCreateDocumentOK with default headers values

func (*RestColServiceCreateDocumentOK) Code

Code gets the status code for the rest col service create document o k response

func (*RestColServiceCreateDocumentOK) Error

func (*RestColServiceCreateDocumentOK) GetPayload

func (*RestColServiceCreateDocumentOK) IsClientError

func (o *RestColServiceCreateDocumentOK) IsClientError() bool

IsClientError returns true when this rest col service create document o k response has a 4xx status code

func (*RestColServiceCreateDocumentOK) IsCode

func (o *RestColServiceCreateDocumentOK) IsCode(code int) bool

IsCode returns true when this rest col service create document o k response a status code equal to that given

func (*RestColServiceCreateDocumentOK) IsRedirect

func (o *RestColServiceCreateDocumentOK) IsRedirect() bool

IsRedirect returns true when this rest col service create document o k response has a 3xx status code

func (*RestColServiceCreateDocumentOK) IsServerError

func (o *RestColServiceCreateDocumentOK) IsServerError() bool

IsServerError returns true when this rest col service create document o k response has a 5xx status code

func (*RestColServiceCreateDocumentOK) IsSuccess

func (o *RestColServiceCreateDocumentOK) IsSuccess() bool

IsSuccess returns true when this rest col service create document o k response has a 2xx status code

func (*RestColServiceCreateDocumentOK) String

type RestColServiceCreateDocumentParams

type RestColServiceCreateDocumentParams struct {

	// Body.
	Body *models.APICreateDocumentRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceCreateDocumentParams contains all the parameters to send to the API endpoint

for the rest col service create document operation.

Typically these are written to a http.Request.

func NewRestColServiceCreateDocumentParams

func NewRestColServiceCreateDocumentParams() *RestColServiceCreateDocumentParams

NewRestColServiceCreateDocumentParams creates a new RestColServiceCreateDocumentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceCreateDocumentParamsWithContext

func NewRestColServiceCreateDocumentParamsWithContext(ctx context.Context) *RestColServiceCreateDocumentParams

NewRestColServiceCreateDocumentParamsWithContext creates a new RestColServiceCreateDocumentParams object with the ability to set a context for a request.

func NewRestColServiceCreateDocumentParamsWithHTTPClient

func NewRestColServiceCreateDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceCreateDocumentParams

NewRestColServiceCreateDocumentParamsWithHTTPClient creates a new RestColServiceCreateDocumentParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceCreateDocumentParamsWithTimeout

func NewRestColServiceCreateDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceCreateDocumentParams

NewRestColServiceCreateDocumentParamsWithTimeout creates a new RestColServiceCreateDocumentParams object with the ability to set a timeout on a request.

func (*RestColServiceCreateDocumentParams) SetBody

SetBody adds the body to the rest col service create document params

func (*RestColServiceCreateDocumentParams) SetContext

SetContext adds the context to the rest col service create document params

func (*RestColServiceCreateDocumentParams) SetDefaults

func (o *RestColServiceCreateDocumentParams) SetDefaults()

SetDefaults hydrates default values in the rest col service create document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceCreateDocumentParams) SetHTTPClient

func (o *RestColServiceCreateDocumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service create document params

func (*RestColServiceCreateDocumentParams) SetTimeout

func (o *RestColServiceCreateDocumentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service create document params

func (*RestColServiceCreateDocumentParams) WithBody

WithBody adds the body to the rest col service create document params

func (*RestColServiceCreateDocumentParams) WithContext

WithContext adds the context to the rest col service create document params

func (*RestColServiceCreateDocumentParams) WithDefaults

WithDefaults hydrates default values in the rest col service create document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceCreateDocumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service create document params

func (*RestColServiceCreateDocumentParams) WithTimeout

WithTimeout adds the timeout to the rest col service create document params

func (*RestColServiceCreateDocumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceCreateDocumentReader

type RestColServiceCreateDocumentReader struct {
	// contains filtered or unexported fields
}

RestColServiceCreateDocumentReader is a Reader for the RestColServiceCreateDocument structure.

func (*RestColServiceCreateDocumentReader) ReadResponse

func (o *RestColServiceCreateDocumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceDeleteDocument2Default

type RestColServiceDeleteDocument2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceDeleteDocument2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceDeleteDocument2Default

func NewRestColServiceDeleteDocument2Default(code int) *RestColServiceDeleteDocument2Default

NewRestColServiceDeleteDocument2Default creates a RestColServiceDeleteDocument2Default with default headers values

func (*RestColServiceDeleteDocument2Default) Code

Code gets the status code for the rest col service delete document2 default response

func (*RestColServiceDeleteDocument2Default) Error

func (*RestColServiceDeleteDocument2Default) GetPayload

func (*RestColServiceDeleteDocument2Default) IsClientError

func (o *RestColServiceDeleteDocument2Default) IsClientError() bool

IsClientError returns true when this rest col service delete document2 default response has a 4xx status code

func (*RestColServiceDeleteDocument2Default) IsCode

IsCode returns true when this rest col service delete document2 default response a status code equal to that given

func (*RestColServiceDeleteDocument2Default) IsRedirect

IsRedirect returns true when this rest col service delete document2 default response has a 3xx status code

func (*RestColServiceDeleteDocument2Default) IsServerError

func (o *RestColServiceDeleteDocument2Default) IsServerError() bool

IsServerError returns true when this rest col service delete document2 default response has a 5xx status code

func (*RestColServiceDeleteDocument2Default) IsSuccess

IsSuccess returns true when this rest col service delete document2 default response has a 2xx status code

func (*RestColServiceDeleteDocument2Default) String

type RestColServiceDeleteDocument2OK

type RestColServiceDeleteDocument2OK struct {
	Payload models.APIDeleteDocumentResponse
}

RestColServiceDeleteDocument2OK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceDeleteDocument2OK

func NewRestColServiceDeleteDocument2OK() *RestColServiceDeleteDocument2OK

NewRestColServiceDeleteDocument2OK creates a RestColServiceDeleteDocument2OK with default headers values

func (*RestColServiceDeleteDocument2OK) Code

Code gets the status code for the rest col service delete document2 o k response

func (*RestColServiceDeleteDocument2OK) Error

func (*RestColServiceDeleteDocument2OK) GetPayload

func (*RestColServiceDeleteDocument2OK) IsClientError

func (o *RestColServiceDeleteDocument2OK) IsClientError() bool

IsClientError returns true when this rest col service delete document2 o k response has a 4xx status code

func (*RestColServiceDeleteDocument2OK) IsCode

func (o *RestColServiceDeleteDocument2OK) IsCode(code int) bool

IsCode returns true when this rest col service delete document2 o k response a status code equal to that given

func (*RestColServiceDeleteDocument2OK) IsRedirect

func (o *RestColServiceDeleteDocument2OK) IsRedirect() bool

IsRedirect returns true when this rest col service delete document2 o k response has a 3xx status code

func (*RestColServiceDeleteDocument2OK) IsServerError

func (o *RestColServiceDeleteDocument2OK) IsServerError() bool

IsServerError returns true when this rest col service delete document2 o k response has a 5xx status code

func (*RestColServiceDeleteDocument2OK) IsSuccess

func (o *RestColServiceDeleteDocument2OK) IsSuccess() bool

IsSuccess returns true when this rest col service delete document2 o k response has a 2xx status code

func (*RestColServiceDeleteDocument2OK) String

type RestColServiceDeleteDocument2Params

type RestColServiceDeleteDocument2Params struct {

	// CollectionID.
	CollectionID string

	// DocumentID.
	DocumentID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceDeleteDocument2Params contains all the parameters to send to the API endpoint

for the rest col service delete document2 operation.

Typically these are written to a http.Request.

func NewRestColServiceDeleteDocument2Params

func NewRestColServiceDeleteDocument2Params() *RestColServiceDeleteDocument2Params

NewRestColServiceDeleteDocument2Params creates a new RestColServiceDeleteDocument2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceDeleteDocument2ParamsWithContext

func NewRestColServiceDeleteDocument2ParamsWithContext(ctx context.Context) *RestColServiceDeleteDocument2Params

NewRestColServiceDeleteDocument2ParamsWithContext creates a new RestColServiceDeleteDocument2Params object with the ability to set a context for a request.

func NewRestColServiceDeleteDocument2ParamsWithHTTPClient

func NewRestColServiceDeleteDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteDocument2Params

NewRestColServiceDeleteDocument2ParamsWithHTTPClient creates a new RestColServiceDeleteDocument2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceDeleteDocument2ParamsWithTimeout

func NewRestColServiceDeleteDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteDocument2Params

NewRestColServiceDeleteDocument2ParamsWithTimeout creates a new RestColServiceDeleteDocument2Params object with the ability to set a timeout on a request.

func (*RestColServiceDeleteDocument2Params) SetCollectionID

func (o *RestColServiceDeleteDocument2Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) SetContext

SetContext adds the context to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) SetDefaults

func (o *RestColServiceDeleteDocument2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service delete document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceDeleteDocument2Params) SetDocumentID

func (o *RestColServiceDeleteDocument2Params) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) SetHTTPClient

func (o *RestColServiceDeleteDocument2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) SetProjectID

func (o *RestColServiceDeleteDocument2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) SetTimeout

func (o *RestColServiceDeleteDocument2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) WithContext

WithContext adds the context to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) WithDefaults

WithDefaults hydrates default values in the rest col service delete document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceDeleteDocument2Params) WithDocumentID

WithDocumentID adds the documentID to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) WithProjectID

WithProjectID adds the projectID to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) WithTimeout

WithTimeout adds the timeout to the rest col service delete document2 params

func (*RestColServiceDeleteDocument2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceDeleteDocument2Reader

type RestColServiceDeleteDocument2Reader struct {
	// contains filtered or unexported fields
}

RestColServiceDeleteDocument2Reader is a Reader for the RestColServiceDeleteDocument2 structure.

func (*RestColServiceDeleteDocument2Reader) ReadResponse

func (o *RestColServiceDeleteDocument2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceDeleteDocumentDefault

type RestColServiceDeleteDocumentDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceDeleteDocumentDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceDeleteDocumentDefault

func NewRestColServiceDeleteDocumentDefault(code int) *RestColServiceDeleteDocumentDefault

NewRestColServiceDeleteDocumentDefault creates a RestColServiceDeleteDocumentDefault with default headers values

func (*RestColServiceDeleteDocumentDefault) Code

Code gets the status code for the rest col service delete document default response

func (*RestColServiceDeleteDocumentDefault) Error

func (*RestColServiceDeleteDocumentDefault) GetPayload

func (*RestColServiceDeleteDocumentDefault) IsClientError

func (o *RestColServiceDeleteDocumentDefault) IsClientError() bool

IsClientError returns true when this rest col service delete document default response has a 4xx status code

func (*RestColServiceDeleteDocumentDefault) IsCode

IsCode returns true when this rest col service delete document default response a status code equal to that given

func (*RestColServiceDeleteDocumentDefault) IsRedirect

func (o *RestColServiceDeleteDocumentDefault) IsRedirect() bool

IsRedirect returns true when this rest col service delete document default response has a 3xx status code

func (*RestColServiceDeleteDocumentDefault) IsServerError

func (o *RestColServiceDeleteDocumentDefault) IsServerError() bool

IsServerError returns true when this rest col service delete document default response has a 5xx status code

func (*RestColServiceDeleteDocumentDefault) IsSuccess

IsSuccess returns true when this rest col service delete document default response has a 2xx status code

func (*RestColServiceDeleteDocumentDefault) String

type RestColServiceDeleteDocumentOK

type RestColServiceDeleteDocumentOK struct {
	Payload models.APIDeleteDocumentResponse
}

RestColServiceDeleteDocumentOK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceDeleteDocumentOK

func NewRestColServiceDeleteDocumentOK() *RestColServiceDeleteDocumentOK

NewRestColServiceDeleteDocumentOK creates a RestColServiceDeleteDocumentOK with default headers values

func (*RestColServiceDeleteDocumentOK) Code

Code gets the status code for the rest col service delete document o k response

func (*RestColServiceDeleteDocumentOK) Error

func (*RestColServiceDeleteDocumentOK) GetPayload

func (*RestColServiceDeleteDocumentOK) IsClientError

func (o *RestColServiceDeleteDocumentOK) IsClientError() bool

IsClientError returns true when this rest col service delete document o k response has a 4xx status code

func (*RestColServiceDeleteDocumentOK) IsCode

func (o *RestColServiceDeleteDocumentOK) IsCode(code int) bool

IsCode returns true when this rest col service delete document o k response a status code equal to that given

func (*RestColServiceDeleteDocumentOK) IsRedirect

func (o *RestColServiceDeleteDocumentOK) IsRedirect() bool

IsRedirect returns true when this rest col service delete document o k response has a 3xx status code

func (*RestColServiceDeleteDocumentOK) IsServerError

func (o *RestColServiceDeleteDocumentOK) IsServerError() bool

IsServerError returns true when this rest col service delete document o k response has a 5xx status code

func (*RestColServiceDeleteDocumentOK) IsSuccess

func (o *RestColServiceDeleteDocumentOK) IsSuccess() bool

IsSuccess returns true when this rest col service delete document o k response has a 2xx status code

func (*RestColServiceDeleteDocumentOK) String

type RestColServiceDeleteDocumentParams

type RestColServiceDeleteDocumentParams struct {

	// CollectionID.
	CollectionID string

	// DocumentID.
	DocumentID string

	// ProjectID.
	ProjectID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceDeleteDocumentParams contains all the parameters to send to the API endpoint

for the rest col service delete document operation.

Typically these are written to a http.Request.

func NewRestColServiceDeleteDocumentParams

func NewRestColServiceDeleteDocumentParams() *RestColServiceDeleteDocumentParams

NewRestColServiceDeleteDocumentParams creates a new RestColServiceDeleteDocumentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceDeleteDocumentParamsWithContext

func NewRestColServiceDeleteDocumentParamsWithContext(ctx context.Context) *RestColServiceDeleteDocumentParams

NewRestColServiceDeleteDocumentParamsWithContext creates a new RestColServiceDeleteDocumentParams object with the ability to set a context for a request.

func NewRestColServiceDeleteDocumentParamsWithHTTPClient

func NewRestColServiceDeleteDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteDocumentParams

NewRestColServiceDeleteDocumentParamsWithHTTPClient creates a new RestColServiceDeleteDocumentParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceDeleteDocumentParamsWithTimeout

func NewRestColServiceDeleteDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteDocumentParams

NewRestColServiceDeleteDocumentParamsWithTimeout creates a new RestColServiceDeleteDocumentParams object with the ability to set a timeout on a request.

func (*RestColServiceDeleteDocumentParams) SetCollectionID

func (o *RestColServiceDeleteDocumentParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) SetContext

SetContext adds the context to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) SetDefaults

func (o *RestColServiceDeleteDocumentParams) SetDefaults()

SetDefaults hydrates default values in the rest col service delete document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceDeleteDocumentParams) SetDocumentID

func (o *RestColServiceDeleteDocumentParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) SetHTTPClient

func (o *RestColServiceDeleteDocumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) SetProjectID

func (o *RestColServiceDeleteDocumentParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) SetTimeout

func (o *RestColServiceDeleteDocumentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) WithCollectionID

WithCollectionID adds the collectionID to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) WithContext

WithContext adds the context to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) WithDefaults

WithDefaults hydrates default values in the rest col service delete document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceDeleteDocumentParams) WithDocumentID

WithDocumentID adds the documentID to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) WithProjectID

WithProjectID adds the projectID to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) WithTimeout

WithTimeout adds the timeout to the rest col service delete document params

func (*RestColServiceDeleteDocumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceDeleteDocumentReader

type RestColServiceDeleteDocumentReader struct {
	// contains filtered or unexported fields
}

RestColServiceDeleteDocumentReader is a Reader for the RestColServiceDeleteDocument structure.

func (*RestColServiceDeleteDocumentReader) ReadResponse

func (o *RestColServiceDeleteDocumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceGetDocument2Default

type RestColServiceGetDocument2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceGetDocument2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceGetDocument2Default

func NewRestColServiceGetDocument2Default(code int) *RestColServiceGetDocument2Default

NewRestColServiceGetDocument2Default creates a RestColServiceGetDocument2Default with default headers values

func (*RestColServiceGetDocument2Default) Code

Code gets the status code for the rest col service get document2 default response

func (*RestColServiceGetDocument2Default) Error

func (*RestColServiceGetDocument2Default) GetPayload

func (*RestColServiceGetDocument2Default) IsClientError

func (o *RestColServiceGetDocument2Default) IsClientError() bool

IsClientError returns true when this rest col service get document2 default response has a 4xx status code

func (*RestColServiceGetDocument2Default) IsCode

func (o *RestColServiceGetDocument2Default) IsCode(code int) bool

IsCode returns true when this rest col service get document2 default response a status code equal to that given

func (*RestColServiceGetDocument2Default) IsRedirect

func (o *RestColServiceGetDocument2Default) IsRedirect() bool

IsRedirect returns true when this rest col service get document2 default response has a 3xx status code

func (*RestColServiceGetDocument2Default) IsServerError

func (o *RestColServiceGetDocument2Default) IsServerError() bool

IsServerError returns true when this rest col service get document2 default response has a 5xx status code

func (*RestColServiceGetDocument2Default) IsSuccess

func (o *RestColServiceGetDocument2Default) IsSuccess() bool

IsSuccess returns true when this rest col service get document2 default response has a 2xx status code

func (*RestColServiceGetDocument2Default) String

type RestColServiceGetDocument2OK

type RestColServiceGetDocument2OK struct {
	Payload *models.APIGetDocumentResponse
}

RestColServiceGetDocument2OK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceGetDocument2OK

func NewRestColServiceGetDocument2OK() *RestColServiceGetDocument2OK

NewRestColServiceGetDocument2OK creates a RestColServiceGetDocument2OK with default headers values

func (*RestColServiceGetDocument2OK) Code

Code gets the status code for the rest col service get document2 o k response

func (*RestColServiceGetDocument2OK) Error

func (*RestColServiceGetDocument2OK) GetPayload

func (*RestColServiceGetDocument2OK) IsClientError

func (o *RestColServiceGetDocument2OK) IsClientError() bool

IsClientError returns true when this rest col service get document2 o k response has a 4xx status code

func (*RestColServiceGetDocument2OK) IsCode

func (o *RestColServiceGetDocument2OK) IsCode(code int) bool

IsCode returns true when this rest col service get document2 o k response a status code equal to that given

func (*RestColServiceGetDocument2OK) IsRedirect

func (o *RestColServiceGetDocument2OK) IsRedirect() bool

IsRedirect returns true when this rest col service get document2 o k response has a 3xx status code

func (*RestColServiceGetDocument2OK) IsServerError

func (o *RestColServiceGetDocument2OK) IsServerError() bool

IsServerError returns true when this rest col service get document2 o k response has a 5xx status code

func (*RestColServiceGetDocument2OK) IsSuccess

func (o *RestColServiceGetDocument2OK) IsSuccess() bool

IsSuccess returns true when this rest col service get document2 o k response has a 2xx status code

func (*RestColServiceGetDocument2OK) String

type RestColServiceGetDocument2Params

type RestColServiceGetDocument2Params struct {

	// CollectionID.
	CollectionID string

	// DocumentID.
	DocumentID string

	// ProjectID.
	ProjectID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceGetDocument2Params contains all the parameters to send to the API endpoint

for the rest col service get document2 operation.

Typically these are written to a http.Request.

func NewRestColServiceGetDocument2Params

func NewRestColServiceGetDocument2Params() *RestColServiceGetDocument2Params

NewRestColServiceGetDocument2Params creates a new RestColServiceGetDocument2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceGetDocument2ParamsWithContext

func NewRestColServiceGetDocument2ParamsWithContext(ctx context.Context) *RestColServiceGetDocument2Params

NewRestColServiceGetDocument2ParamsWithContext creates a new RestColServiceGetDocument2Params object with the ability to set a context for a request.

func NewRestColServiceGetDocument2ParamsWithHTTPClient

func NewRestColServiceGetDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceGetDocument2Params

NewRestColServiceGetDocument2ParamsWithHTTPClient creates a new RestColServiceGetDocument2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceGetDocument2ParamsWithTimeout

func NewRestColServiceGetDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceGetDocument2Params

NewRestColServiceGetDocument2ParamsWithTimeout creates a new RestColServiceGetDocument2Params object with the ability to set a timeout on a request.

func (*RestColServiceGetDocument2Params) SetCollectionID

func (o *RestColServiceGetDocument2Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) SetContext

SetContext adds the context to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) SetDefaults

func (o *RestColServiceGetDocument2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service get document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceGetDocument2Params) SetDocumentID

func (o *RestColServiceGetDocument2Params) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) SetHTTPClient

func (o *RestColServiceGetDocument2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) SetProjectID

func (o *RestColServiceGetDocument2Params) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) SetTimeout

func (o *RestColServiceGetDocument2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) WithContext

WithContext adds the context to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) WithDefaults

WithDefaults hydrates default values in the rest col service get document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceGetDocument2Params) WithDocumentID

WithDocumentID adds the documentID to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) WithProjectID

WithProjectID adds the projectID to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) WithTimeout

WithTimeout adds the timeout to the rest col service get document2 params

func (*RestColServiceGetDocument2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceGetDocument2Reader

type RestColServiceGetDocument2Reader struct {
	// contains filtered or unexported fields
}

RestColServiceGetDocument2Reader is a Reader for the RestColServiceGetDocument2 structure.

func (*RestColServiceGetDocument2Reader) ReadResponse

func (o *RestColServiceGetDocument2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceGetDocument3Default

type RestColServiceGetDocument3Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceGetDocument3Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceGetDocument3Default

func NewRestColServiceGetDocument3Default(code int) *RestColServiceGetDocument3Default

NewRestColServiceGetDocument3Default creates a RestColServiceGetDocument3Default with default headers values

func (*RestColServiceGetDocument3Default) Code

Code gets the status code for the rest col service get document3 default response

func (*RestColServiceGetDocument3Default) Error

func (*RestColServiceGetDocument3Default) GetPayload

func (*RestColServiceGetDocument3Default) IsClientError

func (o *RestColServiceGetDocument3Default) IsClientError() bool

IsClientError returns true when this rest col service get document3 default response has a 4xx status code

func (*RestColServiceGetDocument3Default) IsCode

func (o *RestColServiceGetDocument3Default) IsCode(code int) bool

IsCode returns true when this rest col service get document3 default response a status code equal to that given

func (*RestColServiceGetDocument3Default) IsRedirect

func (o *RestColServiceGetDocument3Default) IsRedirect() bool

IsRedirect returns true when this rest col service get document3 default response has a 3xx status code

func (*RestColServiceGetDocument3Default) IsServerError

func (o *RestColServiceGetDocument3Default) IsServerError() bool

IsServerError returns true when this rest col service get document3 default response has a 5xx status code

func (*RestColServiceGetDocument3Default) IsSuccess

func (o *RestColServiceGetDocument3Default) IsSuccess() bool

IsSuccess returns true when this rest col service get document3 default response has a 2xx status code

func (*RestColServiceGetDocument3Default) String

type RestColServiceGetDocument3OK

type RestColServiceGetDocument3OK struct {
	Payload *models.APIGetDocumentResponse
}

RestColServiceGetDocument3OK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceGetDocument3OK

func NewRestColServiceGetDocument3OK() *RestColServiceGetDocument3OK

NewRestColServiceGetDocument3OK creates a RestColServiceGetDocument3OK with default headers values

func (*RestColServiceGetDocument3OK) Code

Code gets the status code for the rest col service get document3 o k response

func (*RestColServiceGetDocument3OK) Error

func (*RestColServiceGetDocument3OK) GetPayload

func (*RestColServiceGetDocument3OK) IsClientError

func (o *RestColServiceGetDocument3OK) IsClientError() bool

IsClientError returns true when this rest col service get document3 o k response has a 4xx status code

func (*RestColServiceGetDocument3OK) IsCode

func (o *RestColServiceGetDocument3OK) IsCode(code int) bool

IsCode returns true when this rest col service get document3 o k response a status code equal to that given

func (*RestColServiceGetDocument3OK) IsRedirect

func (o *RestColServiceGetDocument3OK) IsRedirect() bool

IsRedirect returns true when this rest col service get document3 o k response has a 3xx status code

func (*RestColServiceGetDocument3OK) IsServerError

func (o *RestColServiceGetDocument3OK) IsServerError() bool

IsServerError returns true when this rest col service get document3 o k response has a 5xx status code

func (*RestColServiceGetDocument3OK) IsSuccess

func (o *RestColServiceGetDocument3OK) IsSuccess() bool

IsSuccess returns true when this rest col service get document3 o k response has a 2xx status code

func (*RestColServiceGetDocument3OK) String

type RestColServiceGetDocument3Params

type RestColServiceGetDocument3Params struct {

	// CollectionID.
	CollectionID string

	// DocumentID.
	DocumentID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceGetDocument3Params contains all the parameters to send to the API endpoint

for the rest col service get document3 operation.

Typically these are written to a http.Request.

func NewRestColServiceGetDocument3Params

func NewRestColServiceGetDocument3Params() *RestColServiceGetDocument3Params

NewRestColServiceGetDocument3Params creates a new RestColServiceGetDocument3Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceGetDocument3ParamsWithContext

func NewRestColServiceGetDocument3ParamsWithContext(ctx context.Context) *RestColServiceGetDocument3Params

NewRestColServiceGetDocument3ParamsWithContext creates a new RestColServiceGetDocument3Params object with the ability to set a context for a request.

func NewRestColServiceGetDocument3ParamsWithHTTPClient

func NewRestColServiceGetDocument3ParamsWithHTTPClient(client *http.Client) *RestColServiceGetDocument3Params

NewRestColServiceGetDocument3ParamsWithHTTPClient creates a new RestColServiceGetDocument3Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceGetDocument3ParamsWithTimeout

func NewRestColServiceGetDocument3ParamsWithTimeout(timeout time.Duration) *RestColServiceGetDocument3Params

NewRestColServiceGetDocument3ParamsWithTimeout creates a new RestColServiceGetDocument3Params object with the ability to set a timeout on a request.

func (*RestColServiceGetDocument3Params) SetCollectionID

func (o *RestColServiceGetDocument3Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) SetContext

SetContext adds the context to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) SetDefaults

func (o *RestColServiceGetDocument3Params) SetDefaults()

SetDefaults hydrates default values in the rest col service get document3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceGetDocument3Params) SetDocumentID

func (o *RestColServiceGetDocument3Params) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) SetHTTPClient

func (o *RestColServiceGetDocument3Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) SetProjectID

func (o *RestColServiceGetDocument3Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) SetTimeout

func (o *RestColServiceGetDocument3Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) WithContext

WithContext adds the context to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) WithDefaults

WithDefaults hydrates default values in the rest col service get document3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceGetDocument3Params) WithDocumentID

WithDocumentID adds the documentID to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) WithProjectID

WithProjectID adds the projectID to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) WithTimeout

WithTimeout adds the timeout to the rest col service get document3 params

func (*RestColServiceGetDocument3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceGetDocument3Reader

type RestColServiceGetDocument3Reader struct {
	// contains filtered or unexported fields
}

RestColServiceGetDocument3Reader is a Reader for the RestColServiceGetDocument3 structure.

func (*RestColServiceGetDocument3Reader) ReadResponse

func (o *RestColServiceGetDocument3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceGetDocumentDefault

type RestColServiceGetDocumentDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceGetDocumentDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceGetDocumentDefault

func NewRestColServiceGetDocumentDefault(code int) *RestColServiceGetDocumentDefault

NewRestColServiceGetDocumentDefault creates a RestColServiceGetDocumentDefault with default headers values

func (*RestColServiceGetDocumentDefault) Code

Code gets the status code for the rest col service get document default response

func (*RestColServiceGetDocumentDefault) Error

func (*RestColServiceGetDocumentDefault) GetPayload

func (*RestColServiceGetDocumentDefault) IsClientError

func (o *RestColServiceGetDocumentDefault) IsClientError() bool

IsClientError returns true when this rest col service get document default response has a 4xx status code

func (*RestColServiceGetDocumentDefault) IsCode

func (o *RestColServiceGetDocumentDefault) IsCode(code int) bool

IsCode returns true when this rest col service get document default response a status code equal to that given

func (*RestColServiceGetDocumentDefault) IsRedirect

func (o *RestColServiceGetDocumentDefault) IsRedirect() bool

IsRedirect returns true when this rest col service get document default response has a 3xx status code

func (*RestColServiceGetDocumentDefault) IsServerError

func (o *RestColServiceGetDocumentDefault) IsServerError() bool

IsServerError returns true when this rest col service get document default response has a 5xx status code

func (*RestColServiceGetDocumentDefault) IsSuccess

func (o *RestColServiceGetDocumentDefault) IsSuccess() bool

IsSuccess returns true when this rest col service get document default response has a 2xx status code

func (*RestColServiceGetDocumentDefault) String

type RestColServiceGetDocumentOK

type RestColServiceGetDocumentOK struct {
	Payload *models.APIGetDocumentResponse
}

RestColServiceGetDocumentOK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceGetDocumentOK

func NewRestColServiceGetDocumentOK() *RestColServiceGetDocumentOK

NewRestColServiceGetDocumentOK creates a RestColServiceGetDocumentOK with default headers values

func (*RestColServiceGetDocumentOK) Code

func (o *RestColServiceGetDocumentOK) Code() int

Code gets the status code for the rest col service get document o k response

func (*RestColServiceGetDocumentOK) Error

func (*RestColServiceGetDocumentOK) GetPayload

func (*RestColServiceGetDocumentOK) IsClientError

func (o *RestColServiceGetDocumentOK) IsClientError() bool

IsClientError returns true when this rest col service get document o k response has a 4xx status code

func (*RestColServiceGetDocumentOK) IsCode

func (o *RestColServiceGetDocumentOK) IsCode(code int) bool

IsCode returns true when this rest col service get document o k response a status code equal to that given

func (*RestColServiceGetDocumentOK) IsRedirect

func (o *RestColServiceGetDocumentOK) IsRedirect() bool

IsRedirect returns true when this rest col service get document o k response has a 3xx status code

func (*RestColServiceGetDocumentOK) IsServerError

func (o *RestColServiceGetDocumentOK) IsServerError() bool

IsServerError returns true when this rest col service get document o k response has a 5xx status code

func (*RestColServiceGetDocumentOK) IsSuccess

func (o *RestColServiceGetDocumentOK) IsSuccess() bool

IsSuccess returns true when this rest col service get document o k response has a 2xx status code

func (*RestColServiceGetDocumentOK) String

func (o *RestColServiceGetDocumentOK) String() string

type RestColServiceGetDocumentParams

type RestColServiceGetDocumentParams struct {

	// CollectionID.
	CollectionID *string

	// DocumentID.
	DocumentID string

	// ProjectID.
	ProjectID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceGetDocumentParams contains all the parameters to send to the API endpoint

for the rest col service get document operation.

Typically these are written to a http.Request.

func NewRestColServiceGetDocumentParams

func NewRestColServiceGetDocumentParams() *RestColServiceGetDocumentParams

NewRestColServiceGetDocumentParams creates a new RestColServiceGetDocumentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceGetDocumentParamsWithContext

func NewRestColServiceGetDocumentParamsWithContext(ctx context.Context) *RestColServiceGetDocumentParams

NewRestColServiceGetDocumentParamsWithContext creates a new RestColServiceGetDocumentParams object with the ability to set a context for a request.

func NewRestColServiceGetDocumentParamsWithHTTPClient

func NewRestColServiceGetDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceGetDocumentParams

NewRestColServiceGetDocumentParamsWithHTTPClient creates a new RestColServiceGetDocumentParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceGetDocumentParamsWithTimeout

func NewRestColServiceGetDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceGetDocumentParams

NewRestColServiceGetDocumentParamsWithTimeout creates a new RestColServiceGetDocumentParams object with the ability to set a timeout on a request.

func (*RestColServiceGetDocumentParams) SetCollectionID

func (o *RestColServiceGetDocumentParams) SetCollectionID(collectionID *string)

SetCollectionID adds the collectionId to the rest col service get document params

func (*RestColServiceGetDocumentParams) SetContext

func (o *RestColServiceGetDocumentParams) SetContext(ctx context.Context)

SetContext adds the context to the rest col service get document params

func (*RestColServiceGetDocumentParams) SetDefaults

func (o *RestColServiceGetDocumentParams) SetDefaults()

SetDefaults hydrates default values in the rest col service get document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceGetDocumentParams) SetDocumentID

func (o *RestColServiceGetDocumentParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the rest col service get document params

func (*RestColServiceGetDocumentParams) SetHTTPClient

func (o *RestColServiceGetDocumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service get document params

func (*RestColServiceGetDocumentParams) SetProjectID

func (o *RestColServiceGetDocumentParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service get document params

func (*RestColServiceGetDocumentParams) SetTimeout

func (o *RestColServiceGetDocumentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service get document params

func (*RestColServiceGetDocumentParams) WithCollectionID

func (o *RestColServiceGetDocumentParams) WithCollectionID(collectionID *string) *RestColServiceGetDocumentParams

WithCollectionID adds the collectionID to the rest col service get document params

func (*RestColServiceGetDocumentParams) WithContext

WithContext adds the context to the rest col service get document params

func (*RestColServiceGetDocumentParams) WithDefaults

WithDefaults hydrates default values in the rest col service get document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceGetDocumentParams) WithDocumentID

WithDocumentID adds the documentID to the rest col service get document params

func (*RestColServiceGetDocumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service get document params

func (*RestColServiceGetDocumentParams) WithProjectID

WithProjectID adds the projectID to the rest col service get document params

func (*RestColServiceGetDocumentParams) WithTimeout

WithTimeout adds the timeout to the rest col service get document params

func (*RestColServiceGetDocumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceGetDocumentReader

type RestColServiceGetDocumentReader struct {
	// contains filtered or unexported fields
}

RestColServiceGetDocumentReader is a Reader for the RestColServiceGetDocument structure.

func (*RestColServiceGetDocumentReader) ReadResponse

func (o *RestColServiceGetDocumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceQueryDocument2Default

type RestColServiceQueryDocument2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceQueryDocument2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceQueryDocument2Default

func NewRestColServiceQueryDocument2Default(code int) *RestColServiceQueryDocument2Default

NewRestColServiceQueryDocument2Default creates a RestColServiceQueryDocument2Default with default headers values

func (*RestColServiceQueryDocument2Default) Code

Code gets the status code for the rest col service query document2 default response

func (*RestColServiceQueryDocument2Default) Error

func (*RestColServiceQueryDocument2Default) GetPayload

func (*RestColServiceQueryDocument2Default) IsClientError

func (o *RestColServiceQueryDocument2Default) IsClientError() bool

IsClientError returns true when this rest col service query document2 default response has a 4xx status code

func (*RestColServiceQueryDocument2Default) IsCode

IsCode returns true when this rest col service query document2 default response a status code equal to that given

func (*RestColServiceQueryDocument2Default) IsRedirect

func (o *RestColServiceQueryDocument2Default) IsRedirect() bool

IsRedirect returns true when this rest col service query document2 default response has a 3xx status code

func (*RestColServiceQueryDocument2Default) IsServerError

func (o *RestColServiceQueryDocument2Default) IsServerError() bool

IsServerError returns true when this rest col service query document2 default response has a 5xx status code

func (*RestColServiceQueryDocument2Default) IsSuccess

IsSuccess returns true when this rest col service query document2 default response has a 2xx status code

func (*RestColServiceQueryDocument2Default) String

type RestColServiceQueryDocument2OK

type RestColServiceQueryDocument2OK struct {
	Payload *models.APIQueryDocumentResponse
}

RestColServiceQueryDocument2OK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceQueryDocument2OK

func NewRestColServiceQueryDocument2OK() *RestColServiceQueryDocument2OK

NewRestColServiceQueryDocument2OK creates a RestColServiceQueryDocument2OK with default headers values

func (*RestColServiceQueryDocument2OK) Code

Code gets the status code for the rest col service query document2 o k response

func (*RestColServiceQueryDocument2OK) Error

func (*RestColServiceQueryDocument2OK) GetPayload

func (*RestColServiceQueryDocument2OK) IsClientError

func (o *RestColServiceQueryDocument2OK) IsClientError() bool

IsClientError returns true when this rest col service query document2 o k response has a 4xx status code

func (*RestColServiceQueryDocument2OK) IsCode

func (o *RestColServiceQueryDocument2OK) IsCode(code int) bool

IsCode returns true when this rest col service query document2 o k response a status code equal to that given

func (*RestColServiceQueryDocument2OK) IsRedirect

func (o *RestColServiceQueryDocument2OK) IsRedirect() bool

IsRedirect returns true when this rest col service query document2 o k response has a 3xx status code

func (*RestColServiceQueryDocument2OK) IsServerError

func (o *RestColServiceQueryDocument2OK) IsServerError() bool

IsServerError returns true when this rest col service query document2 o k response has a 5xx status code

func (*RestColServiceQueryDocument2OK) IsSuccess

func (o *RestColServiceQueryDocument2OK) IsSuccess() bool

IsSuccess returns true when this rest col service query document2 o k response has a 2xx status code

func (*RestColServiceQueryDocument2OK) String

type RestColServiceQueryDocument2Params

type RestColServiceQueryDocument2Params struct {

	// CollectionID.
	CollectionID string

	/* EndedAt.

	   endedAt specifies when is the ended timeframe of the query

	   Format: date-time
	*/
	EndedAt *strfmt.DateTime

	// LimitCount.
	//
	// Format: int32
	LimitCount *int32

	// ProjectID.
	ProjectID *string

	/* Queryfields.

	   dot-concatenated fields, ex: fielda.fieldb.fieldc
	*/
	Queryfields *string

	// SinceTs.
	//
	// Format: date-time
	SinceTs *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceQueryDocument2Params contains all the parameters to send to the API endpoint

for the rest col service query document2 operation.

Typically these are written to a http.Request.

func NewRestColServiceQueryDocument2Params

func NewRestColServiceQueryDocument2Params() *RestColServiceQueryDocument2Params

NewRestColServiceQueryDocument2Params creates a new RestColServiceQueryDocument2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceQueryDocument2ParamsWithContext

func NewRestColServiceQueryDocument2ParamsWithContext(ctx context.Context) *RestColServiceQueryDocument2Params

NewRestColServiceQueryDocument2ParamsWithContext creates a new RestColServiceQueryDocument2Params object with the ability to set a context for a request.

func NewRestColServiceQueryDocument2ParamsWithHTTPClient

func NewRestColServiceQueryDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocument2Params

NewRestColServiceQueryDocument2ParamsWithHTTPClient creates a new RestColServiceQueryDocument2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceQueryDocument2ParamsWithTimeout

func NewRestColServiceQueryDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocument2Params

NewRestColServiceQueryDocument2ParamsWithTimeout creates a new RestColServiceQueryDocument2Params object with the ability to set a timeout on a request.

func (*RestColServiceQueryDocument2Params) SetCollectionID

func (o *RestColServiceQueryDocument2Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetContext

SetContext adds the context to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetDefaults

func (o *RestColServiceQueryDocument2Params) SetDefaults()

SetDefaults hydrates default values in the rest col service query document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocument2Params) SetEndedAt

func (o *RestColServiceQueryDocument2Params) SetEndedAt(endedAt *strfmt.DateTime)

SetEndedAt adds the endedAt to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetHTTPClient

func (o *RestColServiceQueryDocument2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetLimitCount

func (o *RestColServiceQueryDocument2Params) SetLimitCount(limitCount *int32)

SetLimitCount adds the limitCount to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetProjectID

func (o *RestColServiceQueryDocument2Params) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetQueryfields

func (o *RestColServiceQueryDocument2Params) SetQueryfields(queryfields *string)

SetQueryfields adds the queryfields to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetSinceTs

func (o *RestColServiceQueryDocument2Params) SetSinceTs(sinceTs *strfmt.DateTime)

SetSinceTs adds the sinceTs to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) SetTimeout

func (o *RestColServiceQueryDocument2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithContext

WithContext adds the context to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithDefaults

WithDefaults hydrates default values in the rest col service query document2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocument2Params) WithEndedAt

WithEndedAt adds the endedAt to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithLimitCount

WithLimitCount adds the limitCount to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithProjectID

WithProjectID adds the projectID to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithQueryfields

WithQueryfields adds the queryfields to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithSinceTs

WithSinceTs adds the sinceTs to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WithTimeout

WithTimeout adds the timeout to the rest col service query document2 params

func (*RestColServiceQueryDocument2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceQueryDocument2Reader

type RestColServiceQueryDocument2Reader struct {
	// contains filtered or unexported fields
}

RestColServiceQueryDocument2Reader is a Reader for the RestColServiceQueryDocument2 structure.

func (*RestColServiceQueryDocument2Reader) ReadResponse

func (o *RestColServiceQueryDocument2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceQueryDocument3Default

type RestColServiceQueryDocument3Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceQueryDocument3Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceQueryDocument3Default

func NewRestColServiceQueryDocument3Default(code int) *RestColServiceQueryDocument3Default

NewRestColServiceQueryDocument3Default creates a RestColServiceQueryDocument3Default with default headers values

func (*RestColServiceQueryDocument3Default) Code

Code gets the status code for the rest col service query document3 default response

func (*RestColServiceQueryDocument3Default) Error

func (*RestColServiceQueryDocument3Default) GetPayload

func (*RestColServiceQueryDocument3Default) IsClientError

func (o *RestColServiceQueryDocument3Default) IsClientError() bool

IsClientError returns true when this rest col service query document3 default response has a 4xx status code

func (*RestColServiceQueryDocument3Default) IsCode

IsCode returns true when this rest col service query document3 default response a status code equal to that given

func (*RestColServiceQueryDocument3Default) IsRedirect

func (o *RestColServiceQueryDocument3Default) IsRedirect() bool

IsRedirect returns true when this rest col service query document3 default response has a 3xx status code

func (*RestColServiceQueryDocument3Default) IsServerError

func (o *RestColServiceQueryDocument3Default) IsServerError() bool

IsServerError returns true when this rest col service query document3 default response has a 5xx status code

func (*RestColServiceQueryDocument3Default) IsSuccess

IsSuccess returns true when this rest col service query document3 default response has a 2xx status code

func (*RestColServiceQueryDocument3Default) String

type RestColServiceQueryDocument3OK

type RestColServiceQueryDocument3OK struct {
	Payload *models.APIQueryDocumentResponse
}

RestColServiceQueryDocument3OK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceQueryDocument3OK

func NewRestColServiceQueryDocument3OK() *RestColServiceQueryDocument3OK

NewRestColServiceQueryDocument3OK creates a RestColServiceQueryDocument3OK with default headers values

func (*RestColServiceQueryDocument3OK) Code

Code gets the status code for the rest col service query document3 o k response

func (*RestColServiceQueryDocument3OK) Error

func (*RestColServiceQueryDocument3OK) GetPayload

func (*RestColServiceQueryDocument3OK) IsClientError

func (o *RestColServiceQueryDocument3OK) IsClientError() bool

IsClientError returns true when this rest col service query document3 o k response has a 4xx status code

func (*RestColServiceQueryDocument3OK) IsCode

func (o *RestColServiceQueryDocument3OK) IsCode(code int) bool

IsCode returns true when this rest col service query document3 o k response a status code equal to that given

func (*RestColServiceQueryDocument3OK) IsRedirect

func (o *RestColServiceQueryDocument3OK) IsRedirect() bool

IsRedirect returns true when this rest col service query document3 o k response has a 3xx status code

func (*RestColServiceQueryDocument3OK) IsServerError

func (o *RestColServiceQueryDocument3OK) IsServerError() bool

IsServerError returns true when this rest col service query document3 o k response has a 5xx status code

func (*RestColServiceQueryDocument3OK) IsSuccess

func (o *RestColServiceQueryDocument3OK) IsSuccess() bool

IsSuccess returns true when this rest col service query document3 o k response has a 2xx status code

func (*RestColServiceQueryDocument3OK) String

type RestColServiceQueryDocument3Params

type RestColServiceQueryDocument3Params struct {

	// CollectionID.
	CollectionID string

	/* EndedAt.

	   endedAt specifies when is the ended timeframe of the query

	   Format: date-time
	*/
	EndedAt *strfmt.DateTime

	// LimitCount.
	//
	// Format: int32
	LimitCount *int32

	// ProjectID.
	ProjectID string

	/* Queryfields.

	   dot-concatenated fields, ex: fielda.fieldb.fieldc
	*/
	Queryfields *string

	// SinceTs.
	//
	// Format: date-time
	SinceTs *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceQueryDocument3Params contains all the parameters to send to the API endpoint

for the rest col service query document3 operation.

Typically these are written to a http.Request.

func NewRestColServiceQueryDocument3Params

func NewRestColServiceQueryDocument3Params() *RestColServiceQueryDocument3Params

NewRestColServiceQueryDocument3Params creates a new RestColServiceQueryDocument3Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceQueryDocument3ParamsWithContext

func NewRestColServiceQueryDocument3ParamsWithContext(ctx context.Context) *RestColServiceQueryDocument3Params

NewRestColServiceQueryDocument3ParamsWithContext creates a new RestColServiceQueryDocument3Params object with the ability to set a context for a request.

func NewRestColServiceQueryDocument3ParamsWithHTTPClient

func NewRestColServiceQueryDocument3ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocument3Params

NewRestColServiceQueryDocument3ParamsWithHTTPClient creates a new RestColServiceQueryDocument3Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceQueryDocument3ParamsWithTimeout

func NewRestColServiceQueryDocument3ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocument3Params

NewRestColServiceQueryDocument3ParamsWithTimeout creates a new RestColServiceQueryDocument3Params object with the ability to set a timeout on a request.

func (*RestColServiceQueryDocument3Params) SetCollectionID

func (o *RestColServiceQueryDocument3Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetContext

SetContext adds the context to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetDefaults

func (o *RestColServiceQueryDocument3Params) SetDefaults()

SetDefaults hydrates default values in the rest col service query document3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocument3Params) SetEndedAt

func (o *RestColServiceQueryDocument3Params) SetEndedAt(endedAt *strfmt.DateTime)

SetEndedAt adds the endedAt to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetHTTPClient

func (o *RestColServiceQueryDocument3Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetLimitCount

func (o *RestColServiceQueryDocument3Params) SetLimitCount(limitCount *int32)

SetLimitCount adds the limitCount to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetProjectID

func (o *RestColServiceQueryDocument3Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetQueryfields

func (o *RestColServiceQueryDocument3Params) SetQueryfields(queryfields *string)

SetQueryfields adds the queryfields to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetSinceTs

func (o *RestColServiceQueryDocument3Params) SetSinceTs(sinceTs *strfmt.DateTime)

SetSinceTs adds the sinceTs to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) SetTimeout

func (o *RestColServiceQueryDocument3Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithContext

WithContext adds the context to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithDefaults

WithDefaults hydrates default values in the rest col service query document3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocument3Params) WithEndedAt

WithEndedAt adds the endedAt to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithLimitCount

WithLimitCount adds the limitCount to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithProjectID

WithProjectID adds the projectID to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithQueryfields

WithQueryfields adds the queryfields to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithSinceTs

WithSinceTs adds the sinceTs to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WithTimeout

WithTimeout adds the timeout to the rest col service query document3 params

func (*RestColServiceQueryDocument3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceQueryDocument3Reader

type RestColServiceQueryDocument3Reader struct {
	// contains filtered or unexported fields
}

RestColServiceQueryDocument3Reader is a Reader for the RestColServiceQueryDocument3 structure.

func (*RestColServiceQueryDocument3Reader) ReadResponse

func (o *RestColServiceQueryDocument3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceQueryDocumentDefault

type RestColServiceQueryDocumentDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceQueryDocumentDefault

func NewRestColServiceQueryDocumentDefault(code int) *RestColServiceQueryDocumentDefault

NewRestColServiceQueryDocumentDefault creates a RestColServiceQueryDocumentDefault with default headers values

func (*RestColServiceQueryDocumentDefault) Code

Code gets the status code for the rest col service query document default response

func (*RestColServiceQueryDocumentDefault) Error

func (*RestColServiceQueryDocumentDefault) GetPayload

func (*RestColServiceQueryDocumentDefault) IsClientError

func (o *RestColServiceQueryDocumentDefault) IsClientError() bool

IsClientError returns true when this rest col service query document default response has a 4xx status code

func (*RestColServiceQueryDocumentDefault) IsCode

IsCode returns true when this rest col service query document default response a status code equal to that given

func (*RestColServiceQueryDocumentDefault) IsRedirect

func (o *RestColServiceQueryDocumentDefault) IsRedirect() bool

IsRedirect returns true when this rest col service query document default response has a 3xx status code

func (*RestColServiceQueryDocumentDefault) IsServerError

func (o *RestColServiceQueryDocumentDefault) IsServerError() bool

IsServerError returns true when this rest col service query document default response has a 5xx status code

func (*RestColServiceQueryDocumentDefault) IsSuccess

IsSuccess returns true when this rest col service query document default response has a 2xx status code

func (*RestColServiceQueryDocumentDefault) String

type RestColServiceQueryDocumentOK

type RestColServiceQueryDocumentOK struct {
	Payload *models.APIQueryDocumentResponse
}

RestColServiceQueryDocumentOK describes a response with status code 200, with default header values.

A successful response.

func NewRestColServiceQueryDocumentOK

func NewRestColServiceQueryDocumentOK() *RestColServiceQueryDocumentOK

NewRestColServiceQueryDocumentOK creates a RestColServiceQueryDocumentOK with default headers values

func (*RestColServiceQueryDocumentOK) Code

Code gets the status code for the rest col service query document o k response

func (*RestColServiceQueryDocumentOK) Error

func (*RestColServiceQueryDocumentOK) GetPayload

func (*RestColServiceQueryDocumentOK) IsClientError

func (o *RestColServiceQueryDocumentOK) IsClientError() bool

IsClientError returns true when this rest col service query document o k response has a 4xx status code

func (*RestColServiceQueryDocumentOK) IsCode

func (o *RestColServiceQueryDocumentOK) IsCode(code int) bool

IsCode returns true when this rest col service query document o k response a status code equal to that given

func (*RestColServiceQueryDocumentOK) IsRedirect

func (o *RestColServiceQueryDocumentOK) IsRedirect() bool

IsRedirect returns true when this rest col service query document o k response has a 3xx status code

func (*RestColServiceQueryDocumentOK) IsServerError

func (o *RestColServiceQueryDocumentOK) IsServerError() bool

IsServerError returns true when this rest col service query document o k response has a 5xx status code

func (*RestColServiceQueryDocumentOK) IsSuccess

func (o *RestColServiceQueryDocumentOK) IsSuccess() bool

IsSuccess returns true when this rest col service query document o k response has a 2xx status code

func (*RestColServiceQueryDocumentOK) String

type RestColServiceQueryDocumentParams

type RestColServiceQueryDocumentParams struct {

	// CollectionID.
	CollectionID *string

	/* EndedAt.

	   endedAt specifies when is the ended timeframe of the query

	   Format: date-time
	*/
	EndedAt *strfmt.DateTime

	// LimitCount.
	//
	// Format: int32
	LimitCount *int32

	// ProjectID.
	ProjectID *string

	/* Queryfields.

	   dot-concatenated fields, ex: fielda.fieldb.fieldc
	*/
	Queryfields *string

	// SinceTs.
	//
	// Format: date-time
	SinceTs *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentParams contains all the parameters to send to the API endpoint

for the rest col service query document operation.

Typically these are written to a http.Request.

func NewRestColServiceQueryDocumentParams

func NewRestColServiceQueryDocumentParams() *RestColServiceQueryDocumentParams

NewRestColServiceQueryDocumentParams creates a new RestColServiceQueryDocumentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceQueryDocumentParamsWithContext

func NewRestColServiceQueryDocumentParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentParams

NewRestColServiceQueryDocumentParamsWithContext creates a new RestColServiceQueryDocumentParams object with the ability to set a context for a request.

func NewRestColServiceQueryDocumentParamsWithHTTPClient

func NewRestColServiceQueryDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentParams

NewRestColServiceQueryDocumentParamsWithHTTPClient creates a new RestColServiceQueryDocumentParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceQueryDocumentParamsWithTimeout

func NewRestColServiceQueryDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentParams

NewRestColServiceQueryDocumentParamsWithTimeout creates a new RestColServiceQueryDocumentParams object with the ability to set a timeout on a request.

func (*RestColServiceQueryDocumentParams) SetCollectionID

func (o *RestColServiceQueryDocumentParams) SetCollectionID(collectionID *string)

SetCollectionID adds the collectionId to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetContext

SetContext adds the context to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetDefaults

func (o *RestColServiceQueryDocumentParams) SetDefaults()

SetDefaults hydrates default values in the rest col service query document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentParams) SetEndedAt

func (o *RestColServiceQueryDocumentParams) SetEndedAt(endedAt *strfmt.DateTime)

SetEndedAt adds the endedAt to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetHTTPClient

func (o *RestColServiceQueryDocumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetLimitCount

func (o *RestColServiceQueryDocumentParams) SetLimitCount(limitCount *int32)

SetLimitCount adds the limitCount to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetProjectID

func (o *RestColServiceQueryDocumentParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetQueryfields

func (o *RestColServiceQueryDocumentParams) SetQueryfields(queryfields *string)

SetQueryfields adds the queryfields to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetSinceTs

func (o *RestColServiceQueryDocumentParams) SetSinceTs(sinceTs *strfmt.DateTime)

SetSinceTs adds the sinceTs to the rest col service query document params

func (*RestColServiceQueryDocumentParams) SetTimeout

func (o *RestColServiceQueryDocumentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithCollectionID

WithCollectionID adds the collectionID to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithContext

WithContext adds the context to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithDefaults

WithDefaults hydrates default values in the rest col service query document params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentParams) WithEndedAt

WithEndedAt adds the endedAt to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithLimitCount

WithLimitCount adds the limitCount to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithProjectID

WithProjectID adds the projectID to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithQueryfields

WithQueryfields adds the queryfields to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithSinceTs

WithSinceTs adds the sinceTs to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WithTimeout

WithTimeout adds the timeout to the rest col service query document params

func (*RestColServiceQueryDocumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceQueryDocumentReader

type RestColServiceQueryDocumentReader struct {
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentReader is a Reader for the RestColServiceQueryDocument structure.

func (*RestColServiceQueryDocumentReader) ReadResponse

func (o *RestColServiceQueryDocumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceQueryDocumentsStream2Default

type RestColServiceQueryDocumentsStream2Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStream2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceQueryDocumentsStream2Default

func NewRestColServiceQueryDocumentsStream2Default(code int) *RestColServiceQueryDocumentsStream2Default

NewRestColServiceQueryDocumentsStream2Default creates a RestColServiceQueryDocumentsStream2Default with default headers values

func (*RestColServiceQueryDocumentsStream2Default) Code

Code gets the status code for the rest col service query documents stream2 default response

func (*RestColServiceQueryDocumentsStream2Default) Error

func (*RestColServiceQueryDocumentsStream2Default) GetPayload

func (*RestColServiceQueryDocumentsStream2Default) IsClientError

IsClientError returns true when this rest col service query documents stream2 default response has a 4xx status code

func (*RestColServiceQueryDocumentsStream2Default) IsCode

IsCode returns true when this rest col service query documents stream2 default response a status code equal to that given

func (*RestColServiceQueryDocumentsStream2Default) IsRedirect

IsRedirect returns true when this rest col service query documents stream2 default response has a 3xx status code

func (*RestColServiceQueryDocumentsStream2Default) IsServerError

IsServerError returns true when this rest col service query documents stream2 default response has a 5xx status code

func (*RestColServiceQueryDocumentsStream2Default) IsSuccess

IsSuccess returns true when this rest col service query documents stream2 default response has a 2xx status code

func (*RestColServiceQueryDocumentsStream2Default) String

type RestColServiceQueryDocumentsStream2OK

type RestColServiceQueryDocumentsStream2OK struct {
	Payload *RestColServiceQueryDocumentsStream2OKBody
}

RestColServiceQueryDocumentsStream2OK describes a response with status code 200, with default header values.

A successful response.(streaming responses)

func NewRestColServiceQueryDocumentsStream2OK

func NewRestColServiceQueryDocumentsStream2OK() *RestColServiceQueryDocumentsStream2OK

NewRestColServiceQueryDocumentsStream2OK creates a RestColServiceQueryDocumentsStream2OK with default headers values

func (*RestColServiceQueryDocumentsStream2OK) Code

Code gets the status code for the rest col service query documents stream2 o k response

func (*RestColServiceQueryDocumentsStream2OK) Error

func (*RestColServiceQueryDocumentsStream2OK) GetPayload

func (*RestColServiceQueryDocumentsStream2OK) IsClientError

func (o *RestColServiceQueryDocumentsStream2OK) IsClientError() bool

IsClientError returns true when this rest col service query documents stream2 o k response has a 4xx status code

func (*RestColServiceQueryDocumentsStream2OK) IsCode

IsCode returns true when this rest col service query documents stream2 o k response a status code equal to that given

func (*RestColServiceQueryDocumentsStream2OK) IsRedirect

IsRedirect returns true when this rest col service query documents stream2 o k response has a 3xx status code

func (*RestColServiceQueryDocumentsStream2OK) IsServerError

func (o *RestColServiceQueryDocumentsStream2OK) IsServerError() bool

IsServerError returns true when this rest col service query documents stream2 o k response has a 5xx status code

func (*RestColServiceQueryDocumentsStream2OK) IsSuccess

IsSuccess returns true when this rest col service query documents stream2 o k response has a 2xx status code

func (*RestColServiceQueryDocumentsStream2OK) String

type RestColServiceQueryDocumentsStream2OKBody

type RestColServiceQueryDocumentsStream2OKBody struct {

	// error
	Error *models.RPCStatus `json:"error,omitempty"`

	// result
	Result *models.APIGetDocumentResponse `json:"result,omitempty"`
}

RestColServiceQueryDocumentsStream2OKBody Stream result of apiGetDocumentResponse swagger:model RestColServiceQueryDocumentsStream2OKBody

func (*RestColServiceQueryDocumentsStream2OKBody) ContextValidate

ContextValidate validate this rest col service query documents stream2 o k body based on the context it is used

func (*RestColServiceQueryDocumentsStream2OKBody) MarshalBinary

func (o *RestColServiceQueryDocumentsStream2OKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestColServiceQueryDocumentsStream2OKBody) UnmarshalBinary

func (o *RestColServiceQueryDocumentsStream2OKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestColServiceQueryDocumentsStream2OKBody) Validate

Validate validates this rest col service query documents stream2 o k body

type RestColServiceQueryDocumentsStream2Params

type RestColServiceQueryDocumentsStream2Params struct {

	// CollectionID.
	CollectionID string

	/* EndedAt.

	   endedAt specifies when is the ended timeframe of the query

	   Format: date-time
	*/
	EndedAt *strfmt.DateTime

	/* FollowUpMode.

	   if on, the service would keep watch new coming docs
	*/
	FollowUpMode *bool

	// ProjectID.
	ProjectID *string

	/* Queryfields.

	   dot-concatenated fields, ex: fielda.fieldb.fieldc
	*/
	Queryfields *string

	// SinceTs.
	//
	// Format: date-time
	SinceTs *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStream2Params contains all the parameters to send to the API endpoint

for the rest col service query documents stream2 operation.

Typically these are written to a http.Request.

func NewRestColServiceQueryDocumentsStream2Params

func NewRestColServiceQueryDocumentsStream2Params() *RestColServiceQueryDocumentsStream2Params

NewRestColServiceQueryDocumentsStream2Params creates a new RestColServiceQueryDocumentsStream2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceQueryDocumentsStream2ParamsWithContext

func NewRestColServiceQueryDocumentsStream2ParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentsStream2Params

NewRestColServiceQueryDocumentsStream2ParamsWithContext creates a new RestColServiceQueryDocumentsStream2Params object with the ability to set a context for a request.

func NewRestColServiceQueryDocumentsStream2ParamsWithHTTPClient

func NewRestColServiceQueryDocumentsStream2ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream2Params

NewRestColServiceQueryDocumentsStream2ParamsWithHTTPClient creates a new RestColServiceQueryDocumentsStream2Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceQueryDocumentsStream2ParamsWithTimeout

func NewRestColServiceQueryDocumentsStream2ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream2Params

NewRestColServiceQueryDocumentsStream2ParamsWithTimeout creates a new RestColServiceQueryDocumentsStream2Params object with the ability to set a timeout on a request.

func (*RestColServiceQueryDocumentsStream2Params) SetCollectionID

func (o *RestColServiceQueryDocumentsStream2Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetContext

SetContext adds the context to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetDefaults

SetDefaults hydrates default values in the rest col service query documents stream2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentsStream2Params) SetEndedAt

SetEndedAt adds the endedAt to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetFollowUpMode

func (o *RestColServiceQueryDocumentsStream2Params) SetFollowUpMode(followUpMode *bool)

SetFollowUpMode adds the followUpMode to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetHTTPClient

func (o *RestColServiceQueryDocumentsStream2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetProjectID

func (o *RestColServiceQueryDocumentsStream2Params) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetQueryfields

func (o *RestColServiceQueryDocumentsStream2Params) SetQueryfields(queryfields *string)

SetQueryfields adds the queryfields to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetSinceTs

SetSinceTs adds the sinceTs to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) SetTimeout

SetTimeout adds the timeout to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithContext

WithContext adds the context to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithDefaults

WithDefaults hydrates default values in the rest col service query documents stream2 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentsStream2Params) WithEndedAt

WithEndedAt adds the endedAt to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithFollowUpMode

WithFollowUpMode adds the followUpMode to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithProjectID

WithProjectID adds the projectID to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithQueryfields

WithQueryfields adds the queryfields to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithSinceTs

WithSinceTs adds the sinceTs to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WithTimeout

WithTimeout adds the timeout to the rest col service query documents stream2 params

func (*RestColServiceQueryDocumentsStream2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceQueryDocumentsStream2Reader

type RestColServiceQueryDocumentsStream2Reader struct {
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStream2Reader is a Reader for the RestColServiceQueryDocumentsStream2 structure.

func (*RestColServiceQueryDocumentsStream2Reader) ReadResponse

func (o *RestColServiceQueryDocumentsStream2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceQueryDocumentsStream3Default

type RestColServiceQueryDocumentsStream3Default struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStream3Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceQueryDocumentsStream3Default

func NewRestColServiceQueryDocumentsStream3Default(code int) *RestColServiceQueryDocumentsStream3Default

NewRestColServiceQueryDocumentsStream3Default creates a RestColServiceQueryDocumentsStream3Default with default headers values

func (*RestColServiceQueryDocumentsStream3Default) Code

Code gets the status code for the rest col service query documents stream3 default response

func (*RestColServiceQueryDocumentsStream3Default) Error

func (*RestColServiceQueryDocumentsStream3Default) GetPayload

func (*RestColServiceQueryDocumentsStream3Default) IsClientError

IsClientError returns true when this rest col service query documents stream3 default response has a 4xx status code

func (*RestColServiceQueryDocumentsStream3Default) IsCode

IsCode returns true when this rest col service query documents stream3 default response a status code equal to that given

func (*RestColServiceQueryDocumentsStream3Default) IsRedirect

IsRedirect returns true when this rest col service query documents stream3 default response has a 3xx status code

func (*RestColServiceQueryDocumentsStream3Default) IsServerError

IsServerError returns true when this rest col service query documents stream3 default response has a 5xx status code

func (*RestColServiceQueryDocumentsStream3Default) IsSuccess

IsSuccess returns true when this rest col service query documents stream3 default response has a 2xx status code

func (*RestColServiceQueryDocumentsStream3Default) String

type RestColServiceQueryDocumentsStream3OK

type RestColServiceQueryDocumentsStream3OK struct {
	Payload *RestColServiceQueryDocumentsStream3OKBody
}

RestColServiceQueryDocumentsStream3OK describes a response with status code 200, with default header values.

A successful response.(streaming responses)

func NewRestColServiceQueryDocumentsStream3OK

func NewRestColServiceQueryDocumentsStream3OK() *RestColServiceQueryDocumentsStream3OK

NewRestColServiceQueryDocumentsStream3OK creates a RestColServiceQueryDocumentsStream3OK with default headers values

func (*RestColServiceQueryDocumentsStream3OK) Code

Code gets the status code for the rest col service query documents stream3 o k response

func (*RestColServiceQueryDocumentsStream3OK) Error

func (*RestColServiceQueryDocumentsStream3OK) GetPayload

func (*RestColServiceQueryDocumentsStream3OK) IsClientError

func (o *RestColServiceQueryDocumentsStream3OK) IsClientError() bool

IsClientError returns true when this rest col service query documents stream3 o k response has a 4xx status code

func (*RestColServiceQueryDocumentsStream3OK) IsCode

IsCode returns true when this rest col service query documents stream3 o k response a status code equal to that given

func (*RestColServiceQueryDocumentsStream3OK) IsRedirect

IsRedirect returns true when this rest col service query documents stream3 o k response has a 3xx status code

func (*RestColServiceQueryDocumentsStream3OK) IsServerError

func (o *RestColServiceQueryDocumentsStream3OK) IsServerError() bool

IsServerError returns true when this rest col service query documents stream3 o k response has a 5xx status code

func (*RestColServiceQueryDocumentsStream3OK) IsSuccess

IsSuccess returns true when this rest col service query documents stream3 o k response has a 2xx status code

func (*RestColServiceQueryDocumentsStream3OK) String

type RestColServiceQueryDocumentsStream3OKBody

type RestColServiceQueryDocumentsStream3OKBody struct {

	// error
	Error *models.RPCStatus `json:"error,omitempty"`

	// result
	Result *models.APIGetDocumentResponse `json:"result,omitempty"`
}

RestColServiceQueryDocumentsStream3OKBody Stream result of apiGetDocumentResponse swagger:model RestColServiceQueryDocumentsStream3OKBody

func (*RestColServiceQueryDocumentsStream3OKBody) ContextValidate

ContextValidate validate this rest col service query documents stream3 o k body based on the context it is used

func (*RestColServiceQueryDocumentsStream3OKBody) MarshalBinary

func (o *RestColServiceQueryDocumentsStream3OKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestColServiceQueryDocumentsStream3OKBody) UnmarshalBinary

func (o *RestColServiceQueryDocumentsStream3OKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestColServiceQueryDocumentsStream3OKBody) Validate

Validate validates this rest col service query documents stream3 o k body

type RestColServiceQueryDocumentsStream3Params

type RestColServiceQueryDocumentsStream3Params struct {

	// CollectionID.
	CollectionID string

	/* EndedAt.

	   endedAt specifies when is the ended timeframe of the query

	   Format: date-time
	*/
	EndedAt *strfmt.DateTime

	/* FollowUpMode.

	   if on, the service would keep watch new coming docs
	*/
	FollowUpMode *bool

	// ProjectID.
	ProjectID string

	/* Queryfields.

	   dot-concatenated fields, ex: fielda.fieldb.fieldc
	*/
	Queryfields *string

	// SinceTs.
	//
	// Format: date-time
	SinceTs *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStream3Params contains all the parameters to send to the API endpoint

for the rest col service query documents stream3 operation.

Typically these are written to a http.Request.

func NewRestColServiceQueryDocumentsStream3Params

func NewRestColServiceQueryDocumentsStream3Params() *RestColServiceQueryDocumentsStream3Params

NewRestColServiceQueryDocumentsStream3Params creates a new RestColServiceQueryDocumentsStream3Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceQueryDocumentsStream3ParamsWithContext

func NewRestColServiceQueryDocumentsStream3ParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentsStream3Params

NewRestColServiceQueryDocumentsStream3ParamsWithContext creates a new RestColServiceQueryDocumentsStream3Params object with the ability to set a context for a request.

func NewRestColServiceQueryDocumentsStream3ParamsWithHTTPClient

func NewRestColServiceQueryDocumentsStream3ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream3Params

NewRestColServiceQueryDocumentsStream3ParamsWithHTTPClient creates a new RestColServiceQueryDocumentsStream3Params object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceQueryDocumentsStream3ParamsWithTimeout

func NewRestColServiceQueryDocumentsStream3ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream3Params

NewRestColServiceQueryDocumentsStream3ParamsWithTimeout creates a new RestColServiceQueryDocumentsStream3Params object with the ability to set a timeout on a request.

func (*RestColServiceQueryDocumentsStream3Params) SetCollectionID

func (o *RestColServiceQueryDocumentsStream3Params) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetContext

SetContext adds the context to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetDefaults

SetDefaults hydrates default values in the rest col service query documents stream3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentsStream3Params) SetEndedAt

SetEndedAt adds the endedAt to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetFollowUpMode

func (o *RestColServiceQueryDocumentsStream3Params) SetFollowUpMode(followUpMode *bool)

SetFollowUpMode adds the followUpMode to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetHTTPClient

func (o *RestColServiceQueryDocumentsStream3Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetProjectID

func (o *RestColServiceQueryDocumentsStream3Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetQueryfields

func (o *RestColServiceQueryDocumentsStream3Params) SetQueryfields(queryfields *string)

SetQueryfields adds the queryfields to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetSinceTs

SetSinceTs adds the sinceTs to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) SetTimeout

SetTimeout adds the timeout to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithCollectionID

WithCollectionID adds the collectionID to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithContext

WithContext adds the context to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithDefaults

WithDefaults hydrates default values in the rest col service query documents stream3 params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentsStream3Params) WithEndedAt

WithEndedAt adds the endedAt to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithFollowUpMode

WithFollowUpMode adds the followUpMode to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithProjectID

WithProjectID adds the projectID to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithQueryfields

WithQueryfields adds the queryfields to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithSinceTs

WithSinceTs adds the sinceTs to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WithTimeout

WithTimeout adds the timeout to the rest col service query documents stream3 params

func (*RestColServiceQueryDocumentsStream3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceQueryDocumentsStream3Reader

type RestColServiceQueryDocumentsStream3Reader struct {
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStream3Reader is a Reader for the RestColServiceQueryDocumentsStream3 structure.

func (*RestColServiceQueryDocumentsStream3Reader) ReadResponse

func (o *RestColServiceQueryDocumentsStream3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestColServiceQueryDocumentsStreamDefault

type RestColServiceQueryDocumentsStreamDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStreamDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRestColServiceQueryDocumentsStreamDefault

func NewRestColServiceQueryDocumentsStreamDefault(code int) *RestColServiceQueryDocumentsStreamDefault

NewRestColServiceQueryDocumentsStreamDefault creates a RestColServiceQueryDocumentsStreamDefault with default headers values

func (*RestColServiceQueryDocumentsStreamDefault) Code

Code gets the status code for the rest col service query documents stream default response

func (*RestColServiceQueryDocumentsStreamDefault) Error

func (*RestColServiceQueryDocumentsStreamDefault) GetPayload

func (*RestColServiceQueryDocumentsStreamDefault) IsClientError

IsClientError returns true when this rest col service query documents stream default response has a 4xx status code

func (*RestColServiceQueryDocumentsStreamDefault) IsCode

IsCode returns true when this rest col service query documents stream default response a status code equal to that given

func (*RestColServiceQueryDocumentsStreamDefault) IsRedirect

IsRedirect returns true when this rest col service query documents stream default response has a 3xx status code

func (*RestColServiceQueryDocumentsStreamDefault) IsServerError

IsServerError returns true when this rest col service query documents stream default response has a 5xx status code

func (*RestColServiceQueryDocumentsStreamDefault) IsSuccess

IsSuccess returns true when this rest col service query documents stream default response has a 2xx status code

func (*RestColServiceQueryDocumentsStreamDefault) String

type RestColServiceQueryDocumentsStreamOK

type RestColServiceQueryDocumentsStreamOK struct {
	Payload *RestColServiceQueryDocumentsStreamOKBody
}

RestColServiceQueryDocumentsStreamOK describes a response with status code 200, with default header values.

A successful response.(streaming responses)

func NewRestColServiceQueryDocumentsStreamOK

func NewRestColServiceQueryDocumentsStreamOK() *RestColServiceQueryDocumentsStreamOK

NewRestColServiceQueryDocumentsStreamOK creates a RestColServiceQueryDocumentsStreamOK with default headers values

func (*RestColServiceQueryDocumentsStreamOK) Code

Code gets the status code for the rest col service query documents stream o k response

func (*RestColServiceQueryDocumentsStreamOK) Error

func (*RestColServiceQueryDocumentsStreamOK) GetPayload

func (*RestColServiceQueryDocumentsStreamOK) IsClientError

func (o *RestColServiceQueryDocumentsStreamOK) IsClientError() bool

IsClientError returns true when this rest col service query documents stream o k response has a 4xx status code

func (*RestColServiceQueryDocumentsStreamOK) IsCode

IsCode returns true when this rest col service query documents stream o k response a status code equal to that given

func (*RestColServiceQueryDocumentsStreamOK) IsRedirect

IsRedirect returns true when this rest col service query documents stream o k response has a 3xx status code

func (*RestColServiceQueryDocumentsStreamOK) IsServerError

func (o *RestColServiceQueryDocumentsStreamOK) IsServerError() bool

IsServerError returns true when this rest col service query documents stream o k response has a 5xx status code

func (*RestColServiceQueryDocumentsStreamOK) IsSuccess

IsSuccess returns true when this rest col service query documents stream o k response has a 2xx status code

func (*RestColServiceQueryDocumentsStreamOK) String

type RestColServiceQueryDocumentsStreamOKBody

type RestColServiceQueryDocumentsStreamOKBody struct {

	// error
	Error *models.RPCStatus `json:"error,omitempty"`

	// result
	Result *models.APIGetDocumentResponse `json:"result,omitempty"`
}

RestColServiceQueryDocumentsStreamOKBody Stream result of apiGetDocumentResponse swagger:model RestColServiceQueryDocumentsStreamOKBody

func (*RestColServiceQueryDocumentsStreamOKBody) ContextValidate

ContextValidate validate this rest col service query documents stream o k body based on the context it is used

func (*RestColServiceQueryDocumentsStreamOKBody) MarshalBinary

func (o *RestColServiceQueryDocumentsStreamOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestColServiceQueryDocumentsStreamOKBody) UnmarshalBinary

func (o *RestColServiceQueryDocumentsStreamOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestColServiceQueryDocumentsStreamOKBody) Validate

Validate validates this rest col service query documents stream o k body

type RestColServiceQueryDocumentsStreamParams

type RestColServiceQueryDocumentsStreamParams struct {

	// CollectionID.
	CollectionID *string

	/* EndedAt.

	   endedAt specifies when is the ended timeframe of the query

	   Format: date-time
	*/
	EndedAt *strfmt.DateTime

	/* FollowUpMode.

	   if on, the service would keep watch new coming docs
	*/
	FollowUpMode *bool

	// ProjectID.
	ProjectID *string

	/* Queryfields.

	   dot-concatenated fields, ex: fielda.fieldb.fieldc
	*/
	Queryfields *string

	// SinceTs.
	//
	// Format: date-time
	SinceTs *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStreamParams contains all the parameters to send to the API endpoint

for the rest col service query documents stream operation.

Typically these are written to a http.Request.

func NewRestColServiceQueryDocumentsStreamParams

func NewRestColServiceQueryDocumentsStreamParams() *RestColServiceQueryDocumentsStreamParams

NewRestColServiceQueryDocumentsStreamParams creates a new RestColServiceQueryDocumentsStreamParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestColServiceQueryDocumentsStreamParamsWithContext

func NewRestColServiceQueryDocumentsStreamParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentsStreamParams

NewRestColServiceQueryDocumentsStreamParamsWithContext creates a new RestColServiceQueryDocumentsStreamParams object with the ability to set a context for a request.

func NewRestColServiceQueryDocumentsStreamParamsWithHTTPClient

func NewRestColServiceQueryDocumentsStreamParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStreamParams

NewRestColServiceQueryDocumentsStreamParamsWithHTTPClient creates a new RestColServiceQueryDocumentsStreamParams object with the ability to set a custom HTTPClient for a request.

func NewRestColServiceQueryDocumentsStreamParamsWithTimeout

func NewRestColServiceQueryDocumentsStreamParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStreamParams

NewRestColServiceQueryDocumentsStreamParamsWithTimeout creates a new RestColServiceQueryDocumentsStreamParams object with the ability to set a timeout on a request.

func (*RestColServiceQueryDocumentsStreamParams) SetCollectionID

func (o *RestColServiceQueryDocumentsStreamParams) SetCollectionID(collectionID *string)

SetCollectionID adds the collectionId to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetContext

SetContext adds the context to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetDefaults

SetDefaults hydrates default values in the rest col service query documents stream params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentsStreamParams) SetEndedAt

SetEndedAt adds the endedAt to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetFollowUpMode

func (o *RestColServiceQueryDocumentsStreamParams) SetFollowUpMode(followUpMode *bool)

SetFollowUpMode adds the followUpMode to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetHTTPClient

func (o *RestColServiceQueryDocumentsStreamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetProjectID

func (o *RestColServiceQueryDocumentsStreamParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetQueryfields

func (o *RestColServiceQueryDocumentsStreamParams) SetQueryfields(queryfields *string)

SetQueryfields adds the queryfields to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetSinceTs

SetSinceTs adds the sinceTs to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) SetTimeout

SetTimeout adds the timeout to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithCollectionID

WithCollectionID adds the collectionID to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithContext

WithContext adds the context to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithDefaults

WithDefaults hydrates default values in the rest col service query documents stream params (not the query body).

All values with no default are reset to their zero value.

func (*RestColServiceQueryDocumentsStreamParams) WithEndedAt

WithEndedAt adds the endedAt to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithFollowUpMode

WithFollowUpMode adds the followUpMode to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithProjectID

WithProjectID adds the projectID to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithQueryfields

WithQueryfields adds the queryfields to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithSinceTs

WithSinceTs adds the sinceTs to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WithTimeout

WithTimeout adds the timeout to the rest col service query documents stream params

func (*RestColServiceQueryDocumentsStreamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestColServiceQueryDocumentsStreamReader

type RestColServiceQueryDocumentsStreamReader struct {
	// contains filtered or unexported fields
}

RestColServiceQueryDocumentsStreamReader is a Reader for the RestColServiceQueryDocumentsStream structure.

func (*RestColServiceQueryDocumentsStreamReader) ReadResponse

func (o *RestColServiceQueryDocumentsStreamReader) 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