Documentation ¶
Index ¶
- type Client
- func (a *Client) RestColServiceCreateDocument(params *RestColServiceCreateDocumentParams, ...) (*RestColServiceCreateDocumentOK, error)
- func (a *Client) RestColServiceCreateDocument2(params *RestColServiceCreateDocument2Params, ...) (*RestColServiceCreateDocument2OK, error)
- func (a *Client) RestColServiceCreateDocument3(params *RestColServiceCreateDocument3Params, ...) (*RestColServiceCreateDocument3OK, error)
- func (a *Client) RestColServiceDeleteDocument(params *RestColServiceDeleteDocumentParams, ...) (*RestColServiceDeleteDocumentOK, error)
- func (a *Client) RestColServiceDeleteDocument2(params *RestColServiceDeleteDocument2Params, ...) (*RestColServiceDeleteDocument2OK, error)
- func (a *Client) RestColServiceGetDocument(params *RestColServiceGetDocumentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestColServiceGetDocumentOK, error)
- func (a *Client) RestColServiceGetDocument2(params *RestColServiceGetDocument2Params, ...) (*RestColServiceGetDocument2OK, error)
- func (a *Client) RestColServiceGetDocument3(params *RestColServiceGetDocument3Params, ...) (*RestColServiceGetDocument3OK, error)
- func (a *Client) RestColServiceQueryDocument(params *RestColServiceQueryDocumentParams, ...) (*RestColServiceQueryDocumentOK, error)
- func (a *Client) RestColServiceQueryDocument2(params *RestColServiceQueryDocument2Params, ...) (*RestColServiceQueryDocument2OK, error)
- func (a *Client) RestColServiceQueryDocument3(params *RestColServiceQueryDocument3Params, ...) (*RestColServiceQueryDocument3OK, error)
- func (a *Client) RestColServiceQueryDocumentsStream(params *RestColServiceQueryDocumentsStreamParams, ...) (*RestColServiceQueryDocumentsStreamOK, error)
- func (a *Client) RestColServiceQueryDocumentsStream2(params *RestColServiceQueryDocumentsStream2Params, ...) (*RestColServiceQueryDocumentsStream2OK, error)
- func (a *Client) RestColServiceQueryDocumentsStream3(params *RestColServiceQueryDocumentsStream3Params, ...) (*RestColServiceQueryDocumentsStream3OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RestColServiceCreateDocument2Default
- func (o *RestColServiceCreateDocument2Default) Code() int
- func (o *RestColServiceCreateDocument2Default) Error() string
- func (o *RestColServiceCreateDocument2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceCreateDocument2Default) IsClientError() bool
- func (o *RestColServiceCreateDocument2Default) IsCode(code int) bool
- func (o *RestColServiceCreateDocument2Default) IsRedirect() bool
- func (o *RestColServiceCreateDocument2Default) IsServerError() bool
- func (o *RestColServiceCreateDocument2Default) IsSuccess() bool
- func (o *RestColServiceCreateDocument2Default) String() string
- type RestColServiceCreateDocument2OK
- func (o *RestColServiceCreateDocument2OK) Code() int
- func (o *RestColServiceCreateDocument2OK) Error() string
- func (o *RestColServiceCreateDocument2OK) GetPayload() *models.APICreateDocumentResponse
- func (o *RestColServiceCreateDocument2OK) IsClientError() bool
- func (o *RestColServiceCreateDocument2OK) IsCode(code int) bool
- func (o *RestColServiceCreateDocument2OK) IsRedirect() bool
- func (o *RestColServiceCreateDocument2OK) IsServerError() bool
- func (o *RestColServiceCreateDocument2OK) IsSuccess() bool
- func (o *RestColServiceCreateDocument2OK) String() string
- type RestColServiceCreateDocument2Params
- func NewRestColServiceCreateDocument2Params() *RestColServiceCreateDocument2Params
- func NewRestColServiceCreateDocument2ParamsWithContext(ctx context.Context) *RestColServiceCreateDocument2Params
- func NewRestColServiceCreateDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceCreateDocument2Params
- func NewRestColServiceCreateDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceCreateDocument2Params) SetContext(ctx context.Context)
- func (o *RestColServiceCreateDocument2Params) SetData(data *strfmt.Base64)
- func (o *RestColServiceCreateDocument2Params) SetDataformat(dataformat *string)
- func (o *RestColServiceCreateDocument2Params) SetDefaults()
- func (o *RestColServiceCreateDocument2Params) SetDocumentID(documentID *string)
- func (o *RestColServiceCreateDocument2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceCreateDocument2Params) SetProjectID(projectID *string)
- func (o *RestColServiceCreateDocument2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceCreateDocument2Params) WithCollectionID(collectionID string) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithContext(ctx context.Context) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithData(data *strfmt.Base64) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithDataformat(dataformat *string) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithDefaults() *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithDocumentID(documentID *string) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithProjectID(projectID *string) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceCreateDocument2Params
- func (o *RestColServiceCreateDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceCreateDocument2Reader
- type RestColServiceCreateDocument3Default
- func (o *RestColServiceCreateDocument3Default) Code() int
- func (o *RestColServiceCreateDocument3Default) Error() string
- func (o *RestColServiceCreateDocument3Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceCreateDocument3Default) IsClientError() bool
- func (o *RestColServiceCreateDocument3Default) IsCode(code int) bool
- func (o *RestColServiceCreateDocument3Default) IsRedirect() bool
- func (o *RestColServiceCreateDocument3Default) IsServerError() bool
- func (o *RestColServiceCreateDocument3Default) IsSuccess() bool
- func (o *RestColServiceCreateDocument3Default) String() string
- type RestColServiceCreateDocument3OK
- func (o *RestColServiceCreateDocument3OK) Code() int
- func (o *RestColServiceCreateDocument3OK) Error() string
- func (o *RestColServiceCreateDocument3OK) GetPayload() *models.APICreateDocumentResponse
- func (o *RestColServiceCreateDocument3OK) IsClientError() bool
- func (o *RestColServiceCreateDocument3OK) IsCode(code int) bool
- func (o *RestColServiceCreateDocument3OK) IsRedirect() bool
- func (o *RestColServiceCreateDocument3OK) IsServerError() bool
- func (o *RestColServiceCreateDocument3OK) IsSuccess() bool
- func (o *RestColServiceCreateDocument3OK) String() string
- type RestColServiceCreateDocument3Params
- func NewRestColServiceCreateDocument3Params() *RestColServiceCreateDocument3Params
- func NewRestColServiceCreateDocument3ParamsWithContext(ctx context.Context) *RestColServiceCreateDocument3Params
- func NewRestColServiceCreateDocument3ParamsWithHTTPClient(client *http.Client) *RestColServiceCreateDocument3Params
- func NewRestColServiceCreateDocument3ParamsWithTimeout(timeout time.Duration) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) SetCollectionID(collectionID string)
- func (o *RestColServiceCreateDocument3Params) SetContext(ctx context.Context)
- func (o *RestColServiceCreateDocument3Params) SetData(data *strfmt.Base64)
- func (o *RestColServiceCreateDocument3Params) SetDataformat(dataformat *string)
- func (o *RestColServiceCreateDocument3Params) SetDefaults()
- func (o *RestColServiceCreateDocument3Params) SetDocumentID(documentID *string)
- func (o *RestColServiceCreateDocument3Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceCreateDocument3Params) SetProjectID(projectID string)
- func (o *RestColServiceCreateDocument3Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceCreateDocument3Params) WithCollectionID(collectionID string) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithContext(ctx context.Context) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithData(data *strfmt.Base64) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithDataformat(dataformat *string) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithDefaults() *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithDocumentID(documentID *string) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithHTTPClient(client *http.Client) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithProjectID(projectID string) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WithTimeout(timeout time.Duration) *RestColServiceCreateDocument3Params
- func (o *RestColServiceCreateDocument3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceCreateDocument3Reader
- type RestColServiceCreateDocumentDefault
- func (o *RestColServiceCreateDocumentDefault) Code() int
- func (o *RestColServiceCreateDocumentDefault) Error() string
- func (o *RestColServiceCreateDocumentDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceCreateDocumentDefault) IsClientError() bool
- func (o *RestColServiceCreateDocumentDefault) IsCode(code int) bool
- func (o *RestColServiceCreateDocumentDefault) IsRedirect() bool
- func (o *RestColServiceCreateDocumentDefault) IsServerError() bool
- func (o *RestColServiceCreateDocumentDefault) IsSuccess() bool
- func (o *RestColServiceCreateDocumentDefault) String() string
- type RestColServiceCreateDocumentOK
- func (o *RestColServiceCreateDocumentOK) Code() int
- func (o *RestColServiceCreateDocumentOK) Error() string
- func (o *RestColServiceCreateDocumentOK) GetPayload() *models.APICreateDocumentResponse
- func (o *RestColServiceCreateDocumentOK) IsClientError() bool
- func (o *RestColServiceCreateDocumentOK) IsCode(code int) bool
- func (o *RestColServiceCreateDocumentOK) IsRedirect() bool
- func (o *RestColServiceCreateDocumentOK) IsServerError() bool
- func (o *RestColServiceCreateDocumentOK) IsSuccess() bool
- func (o *RestColServiceCreateDocumentOK) String() string
- type RestColServiceCreateDocumentParams
- func NewRestColServiceCreateDocumentParams() *RestColServiceCreateDocumentParams
- func NewRestColServiceCreateDocumentParamsWithContext(ctx context.Context) *RestColServiceCreateDocumentParams
- func NewRestColServiceCreateDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceCreateDocumentParams
- func NewRestColServiceCreateDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceCreateDocumentParams
- func (o *RestColServiceCreateDocumentParams) SetBody(body *models.APICreateDocumentRequest)
- func (o *RestColServiceCreateDocumentParams) SetContext(ctx context.Context)
- func (o *RestColServiceCreateDocumentParams) SetDefaults()
- func (o *RestColServiceCreateDocumentParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceCreateDocumentParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceCreateDocumentParams) WithBody(body *models.APICreateDocumentRequest) *RestColServiceCreateDocumentParams
- func (o *RestColServiceCreateDocumentParams) WithContext(ctx context.Context) *RestColServiceCreateDocumentParams
- func (o *RestColServiceCreateDocumentParams) WithDefaults() *RestColServiceCreateDocumentParams
- func (o *RestColServiceCreateDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceCreateDocumentParams
- func (o *RestColServiceCreateDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceCreateDocumentParams
- func (o *RestColServiceCreateDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceCreateDocumentReader
- type RestColServiceDeleteDocument2Default
- func (o *RestColServiceDeleteDocument2Default) Code() int
- func (o *RestColServiceDeleteDocument2Default) Error() string
- func (o *RestColServiceDeleteDocument2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceDeleteDocument2Default) IsClientError() bool
- func (o *RestColServiceDeleteDocument2Default) IsCode(code int) bool
- func (o *RestColServiceDeleteDocument2Default) IsRedirect() bool
- func (o *RestColServiceDeleteDocument2Default) IsServerError() bool
- func (o *RestColServiceDeleteDocument2Default) IsSuccess() bool
- func (o *RestColServiceDeleteDocument2Default) String() string
- type RestColServiceDeleteDocument2OK
- func (o *RestColServiceDeleteDocument2OK) Code() int
- func (o *RestColServiceDeleteDocument2OK) Error() string
- func (o *RestColServiceDeleteDocument2OK) GetPayload() models.APIDeleteDocumentResponse
- func (o *RestColServiceDeleteDocument2OK) IsClientError() bool
- func (o *RestColServiceDeleteDocument2OK) IsCode(code int) bool
- func (o *RestColServiceDeleteDocument2OK) IsRedirect() bool
- func (o *RestColServiceDeleteDocument2OK) IsServerError() bool
- func (o *RestColServiceDeleteDocument2OK) IsSuccess() bool
- func (o *RestColServiceDeleteDocument2OK) String() string
- type RestColServiceDeleteDocument2Params
- func NewRestColServiceDeleteDocument2Params() *RestColServiceDeleteDocument2Params
- func NewRestColServiceDeleteDocument2ParamsWithContext(ctx context.Context) *RestColServiceDeleteDocument2Params
- func NewRestColServiceDeleteDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteDocument2Params
- func NewRestColServiceDeleteDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceDeleteDocument2Params) SetContext(ctx context.Context)
- func (o *RestColServiceDeleteDocument2Params) SetDefaults()
- func (o *RestColServiceDeleteDocument2Params) SetDocumentID(documentID string)
- func (o *RestColServiceDeleteDocument2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceDeleteDocument2Params) SetProjectID(projectID string)
- func (o *RestColServiceDeleteDocument2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceDeleteDocument2Params) WithCollectionID(collectionID string) *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) WithContext(ctx context.Context) *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) WithDefaults() *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) WithDocumentID(documentID string) *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) WithProjectID(projectID string) *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceDeleteDocument2Params
- func (o *RestColServiceDeleteDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceDeleteDocument2Reader
- type RestColServiceDeleteDocumentDefault
- func (o *RestColServiceDeleteDocumentDefault) Code() int
- func (o *RestColServiceDeleteDocumentDefault) Error() string
- func (o *RestColServiceDeleteDocumentDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceDeleteDocumentDefault) IsClientError() bool
- func (o *RestColServiceDeleteDocumentDefault) IsCode(code int) bool
- func (o *RestColServiceDeleteDocumentDefault) IsRedirect() bool
- func (o *RestColServiceDeleteDocumentDefault) IsServerError() bool
- func (o *RestColServiceDeleteDocumentDefault) IsSuccess() bool
- func (o *RestColServiceDeleteDocumentDefault) String() string
- type RestColServiceDeleteDocumentOK
- func (o *RestColServiceDeleteDocumentOK) Code() int
- func (o *RestColServiceDeleteDocumentOK) Error() string
- func (o *RestColServiceDeleteDocumentOK) GetPayload() models.APIDeleteDocumentResponse
- func (o *RestColServiceDeleteDocumentOK) IsClientError() bool
- func (o *RestColServiceDeleteDocumentOK) IsCode(code int) bool
- func (o *RestColServiceDeleteDocumentOK) IsRedirect() bool
- func (o *RestColServiceDeleteDocumentOK) IsServerError() bool
- func (o *RestColServiceDeleteDocumentOK) IsSuccess() bool
- func (o *RestColServiceDeleteDocumentOK) String() string
- type RestColServiceDeleteDocumentParams
- func NewRestColServiceDeleteDocumentParams() *RestColServiceDeleteDocumentParams
- func NewRestColServiceDeleteDocumentParamsWithContext(ctx context.Context) *RestColServiceDeleteDocumentParams
- func NewRestColServiceDeleteDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceDeleteDocumentParams
- func NewRestColServiceDeleteDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) SetCollectionID(collectionID string)
- func (o *RestColServiceDeleteDocumentParams) SetContext(ctx context.Context)
- func (o *RestColServiceDeleteDocumentParams) SetDefaults()
- func (o *RestColServiceDeleteDocumentParams) SetDocumentID(documentID string)
- func (o *RestColServiceDeleteDocumentParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceDeleteDocumentParams) SetProjectID(projectID *string)
- func (o *RestColServiceDeleteDocumentParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceDeleteDocumentParams) WithCollectionID(collectionID string) *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) WithContext(ctx context.Context) *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) WithDefaults() *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) WithDocumentID(documentID string) *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) WithProjectID(projectID *string) *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceDeleteDocumentParams
- func (o *RestColServiceDeleteDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceDeleteDocumentReader
- type RestColServiceGetDocument2Default
- func (o *RestColServiceGetDocument2Default) Code() int
- func (o *RestColServiceGetDocument2Default) Error() string
- func (o *RestColServiceGetDocument2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceGetDocument2Default) IsClientError() bool
- func (o *RestColServiceGetDocument2Default) IsCode(code int) bool
- func (o *RestColServiceGetDocument2Default) IsRedirect() bool
- func (o *RestColServiceGetDocument2Default) IsServerError() bool
- func (o *RestColServiceGetDocument2Default) IsSuccess() bool
- func (o *RestColServiceGetDocument2Default) String() string
- type RestColServiceGetDocument2OK
- func (o *RestColServiceGetDocument2OK) Code() int
- func (o *RestColServiceGetDocument2OK) Error() string
- func (o *RestColServiceGetDocument2OK) GetPayload() *models.APIGetDocumentResponse
- func (o *RestColServiceGetDocument2OK) IsClientError() bool
- func (o *RestColServiceGetDocument2OK) IsCode(code int) bool
- func (o *RestColServiceGetDocument2OK) IsRedirect() bool
- func (o *RestColServiceGetDocument2OK) IsServerError() bool
- func (o *RestColServiceGetDocument2OK) IsSuccess() bool
- func (o *RestColServiceGetDocument2OK) String() string
- type RestColServiceGetDocument2Params
- func NewRestColServiceGetDocument2Params() *RestColServiceGetDocument2Params
- func NewRestColServiceGetDocument2ParamsWithContext(ctx context.Context) *RestColServiceGetDocument2Params
- func NewRestColServiceGetDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceGetDocument2Params
- func NewRestColServiceGetDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceGetDocument2Params) SetContext(ctx context.Context)
- func (o *RestColServiceGetDocument2Params) SetDefaults()
- func (o *RestColServiceGetDocument2Params) SetDocumentID(documentID string)
- func (o *RestColServiceGetDocument2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceGetDocument2Params) SetProjectID(projectID *string)
- func (o *RestColServiceGetDocument2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceGetDocument2Params) WithCollectionID(collectionID string) *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) WithContext(ctx context.Context) *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) WithDefaults() *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) WithDocumentID(documentID string) *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) WithProjectID(projectID *string) *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceGetDocument2Params
- func (o *RestColServiceGetDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceGetDocument2Reader
- type RestColServiceGetDocument3Default
- func (o *RestColServiceGetDocument3Default) Code() int
- func (o *RestColServiceGetDocument3Default) Error() string
- func (o *RestColServiceGetDocument3Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceGetDocument3Default) IsClientError() bool
- func (o *RestColServiceGetDocument3Default) IsCode(code int) bool
- func (o *RestColServiceGetDocument3Default) IsRedirect() bool
- func (o *RestColServiceGetDocument3Default) IsServerError() bool
- func (o *RestColServiceGetDocument3Default) IsSuccess() bool
- func (o *RestColServiceGetDocument3Default) String() string
- type RestColServiceGetDocument3OK
- func (o *RestColServiceGetDocument3OK) Code() int
- func (o *RestColServiceGetDocument3OK) Error() string
- func (o *RestColServiceGetDocument3OK) GetPayload() *models.APIGetDocumentResponse
- func (o *RestColServiceGetDocument3OK) IsClientError() bool
- func (o *RestColServiceGetDocument3OK) IsCode(code int) bool
- func (o *RestColServiceGetDocument3OK) IsRedirect() bool
- func (o *RestColServiceGetDocument3OK) IsServerError() bool
- func (o *RestColServiceGetDocument3OK) IsSuccess() bool
- func (o *RestColServiceGetDocument3OK) String() string
- type RestColServiceGetDocument3Params
- func NewRestColServiceGetDocument3Params() *RestColServiceGetDocument3Params
- func NewRestColServiceGetDocument3ParamsWithContext(ctx context.Context) *RestColServiceGetDocument3Params
- func NewRestColServiceGetDocument3ParamsWithHTTPClient(client *http.Client) *RestColServiceGetDocument3Params
- func NewRestColServiceGetDocument3ParamsWithTimeout(timeout time.Duration) *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) SetCollectionID(collectionID string)
- func (o *RestColServiceGetDocument3Params) SetContext(ctx context.Context)
- func (o *RestColServiceGetDocument3Params) SetDefaults()
- func (o *RestColServiceGetDocument3Params) SetDocumentID(documentID string)
- func (o *RestColServiceGetDocument3Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceGetDocument3Params) SetProjectID(projectID string)
- func (o *RestColServiceGetDocument3Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceGetDocument3Params) WithCollectionID(collectionID string) *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) WithContext(ctx context.Context) *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) WithDefaults() *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) WithDocumentID(documentID string) *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) WithHTTPClient(client *http.Client) *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) WithProjectID(projectID string) *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) WithTimeout(timeout time.Duration) *RestColServiceGetDocument3Params
- func (o *RestColServiceGetDocument3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceGetDocument3Reader
- type RestColServiceGetDocumentDefault
- func (o *RestColServiceGetDocumentDefault) Code() int
- func (o *RestColServiceGetDocumentDefault) Error() string
- func (o *RestColServiceGetDocumentDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceGetDocumentDefault) IsClientError() bool
- func (o *RestColServiceGetDocumentDefault) IsCode(code int) bool
- func (o *RestColServiceGetDocumentDefault) IsRedirect() bool
- func (o *RestColServiceGetDocumentDefault) IsServerError() bool
- func (o *RestColServiceGetDocumentDefault) IsSuccess() bool
- func (o *RestColServiceGetDocumentDefault) String() string
- type RestColServiceGetDocumentOK
- func (o *RestColServiceGetDocumentOK) Code() int
- func (o *RestColServiceGetDocumentOK) Error() string
- func (o *RestColServiceGetDocumentOK) GetPayload() *models.APIGetDocumentResponse
- func (o *RestColServiceGetDocumentOK) IsClientError() bool
- func (o *RestColServiceGetDocumentOK) IsCode(code int) bool
- func (o *RestColServiceGetDocumentOK) IsRedirect() bool
- func (o *RestColServiceGetDocumentOK) IsServerError() bool
- func (o *RestColServiceGetDocumentOK) IsSuccess() bool
- func (o *RestColServiceGetDocumentOK) String() string
- type RestColServiceGetDocumentParams
- func NewRestColServiceGetDocumentParams() *RestColServiceGetDocumentParams
- func NewRestColServiceGetDocumentParamsWithContext(ctx context.Context) *RestColServiceGetDocumentParams
- func NewRestColServiceGetDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceGetDocumentParams
- func NewRestColServiceGetDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) SetCollectionID(collectionID *string)
- func (o *RestColServiceGetDocumentParams) SetContext(ctx context.Context)
- func (o *RestColServiceGetDocumentParams) SetDefaults()
- func (o *RestColServiceGetDocumentParams) SetDocumentID(documentID string)
- func (o *RestColServiceGetDocumentParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceGetDocumentParams) SetProjectID(projectID *string)
- func (o *RestColServiceGetDocumentParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceGetDocumentParams) WithCollectionID(collectionID *string) *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) WithContext(ctx context.Context) *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) WithDefaults() *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) WithDocumentID(documentID string) *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) WithProjectID(projectID *string) *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceGetDocumentParams
- func (o *RestColServiceGetDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceGetDocumentReader
- type RestColServiceQueryDocument2Default
- func (o *RestColServiceQueryDocument2Default) Code() int
- func (o *RestColServiceQueryDocument2Default) Error() string
- func (o *RestColServiceQueryDocument2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceQueryDocument2Default) IsClientError() bool
- func (o *RestColServiceQueryDocument2Default) IsCode(code int) bool
- func (o *RestColServiceQueryDocument2Default) IsRedirect() bool
- func (o *RestColServiceQueryDocument2Default) IsServerError() bool
- func (o *RestColServiceQueryDocument2Default) IsSuccess() bool
- func (o *RestColServiceQueryDocument2Default) String() string
- type RestColServiceQueryDocument2OK
- func (o *RestColServiceQueryDocument2OK) Code() int
- func (o *RestColServiceQueryDocument2OK) Error() string
- func (o *RestColServiceQueryDocument2OK) GetPayload() *models.APIQueryDocumentResponse
- func (o *RestColServiceQueryDocument2OK) IsClientError() bool
- func (o *RestColServiceQueryDocument2OK) IsCode(code int) bool
- func (o *RestColServiceQueryDocument2OK) IsRedirect() bool
- func (o *RestColServiceQueryDocument2OK) IsServerError() bool
- func (o *RestColServiceQueryDocument2OK) IsSuccess() bool
- func (o *RestColServiceQueryDocument2OK) String() string
- type RestColServiceQueryDocument2Params
- func NewRestColServiceQueryDocument2Params() *RestColServiceQueryDocument2Params
- func NewRestColServiceQueryDocument2ParamsWithContext(ctx context.Context) *RestColServiceQueryDocument2Params
- func NewRestColServiceQueryDocument2ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocument2Params
- func NewRestColServiceQueryDocument2ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceQueryDocument2Params) SetContext(ctx context.Context)
- func (o *RestColServiceQueryDocument2Params) SetDefaults()
- func (o *RestColServiceQueryDocument2Params) SetEndedAt(endedAt *strfmt.DateTime)
- func (o *RestColServiceQueryDocument2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceQueryDocument2Params) SetLimitCount(limitCount *int32)
- func (o *RestColServiceQueryDocument2Params) SetProjectID(projectID *string)
- func (o *RestColServiceQueryDocument2Params) SetQueryfields(queryfields *string)
- func (o *RestColServiceQueryDocument2Params) SetSinceTs(sinceTs *strfmt.DateTime)
- func (o *RestColServiceQueryDocument2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceQueryDocument2Params) WithCollectionID(collectionID string) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithContext(ctx context.Context) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithDefaults() *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithLimitCount(limitCount *int32) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithProjectID(projectID *string) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocument2Params
- func (o *RestColServiceQueryDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceQueryDocument2Reader
- type RestColServiceQueryDocument3Default
- func (o *RestColServiceQueryDocument3Default) Code() int
- func (o *RestColServiceQueryDocument3Default) Error() string
- func (o *RestColServiceQueryDocument3Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceQueryDocument3Default) IsClientError() bool
- func (o *RestColServiceQueryDocument3Default) IsCode(code int) bool
- func (o *RestColServiceQueryDocument3Default) IsRedirect() bool
- func (o *RestColServiceQueryDocument3Default) IsServerError() bool
- func (o *RestColServiceQueryDocument3Default) IsSuccess() bool
- func (o *RestColServiceQueryDocument3Default) String() string
- type RestColServiceQueryDocument3OK
- func (o *RestColServiceQueryDocument3OK) Code() int
- func (o *RestColServiceQueryDocument3OK) Error() string
- func (o *RestColServiceQueryDocument3OK) GetPayload() *models.APIQueryDocumentResponse
- func (o *RestColServiceQueryDocument3OK) IsClientError() bool
- func (o *RestColServiceQueryDocument3OK) IsCode(code int) bool
- func (o *RestColServiceQueryDocument3OK) IsRedirect() bool
- func (o *RestColServiceQueryDocument3OK) IsServerError() bool
- func (o *RestColServiceQueryDocument3OK) IsSuccess() bool
- func (o *RestColServiceQueryDocument3OK) String() string
- type RestColServiceQueryDocument3Params
- func NewRestColServiceQueryDocument3Params() *RestColServiceQueryDocument3Params
- func NewRestColServiceQueryDocument3ParamsWithContext(ctx context.Context) *RestColServiceQueryDocument3Params
- func NewRestColServiceQueryDocument3ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocument3Params
- func NewRestColServiceQueryDocument3ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) SetCollectionID(collectionID string)
- func (o *RestColServiceQueryDocument3Params) SetContext(ctx context.Context)
- func (o *RestColServiceQueryDocument3Params) SetDefaults()
- func (o *RestColServiceQueryDocument3Params) SetEndedAt(endedAt *strfmt.DateTime)
- func (o *RestColServiceQueryDocument3Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceQueryDocument3Params) SetLimitCount(limitCount *int32)
- func (o *RestColServiceQueryDocument3Params) SetProjectID(projectID string)
- func (o *RestColServiceQueryDocument3Params) SetQueryfields(queryfields *string)
- func (o *RestColServiceQueryDocument3Params) SetSinceTs(sinceTs *strfmt.DateTime)
- func (o *RestColServiceQueryDocument3Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceQueryDocument3Params) WithCollectionID(collectionID string) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithContext(ctx context.Context) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithDefaults() *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithLimitCount(limitCount *int32) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithProjectID(projectID string) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocument3Params
- func (o *RestColServiceQueryDocument3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceQueryDocument3Reader
- type RestColServiceQueryDocumentDefault
- func (o *RestColServiceQueryDocumentDefault) Code() int
- func (o *RestColServiceQueryDocumentDefault) Error() string
- func (o *RestColServiceQueryDocumentDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceQueryDocumentDefault) IsClientError() bool
- func (o *RestColServiceQueryDocumentDefault) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentDefault) IsRedirect() bool
- func (o *RestColServiceQueryDocumentDefault) IsServerError() bool
- func (o *RestColServiceQueryDocumentDefault) IsSuccess() bool
- func (o *RestColServiceQueryDocumentDefault) String() string
- type RestColServiceQueryDocumentOK
- func (o *RestColServiceQueryDocumentOK) Code() int
- func (o *RestColServiceQueryDocumentOK) Error() string
- func (o *RestColServiceQueryDocumentOK) GetPayload() *models.APIQueryDocumentResponse
- func (o *RestColServiceQueryDocumentOK) IsClientError() bool
- func (o *RestColServiceQueryDocumentOK) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentOK) IsRedirect() bool
- func (o *RestColServiceQueryDocumentOK) IsServerError() bool
- func (o *RestColServiceQueryDocumentOK) IsSuccess() bool
- func (o *RestColServiceQueryDocumentOK) String() string
- type RestColServiceQueryDocumentParams
- func NewRestColServiceQueryDocumentParams() *RestColServiceQueryDocumentParams
- func NewRestColServiceQueryDocumentParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentParams
- func NewRestColServiceQueryDocumentParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentParams
- func NewRestColServiceQueryDocumentParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) SetCollectionID(collectionID *string)
- func (o *RestColServiceQueryDocumentParams) SetContext(ctx context.Context)
- func (o *RestColServiceQueryDocumentParams) SetDefaults()
- func (o *RestColServiceQueryDocumentParams) SetEndedAt(endedAt *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceQueryDocumentParams) SetLimitCount(limitCount *int32)
- func (o *RestColServiceQueryDocumentParams) SetProjectID(projectID *string)
- func (o *RestColServiceQueryDocumentParams) SetQueryfields(queryfields *string)
- func (o *RestColServiceQueryDocumentParams) SetSinceTs(sinceTs *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceQueryDocumentParams) WithCollectionID(collectionID *string) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithContext(ctx context.Context) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithDefaults() *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithLimitCount(limitCount *int32) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithProjectID(projectID *string) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentParams
- func (o *RestColServiceQueryDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceQueryDocumentReader
- type RestColServiceQueryDocumentsStream2Default
- func (o *RestColServiceQueryDocumentsStream2Default) Code() int
- func (o *RestColServiceQueryDocumentsStream2Default) Error() string
- func (o *RestColServiceQueryDocumentsStream2Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceQueryDocumentsStream2Default) IsClientError() bool
- func (o *RestColServiceQueryDocumentsStream2Default) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentsStream2Default) IsRedirect() bool
- func (o *RestColServiceQueryDocumentsStream2Default) IsServerError() bool
- func (o *RestColServiceQueryDocumentsStream2Default) IsSuccess() bool
- func (o *RestColServiceQueryDocumentsStream2Default) String() string
- type RestColServiceQueryDocumentsStream2OK
- func (o *RestColServiceQueryDocumentsStream2OK) Code() int
- func (o *RestColServiceQueryDocumentsStream2OK) Error() string
- func (o *RestColServiceQueryDocumentsStream2OK) GetPayload() *RestColServiceQueryDocumentsStream2OKBody
- func (o *RestColServiceQueryDocumentsStream2OK) IsClientError() bool
- func (o *RestColServiceQueryDocumentsStream2OK) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentsStream2OK) IsRedirect() bool
- func (o *RestColServiceQueryDocumentsStream2OK) IsServerError() bool
- func (o *RestColServiceQueryDocumentsStream2OK) IsSuccess() bool
- func (o *RestColServiceQueryDocumentsStream2OK) String() string
- type RestColServiceQueryDocumentsStream2OKBody
- func (o *RestColServiceQueryDocumentsStream2OKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RestColServiceQueryDocumentsStream2OKBody) MarshalBinary() ([]byte, error)
- func (o *RestColServiceQueryDocumentsStream2OKBody) UnmarshalBinary(b []byte) error
- func (o *RestColServiceQueryDocumentsStream2OKBody) Validate(formats strfmt.Registry) error
- type RestColServiceQueryDocumentsStream2Params
- func NewRestColServiceQueryDocumentsStream2Params() *RestColServiceQueryDocumentsStream2Params
- func NewRestColServiceQueryDocumentsStream2ParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentsStream2Params
- func NewRestColServiceQueryDocumentsStream2ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream2Params
- func NewRestColServiceQueryDocumentsStream2ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) SetCollectionID(collectionID string)
- func (o *RestColServiceQueryDocumentsStream2Params) SetContext(ctx context.Context)
- func (o *RestColServiceQueryDocumentsStream2Params) SetDefaults()
- func (o *RestColServiceQueryDocumentsStream2Params) SetEndedAt(endedAt *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentsStream2Params) SetFollowUpMode(followUpMode *bool)
- func (o *RestColServiceQueryDocumentsStream2Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceQueryDocumentsStream2Params) SetProjectID(projectID *string)
- func (o *RestColServiceQueryDocumentsStream2Params) SetQueryfields(queryfields *string)
- func (o *RestColServiceQueryDocumentsStream2Params) SetSinceTs(sinceTs *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentsStream2Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceQueryDocumentsStream2Params) WithCollectionID(collectionID string) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithContext(ctx context.Context) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithDefaults() *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithFollowUpMode(followUpMode *bool) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithProjectID(projectID *string) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream2Params
- func (o *RestColServiceQueryDocumentsStream2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceQueryDocumentsStream2Reader
- type RestColServiceQueryDocumentsStream3Default
- func (o *RestColServiceQueryDocumentsStream3Default) Code() int
- func (o *RestColServiceQueryDocumentsStream3Default) Error() string
- func (o *RestColServiceQueryDocumentsStream3Default) GetPayload() *models.RPCStatus
- func (o *RestColServiceQueryDocumentsStream3Default) IsClientError() bool
- func (o *RestColServiceQueryDocumentsStream3Default) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentsStream3Default) IsRedirect() bool
- func (o *RestColServiceQueryDocumentsStream3Default) IsServerError() bool
- func (o *RestColServiceQueryDocumentsStream3Default) IsSuccess() bool
- func (o *RestColServiceQueryDocumentsStream3Default) String() string
- type RestColServiceQueryDocumentsStream3OK
- func (o *RestColServiceQueryDocumentsStream3OK) Code() int
- func (o *RestColServiceQueryDocumentsStream3OK) Error() string
- func (o *RestColServiceQueryDocumentsStream3OK) GetPayload() *RestColServiceQueryDocumentsStream3OKBody
- func (o *RestColServiceQueryDocumentsStream3OK) IsClientError() bool
- func (o *RestColServiceQueryDocumentsStream3OK) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentsStream3OK) IsRedirect() bool
- func (o *RestColServiceQueryDocumentsStream3OK) IsServerError() bool
- func (o *RestColServiceQueryDocumentsStream3OK) IsSuccess() bool
- func (o *RestColServiceQueryDocumentsStream3OK) String() string
- type RestColServiceQueryDocumentsStream3OKBody
- func (o *RestColServiceQueryDocumentsStream3OKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RestColServiceQueryDocumentsStream3OKBody) MarshalBinary() ([]byte, error)
- func (o *RestColServiceQueryDocumentsStream3OKBody) UnmarshalBinary(b []byte) error
- func (o *RestColServiceQueryDocumentsStream3OKBody) Validate(formats strfmt.Registry) error
- type RestColServiceQueryDocumentsStream3Params
- func NewRestColServiceQueryDocumentsStream3Params() *RestColServiceQueryDocumentsStream3Params
- func NewRestColServiceQueryDocumentsStream3ParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentsStream3Params
- func NewRestColServiceQueryDocumentsStream3ParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream3Params
- func NewRestColServiceQueryDocumentsStream3ParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) SetCollectionID(collectionID string)
- func (o *RestColServiceQueryDocumentsStream3Params) SetContext(ctx context.Context)
- func (o *RestColServiceQueryDocumentsStream3Params) SetDefaults()
- func (o *RestColServiceQueryDocumentsStream3Params) SetEndedAt(endedAt *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentsStream3Params) SetFollowUpMode(followUpMode *bool)
- func (o *RestColServiceQueryDocumentsStream3Params) SetHTTPClient(client *http.Client)
- func (o *RestColServiceQueryDocumentsStream3Params) SetProjectID(projectID string)
- func (o *RestColServiceQueryDocumentsStream3Params) SetQueryfields(queryfields *string)
- func (o *RestColServiceQueryDocumentsStream3Params) SetSinceTs(sinceTs *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentsStream3Params) SetTimeout(timeout time.Duration)
- func (o *RestColServiceQueryDocumentsStream3Params) WithCollectionID(collectionID string) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithContext(ctx context.Context) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithDefaults() *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithFollowUpMode(followUpMode *bool) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithProjectID(projectID string) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream3Params
- func (o *RestColServiceQueryDocumentsStream3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceQueryDocumentsStream3Reader
- type RestColServiceQueryDocumentsStreamDefault
- func (o *RestColServiceQueryDocumentsStreamDefault) Code() int
- func (o *RestColServiceQueryDocumentsStreamDefault) Error() string
- func (o *RestColServiceQueryDocumentsStreamDefault) GetPayload() *models.RPCStatus
- func (o *RestColServiceQueryDocumentsStreamDefault) IsClientError() bool
- func (o *RestColServiceQueryDocumentsStreamDefault) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentsStreamDefault) IsRedirect() bool
- func (o *RestColServiceQueryDocumentsStreamDefault) IsServerError() bool
- func (o *RestColServiceQueryDocumentsStreamDefault) IsSuccess() bool
- func (o *RestColServiceQueryDocumentsStreamDefault) String() string
- type RestColServiceQueryDocumentsStreamOK
- func (o *RestColServiceQueryDocumentsStreamOK) Code() int
- func (o *RestColServiceQueryDocumentsStreamOK) Error() string
- func (o *RestColServiceQueryDocumentsStreamOK) GetPayload() *RestColServiceQueryDocumentsStreamOKBody
- func (o *RestColServiceQueryDocumentsStreamOK) IsClientError() bool
- func (o *RestColServiceQueryDocumentsStreamOK) IsCode(code int) bool
- func (o *RestColServiceQueryDocumentsStreamOK) IsRedirect() bool
- func (o *RestColServiceQueryDocumentsStreamOK) IsServerError() bool
- func (o *RestColServiceQueryDocumentsStreamOK) IsSuccess() bool
- func (o *RestColServiceQueryDocumentsStreamOK) String() string
- type RestColServiceQueryDocumentsStreamOKBody
- func (o *RestColServiceQueryDocumentsStreamOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RestColServiceQueryDocumentsStreamOKBody) MarshalBinary() ([]byte, error)
- func (o *RestColServiceQueryDocumentsStreamOKBody) UnmarshalBinary(b []byte) error
- func (o *RestColServiceQueryDocumentsStreamOKBody) Validate(formats strfmt.Registry) error
- type RestColServiceQueryDocumentsStreamParams
- func NewRestColServiceQueryDocumentsStreamParams() *RestColServiceQueryDocumentsStreamParams
- func NewRestColServiceQueryDocumentsStreamParamsWithContext(ctx context.Context) *RestColServiceQueryDocumentsStreamParams
- func NewRestColServiceQueryDocumentsStreamParamsWithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStreamParams
- func NewRestColServiceQueryDocumentsStreamParamsWithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) SetCollectionID(collectionID *string)
- func (o *RestColServiceQueryDocumentsStreamParams) SetContext(ctx context.Context)
- func (o *RestColServiceQueryDocumentsStreamParams) SetDefaults()
- func (o *RestColServiceQueryDocumentsStreamParams) SetEndedAt(endedAt *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentsStreamParams) SetFollowUpMode(followUpMode *bool)
- func (o *RestColServiceQueryDocumentsStreamParams) SetHTTPClient(client *http.Client)
- func (o *RestColServiceQueryDocumentsStreamParams) SetProjectID(projectID *string)
- func (o *RestColServiceQueryDocumentsStreamParams) SetQueryfields(queryfields *string)
- func (o *RestColServiceQueryDocumentsStreamParams) SetSinceTs(sinceTs *strfmt.DateTime)
- func (o *RestColServiceQueryDocumentsStreamParams) SetTimeout(timeout time.Duration)
- func (o *RestColServiceQueryDocumentsStreamParams) WithCollectionID(collectionID *string) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithContext(ctx context.Context) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithDefaults() *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithFollowUpMode(followUpMode *bool) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithProjectID(projectID *string) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStreamParams
- func (o *RestColServiceQueryDocumentsStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestColServiceQueryDocumentsStreamReader
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 ¶
func (o *RestColServiceCreateDocument2Default) Code() int
Code gets the status code for the rest col service create document2 default response
func (*RestColServiceCreateDocument2Default) Error ¶
func (o *RestColServiceCreateDocument2Default) Error() string
func (*RestColServiceCreateDocument2Default) GetPayload ¶
func (o *RestColServiceCreateDocument2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceCreateDocument2Default) IsCode(code int) bool
IsCode returns true when this rest col service create document2 default response a status code equal to that given
func (*RestColServiceCreateDocument2Default) IsRedirect ¶
func (o *RestColServiceCreateDocument2Default) IsRedirect() bool
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 ¶
func (o *RestColServiceCreateDocument2Default) IsSuccess() bool
IsSuccess returns true when this rest col service create document2 default response has a 2xx status code
func (*RestColServiceCreateDocument2Default) String ¶
func (o *RestColServiceCreateDocument2Default) String() 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 ¶
func (o *RestColServiceCreateDocument2OK) Code() int
Code gets the status code for the rest col service create document2 o k response
func (*RestColServiceCreateDocument2OK) Error ¶
func (o *RestColServiceCreateDocument2OK) Error() string
func (*RestColServiceCreateDocument2OK) GetPayload ¶
func (o *RestColServiceCreateDocument2OK) GetPayload() *models.APICreateDocumentResponse
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 ¶
func (o *RestColServiceCreateDocument2OK) String() 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 ¶
func (o *RestColServiceCreateDocument2Params) SetContext(ctx context.Context)
SetContext adds the context to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) SetData ¶
func (o *RestColServiceCreateDocument2Params) SetData(data *strfmt.Base64)
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 ¶
func (o *RestColServiceCreateDocument2Params) WithCollectionID(collectionID string) *RestColServiceCreateDocument2Params
WithCollectionID adds the collectionID to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WithContext ¶
func (o *RestColServiceCreateDocument2Params) WithContext(ctx context.Context) *RestColServiceCreateDocument2Params
WithContext adds the context to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WithData ¶
func (o *RestColServiceCreateDocument2Params) WithData(data *strfmt.Base64) *RestColServiceCreateDocument2Params
WithData adds the data to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WithDataformat ¶
func (o *RestColServiceCreateDocument2Params) WithDataformat(dataformat *string) *RestColServiceCreateDocument2Params
WithDataformat adds the dataformat to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WithDefaults ¶
func (o *RestColServiceCreateDocument2Params) WithDefaults() *RestColServiceCreateDocument2Params
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 ¶
func (o *RestColServiceCreateDocument2Params) WithDocumentID(documentID *string) *RestColServiceCreateDocument2Params
WithDocumentID adds the documentID to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WithHTTPClient ¶
func (o *RestColServiceCreateDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceCreateDocument2Params
WithHTTPClient adds the HTTPClient to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WithProjectID ¶
func (o *RestColServiceCreateDocument2Params) WithProjectID(projectID *string) *RestColServiceCreateDocument2Params
WithProjectID adds the projectID to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WithTimeout ¶
func (o *RestColServiceCreateDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceCreateDocument2Params
WithTimeout adds the timeout to the rest col service create document2 params
func (*RestColServiceCreateDocument2Params) WriteToRequest ¶
func (o *RestColServiceCreateDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceCreateDocument3Default) Code() int
Code gets the status code for the rest col service create document3 default response
func (*RestColServiceCreateDocument3Default) Error ¶
func (o *RestColServiceCreateDocument3Default) Error() string
func (*RestColServiceCreateDocument3Default) GetPayload ¶
func (o *RestColServiceCreateDocument3Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceCreateDocument3Default) IsCode(code int) bool
IsCode returns true when this rest col service create document3 default response a status code equal to that given
func (*RestColServiceCreateDocument3Default) IsRedirect ¶
func (o *RestColServiceCreateDocument3Default) IsRedirect() bool
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 ¶
func (o *RestColServiceCreateDocument3Default) IsSuccess() bool
IsSuccess returns true when this rest col service create document3 default response has a 2xx status code
func (*RestColServiceCreateDocument3Default) String ¶
func (o *RestColServiceCreateDocument3Default) String() 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 ¶
func (o *RestColServiceCreateDocument3OK) Code() int
Code gets the status code for the rest col service create document3 o k response
func (*RestColServiceCreateDocument3OK) Error ¶
func (o *RestColServiceCreateDocument3OK) Error() string
func (*RestColServiceCreateDocument3OK) GetPayload ¶
func (o *RestColServiceCreateDocument3OK) GetPayload() *models.APICreateDocumentResponse
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 ¶
func (o *RestColServiceCreateDocument3OK) String() 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 ¶
func (o *RestColServiceCreateDocument3Params) SetContext(ctx context.Context)
SetContext adds the context to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) SetData ¶
func (o *RestColServiceCreateDocument3Params) SetData(data *strfmt.Base64)
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 ¶
func (o *RestColServiceCreateDocument3Params) WithCollectionID(collectionID string) *RestColServiceCreateDocument3Params
WithCollectionID adds the collectionID to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WithContext ¶
func (o *RestColServiceCreateDocument3Params) WithContext(ctx context.Context) *RestColServiceCreateDocument3Params
WithContext adds the context to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WithData ¶
func (o *RestColServiceCreateDocument3Params) WithData(data *strfmt.Base64) *RestColServiceCreateDocument3Params
WithData adds the data to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WithDataformat ¶
func (o *RestColServiceCreateDocument3Params) WithDataformat(dataformat *string) *RestColServiceCreateDocument3Params
WithDataformat adds the dataformat to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WithDefaults ¶
func (o *RestColServiceCreateDocument3Params) WithDefaults() *RestColServiceCreateDocument3Params
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 ¶
func (o *RestColServiceCreateDocument3Params) WithDocumentID(documentID *string) *RestColServiceCreateDocument3Params
WithDocumentID adds the documentID to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WithHTTPClient ¶
func (o *RestColServiceCreateDocument3Params) WithHTTPClient(client *http.Client) *RestColServiceCreateDocument3Params
WithHTTPClient adds the HTTPClient to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WithProjectID ¶
func (o *RestColServiceCreateDocument3Params) WithProjectID(projectID string) *RestColServiceCreateDocument3Params
WithProjectID adds the projectID to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WithTimeout ¶
func (o *RestColServiceCreateDocument3Params) WithTimeout(timeout time.Duration) *RestColServiceCreateDocument3Params
WithTimeout adds the timeout to the rest col service create document3 params
func (*RestColServiceCreateDocument3Params) WriteToRequest ¶
func (o *RestColServiceCreateDocument3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceCreateDocumentDefault) Code() int
Code gets the status code for the rest col service create document default response
func (*RestColServiceCreateDocumentDefault) Error ¶
func (o *RestColServiceCreateDocumentDefault) Error() string
func (*RestColServiceCreateDocumentDefault) GetPayload ¶
func (o *RestColServiceCreateDocumentDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceCreateDocumentDefault) IsCode(code int) bool
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 ¶
func (o *RestColServiceCreateDocumentDefault) IsSuccess() bool
IsSuccess returns true when this rest col service create document default response has a 2xx status code
func (*RestColServiceCreateDocumentDefault) String ¶
func (o *RestColServiceCreateDocumentDefault) String() 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 ¶
func (o *RestColServiceCreateDocumentOK) Code() int
Code gets the status code for the rest col service create document o k response
func (*RestColServiceCreateDocumentOK) Error ¶
func (o *RestColServiceCreateDocumentOK) Error() string
func (*RestColServiceCreateDocumentOK) GetPayload ¶
func (o *RestColServiceCreateDocumentOK) GetPayload() *models.APICreateDocumentResponse
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 ¶
func (o *RestColServiceCreateDocumentOK) String() 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 ¶
func (o *RestColServiceCreateDocumentParams) SetBody(body *models.APICreateDocumentRequest)
SetBody adds the body to the rest col service create document params
func (*RestColServiceCreateDocumentParams) SetContext ¶
func (o *RestColServiceCreateDocumentParams) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceCreateDocumentParams) WithBody(body *models.APICreateDocumentRequest) *RestColServiceCreateDocumentParams
WithBody adds the body to the rest col service create document params
func (*RestColServiceCreateDocumentParams) WithContext ¶
func (o *RestColServiceCreateDocumentParams) WithContext(ctx context.Context) *RestColServiceCreateDocumentParams
WithContext adds the context to the rest col service create document params
func (*RestColServiceCreateDocumentParams) WithDefaults ¶
func (o *RestColServiceCreateDocumentParams) WithDefaults() *RestColServiceCreateDocumentParams
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 ¶
func (o *RestColServiceCreateDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceCreateDocumentParams
WithHTTPClient adds the HTTPClient to the rest col service create document params
func (*RestColServiceCreateDocumentParams) WithTimeout ¶
func (o *RestColServiceCreateDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceCreateDocumentParams
WithTimeout adds the timeout to the rest col service create document params
func (*RestColServiceCreateDocumentParams) WriteToRequest ¶
func (o *RestColServiceCreateDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceDeleteDocument2Default) Code() int
Code gets the status code for the rest col service delete document2 default response
func (*RestColServiceDeleteDocument2Default) Error ¶
func (o *RestColServiceDeleteDocument2Default) Error() string
func (*RestColServiceDeleteDocument2Default) GetPayload ¶
func (o *RestColServiceDeleteDocument2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceDeleteDocument2Default) IsCode(code int) bool
IsCode returns true when this rest col service delete document2 default response a status code equal to that given
func (*RestColServiceDeleteDocument2Default) IsRedirect ¶
func (o *RestColServiceDeleteDocument2Default) IsRedirect() bool
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 ¶
func (o *RestColServiceDeleteDocument2Default) IsSuccess() bool
IsSuccess returns true when this rest col service delete document2 default response has a 2xx status code
func (*RestColServiceDeleteDocument2Default) String ¶
func (o *RestColServiceDeleteDocument2Default) String() 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 ¶
func (o *RestColServiceDeleteDocument2OK) Code() int
Code gets the status code for the rest col service delete document2 o k response
func (*RestColServiceDeleteDocument2OK) Error ¶
func (o *RestColServiceDeleteDocument2OK) Error() string
func (*RestColServiceDeleteDocument2OK) GetPayload ¶
func (o *RestColServiceDeleteDocument2OK) GetPayload() models.APIDeleteDocumentResponse
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 ¶
func (o *RestColServiceDeleteDocument2OK) String() 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 ¶
func (o *RestColServiceDeleteDocument2Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceDeleteDocument2Params) WithCollectionID(collectionID string) *RestColServiceDeleteDocument2Params
WithCollectionID adds the collectionID to the rest col service delete document2 params
func (*RestColServiceDeleteDocument2Params) WithContext ¶
func (o *RestColServiceDeleteDocument2Params) WithContext(ctx context.Context) *RestColServiceDeleteDocument2Params
WithContext adds the context to the rest col service delete document2 params
func (*RestColServiceDeleteDocument2Params) WithDefaults ¶
func (o *RestColServiceDeleteDocument2Params) WithDefaults() *RestColServiceDeleteDocument2Params
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 ¶
func (o *RestColServiceDeleteDocument2Params) WithDocumentID(documentID string) *RestColServiceDeleteDocument2Params
WithDocumentID adds the documentID to the rest col service delete document2 params
func (*RestColServiceDeleteDocument2Params) WithHTTPClient ¶
func (o *RestColServiceDeleteDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceDeleteDocument2Params
WithHTTPClient adds the HTTPClient to the rest col service delete document2 params
func (*RestColServiceDeleteDocument2Params) WithProjectID ¶
func (o *RestColServiceDeleteDocument2Params) WithProjectID(projectID string) *RestColServiceDeleteDocument2Params
WithProjectID adds the projectID to the rest col service delete document2 params
func (*RestColServiceDeleteDocument2Params) WithTimeout ¶
func (o *RestColServiceDeleteDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceDeleteDocument2Params
WithTimeout adds the timeout to the rest col service delete document2 params
func (*RestColServiceDeleteDocument2Params) WriteToRequest ¶
func (o *RestColServiceDeleteDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceDeleteDocumentDefault) Code() int
Code gets the status code for the rest col service delete document default response
func (*RestColServiceDeleteDocumentDefault) Error ¶
func (o *RestColServiceDeleteDocumentDefault) Error() string
func (*RestColServiceDeleteDocumentDefault) GetPayload ¶
func (o *RestColServiceDeleteDocumentDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceDeleteDocumentDefault) IsCode(code int) bool
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 ¶
func (o *RestColServiceDeleteDocumentDefault) IsSuccess() bool
IsSuccess returns true when this rest col service delete document default response has a 2xx status code
func (*RestColServiceDeleteDocumentDefault) String ¶
func (o *RestColServiceDeleteDocumentDefault) String() 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 ¶
func (o *RestColServiceDeleteDocumentOK) Code() int
Code gets the status code for the rest col service delete document o k response
func (*RestColServiceDeleteDocumentOK) Error ¶
func (o *RestColServiceDeleteDocumentOK) Error() string
func (*RestColServiceDeleteDocumentOK) GetPayload ¶
func (o *RestColServiceDeleteDocumentOK) GetPayload() models.APIDeleteDocumentResponse
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 ¶
func (o *RestColServiceDeleteDocumentOK) String() 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 ¶
func (o *RestColServiceDeleteDocumentParams) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceDeleteDocumentParams) WithCollectionID(collectionID string) *RestColServiceDeleteDocumentParams
WithCollectionID adds the collectionID to the rest col service delete document params
func (*RestColServiceDeleteDocumentParams) WithContext ¶
func (o *RestColServiceDeleteDocumentParams) WithContext(ctx context.Context) *RestColServiceDeleteDocumentParams
WithContext adds the context to the rest col service delete document params
func (*RestColServiceDeleteDocumentParams) WithDefaults ¶
func (o *RestColServiceDeleteDocumentParams) WithDefaults() *RestColServiceDeleteDocumentParams
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 ¶
func (o *RestColServiceDeleteDocumentParams) WithDocumentID(documentID string) *RestColServiceDeleteDocumentParams
WithDocumentID adds the documentID to the rest col service delete document params
func (*RestColServiceDeleteDocumentParams) WithHTTPClient ¶
func (o *RestColServiceDeleteDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceDeleteDocumentParams
WithHTTPClient adds the HTTPClient to the rest col service delete document params
func (*RestColServiceDeleteDocumentParams) WithProjectID ¶
func (o *RestColServiceDeleteDocumentParams) WithProjectID(projectID *string) *RestColServiceDeleteDocumentParams
WithProjectID adds the projectID to the rest col service delete document params
func (*RestColServiceDeleteDocumentParams) WithTimeout ¶
func (o *RestColServiceDeleteDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceDeleteDocumentParams
WithTimeout adds the timeout to the rest col service delete document params
func (*RestColServiceDeleteDocumentParams) WriteToRequest ¶
func (o *RestColServiceDeleteDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceGetDocument2Default) Code() int
Code gets the status code for the rest col service get document2 default response
func (*RestColServiceGetDocument2Default) Error ¶
func (o *RestColServiceGetDocument2Default) Error() string
func (*RestColServiceGetDocument2Default) GetPayload ¶
func (o *RestColServiceGetDocument2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceGetDocument2Default) String() 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 ¶
func (o *RestColServiceGetDocument2OK) Code() int
Code gets the status code for the rest col service get document2 o k response
func (*RestColServiceGetDocument2OK) Error ¶
func (o *RestColServiceGetDocument2OK) Error() string
func (*RestColServiceGetDocument2OK) GetPayload ¶
func (o *RestColServiceGetDocument2OK) GetPayload() *models.APIGetDocumentResponse
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 ¶
func (o *RestColServiceGetDocument2OK) String() 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 ¶
func (o *RestColServiceGetDocument2Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceGetDocument2Params) WithCollectionID(collectionID string) *RestColServiceGetDocument2Params
WithCollectionID adds the collectionID to the rest col service get document2 params
func (*RestColServiceGetDocument2Params) WithContext ¶
func (o *RestColServiceGetDocument2Params) WithContext(ctx context.Context) *RestColServiceGetDocument2Params
WithContext adds the context to the rest col service get document2 params
func (*RestColServiceGetDocument2Params) WithDefaults ¶
func (o *RestColServiceGetDocument2Params) WithDefaults() *RestColServiceGetDocument2Params
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 ¶
func (o *RestColServiceGetDocument2Params) WithDocumentID(documentID string) *RestColServiceGetDocument2Params
WithDocumentID adds the documentID to the rest col service get document2 params
func (*RestColServiceGetDocument2Params) WithHTTPClient ¶
func (o *RestColServiceGetDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceGetDocument2Params
WithHTTPClient adds the HTTPClient to the rest col service get document2 params
func (*RestColServiceGetDocument2Params) WithProjectID ¶
func (o *RestColServiceGetDocument2Params) WithProjectID(projectID *string) *RestColServiceGetDocument2Params
WithProjectID adds the projectID to the rest col service get document2 params
func (*RestColServiceGetDocument2Params) WithTimeout ¶
func (o *RestColServiceGetDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceGetDocument2Params
WithTimeout adds the timeout to the rest col service get document2 params
func (*RestColServiceGetDocument2Params) WriteToRequest ¶
func (o *RestColServiceGetDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceGetDocument3Default) Code() int
Code gets the status code for the rest col service get document3 default response
func (*RestColServiceGetDocument3Default) Error ¶
func (o *RestColServiceGetDocument3Default) Error() string
func (*RestColServiceGetDocument3Default) GetPayload ¶
func (o *RestColServiceGetDocument3Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceGetDocument3Default) String() 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 ¶
func (o *RestColServiceGetDocument3OK) Code() int
Code gets the status code for the rest col service get document3 o k response
func (*RestColServiceGetDocument3OK) Error ¶
func (o *RestColServiceGetDocument3OK) Error() string
func (*RestColServiceGetDocument3OK) GetPayload ¶
func (o *RestColServiceGetDocument3OK) GetPayload() *models.APIGetDocumentResponse
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 ¶
func (o *RestColServiceGetDocument3OK) String() 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 ¶
func (o *RestColServiceGetDocument3Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceGetDocument3Params) WithCollectionID(collectionID string) *RestColServiceGetDocument3Params
WithCollectionID adds the collectionID to the rest col service get document3 params
func (*RestColServiceGetDocument3Params) WithContext ¶
func (o *RestColServiceGetDocument3Params) WithContext(ctx context.Context) *RestColServiceGetDocument3Params
WithContext adds the context to the rest col service get document3 params
func (*RestColServiceGetDocument3Params) WithDefaults ¶
func (o *RestColServiceGetDocument3Params) WithDefaults() *RestColServiceGetDocument3Params
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 ¶
func (o *RestColServiceGetDocument3Params) WithDocumentID(documentID string) *RestColServiceGetDocument3Params
WithDocumentID adds the documentID to the rest col service get document3 params
func (*RestColServiceGetDocument3Params) WithHTTPClient ¶
func (o *RestColServiceGetDocument3Params) WithHTTPClient(client *http.Client) *RestColServiceGetDocument3Params
WithHTTPClient adds the HTTPClient to the rest col service get document3 params
func (*RestColServiceGetDocument3Params) WithProjectID ¶
func (o *RestColServiceGetDocument3Params) WithProjectID(projectID string) *RestColServiceGetDocument3Params
WithProjectID adds the projectID to the rest col service get document3 params
func (*RestColServiceGetDocument3Params) WithTimeout ¶
func (o *RestColServiceGetDocument3Params) WithTimeout(timeout time.Duration) *RestColServiceGetDocument3Params
WithTimeout adds the timeout to the rest col service get document3 params
func (*RestColServiceGetDocument3Params) WriteToRequest ¶
func (o *RestColServiceGetDocument3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceGetDocumentDefault) Code() int
Code gets the status code for the rest col service get document default response
func (*RestColServiceGetDocumentDefault) Error ¶
func (o *RestColServiceGetDocumentDefault) Error() string
func (*RestColServiceGetDocumentDefault) GetPayload ¶
func (o *RestColServiceGetDocumentDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceGetDocumentDefault) String() 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 (o *RestColServiceGetDocumentOK) Error() string
func (*RestColServiceGetDocumentOK) GetPayload ¶
func (o *RestColServiceGetDocumentOK) GetPayload() *models.APIGetDocumentResponse
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 ¶
func (o *RestColServiceGetDocumentParams) WithContext(ctx context.Context) *RestColServiceGetDocumentParams
WithContext adds the context to the rest col service get document params
func (*RestColServiceGetDocumentParams) WithDefaults ¶
func (o *RestColServiceGetDocumentParams) WithDefaults() *RestColServiceGetDocumentParams
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 ¶
func (o *RestColServiceGetDocumentParams) WithDocumentID(documentID string) *RestColServiceGetDocumentParams
WithDocumentID adds the documentID to the rest col service get document params
func (*RestColServiceGetDocumentParams) WithHTTPClient ¶
func (o *RestColServiceGetDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceGetDocumentParams
WithHTTPClient adds the HTTPClient to the rest col service get document params
func (*RestColServiceGetDocumentParams) WithProjectID ¶
func (o *RestColServiceGetDocumentParams) WithProjectID(projectID *string) *RestColServiceGetDocumentParams
WithProjectID adds the projectID to the rest col service get document params
func (*RestColServiceGetDocumentParams) WithTimeout ¶
func (o *RestColServiceGetDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceGetDocumentParams
WithTimeout adds the timeout to the rest col service get document params
func (*RestColServiceGetDocumentParams) WriteToRequest ¶
func (o *RestColServiceGetDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceQueryDocument2Default) Code() int
Code gets the status code for the rest col service query document2 default response
func (*RestColServiceQueryDocument2Default) Error ¶
func (o *RestColServiceQueryDocument2Default) Error() string
func (*RestColServiceQueryDocument2Default) GetPayload ¶
func (o *RestColServiceQueryDocument2Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceQueryDocument2Default) IsCode(code int) bool
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 ¶
func (o *RestColServiceQueryDocument2Default) IsSuccess() bool
IsSuccess returns true when this rest col service query document2 default response has a 2xx status code
func (*RestColServiceQueryDocument2Default) String ¶
func (o *RestColServiceQueryDocument2Default) String() 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 ¶
func (o *RestColServiceQueryDocument2OK) Code() int
Code gets the status code for the rest col service query document2 o k response
func (*RestColServiceQueryDocument2OK) Error ¶
func (o *RestColServiceQueryDocument2OK) Error() string
func (*RestColServiceQueryDocument2OK) GetPayload ¶
func (o *RestColServiceQueryDocument2OK) GetPayload() *models.APIQueryDocumentResponse
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 ¶
func (o *RestColServiceQueryDocument2OK) String() 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 ¶
func (o *RestColServiceQueryDocument2Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceQueryDocument2Params) WithCollectionID(collectionID string) *RestColServiceQueryDocument2Params
WithCollectionID adds the collectionID to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithContext ¶
func (o *RestColServiceQueryDocument2Params) WithContext(ctx context.Context) *RestColServiceQueryDocument2Params
WithContext adds the context to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithDefaults ¶
func (o *RestColServiceQueryDocument2Params) WithDefaults() *RestColServiceQueryDocument2Params
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 ¶
func (o *RestColServiceQueryDocument2Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocument2Params
WithEndedAt adds the endedAt to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithHTTPClient ¶
func (o *RestColServiceQueryDocument2Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocument2Params
WithHTTPClient adds the HTTPClient to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithLimitCount ¶
func (o *RestColServiceQueryDocument2Params) WithLimitCount(limitCount *int32) *RestColServiceQueryDocument2Params
WithLimitCount adds the limitCount to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithProjectID ¶
func (o *RestColServiceQueryDocument2Params) WithProjectID(projectID *string) *RestColServiceQueryDocument2Params
WithProjectID adds the projectID to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithQueryfields ¶
func (o *RestColServiceQueryDocument2Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocument2Params
WithQueryfields adds the queryfields to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithSinceTs ¶
func (o *RestColServiceQueryDocument2Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocument2Params
WithSinceTs adds the sinceTs to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WithTimeout ¶
func (o *RestColServiceQueryDocument2Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocument2Params
WithTimeout adds the timeout to the rest col service query document2 params
func (*RestColServiceQueryDocument2Params) WriteToRequest ¶
func (o *RestColServiceQueryDocument2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceQueryDocument3Default) Code() int
Code gets the status code for the rest col service query document3 default response
func (*RestColServiceQueryDocument3Default) Error ¶
func (o *RestColServiceQueryDocument3Default) Error() string
func (*RestColServiceQueryDocument3Default) GetPayload ¶
func (o *RestColServiceQueryDocument3Default) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceQueryDocument3Default) IsCode(code int) bool
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 ¶
func (o *RestColServiceQueryDocument3Default) IsSuccess() bool
IsSuccess returns true when this rest col service query document3 default response has a 2xx status code
func (*RestColServiceQueryDocument3Default) String ¶
func (o *RestColServiceQueryDocument3Default) String() 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 ¶
func (o *RestColServiceQueryDocument3OK) Code() int
Code gets the status code for the rest col service query document3 o k response
func (*RestColServiceQueryDocument3OK) Error ¶
func (o *RestColServiceQueryDocument3OK) Error() string
func (*RestColServiceQueryDocument3OK) GetPayload ¶
func (o *RestColServiceQueryDocument3OK) GetPayload() *models.APIQueryDocumentResponse
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 ¶
func (o *RestColServiceQueryDocument3OK) String() 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 ¶
func (o *RestColServiceQueryDocument3Params) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceQueryDocument3Params) WithCollectionID(collectionID string) *RestColServiceQueryDocument3Params
WithCollectionID adds the collectionID to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithContext ¶
func (o *RestColServiceQueryDocument3Params) WithContext(ctx context.Context) *RestColServiceQueryDocument3Params
WithContext adds the context to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithDefaults ¶
func (o *RestColServiceQueryDocument3Params) WithDefaults() *RestColServiceQueryDocument3Params
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 ¶
func (o *RestColServiceQueryDocument3Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocument3Params
WithEndedAt adds the endedAt to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithHTTPClient ¶
func (o *RestColServiceQueryDocument3Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocument3Params
WithHTTPClient adds the HTTPClient to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithLimitCount ¶
func (o *RestColServiceQueryDocument3Params) WithLimitCount(limitCount *int32) *RestColServiceQueryDocument3Params
WithLimitCount adds the limitCount to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithProjectID ¶
func (o *RestColServiceQueryDocument3Params) WithProjectID(projectID string) *RestColServiceQueryDocument3Params
WithProjectID adds the projectID to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithQueryfields ¶
func (o *RestColServiceQueryDocument3Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocument3Params
WithQueryfields adds the queryfields to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithSinceTs ¶
func (o *RestColServiceQueryDocument3Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocument3Params
WithSinceTs adds the sinceTs to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WithTimeout ¶
func (o *RestColServiceQueryDocument3Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocument3Params
WithTimeout adds the timeout to the rest col service query document3 params
func (*RestColServiceQueryDocument3Params) WriteToRequest ¶
func (o *RestColServiceQueryDocument3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceQueryDocumentDefault) Code() int
Code gets the status code for the rest col service query document default response
func (*RestColServiceQueryDocumentDefault) Error ¶
func (o *RestColServiceQueryDocumentDefault) Error() string
func (*RestColServiceQueryDocumentDefault) GetPayload ¶
func (o *RestColServiceQueryDocumentDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RestColServiceQueryDocumentDefault) IsCode(code int) bool
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 ¶
func (o *RestColServiceQueryDocumentDefault) IsSuccess() bool
IsSuccess returns true when this rest col service query document default response has a 2xx status code
func (*RestColServiceQueryDocumentDefault) String ¶
func (o *RestColServiceQueryDocumentDefault) String() 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 ¶
func (o *RestColServiceQueryDocumentOK) Code() int
Code gets the status code for the rest col service query document o k response
func (*RestColServiceQueryDocumentOK) Error ¶
func (o *RestColServiceQueryDocumentOK) Error() string
func (*RestColServiceQueryDocumentOK) GetPayload ¶
func (o *RestColServiceQueryDocumentOK) GetPayload() *models.APIQueryDocumentResponse
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 ¶
func (o *RestColServiceQueryDocumentOK) String() 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 ¶
func (o *RestColServiceQueryDocumentParams) SetContext(ctx context.Context)
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 ¶
func (o *RestColServiceQueryDocumentParams) WithCollectionID(collectionID *string) *RestColServiceQueryDocumentParams
WithCollectionID adds the collectionID to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithContext ¶
func (o *RestColServiceQueryDocumentParams) WithContext(ctx context.Context) *RestColServiceQueryDocumentParams
WithContext adds the context to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithDefaults ¶
func (o *RestColServiceQueryDocumentParams) WithDefaults() *RestColServiceQueryDocumentParams
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 ¶
func (o *RestColServiceQueryDocumentParams) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentParams
WithEndedAt adds the endedAt to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithHTTPClient ¶
func (o *RestColServiceQueryDocumentParams) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentParams
WithHTTPClient adds the HTTPClient to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithLimitCount ¶
func (o *RestColServiceQueryDocumentParams) WithLimitCount(limitCount *int32) *RestColServiceQueryDocumentParams
WithLimitCount adds the limitCount to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithProjectID ¶
func (o *RestColServiceQueryDocumentParams) WithProjectID(projectID *string) *RestColServiceQueryDocumentParams
WithProjectID adds the projectID to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithQueryfields ¶
func (o *RestColServiceQueryDocumentParams) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentParams
WithQueryfields adds the queryfields to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithSinceTs ¶
func (o *RestColServiceQueryDocumentParams) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentParams
WithSinceTs adds the sinceTs to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WithTimeout ¶
func (o *RestColServiceQueryDocumentParams) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentParams
WithTimeout adds the timeout to the rest col service query document params
func (*RestColServiceQueryDocumentParams) WriteToRequest ¶
func (o *RestColServiceQueryDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceQueryDocumentsStream2Default) Code() int
Code gets the status code for the rest col service query documents stream2 default response
func (*RestColServiceQueryDocumentsStream2Default) Error ¶
func (o *RestColServiceQueryDocumentsStream2Default) Error() string
func (*RestColServiceQueryDocumentsStream2Default) GetPayload ¶
func (o *RestColServiceQueryDocumentsStream2Default) GetPayload() *models.RPCStatus
func (*RestColServiceQueryDocumentsStream2Default) IsClientError ¶
func (o *RestColServiceQueryDocumentsStream2Default) IsClientError() bool
IsClientError returns true when this rest col service query documents stream2 default response has a 4xx status code
func (*RestColServiceQueryDocumentsStream2Default) IsCode ¶
func (o *RestColServiceQueryDocumentsStream2Default) IsCode(code int) bool
IsCode returns true when this rest col service query documents stream2 default response a status code equal to that given
func (*RestColServiceQueryDocumentsStream2Default) IsRedirect ¶
func (o *RestColServiceQueryDocumentsStream2Default) IsRedirect() bool
IsRedirect returns true when this rest col service query documents stream2 default response has a 3xx status code
func (*RestColServiceQueryDocumentsStream2Default) IsServerError ¶
func (o *RestColServiceQueryDocumentsStream2Default) IsServerError() bool
IsServerError returns true when this rest col service query documents stream2 default response has a 5xx status code
func (*RestColServiceQueryDocumentsStream2Default) IsSuccess ¶
func (o *RestColServiceQueryDocumentsStream2Default) IsSuccess() bool
IsSuccess returns true when this rest col service query documents stream2 default response has a 2xx status code
func (*RestColServiceQueryDocumentsStream2Default) String ¶
func (o *RestColServiceQueryDocumentsStream2Default) String() 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 ¶
func (o *RestColServiceQueryDocumentsStream2OK) Code() int
Code gets the status code for the rest col service query documents stream2 o k response
func (*RestColServiceQueryDocumentsStream2OK) Error ¶
func (o *RestColServiceQueryDocumentsStream2OK) Error() string
func (*RestColServiceQueryDocumentsStream2OK) GetPayload ¶
func (o *RestColServiceQueryDocumentsStream2OK) GetPayload() *RestColServiceQueryDocumentsStream2OKBody
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 ¶
func (o *RestColServiceQueryDocumentsStream2OK) IsCode(code int) bool
IsCode returns true when this rest col service query documents stream2 o k response a status code equal to that given
func (*RestColServiceQueryDocumentsStream2OK) IsRedirect ¶
func (o *RestColServiceQueryDocumentsStream2OK) IsRedirect() bool
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 ¶
func (o *RestColServiceQueryDocumentsStream2OK) IsSuccess() bool
IsSuccess returns true when this rest col service query documents stream2 o k response has a 2xx status code
func (*RestColServiceQueryDocumentsStream2OK) String ¶
func (o *RestColServiceQueryDocumentsStream2OK) String() 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 ¶
func (o *RestColServiceQueryDocumentsStream2OKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *RestColServiceQueryDocumentsStream2Params) SetContext(ctx context.Context)
SetContext adds the context to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) SetDefaults ¶
func (o *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 ¶
func (o *RestColServiceQueryDocumentsStream2Params) SetEndedAt(endedAt *strfmt.DateTime)
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 ¶
func (o *RestColServiceQueryDocumentsStream2Params) SetSinceTs(sinceTs *strfmt.DateTime)
SetSinceTs adds the sinceTs to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) SetTimeout ¶
func (o *RestColServiceQueryDocumentsStream2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithCollectionID ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithCollectionID(collectionID string) *RestColServiceQueryDocumentsStream2Params
WithCollectionID adds the collectionID to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithContext ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithContext(ctx context.Context) *RestColServiceQueryDocumentsStream2Params
WithContext adds the context to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithDefaults ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithDefaults() *RestColServiceQueryDocumentsStream2Params
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 ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentsStream2Params
WithEndedAt adds the endedAt to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithFollowUpMode ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithFollowUpMode(followUpMode *bool) *RestColServiceQueryDocumentsStream2Params
WithFollowUpMode adds the followUpMode to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithHTTPClient ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream2Params
WithHTTPClient adds the HTTPClient to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithProjectID ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithProjectID(projectID *string) *RestColServiceQueryDocumentsStream2Params
WithProjectID adds the projectID to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithQueryfields ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentsStream2Params
WithQueryfields adds the queryfields to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithSinceTs ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentsStream2Params
WithSinceTs adds the sinceTs to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WithTimeout ¶
func (o *RestColServiceQueryDocumentsStream2Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream2Params
WithTimeout adds the timeout to the rest col service query documents stream2 params
func (*RestColServiceQueryDocumentsStream2Params) WriteToRequest ¶
func (o *RestColServiceQueryDocumentsStream2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceQueryDocumentsStream3Default) Code() int
Code gets the status code for the rest col service query documents stream3 default response
func (*RestColServiceQueryDocumentsStream3Default) Error ¶
func (o *RestColServiceQueryDocumentsStream3Default) Error() string
func (*RestColServiceQueryDocumentsStream3Default) GetPayload ¶
func (o *RestColServiceQueryDocumentsStream3Default) GetPayload() *models.RPCStatus
func (*RestColServiceQueryDocumentsStream3Default) IsClientError ¶
func (o *RestColServiceQueryDocumentsStream3Default) IsClientError() bool
IsClientError returns true when this rest col service query documents stream3 default response has a 4xx status code
func (*RestColServiceQueryDocumentsStream3Default) IsCode ¶
func (o *RestColServiceQueryDocumentsStream3Default) IsCode(code int) bool
IsCode returns true when this rest col service query documents stream3 default response a status code equal to that given
func (*RestColServiceQueryDocumentsStream3Default) IsRedirect ¶
func (o *RestColServiceQueryDocumentsStream3Default) IsRedirect() bool
IsRedirect returns true when this rest col service query documents stream3 default response has a 3xx status code
func (*RestColServiceQueryDocumentsStream3Default) IsServerError ¶
func (o *RestColServiceQueryDocumentsStream3Default) IsServerError() bool
IsServerError returns true when this rest col service query documents stream3 default response has a 5xx status code
func (*RestColServiceQueryDocumentsStream3Default) IsSuccess ¶
func (o *RestColServiceQueryDocumentsStream3Default) IsSuccess() bool
IsSuccess returns true when this rest col service query documents stream3 default response has a 2xx status code
func (*RestColServiceQueryDocumentsStream3Default) String ¶
func (o *RestColServiceQueryDocumentsStream3Default) String() 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 ¶
func (o *RestColServiceQueryDocumentsStream3OK) Code() int
Code gets the status code for the rest col service query documents stream3 o k response
func (*RestColServiceQueryDocumentsStream3OK) Error ¶
func (o *RestColServiceQueryDocumentsStream3OK) Error() string
func (*RestColServiceQueryDocumentsStream3OK) GetPayload ¶
func (o *RestColServiceQueryDocumentsStream3OK) GetPayload() *RestColServiceQueryDocumentsStream3OKBody
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 ¶
func (o *RestColServiceQueryDocumentsStream3OK) IsCode(code int) bool
IsCode returns true when this rest col service query documents stream3 o k response a status code equal to that given
func (*RestColServiceQueryDocumentsStream3OK) IsRedirect ¶
func (o *RestColServiceQueryDocumentsStream3OK) IsRedirect() bool
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 ¶
func (o *RestColServiceQueryDocumentsStream3OK) IsSuccess() bool
IsSuccess returns true when this rest col service query documents stream3 o k response has a 2xx status code
func (*RestColServiceQueryDocumentsStream3OK) String ¶
func (o *RestColServiceQueryDocumentsStream3OK) String() 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 ¶
func (o *RestColServiceQueryDocumentsStream3OKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *RestColServiceQueryDocumentsStream3Params) SetContext(ctx context.Context)
SetContext adds the context to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) SetDefaults ¶
func (o *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 ¶
func (o *RestColServiceQueryDocumentsStream3Params) SetEndedAt(endedAt *strfmt.DateTime)
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 ¶
func (o *RestColServiceQueryDocumentsStream3Params) SetSinceTs(sinceTs *strfmt.DateTime)
SetSinceTs adds the sinceTs to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) SetTimeout ¶
func (o *RestColServiceQueryDocumentsStream3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithCollectionID ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithCollectionID(collectionID string) *RestColServiceQueryDocumentsStream3Params
WithCollectionID adds the collectionID to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithContext ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithContext(ctx context.Context) *RestColServiceQueryDocumentsStream3Params
WithContext adds the context to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithDefaults ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithDefaults() *RestColServiceQueryDocumentsStream3Params
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 ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentsStream3Params
WithEndedAt adds the endedAt to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithFollowUpMode ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithFollowUpMode(followUpMode *bool) *RestColServiceQueryDocumentsStream3Params
WithFollowUpMode adds the followUpMode to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithHTTPClient ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStream3Params
WithHTTPClient adds the HTTPClient to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithProjectID ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithProjectID(projectID string) *RestColServiceQueryDocumentsStream3Params
WithProjectID adds the projectID to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithQueryfields ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentsStream3Params
WithQueryfields adds the queryfields to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithSinceTs ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentsStream3Params
WithSinceTs adds the sinceTs to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WithTimeout ¶
func (o *RestColServiceQueryDocumentsStream3Params) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStream3Params
WithTimeout adds the timeout to the rest col service query documents stream3 params
func (*RestColServiceQueryDocumentsStream3Params) WriteToRequest ¶
func (o *RestColServiceQueryDocumentsStream3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RestColServiceQueryDocumentsStreamDefault) Code() int
Code gets the status code for the rest col service query documents stream default response
func (*RestColServiceQueryDocumentsStreamDefault) Error ¶
func (o *RestColServiceQueryDocumentsStreamDefault) Error() string
func (*RestColServiceQueryDocumentsStreamDefault) GetPayload ¶
func (o *RestColServiceQueryDocumentsStreamDefault) GetPayload() *models.RPCStatus
func (*RestColServiceQueryDocumentsStreamDefault) IsClientError ¶
func (o *RestColServiceQueryDocumentsStreamDefault) IsClientError() bool
IsClientError returns true when this rest col service query documents stream default response has a 4xx status code
func (*RestColServiceQueryDocumentsStreamDefault) IsCode ¶
func (o *RestColServiceQueryDocumentsStreamDefault) IsCode(code int) bool
IsCode returns true when this rest col service query documents stream default response a status code equal to that given
func (*RestColServiceQueryDocumentsStreamDefault) IsRedirect ¶
func (o *RestColServiceQueryDocumentsStreamDefault) IsRedirect() bool
IsRedirect returns true when this rest col service query documents stream default response has a 3xx status code
func (*RestColServiceQueryDocumentsStreamDefault) IsServerError ¶
func (o *RestColServiceQueryDocumentsStreamDefault) IsServerError() bool
IsServerError returns true when this rest col service query documents stream default response has a 5xx status code
func (*RestColServiceQueryDocumentsStreamDefault) IsSuccess ¶
func (o *RestColServiceQueryDocumentsStreamDefault) IsSuccess() bool
IsSuccess returns true when this rest col service query documents stream default response has a 2xx status code
func (*RestColServiceQueryDocumentsStreamDefault) String ¶
func (o *RestColServiceQueryDocumentsStreamDefault) String() 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 ¶
func (o *RestColServiceQueryDocumentsStreamOK) Code() int
Code gets the status code for the rest col service query documents stream o k response
func (*RestColServiceQueryDocumentsStreamOK) Error ¶
func (o *RestColServiceQueryDocumentsStreamOK) Error() string
func (*RestColServiceQueryDocumentsStreamOK) GetPayload ¶
func (o *RestColServiceQueryDocumentsStreamOK) GetPayload() *RestColServiceQueryDocumentsStreamOKBody
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 ¶
func (o *RestColServiceQueryDocumentsStreamOK) IsCode(code int) bool
IsCode returns true when this rest col service query documents stream o k response a status code equal to that given
func (*RestColServiceQueryDocumentsStreamOK) IsRedirect ¶
func (o *RestColServiceQueryDocumentsStreamOK) IsRedirect() bool
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 ¶
func (o *RestColServiceQueryDocumentsStreamOK) IsSuccess() bool
IsSuccess returns true when this rest col service query documents stream o k response has a 2xx status code
func (*RestColServiceQueryDocumentsStreamOK) String ¶
func (o *RestColServiceQueryDocumentsStreamOK) String() 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 ¶
func (o *RestColServiceQueryDocumentsStreamOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *RestColServiceQueryDocumentsStreamParams) SetContext(ctx context.Context)
SetContext adds the context to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) SetDefaults ¶
func (o *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 ¶
func (o *RestColServiceQueryDocumentsStreamParams) SetEndedAt(endedAt *strfmt.DateTime)
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 ¶
func (o *RestColServiceQueryDocumentsStreamParams) SetSinceTs(sinceTs *strfmt.DateTime)
SetSinceTs adds the sinceTs to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) SetTimeout ¶
func (o *RestColServiceQueryDocumentsStreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithCollectionID ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithCollectionID(collectionID *string) *RestColServiceQueryDocumentsStreamParams
WithCollectionID adds the collectionID to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithContext ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithContext(ctx context.Context) *RestColServiceQueryDocumentsStreamParams
WithContext adds the context to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithDefaults ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithDefaults() *RestColServiceQueryDocumentsStreamParams
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 ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithEndedAt(endedAt *strfmt.DateTime) *RestColServiceQueryDocumentsStreamParams
WithEndedAt adds the endedAt to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithFollowUpMode ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithFollowUpMode(followUpMode *bool) *RestColServiceQueryDocumentsStreamParams
WithFollowUpMode adds the followUpMode to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithHTTPClient ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithHTTPClient(client *http.Client) *RestColServiceQueryDocumentsStreamParams
WithHTTPClient adds the HTTPClient to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithProjectID ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithProjectID(projectID *string) *RestColServiceQueryDocumentsStreamParams
WithProjectID adds the projectID to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithQueryfields ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithQueryfields(queryfields *string) *RestColServiceQueryDocumentsStreamParams
WithQueryfields adds the queryfields to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithSinceTs ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithSinceTs(sinceTs *strfmt.DateTime) *RestColServiceQueryDocumentsStreamParams
WithSinceTs adds the sinceTs to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WithTimeout ¶
func (o *RestColServiceQueryDocumentsStreamParams) WithTimeout(timeout time.Duration) *RestColServiceQueryDocumentsStreamParams
WithTimeout adds the timeout to the rest col service query documents stream params
func (*RestColServiceQueryDocumentsStreamParams) WriteToRequest ¶
func (o *RestColServiceQueryDocumentsStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- document_client.go
- rest_col_service_create_document2_parameters.go
- rest_col_service_create_document2_responses.go
- rest_col_service_create_document3_parameters.go
- rest_col_service_create_document3_responses.go
- rest_col_service_create_document_parameters.go
- rest_col_service_create_document_responses.go
- rest_col_service_delete_document2_parameters.go
- rest_col_service_delete_document2_responses.go
- rest_col_service_delete_document_parameters.go
- rest_col_service_delete_document_responses.go
- rest_col_service_get_document2_parameters.go
- rest_col_service_get_document2_responses.go
- rest_col_service_get_document3_parameters.go
- rest_col_service_get_document3_responses.go
- rest_col_service_get_document_parameters.go
- rest_col_service_get_document_responses.go
- rest_col_service_query_document2_parameters.go
- rest_col_service_query_document2_responses.go
- rest_col_service_query_document3_parameters.go
- rest_col_service_query_document3_responses.go
- rest_col_service_query_document_parameters.go
- rest_col_service_query_document_responses.go
- rest_col_service_query_documents_stream2_parameters.go
- rest_col_service_query_documents_stream2_responses.go
- rest_col_service_query_documents_stream3_parameters.go
- rest_col_service_query_documents_stream3_responses.go
- rest_col_service_query_documents_stream_parameters.go
- rest_col_service_query_documents_stream_responses.go