documents

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for documents API

func (*Client) CreateCollection

func (a *Client) CreateCollection(params *CreateCollectionParams) (*CreateCollectionCreated, error)

CreateCollection creates a new empty collection in a namespace

func (*Client) CreateNamespace

func (a *Client) CreateNamespace(params *CreateNamespaceParams) (*CreateNamespaceCreated, error)

CreateNamespace creates a namespace

Create a new namespace.

func (*Client) DeleteCollection

func (a *Client) DeleteCollection(params *DeleteCollectionParams) (*DeleteCollectionNoContent, error)

DeleteCollection deletes a collection in a namespace

func (*Client) DeleteDoc

func (a *Client) DeleteDoc(params *DeleteDocParams) (*DeleteDocNoContent, error)

DeleteDoc deletes a document

Delete a document

func (*Client) DeleteDocPath

func (a *Client) DeleteDocPath(params *DeleteDocPathParams) (*DeleteDocPathNoContent, error)

DeleteDocPath deletes a path in a document

Delete a path in a document

func (*Client) DeleteNamespace

func (a *Client) DeleteNamespace(params *DeleteNamespaceParams) (*DeleteNamespaceNoContent, error)

DeleteNamespace deletes a namespace

Delete a single namespace.

func (*Client) GetAllNamespaces

func (a *Client) GetAllNamespaces(params *GetAllNamespacesParams) (*GetAllNamespacesOK, error)

GetAllNamespaces gets all namespaces

Retrieve all available namespaces.

func (*Client) GetCollections

func (a *Client) GetCollections(params *GetCollectionsParams) (*GetCollectionsOK, error)

GetCollections lists collections in namespace

func (*Client) GetDoc

func (a *Client) GetDoc(params *GetDocParams) (*GetDocOK, *GetDocNoContent, error)

GetDoc gets a document

Retrieve the JSON representation of the document

func (*Client) GetDocPath

func (a *Client) GetDocPath(params *GetDocPathParams) (*GetDocPathOK, *GetDocPathNoContent, error)

GetDocPath gets a path in a document

Retrieve the JSON representation of the document at a provided path, with optional search parameters.

func (*Client) GetOneNamespace

func (a *Client) GetOneNamespace(params *GetOneNamespaceParams) (*GetOneNamespaceOK, error)

GetOneNamespace gets a namespace

Return a single namespace specification.

func (*Client) PatchDoc

func (a *Client) PatchDoc(params *PatchDocParams) (*PatchDocOK, error)

PatchDoc updates data at the root of a document

Merges data at the root with requested data.

func (*Client) PatchDocPath

func (a *Client) PatchDocPath(params *PatchDocPathParams) (*PatchDocPathOK, error)

PatchDocPath updates data at a path in a document

Merges data at the path with requested data, assumes that the data at the path is already an object.

func (*Client) PostDoc

func (a *Client) PostDoc(params *PostDocParams) (*PostDocCreated, error)

PostDoc creates a new document

Auto-generates an ID for the newly created document

func (*Client) PutDoc

func (a *Client) PutDoc(params *PutDocParams) (*PutDocOK, error)

PutDoc creates or update a document with the provided document id

func (*Client) PutDocPath

func (a *Client) PutDocPath(params *PutDocPathParams) (*PutDocPathOK, error)

PutDocPath replaces data at a path in a document

Removes whatever was previously present at the path

func (*Client) SearchDoc

func (a *Client) SearchDoc(params *SearchDocParams) (*SearchDocOK, *SearchDocNoContent, error)

SearchDoc searches documents in a collection

Page over documents in a collection, with optional search parameters. Does not perform well for large documents.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpgradeCollection

func (a *Client) UpgradeCollection(params *UpgradeCollectionParams) (*UpgradeCollectionOK, error)

UpgradeCollection upgrades a collection in a namespace

WARNING: This endpoint is expected to cause some down-time for the collection you choose.

type ClientService

type ClientService interface {
	CreateCollection(params *CreateCollectionParams) (*CreateCollectionCreated, error)

	CreateNamespace(params *CreateNamespaceParams) (*CreateNamespaceCreated, error)

	DeleteCollection(params *DeleteCollectionParams) (*DeleteCollectionNoContent, error)

	DeleteDoc(params *DeleteDocParams) (*DeleteDocNoContent, error)

	DeleteDocPath(params *DeleteDocPathParams) (*DeleteDocPathNoContent, error)

	DeleteNamespace(params *DeleteNamespaceParams) (*DeleteNamespaceNoContent, error)

	GetAllNamespaces(params *GetAllNamespacesParams) (*GetAllNamespacesOK, error)

	GetCollections(params *GetCollectionsParams) (*GetCollectionsOK, error)

	GetDoc(params *GetDocParams) (*GetDocOK, *GetDocNoContent, error)

	GetDocPath(params *GetDocPathParams) (*GetDocPathOK, *GetDocPathNoContent, error)

	GetOneNamespace(params *GetOneNamespaceParams) (*GetOneNamespaceOK, error)

	PatchDoc(params *PatchDocParams) (*PatchDocOK, error)

	PatchDocPath(params *PatchDocPathParams) (*PatchDocPathOK, error)

	PostDoc(params *PostDocParams) (*PostDocCreated, error)

	PutDoc(params *PutDocParams) (*PutDocOK, error)

	PutDocPath(params *PutDocPathParams) (*PutDocPathOK, error)

	SearchDoc(params *SearchDocParams) (*SearchDocOK, *SearchDocNoContent, error)

	UpgradeCollection(params *UpgradeCollectionParams) (*UpgradeCollectionOK, 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 documents API client.

type CreateCollectionConflict

type CreateCollectionConflict struct {
	Payload *models.Error
}

CreateCollectionConflict handles this case with default header values.

Conflict

func NewCreateCollectionConflict

func NewCreateCollectionConflict() *CreateCollectionConflict

NewCreateCollectionConflict creates a CreateCollectionConflict with default headers values

func (*CreateCollectionConflict) Error

func (o *CreateCollectionConflict) Error() string

func (*CreateCollectionConflict) GetPayload

func (o *CreateCollectionConflict) GetPayload() *models.Error

type CreateCollectionCreated

type CreateCollectionCreated struct {
}

CreateCollectionCreated handles this case with default header values.

Created

func NewCreateCollectionCreated

func NewCreateCollectionCreated() *CreateCollectionCreated

NewCreateCollectionCreated creates a CreateCollectionCreated with default headers values

func (*CreateCollectionCreated) Error

func (o *CreateCollectionCreated) Error() string

type CreateCollectionInternalServerError

type CreateCollectionInternalServerError struct {
	Payload *models.Error
}

CreateCollectionInternalServerError handles this case with default header values.

Internal server error

func NewCreateCollectionInternalServerError

func NewCreateCollectionInternalServerError() *CreateCollectionInternalServerError

NewCreateCollectionInternalServerError creates a CreateCollectionInternalServerError with default headers values

func (*CreateCollectionInternalServerError) Error

func (*CreateCollectionInternalServerError) GetPayload

type CreateCollectionParams

type CreateCollectionParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  JSON with the name of the collection

	*/
	Body string
	/*NamespaceID
	  the namespace to create the collection in

	*/
	NamespaceID string

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

CreateCollectionParams contains all the parameters to send to the API endpoint for the create collection operation typically these are written to a http.Request

func NewCreateCollectionParams

func NewCreateCollectionParams() *CreateCollectionParams

NewCreateCollectionParams creates a new CreateCollectionParams object with the default values initialized.

func NewCreateCollectionParamsWithContext

func NewCreateCollectionParamsWithContext(ctx context.Context) *CreateCollectionParams

NewCreateCollectionParamsWithContext creates a new CreateCollectionParams object with the default values initialized, and the ability to set a context for a request

func NewCreateCollectionParamsWithHTTPClient

func NewCreateCollectionParamsWithHTTPClient(client *http.Client) *CreateCollectionParams

NewCreateCollectionParamsWithHTTPClient creates a new CreateCollectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateCollectionParamsWithTimeout

func NewCreateCollectionParamsWithTimeout(timeout time.Duration) *CreateCollectionParams

NewCreateCollectionParamsWithTimeout creates a new CreateCollectionParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateCollectionParams) SetBody

func (o *CreateCollectionParams) SetBody(body string)

SetBody adds the body to the create collection params

func (*CreateCollectionParams) SetContext

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

SetContext adds the context to the create collection params

func (*CreateCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create collection params

func (*CreateCollectionParams) SetNamespaceID

func (o *CreateCollectionParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the create collection params

func (*CreateCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the create collection params

func (*CreateCollectionParams) SetXCassandraToken

func (o *CreateCollectionParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the create collection params

func (*CreateCollectionParams) WithBody

WithBody adds the body to the create collection params

func (*CreateCollectionParams) WithContext

WithContext adds the context to the create collection params

func (*CreateCollectionParams) WithHTTPClient

func (o *CreateCollectionParams) WithHTTPClient(client *http.Client) *CreateCollectionParams

WithHTTPClient adds the HTTPClient to the create collection params

func (*CreateCollectionParams) WithNamespaceID

func (o *CreateCollectionParams) WithNamespaceID(namespaceID string) *CreateCollectionParams

WithNamespaceID adds the namespaceID to the create collection params

func (*CreateCollectionParams) WithTimeout

WithTimeout adds the timeout to the create collection params

func (*CreateCollectionParams) WithXCassandraToken

func (o *CreateCollectionParams) WithXCassandraToken(xCassandraToken string) *CreateCollectionParams

WithXCassandraToken adds the xCassandraToken to the create collection params

func (*CreateCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCollectionReader

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

CreateCollectionReader is a Reader for the CreateCollection structure.

func (*CreateCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCollectionUnauthorized

type CreateCollectionUnauthorized struct {
}

CreateCollectionUnauthorized handles this case with default header values.

Unauthorized

func NewCreateCollectionUnauthorized

func NewCreateCollectionUnauthorized() *CreateCollectionUnauthorized

NewCreateCollectionUnauthorized creates a CreateCollectionUnauthorized with default headers values

func (*CreateCollectionUnauthorized) Error

type CreateNamespaceBadRequest

type CreateNamespaceBadRequest struct {
}

CreateNamespaceBadRequest handles this case with default header values.

Bad Request

func NewCreateNamespaceBadRequest

func NewCreateNamespaceBadRequest() *CreateNamespaceBadRequest

NewCreateNamespaceBadRequest creates a CreateNamespaceBadRequest with default headers values

func (*CreateNamespaceBadRequest) Error

func (o *CreateNamespaceBadRequest) Error() string

type CreateNamespaceConflict

type CreateNamespaceConflict struct {
}

CreateNamespaceConflict handles this case with default header values.

Conflict

func NewCreateNamespaceConflict

func NewCreateNamespaceConflict() *CreateNamespaceConflict

NewCreateNamespaceConflict creates a CreateNamespaceConflict with default headers values

func (*CreateNamespaceConflict) Error

func (o *CreateNamespaceConflict) Error() string

type CreateNamespaceCreated

type CreateNamespaceCreated struct {
	Payload map[string]interface{}
}

CreateNamespaceCreated handles this case with default header values.

Created

func NewCreateNamespaceCreated

func NewCreateNamespaceCreated() *CreateNamespaceCreated

NewCreateNamespaceCreated creates a CreateNamespaceCreated with default headers values

func (*CreateNamespaceCreated) Error

func (o *CreateNamespaceCreated) Error() string

func (*CreateNamespaceCreated) GetPayload

func (o *CreateNamespaceCreated) GetPayload() map[string]interface{}

type CreateNamespaceInternalServerError

type CreateNamespaceInternalServerError struct {
	Payload *models.Error
}

CreateNamespaceInternalServerError handles this case with default header values.

Internal server error

func NewCreateNamespaceInternalServerError

func NewCreateNamespaceInternalServerError() *CreateNamespaceInternalServerError

NewCreateNamespaceInternalServerError creates a CreateNamespaceInternalServerError with default headers values

func (*CreateNamespaceInternalServerError) Error

func (*CreateNamespaceInternalServerError) GetPayload

type CreateNamespaceParams

type CreateNamespaceParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  A map representing a namespace with SimpleStrategy or NetworkTopologyStrategy with default replicas of 1 and 3 respectively
	Simple:
	“`json
	{ "name": "killrvideo", "replicas": 1 }
	““
	Network Topology:
	“`json
	{
	  "name": "killrvideo",
	   "datacenters":
	      [
	         { "name": "dc1", "replicas": 3 },
	         { "name": "dc2", "replicas": 3 },
	      ],
	}
	“`

	*/
	Body string

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

CreateNamespaceParams contains all the parameters to send to the API endpoint for the create namespace operation typically these are written to a http.Request

func NewCreateNamespaceParams

func NewCreateNamespaceParams() *CreateNamespaceParams

NewCreateNamespaceParams creates a new CreateNamespaceParams object with the default values initialized.

func NewCreateNamespaceParamsWithContext

func NewCreateNamespaceParamsWithContext(ctx context.Context) *CreateNamespaceParams

NewCreateNamespaceParamsWithContext creates a new CreateNamespaceParams object with the default values initialized, and the ability to set a context for a request

func NewCreateNamespaceParamsWithHTTPClient

func NewCreateNamespaceParamsWithHTTPClient(client *http.Client) *CreateNamespaceParams

NewCreateNamespaceParamsWithHTTPClient creates a new CreateNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateNamespaceParamsWithTimeout

func NewCreateNamespaceParamsWithTimeout(timeout time.Duration) *CreateNamespaceParams

NewCreateNamespaceParamsWithTimeout creates a new CreateNamespaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateNamespaceParams) SetBody

func (o *CreateNamespaceParams) SetBody(body string)

SetBody adds the body to the create namespace params

func (*CreateNamespaceParams) SetContext

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

SetContext adds the context to the create namespace params

func (*CreateNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create namespace params

func (*CreateNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the create namespace params

func (*CreateNamespaceParams) SetXCassandraToken

func (o *CreateNamespaceParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the create namespace params

func (*CreateNamespaceParams) WithBody

WithBody adds the body to the create namespace params

func (*CreateNamespaceParams) WithContext

WithContext adds the context to the create namespace params

func (*CreateNamespaceParams) WithHTTPClient

func (o *CreateNamespaceParams) WithHTTPClient(client *http.Client) *CreateNamespaceParams

WithHTTPClient adds the HTTPClient to the create namespace params

func (*CreateNamespaceParams) WithTimeout

func (o *CreateNamespaceParams) WithTimeout(timeout time.Duration) *CreateNamespaceParams

WithTimeout adds the timeout to the create namespace params

func (*CreateNamespaceParams) WithXCassandraToken

func (o *CreateNamespaceParams) WithXCassandraToken(xCassandraToken string) *CreateNamespaceParams

WithXCassandraToken adds the xCassandraToken to the create namespace params

func (*CreateNamespaceParams) WriteToRequest

func (o *CreateNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateNamespaceReader

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

CreateNamespaceReader is a Reader for the CreateNamespace structure.

func (*CreateNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNamespaceUnauthorized

type CreateNamespaceUnauthorized struct {
}

CreateNamespaceUnauthorized handles this case with default header values.

Unauthorized

func NewCreateNamespaceUnauthorized

func NewCreateNamespaceUnauthorized() *CreateNamespaceUnauthorized

NewCreateNamespaceUnauthorized creates a CreateNamespaceUnauthorized with default headers values

func (*CreateNamespaceUnauthorized) Error

type DeleteCollectionInternalServerError

type DeleteCollectionInternalServerError struct {
	Payload *models.Error
}

DeleteCollectionInternalServerError handles this case with default header values.

Internal server error

func NewDeleteCollectionInternalServerError

func NewDeleteCollectionInternalServerError() *DeleteCollectionInternalServerError

NewDeleteCollectionInternalServerError creates a DeleteCollectionInternalServerError with default headers values

func (*DeleteCollectionInternalServerError) Error

func (*DeleteCollectionInternalServerError) GetPayload

type DeleteCollectionNoContent

type DeleteCollectionNoContent struct {
}

DeleteCollectionNoContent handles this case with default header values.

No Content

func NewDeleteCollectionNoContent

func NewDeleteCollectionNoContent() *DeleteCollectionNoContent

NewDeleteCollectionNoContent creates a DeleteCollectionNoContent with default headers values

func (*DeleteCollectionNoContent) Error

func (o *DeleteCollectionNoContent) Error() string

type DeleteCollectionNotFound

type DeleteCollectionNotFound struct {
}

DeleteCollectionNotFound handles this case with default header values.

Not Found

func NewDeleteCollectionNotFound

func NewDeleteCollectionNotFound() *DeleteCollectionNotFound

NewDeleteCollectionNotFound creates a DeleteCollectionNotFound with default headers values

func (*DeleteCollectionNotFound) Error

func (o *DeleteCollectionNotFound) Error() string

type DeleteCollectionParams

type DeleteCollectionParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*CollectionID
	  the collection to delete

	*/
	CollectionID string
	/*NamespaceID
	  the namespace containing the collection to delete

	*/
	NamespaceID string

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

DeleteCollectionParams contains all the parameters to send to the API endpoint for the delete collection operation typically these are written to a http.Request

func NewDeleteCollectionParams

func NewDeleteCollectionParams() *DeleteCollectionParams

NewDeleteCollectionParams creates a new DeleteCollectionParams object with the default values initialized.

func NewDeleteCollectionParamsWithContext

func NewDeleteCollectionParamsWithContext(ctx context.Context) *DeleteCollectionParams

NewDeleteCollectionParamsWithContext creates a new DeleteCollectionParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCollectionParamsWithHTTPClient

func NewDeleteCollectionParamsWithHTTPClient(client *http.Client) *DeleteCollectionParams

NewDeleteCollectionParamsWithHTTPClient creates a new DeleteCollectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCollectionParamsWithTimeout

func NewDeleteCollectionParamsWithTimeout(timeout time.Duration) *DeleteCollectionParams

NewDeleteCollectionParamsWithTimeout creates a new DeleteCollectionParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCollectionParams) SetCollectionID

func (o *DeleteCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the delete collection params

func (*DeleteCollectionParams) SetContext

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

SetContext adds the context to the delete collection params

func (*DeleteCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete collection params

func (*DeleteCollectionParams) SetNamespaceID

func (o *DeleteCollectionParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the delete collection params

func (*DeleteCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete collection params

func (*DeleteCollectionParams) SetXCassandraToken

func (o *DeleteCollectionParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the delete collection params

func (*DeleteCollectionParams) WithCollectionID

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

WithCollectionID adds the collectionID to the delete collection params

func (*DeleteCollectionParams) WithContext

WithContext adds the context to the delete collection params

func (*DeleteCollectionParams) WithHTTPClient

func (o *DeleteCollectionParams) WithHTTPClient(client *http.Client) *DeleteCollectionParams

WithHTTPClient adds the HTTPClient to the delete collection params

func (*DeleteCollectionParams) WithNamespaceID

func (o *DeleteCollectionParams) WithNamespaceID(namespaceID string) *DeleteCollectionParams

WithNamespaceID adds the namespaceID to the delete collection params

func (*DeleteCollectionParams) WithTimeout

WithTimeout adds the timeout to the delete collection params

func (*DeleteCollectionParams) WithXCassandraToken

func (o *DeleteCollectionParams) WithXCassandraToken(xCassandraToken string) *DeleteCollectionParams

WithXCassandraToken adds the xCassandraToken to the delete collection params

func (*DeleteCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCollectionReader

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

DeleteCollectionReader is a Reader for the DeleteCollection structure.

func (*DeleteCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCollectionUnauthorized

type DeleteCollectionUnauthorized struct {
}

DeleteCollectionUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteCollectionUnauthorized

func NewDeleteCollectionUnauthorized() *DeleteCollectionUnauthorized

NewDeleteCollectionUnauthorized creates a DeleteCollectionUnauthorized with default headers values

func (*DeleteCollectionUnauthorized) Error

type DeleteDocForbidden

type DeleteDocForbidden struct {
}

DeleteDocForbidden handles this case with default header values.

Forbidden

func NewDeleteDocForbidden

func NewDeleteDocForbidden() *DeleteDocForbidden

NewDeleteDocForbidden creates a DeleteDocForbidden with default headers values

func (*DeleteDocForbidden) Error

func (o *DeleteDocForbidden) Error() string

type DeleteDocInternalServerError

type DeleteDocInternalServerError struct {
	Payload *models.Error
}

DeleteDocInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteDocInternalServerError

func NewDeleteDocInternalServerError() *DeleteDocInternalServerError

NewDeleteDocInternalServerError creates a DeleteDocInternalServerError with default headers values

func (*DeleteDocInternalServerError) Error

func (*DeleteDocInternalServerError) GetPayload

func (o *DeleteDocInternalServerError) GetPayload() *models.Error

type DeleteDocNoContent

type DeleteDocNoContent struct {
}

DeleteDocNoContent handles this case with default header values.

No Content

func NewDeleteDocNoContent

func NewDeleteDocNoContent() *DeleteDocNoContent

NewDeleteDocNoContent creates a DeleteDocNoContent with default headers values

func (*DeleteDocNoContent) Error

func (o *DeleteDocNoContent) Error() string

type DeleteDocParams

type DeleteDocParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string

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

DeleteDocParams contains all the parameters to send to the API endpoint for the delete doc operation typically these are written to a http.Request

func NewDeleteDocParams

func NewDeleteDocParams() *DeleteDocParams

NewDeleteDocParams creates a new DeleteDocParams object with the default values initialized.

func NewDeleteDocParamsWithContext

func NewDeleteDocParamsWithContext(ctx context.Context) *DeleteDocParams

NewDeleteDocParamsWithContext creates a new DeleteDocParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDocParamsWithHTTPClient

func NewDeleteDocParamsWithHTTPClient(client *http.Client) *DeleteDocParams

NewDeleteDocParamsWithHTTPClient creates a new DeleteDocParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDocParamsWithTimeout

func NewDeleteDocParamsWithTimeout(timeout time.Duration) *DeleteDocParams

NewDeleteDocParamsWithTimeout creates a new DeleteDocParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDocParams) SetCollectionID

func (o *DeleteDocParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the delete doc params

func (*DeleteDocParams) SetContext

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

SetContext adds the context to the delete doc params

func (*DeleteDocParams) SetDocumentID

func (o *DeleteDocParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the delete doc params

func (*DeleteDocParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete doc params

func (*DeleteDocParams) SetNamespaceID

func (o *DeleteDocParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the delete doc params

func (*DeleteDocParams) SetTimeout

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

SetTimeout adds the timeout to the delete doc params

func (*DeleteDocParams) SetXCassandraToken

func (o *DeleteDocParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the delete doc params

func (*DeleteDocParams) WithCollectionID

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

WithCollectionID adds the collectionID to the delete doc params

func (*DeleteDocParams) WithContext

func (o *DeleteDocParams) WithContext(ctx context.Context) *DeleteDocParams

WithContext adds the context to the delete doc params

func (*DeleteDocParams) WithDocumentID

func (o *DeleteDocParams) WithDocumentID(documentID string) *DeleteDocParams

WithDocumentID adds the documentID to the delete doc params

func (*DeleteDocParams) WithHTTPClient

func (o *DeleteDocParams) WithHTTPClient(client *http.Client) *DeleteDocParams

WithHTTPClient adds the HTTPClient to the delete doc params

func (*DeleteDocParams) WithNamespaceID

func (o *DeleteDocParams) WithNamespaceID(namespaceID string) *DeleteDocParams

WithNamespaceID adds the namespaceID to the delete doc params

func (*DeleteDocParams) WithTimeout

func (o *DeleteDocParams) WithTimeout(timeout time.Duration) *DeleteDocParams

WithTimeout adds the timeout to the delete doc params

func (*DeleteDocParams) WithXCassandraToken

func (o *DeleteDocParams) WithXCassandraToken(xCassandraToken string) *DeleteDocParams

WithXCassandraToken adds the xCassandraToken to the delete doc params

func (*DeleteDocParams) WriteToRequest

func (o *DeleteDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteDocPathForbidden

type DeleteDocPathForbidden struct {
}

DeleteDocPathForbidden handles this case with default header values.

Forbidden

func NewDeleteDocPathForbidden

func NewDeleteDocPathForbidden() *DeleteDocPathForbidden

NewDeleteDocPathForbidden creates a DeleteDocPathForbidden with default headers values

func (*DeleteDocPathForbidden) Error

func (o *DeleteDocPathForbidden) Error() string

type DeleteDocPathInternalServerError

type DeleteDocPathInternalServerError struct {
	Payload *models.Error
}

DeleteDocPathInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteDocPathInternalServerError

func NewDeleteDocPathInternalServerError() *DeleteDocPathInternalServerError

NewDeleteDocPathInternalServerError creates a DeleteDocPathInternalServerError with default headers values

func (*DeleteDocPathInternalServerError) Error

func (*DeleteDocPathInternalServerError) GetPayload

type DeleteDocPathNoContent

type DeleteDocPathNoContent struct {
}

DeleteDocPathNoContent handles this case with default header values.

No Content

func NewDeleteDocPathNoContent

func NewDeleteDocPathNoContent() *DeleteDocPathNoContent

NewDeleteDocPathNoContent creates a DeleteDocPathNoContent with default headers values

func (*DeleteDocPathNoContent) Error

func (o *DeleteDocPathNoContent) Error() string

type DeleteDocPathParams

type DeleteDocPathParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*DocumentPath
	  the path in the JSON that you want to retrieve

	*/
	DocumentPath []string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string

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

DeleteDocPathParams contains all the parameters to send to the API endpoint for the delete doc path operation typically these are written to a http.Request

func NewDeleteDocPathParams

func NewDeleteDocPathParams() *DeleteDocPathParams

NewDeleteDocPathParams creates a new DeleteDocPathParams object with the default values initialized.

func NewDeleteDocPathParamsWithContext

func NewDeleteDocPathParamsWithContext(ctx context.Context) *DeleteDocPathParams

NewDeleteDocPathParamsWithContext creates a new DeleteDocPathParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDocPathParamsWithHTTPClient

func NewDeleteDocPathParamsWithHTTPClient(client *http.Client) *DeleteDocPathParams

NewDeleteDocPathParamsWithHTTPClient creates a new DeleteDocPathParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDocPathParamsWithTimeout

func NewDeleteDocPathParamsWithTimeout(timeout time.Duration) *DeleteDocPathParams

NewDeleteDocPathParamsWithTimeout creates a new DeleteDocPathParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDocPathParams) SetCollectionID

func (o *DeleteDocPathParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the delete doc path params

func (*DeleteDocPathParams) SetContext

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

SetContext adds the context to the delete doc path params

func (*DeleteDocPathParams) SetDocumentID

func (o *DeleteDocPathParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the delete doc path params

func (*DeleteDocPathParams) SetDocumentPath

func (o *DeleteDocPathParams) SetDocumentPath(documentPath []string)

SetDocumentPath adds the documentPath to the delete doc path params

func (*DeleteDocPathParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete doc path params

func (*DeleteDocPathParams) SetNamespaceID

func (o *DeleteDocPathParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the delete doc path params

func (*DeleteDocPathParams) SetTimeout

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

SetTimeout adds the timeout to the delete doc path params

func (*DeleteDocPathParams) SetXCassandraToken

func (o *DeleteDocPathParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the delete doc path params

func (*DeleteDocPathParams) WithCollectionID

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

WithCollectionID adds the collectionID to the delete doc path params

func (*DeleteDocPathParams) WithContext

WithContext adds the context to the delete doc path params

func (*DeleteDocPathParams) WithDocumentID

func (o *DeleteDocPathParams) WithDocumentID(documentID string) *DeleteDocPathParams

WithDocumentID adds the documentID to the delete doc path params

func (*DeleteDocPathParams) WithDocumentPath

func (o *DeleteDocPathParams) WithDocumentPath(documentPath []string) *DeleteDocPathParams

WithDocumentPath adds the documentPath to the delete doc path params

func (*DeleteDocPathParams) WithHTTPClient

func (o *DeleteDocPathParams) WithHTTPClient(client *http.Client) *DeleteDocPathParams

WithHTTPClient adds the HTTPClient to the delete doc path params

func (*DeleteDocPathParams) WithNamespaceID

func (o *DeleteDocPathParams) WithNamespaceID(namespaceID string) *DeleteDocPathParams

WithNamespaceID adds the namespaceID to the delete doc path params

func (*DeleteDocPathParams) WithTimeout

func (o *DeleteDocPathParams) WithTimeout(timeout time.Duration) *DeleteDocPathParams

WithTimeout adds the timeout to the delete doc path params

func (*DeleteDocPathParams) WithXCassandraToken

func (o *DeleteDocPathParams) WithXCassandraToken(xCassandraToken string) *DeleteDocPathParams

WithXCassandraToken adds the xCassandraToken to the delete doc path params

func (*DeleteDocPathParams) WriteToRequest

func (o *DeleteDocPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteDocPathReader

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

DeleteDocPathReader is a Reader for the DeleteDocPath structure.

func (*DeleteDocPathReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDocPathUnauthorized

type DeleteDocPathUnauthorized struct {
}

DeleteDocPathUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteDocPathUnauthorized

func NewDeleteDocPathUnauthorized() *DeleteDocPathUnauthorized

NewDeleteDocPathUnauthorized creates a DeleteDocPathUnauthorized with default headers values

func (*DeleteDocPathUnauthorized) Error

func (o *DeleteDocPathUnauthorized) Error() string

type DeleteDocReader

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

DeleteDocReader is a Reader for the DeleteDoc structure.

func (*DeleteDocReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDocUnauthorized

type DeleteDocUnauthorized struct {
}

DeleteDocUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteDocUnauthorized

func NewDeleteDocUnauthorized() *DeleteDocUnauthorized

NewDeleteDocUnauthorized creates a DeleteDocUnauthorized with default headers values

func (*DeleteDocUnauthorized) Error

func (o *DeleteDocUnauthorized) Error() string

type DeleteNamespaceInternalServerError

type DeleteNamespaceInternalServerError struct {
	Payload *models.Error
}

DeleteNamespaceInternalServerError handles this case with default header values.

Internal server error

func NewDeleteNamespaceInternalServerError

func NewDeleteNamespaceInternalServerError() *DeleteNamespaceInternalServerError

NewDeleteNamespaceInternalServerError creates a DeleteNamespaceInternalServerError with default headers values

func (*DeleteNamespaceInternalServerError) Error

func (*DeleteNamespaceInternalServerError) GetPayload

type DeleteNamespaceNoContent

type DeleteNamespaceNoContent struct {
}

DeleteNamespaceNoContent handles this case with default header values.

No Content

func NewDeleteNamespaceNoContent

func NewDeleteNamespaceNoContent() *DeleteNamespaceNoContent

NewDeleteNamespaceNoContent creates a DeleteNamespaceNoContent with default headers values

func (*DeleteNamespaceNoContent) Error

func (o *DeleteNamespaceNoContent) Error() string

type DeleteNamespaceParams

type DeleteNamespaceParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*NamespaceID
	  Name of the namespace to use for the request.

	*/
	NamespaceID string

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

DeleteNamespaceParams contains all the parameters to send to the API endpoint for the delete namespace operation typically these are written to a http.Request

func NewDeleteNamespaceParams

func NewDeleteNamespaceParams() *DeleteNamespaceParams

NewDeleteNamespaceParams creates a new DeleteNamespaceParams object with the default values initialized.

func NewDeleteNamespaceParamsWithContext

func NewDeleteNamespaceParamsWithContext(ctx context.Context) *DeleteNamespaceParams

NewDeleteNamespaceParamsWithContext creates a new DeleteNamespaceParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteNamespaceParamsWithHTTPClient

func NewDeleteNamespaceParamsWithHTTPClient(client *http.Client) *DeleteNamespaceParams

NewDeleteNamespaceParamsWithHTTPClient creates a new DeleteNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteNamespaceParamsWithTimeout

func NewDeleteNamespaceParamsWithTimeout(timeout time.Duration) *DeleteNamespaceParams

NewDeleteNamespaceParamsWithTimeout creates a new DeleteNamespaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteNamespaceParams) SetContext

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

SetContext adds the context to the delete namespace params

func (*DeleteNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) SetNamespaceID

func (o *DeleteNamespaceParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the delete namespace params

func (*DeleteNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete namespace params

func (*DeleteNamespaceParams) SetXCassandraToken

func (o *DeleteNamespaceParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the delete namespace params

func (*DeleteNamespaceParams) WithContext

WithContext adds the context to the delete namespace params

func (*DeleteNamespaceParams) WithHTTPClient

func (o *DeleteNamespaceParams) WithHTTPClient(client *http.Client) *DeleteNamespaceParams

WithHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) WithNamespaceID

func (o *DeleteNamespaceParams) WithNamespaceID(namespaceID string) *DeleteNamespaceParams

WithNamespaceID adds the namespaceID to the delete namespace params

func (*DeleteNamespaceParams) WithTimeout

func (o *DeleteNamespaceParams) WithTimeout(timeout time.Duration) *DeleteNamespaceParams

WithTimeout adds the timeout to the delete namespace params

func (*DeleteNamespaceParams) WithXCassandraToken

func (o *DeleteNamespaceParams) WithXCassandraToken(xCassandraToken string) *DeleteNamespaceParams

WithXCassandraToken adds the xCassandraToken to the delete namespace params

func (*DeleteNamespaceParams) WriteToRequest

func (o *DeleteNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteNamespaceReader

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

DeleteNamespaceReader is a Reader for the DeleteNamespace structure.

func (*DeleteNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNamespaceUnauthorized

type DeleteNamespaceUnauthorized struct {
}

DeleteNamespaceUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteNamespaceUnauthorized

func NewDeleteNamespaceUnauthorized() *DeleteNamespaceUnauthorized

NewDeleteNamespaceUnauthorized creates a DeleteNamespaceUnauthorized with default headers values

func (*DeleteNamespaceUnauthorized) Error

type GetAllNamespacesInternalServerError

type GetAllNamespacesInternalServerError struct {
	Payload *models.Error
}

GetAllNamespacesInternalServerError handles this case with default header values.

Internal server error

func NewGetAllNamespacesInternalServerError

func NewGetAllNamespacesInternalServerError() *GetAllNamespacesInternalServerError

NewGetAllNamespacesInternalServerError creates a GetAllNamespacesInternalServerError with default headers values

func (*GetAllNamespacesInternalServerError) Error

func (*GetAllNamespacesInternalServerError) GetPayload

type GetAllNamespacesOK

type GetAllNamespacesOK struct {
	Payload *models.ResponseWrapper
}

GetAllNamespacesOK handles this case with default header values.

OK

func NewGetAllNamespacesOK

func NewGetAllNamespacesOK() *GetAllNamespacesOK

NewGetAllNamespacesOK creates a GetAllNamespacesOK with default headers values

func (*GetAllNamespacesOK) Error

func (o *GetAllNamespacesOK) Error() string

func (*GetAllNamespacesOK) GetPayload

func (o *GetAllNamespacesOK) GetPayload() *models.ResponseWrapper

type GetAllNamespacesParams

type GetAllNamespacesParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Raw
	  Unwrap results

	*/
	Raw *bool

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

GetAllNamespacesParams contains all the parameters to send to the API endpoint for the get all namespaces operation typically these are written to a http.Request

func NewGetAllNamespacesParams

func NewGetAllNamespacesParams() *GetAllNamespacesParams

NewGetAllNamespacesParams creates a new GetAllNamespacesParams object with the default values initialized.

func NewGetAllNamespacesParamsWithContext

func NewGetAllNamespacesParamsWithContext(ctx context.Context) *GetAllNamespacesParams

NewGetAllNamespacesParamsWithContext creates a new GetAllNamespacesParams object with the default values initialized, and the ability to set a context for a request

func NewGetAllNamespacesParamsWithHTTPClient

func NewGetAllNamespacesParamsWithHTTPClient(client *http.Client) *GetAllNamespacesParams

NewGetAllNamespacesParamsWithHTTPClient creates a new GetAllNamespacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAllNamespacesParamsWithTimeout

func NewGetAllNamespacesParamsWithTimeout(timeout time.Duration) *GetAllNamespacesParams

NewGetAllNamespacesParamsWithTimeout creates a new GetAllNamespacesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAllNamespacesParams) SetContext

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

SetContext adds the context to the get all namespaces params

func (*GetAllNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all namespaces params

func (*GetAllNamespacesParams) SetRaw

func (o *GetAllNamespacesParams) SetRaw(raw *bool)

SetRaw adds the raw to the get all namespaces params

func (*GetAllNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the get all namespaces params

func (*GetAllNamespacesParams) SetXCassandraToken

func (o *GetAllNamespacesParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the get all namespaces params

func (*GetAllNamespacesParams) WithContext

WithContext adds the context to the get all namespaces params

func (*GetAllNamespacesParams) WithHTTPClient

func (o *GetAllNamespacesParams) WithHTTPClient(client *http.Client) *GetAllNamespacesParams

WithHTTPClient adds the HTTPClient to the get all namespaces params

func (*GetAllNamespacesParams) WithRaw

WithRaw adds the raw to the get all namespaces params

func (*GetAllNamespacesParams) WithTimeout

WithTimeout adds the timeout to the get all namespaces params

func (*GetAllNamespacesParams) WithXCassandraToken

func (o *GetAllNamespacesParams) WithXCassandraToken(xCassandraToken string) *GetAllNamespacesParams

WithXCassandraToken adds the xCassandraToken to the get all namespaces params

func (*GetAllNamespacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllNamespacesReader

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

GetAllNamespacesReader is a Reader for the GetAllNamespaces structure.

func (*GetAllNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllNamespacesUnauthorized

type GetAllNamespacesUnauthorized struct {
}

GetAllNamespacesUnauthorized handles this case with default header values.

Unauthorized

func NewGetAllNamespacesUnauthorized

func NewGetAllNamespacesUnauthorized() *GetAllNamespacesUnauthorized

NewGetAllNamespacesUnauthorized creates a GetAllNamespacesUnauthorized with default headers values

func (*GetAllNamespacesUnauthorized) Error

type GetCollectionsInternalServerError

type GetCollectionsInternalServerError struct {
	Payload *models.Error
}

GetCollectionsInternalServerError handles this case with default header values.

Internal server error

func NewGetCollectionsInternalServerError

func NewGetCollectionsInternalServerError() *GetCollectionsInternalServerError

NewGetCollectionsInternalServerError creates a GetCollectionsInternalServerError with default headers values

func (*GetCollectionsInternalServerError) Error

func (*GetCollectionsInternalServerError) GetPayload

type GetCollectionsOK

type GetCollectionsOK struct {
	Payload *models.ResponseWrapper
}

GetCollectionsOK handles this case with default header values.

OK

func NewGetCollectionsOK

func NewGetCollectionsOK() *GetCollectionsOK

NewGetCollectionsOK creates a GetCollectionsOK with default headers values

func (*GetCollectionsOK) Error

func (o *GetCollectionsOK) Error() string

func (*GetCollectionsOK) GetPayload

func (o *GetCollectionsOK) GetPayload() *models.ResponseWrapper

type GetCollectionsParams

type GetCollectionsParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*NamespaceID
	  the namespace to fetch collections for

	*/
	NamespaceID string
	/*Raw
	  Unwrap results

	*/
	Raw *bool

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

GetCollectionsParams contains all the parameters to send to the API endpoint for the get collections operation typically these are written to a http.Request

func NewGetCollectionsParams

func NewGetCollectionsParams() *GetCollectionsParams

NewGetCollectionsParams creates a new GetCollectionsParams object with the default values initialized.

func NewGetCollectionsParamsWithContext

func NewGetCollectionsParamsWithContext(ctx context.Context) *GetCollectionsParams

NewGetCollectionsParamsWithContext creates a new GetCollectionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetCollectionsParamsWithHTTPClient

func NewGetCollectionsParamsWithHTTPClient(client *http.Client) *GetCollectionsParams

NewGetCollectionsParamsWithHTTPClient creates a new GetCollectionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCollectionsParamsWithTimeout

func NewGetCollectionsParamsWithTimeout(timeout time.Duration) *GetCollectionsParams

NewGetCollectionsParamsWithTimeout creates a new GetCollectionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCollectionsParams) SetContext

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

SetContext adds the context to the get collections params

func (*GetCollectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get collections params

func (*GetCollectionsParams) SetNamespaceID

func (o *GetCollectionsParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the get collections params

func (*GetCollectionsParams) SetRaw

func (o *GetCollectionsParams) SetRaw(raw *bool)

SetRaw adds the raw to the get collections params

func (*GetCollectionsParams) SetTimeout

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

SetTimeout adds the timeout to the get collections params

func (*GetCollectionsParams) SetXCassandraToken

func (o *GetCollectionsParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the get collections params

func (*GetCollectionsParams) WithContext

WithContext adds the context to the get collections params

func (*GetCollectionsParams) WithHTTPClient

func (o *GetCollectionsParams) WithHTTPClient(client *http.Client) *GetCollectionsParams

WithHTTPClient adds the HTTPClient to the get collections params

func (*GetCollectionsParams) WithNamespaceID

func (o *GetCollectionsParams) WithNamespaceID(namespaceID string) *GetCollectionsParams

WithNamespaceID adds the namespaceID to the get collections params

func (*GetCollectionsParams) WithRaw

WithRaw adds the raw to the get collections params

func (*GetCollectionsParams) WithTimeout

func (o *GetCollectionsParams) WithTimeout(timeout time.Duration) *GetCollectionsParams

WithTimeout adds the timeout to the get collections params

func (*GetCollectionsParams) WithXCassandraToken

func (o *GetCollectionsParams) WithXCassandraToken(xCassandraToken string) *GetCollectionsParams

WithXCassandraToken adds the xCassandraToken to the get collections params

func (*GetCollectionsParams) WriteToRequest

func (o *GetCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCollectionsReader

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

GetCollectionsReader is a Reader for the GetCollections structure.

func (*GetCollectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCollectionsUnauthorized

type GetCollectionsUnauthorized struct {
}

GetCollectionsUnauthorized handles this case with default header values.

Unauthorized

func NewGetCollectionsUnauthorized

func NewGetCollectionsUnauthorized() *GetCollectionsUnauthorized

NewGetCollectionsUnauthorized creates a GetCollectionsUnauthorized with default headers values

func (*GetCollectionsUnauthorized) Error

type GetDocBadRequest

type GetDocBadRequest struct {
}

GetDocBadRequest handles this case with default header values.

Bad Request

func NewGetDocBadRequest

func NewGetDocBadRequest() *GetDocBadRequest

NewGetDocBadRequest creates a GetDocBadRequest with default headers values

func (*GetDocBadRequest) Error

func (o *GetDocBadRequest) Error() string

type GetDocForbidden

type GetDocForbidden struct {
}

GetDocForbidden handles this case with default header values.

Forbidden

func NewGetDocForbidden

func NewGetDocForbidden() *GetDocForbidden

NewGetDocForbidden creates a GetDocForbidden with default headers values

func (*GetDocForbidden) Error

func (o *GetDocForbidden) Error() string

type GetDocInternalServerError

type GetDocInternalServerError struct {
	Payload *models.Error
}

GetDocInternalServerError handles this case with default header values.

Internal Server Error

func NewGetDocInternalServerError

func NewGetDocInternalServerError() *GetDocInternalServerError

NewGetDocInternalServerError creates a GetDocInternalServerError with default headers values

func (*GetDocInternalServerError) Error

func (o *GetDocInternalServerError) Error() string

func (*GetDocInternalServerError) GetPayload

func (o *GetDocInternalServerError) GetPayload() *models.Error

type GetDocNoContent

type GetDocNoContent struct {
}

GetDocNoContent handles this case with default header values.

No Content

func NewGetDocNoContent

func NewGetDocNoContent() *GetDocNoContent

NewGetDocNoContent creates a GetDocNoContent with default headers values

func (*GetDocNoContent) Error

func (o *GetDocNoContent) Error() string

type GetDocOK

type GetDocOK struct {
	Payload *models.DocumentResponseWrapper
}

GetDocOK handles this case with default header values.

OK

func NewGetDocOK

func NewGetDocOK() *GetDocOK

NewGetDocOK creates a GetDocOK with default headers values

func (*GetDocOK) Error

func (o *GetDocOK) Error() string

func (*GetDocOK) GetPayload

func (o *GetDocOK) GetPayload() *models.DocumentResponseWrapper

type GetDocParams

type GetDocParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*Fields
	  the field names that you want to restrict the results to

	*/
	Fields *string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string
	/*PageSize
	  the max number of results to return, if `where` is defined.

	*/
	PageSize *int32
	/*PageState
	  Cassandra page state, used for pagination on consecutive requests

	*/
	PageState *string
	/*Raw
	  Unwrap results

	*/
	Raw *bool
	/*Where
	  a JSON blob with search filters, allowed operators: $eq, $ne, $in, $nin, $gt, $lt, $gte, $lte, $exists

	*/
	Where *string

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

GetDocParams contains all the parameters to send to the API endpoint for the get doc operation typically these are written to a http.Request

func NewGetDocParams

func NewGetDocParams() *GetDocParams

NewGetDocParams creates a new GetDocParams object with the default values initialized.

func NewGetDocParamsWithContext

func NewGetDocParamsWithContext(ctx context.Context) *GetDocParams

NewGetDocParamsWithContext creates a new GetDocParams object with the default values initialized, and the ability to set a context for a request

func NewGetDocParamsWithHTTPClient

func NewGetDocParamsWithHTTPClient(client *http.Client) *GetDocParams

NewGetDocParamsWithHTTPClient creates a new GetDocParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDocParamsWithTimeout

func NewGetDocParamsWithTimeout(timeout time.Duration) *GetDocParams

NewGetDocParamsWithTimeout creates a new GetDocParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDocParams) SetCollectionID

func (o *GetDocParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the get doc params

func (*GetDocParams) SetContext

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

SetContext adds the context to the get doc params

func (*GetDocParams) SetDocumentID

func (o *GetDocParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the get doc params

func (*GetDocParams) SetFields

func (o *GetDocParams) SetFields(fields *string)

SetFields adds the fields to the get doc params

func (*GetDocParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get doc params

func (*GetDocParams) SetNamespaceID

func (o *GetDocParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the get doc params

func (*GetDocParams) SetPageSize

func (o *GetDocParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get doc params

func (*GetDocParams) SetPageState

func (o *GetDocParams) SetPageState(pageState *string)

SetPageState adds the pageState to the get doc params

func (*GetDocParams) SetRaw

func (o *GetDocParams) SetRaw(raw *bool)

SetRaw adds the raw to the get doc params

func (*GetDocParams) SetTimeout

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

SetTimeout adds the timeout to the get doc params

func (*GetDocParams) SetWhere

func (o *GetDocParams) SetWhere(where *string)

SetWhere adds the where to the get doc params

func (*GetDocParams) SetXCassandraToken

func (o *GetDocParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the get doc params

func (*GetDocParams) WithCollectionID

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

WithCollectionID adds the collectionID to the get doc params

func (*GetDocParams) WithContext

func (o *GetDocParams) WithContext(ctx context.Context) *GetDocParams

WithContext adds the context to the get doc params

func (*GetDocParams) WithDocumentID

func (o *GetDocParams) WithDocumentID(documentID string) *GetDocParams

WithDocumentID adds the documentID to the get doc params

func (*GetDocParams) WithFields

func (o *GetDocParams) WithFields(fields *string) *GetDocParams

WithFields adds the fields to the get doc params

func (*GetDocParams) WithHTTPClient

func (o *GetDocParams) WithHTTPClient(client *http.Client) *GetDocParams

WithHTTPClient adds the HTTPClient to the get doc params

func (*GetDocParams) WithNamespaceID

func (o *GetDocParams) WithNamespaceID(namespaceID string) *GetDocParams

WithNamespaceID adds the namespaceID to the get doc params

func (*GetDocParams) WithPageSize

func (o *GetDocParams) WithPageSize(pageSize *int32) *GetDocParams

WithPageSize adds the pageSize to the get doc params

func (*GetDocParams) WithPageState

func (o *GetDocParams) WithPageState(pageState *string) *GetDocParams

WithPageState adds the pageState to the get doc params

func (*GetDocParams) WithRaw

func (o *GetDocParams) WithRaw(raw *bool) *GetDocParams

WithRaw adds the raw to the get doc params

func (*GetDocParams) WithTimeout

func (o *GetDocParams) WithTimeout(timeout time.Duration) *GetDocParams

WithTimeout adds the timeout to the get doc params

func (*GetDocParams) WithWhere

func (o *GetDocParams) WithWhere(where *string) *GetDocParams

WithWhere adds the where to the get doc params

func (*GetDocParams) WithXCassandraToken

func (o *GetDocParams) WithXCassandraToken(xCassandraToken string) *GetDocParams

WithXCassandraToken adds the xCassandraToken to the get doc params

func (*GetDocParams) WriteToRequest

func (o *GetDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDocPathBadRequest

type GetDocPathBadRequest struct {
}

GetDocPathBadRequest handles this case with default header values.

Bad Request

func NewGetDocPathBadRequest

func NewGetDocPathBadRequest() *GetDocPathBadRequest

NewGetDocPathBadRequest creates a GetDocPathBadRequest with default headers values

func (*GetDocPathBadRequest) Error

func (o *GetDocPathBadRequest) Error() string

type GetDocPathForbidden

type GetDocPathForbidden struct {
}

GetDocPathForbidden handles this case with default header values.

Forbidden

func NewGetDocPathForbidden

func NewGetDocPathForbidden() *GetDocPathForbidden

NewGetDocPathForbidden creates a GetDocPathForbidden with default headers values

func (*GetDocPathForbidden) Error

func (o *GetDocPathForbidden) Error() string

type GetDocPathInternalServerError

type GetDocPathInternalServerError struct {
	Payload *models.Error
}

GetDocPathInternalServerError handles this case with default header values.

Internal Server Error

func NewGetDocPathInternalServerError

func NewGetDocPathInternalServerError() *GetDocPathInternalServerError

NewGetDocPathInternalServerError creates a GetDocPathInternalServerError with default headers values

func (*GetDocPathInternalServerError) Error

func (*GetDocPathInternalServerError) GetPayload

func (o *GetDocPathInternalServerError) GetPayload() *models.Error

type GetDocPathNoContent

type GetDocPathNoContent struct {
}

GetDocPathNoContent handles this case with default header values.

No Content

func NewGetDocPathNoContent

func NewGetDocPathNoContent() *GetDocPathNoContent

NewGetDocPathNoContent creates a GetDocPathNoContent with default headers values

func (*GetDocPathNoContent) Error

func (o *GetDocPathNoContent) Error() string

type GetDocPathOK

type GetDocPathOK struct {
	Payload *models.DocumentResponseWrapper
}

GetDocPathOK handles this case with default header values.

OK

func NewGetDocPathOK

func NewGetDocPathOK() *GetDocPathOK

NewGetDocPathOK creates a GetDocPathOK with default headers values

func (*GetDocPathOK) Error

func (o *GetDocPathOK) Error() string

func (*GetDocPathOK) GetPayload

func (o *GetDocPathOK) GetPayload() *models.DocumentResponseWrapper

type GetDocPathParams

type GetDocPathParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*DocumentPath
	  the path in the JSON that you want to retrieve

	*/
	DocumentPath []string
	/*Fields
	  the field names that you want to restrict the results to

	*/
	Fields *string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string
	/*PageSize
	  the max number of results to return, if `where` is defined

	*/
	PageSize *int32
	/*PageState
	  Cassandra page state, used for pagination on consecutive requests

	*/
	PageState *string
	/*Raw
	  Unwrap results

	*/
	Raw *bool
	/*Where
	  a JSON blob with search filters, allowed operators: $eq, $ne, $in, $nin, $gt, $lt, $gte, $lte, $exists

	*/
	Where *string

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

GetDocPathParams contains all the parameters to send to the API endpoint for the get doc path operation typically these are written to a http.Request

func NewGetDocPathParams

func NewGetDocPathParams() *GetDocPathParams

NewGetDocPathParams creates a new GetDocPathParams object with the default values initialized.

func NewGetDocPathParamsWithContext

func NewGetDocPathParamsWithContext(ctx context.Context) *GetDocPathParams

NewGetDocPathParamsWithContext creates a new GetDocPathParams object with the default values initialized, and the ability to set a context for a request

func NewGetDocPathParamsWithHTTPClient

func NewGetDocPathParamsWithHTTPClient(client *http.Client) *GetDocPathParams

NewGetDocPathParamsWithHTTPClient creates a new GetDocPathParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDocPathParamsWithTimeout

func NewGetDocPathParamsWithTimeout(timeout time.Duration) *GetDocPathParams

NewGetDocPathParamsWithTimeout creates a new GetDocPathParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDocPathParams) SetCollectionID

func (o *GetDocPathParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the get doc path params

func (*GetDocPathParams) SetContext

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

SetContext adds the context to the get doc path params

func (*GetDocPathParams) SetDocumentID

func (o *GetDocPathParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the get doc path params

func (*GetDocPathParams) SetDocumentPath

func (o *GetDocPathParams) SetDocumentPath(documentPath []string)

SetDocumentPath adds the documentPath to the get doc path params

func (*GetDocPathParams) SetFields

func (o *GetDocPathParams) SetFields(fields *string)

SetFields adds the fields to the get doc path params

func (*GetDocPathParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get doc path params

func (*GetDocPathParams) SetNamespaceID

func (o *GetDocPathParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the get doc path params

func (*GetDocPathParams) SetPageSize

func (o *GetDocPathParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get doc path params

func (*GetDocPathParams) SetPageState

func (o *GetDocPathParams) SetPageState(pageState *string)

SetPageState adds the pageState to the get doc path params

func (*GetDocPathParams) SetRaw

func (o *GetDocPathParams) SetRaw(raw *bool)

SetRaw adds the raw to the get doc path params

func (*GetDocPathParams) SetTimeout

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

SetTimeout adds the timeout to the get doc path params

func (*GetDocPathParams) SetWhere

func (o *GetDocPathParams) SetWhere(where *string)

SetWhere adds the where to the get doc path params

func (*GetDocPathParams) SetXCassandraToken

func (o *GetDocPathParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the get doc path params

func (*GetDocPathParams) WithCollectionID

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

WithCollectionID adds the collectionID to the get doc path params

func (*GetDocPathParams) WithContext

func (o *GetDocPathParams) WithContext(ctx context.Context) *GetDocPathParams

WithContext adds the context to the get doc path params

func (*GetDocPathParams) WithDocumentID

func (o *GetDocPathParams) WithDocumentID(documentID string) *GetDocPathParams

WithDocumentID adds the documentID to the get doc path params

func (*GetDocPathParams) WithDocumentPath

func (o *GetDocPathParams) WithDocumentPath(documentPath []string) *GetDocPathParams

WithDocumentPath adds the documentPath to the get doc path params

func (*GetDocPathParams) WithFields

func (o *GetDocPathParams) WithFields(fields *string) *GetDocPathParams

WithFields adds the fields to the get doc path params

func (*GetDocPathParams) WithHTTPClient

func (o *GetDocPathParams) WithHTTPClient(client *http.Client) *GetDocPathParams

WithHTTPClient adds the HTTPClient to the get doc path params

func (*GetDocPathParams) WithNamespaceID

func (o *GetDocPathParams) WithNamespaceID(namespaceID string) *GetDocPathParams

WithNamespaceID adds the namespaceID to the get doc path params

func (*GetDocPathParams) WithPageSize

func (o *GetDocPathParams) WithPageSize(pageSize *int32) *GetDocPathParams

WithPageSize adds the pageSize to the get doc path params

func (*GetDocPathParams) WithPageState

func (o *GetDocPathParams) WithPageState(pageState *string) *GetDocPathParams

WithPageState adds the pageState to the get doc path params

func (*GetDocPathParams) WithRaw

func (o *GetDocPathParams) WithRaw(raw *bool) *GetDocPathParams

WithRaw adds the raw to the get doc path params

func (*GetDocPathParams) WithTimeout

func (o *GetDocPathParams) WithTimeout(timeout time.Duration) *GetDocPathParams

WithTimeout adds the timeout to the get doc path params

func (*GetDocPathParams) WithWhere

func (o *GetDocPathParams) WithWhere(where *string) *GetDocPathParams

WithWhere adds the where to the get doc path params

func (*GetDocPathParams) WithXCassandraToken

func (o *GetDocPathParams) WithXCassandraToken(xCassandraToken string) *GetDocPathParams

WithXCassandraToken adds the xCassandraToken to the get doc path params

func (*GetDocPathParams) WriteToRequest

func (o *GetDocPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDocPathReader

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

GetDocPathReader is a Reader for the GetDocPath structure.

func (*GetDocPathReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDocPathUnauthorized

type GetDocPathUnauthorized struct {
}

GetDocPathUnauthorized handles this case with default header values.

Unauthorized

func NewGetDocPathUnauthorized

func NewGetDocPathUnauthorized() *GetDocPathUnauthorized

NewGetDocPathUnauthorized creates a GetDocPathUnauthorized with default headers values

func (*GetDocPathUnauthorized) Error

func (o *GetDocPathUnauthorized) Error() string

type GetDocReader

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

GetDocReader is a Reader for the GetDoc structure.

func (*GetDocReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDocUnauthorized

type GetDocUnauthorized struct {
}

GetDocUnauthorized handles this case with default header values.

Unauthorized

func NewGetDocUnauthorized

func NewGetDocUnauthorized() *GetDocUnauthorized

NewGetDocUnauthorized creates a GetDocUnauthorized with default headers values

func (*GetDocUnauthorized) Error

func (o *GetDocUnauthorized) Error() string

type GetOneNamespaceBadRequest

type GetOneNamespaceBadRequest struct {
}

GetOneNamespaceBadRequest handles this case with default header values.

Bad Request

func NewGetOneNamespaceBadRequest

func NewGetOneNamespaceBadRequest() *GetOneNamespaceBadRequest

NewGetOneNamespaceBadRequest creates a GetOneNamespaceBadRequest with default headers values

func (*GetOneNamespaceBadRequest) Error

func (o *GetOneNamespaceBadRequest) Error() string

type GetOneNamespaceInternalServerError

type GetOneNamespaceInternalServerError struct {
	Payload *models.Error
}

GetOneNamespaceInternalServerError handles this case with default header values.

Internal server error

func NewGetOneNamespaceInternalServerError

func NewGetOneNamespaceInternalServerError() *GetOneNamespaceInternalServerError

NewGetOneNamespaceInternalServerError creates a GetOneNamespaceInternalServerError with default headers values

func (*GetOneNamespaceInternalServerError) Error

func (*GetOneNamespaceInternalServerError) GetPayload

type GetOneNamespaceNotFound

type GetOneNamespaceNotFound struct {
}

GetOneNamespaceNotFound handles this case with default header values.

Not Found

func NewGetOneNamespaceNotFound

func NewGetOneNamespaceNotFound() *GetOneNamespaceNotFound

NewGetOneNamespaceNotFound creates a GetOneNamespaceNotFound with default headers values

func (*GetOneNamespaceNotFound) Error

func (o *GetOneNamespaceNotFound) Error() string

type GetOneNamespaceOK

type GetOneNamespaceOK struct {
	Payload *models.Keyspace
}

GetOneNamespaceOK handles this case with default header values.

OK

func NewGetOneNamespaceOK

func NewGetOneNamespaceOK() *GetOneNamespaceOK

NewGetOneNamespaceOK creates a GetOneNamespaceOK with default headers values

func (*GetOneNamespaceOK) Error

func (o *GetOneNamespaceOK) Error() string

func (*GetOneNamespaceOK) GetPayload

func (o *GetOneNamespaceOK) GetPayload() *models.Keyspace

type GetOneNamespaceParams

type GetOneNamespaceParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*NamespaceID
	  The namespace to use for the request.

	*/
	NamespaceID string
	/*Raw
	  Unwrap results

	*/
	Raw *bool

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

GetOneNamespaceParams contains all the parameters to send to the API endpoint for the get one namespace operation typically these are written to a http.Request

func NewGetOneNamespaceParams

func NewGetOneNamespaceParams() *GetOneNamespaceParams

NewGetOneNamespaceParams creates a new GetOneNamespaceParams object with the default values initialized.

func NewGetOneNamespaceParamsWithContext

func NewGetOneNamespaceParamsWithContext(ctx context.Context) *GetOneNamespaceParams

NewGetOneNamespaceParamsWithContext creates a new GetOneNamespaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetOneNamespaceParamsWithHTTPClient

func NewGetOneNamespaceParamsWithHTTPClient(client *http.Client) *GetOneNamespaceParams

NewGetOneNamespaceParamsWithHTTPClient creates a new GetOneNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOneNamespaceParamsWithTimeout

func NewGetOneNamespaceParamsWithTimeout(timeout time.Duration) *GetOneNamespaceParams

NewGetOneNamespaceParamsWithTimeout creates a new GetOneNamespaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOneNamespaceParams) SetContext

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

SetContext adds the context to the get one namespace params

func (*GetOneNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get one namespace params

func (*GetOneNamespaceParams) SetNamespaceID

func (o *GetOneNamespaceParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the get one namespace params

func (*GetOneNamespaceParams) SetRaw

func (o *GetOneNamespaceParams) SetRaw(raw *bool)

SetRaw adds the raw to the get one namespace params

func (*GetOneNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the get one namespace params

func (*GetOneNamespaceParams) SetXCassandraToken

func (o *GetOneNamespaceParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the get one namespace params

func (*GetOneNamespaceParams) WithContext

WithContext adds the context to the get one namespace params

func (*GetOneNamespaceParams) WithHTTPClient

func (o *GetOneNamespaceParams) WithHTTPClient(client *http.Client) *GetOneNamespaceParams

WithHTTPClient adds the HTTPClient to the get one namespace params

func (*GetOneNamespaceParams) WithNamespaceID

func (o *GetOneNamespaceParams) WithNamespaceID(namespaceID string) *GetOneNamespaceParams

WithNamespaceID adds the namespaceID to the get one namespace params

func (*GetOneNamespaceParams) WithRaw

WithRaw adds the raw to the get one namespace params

func (*GetOneNamespaceParams) WithTimeout

func (o *GetOneNamespaceParams) WithTimeout(timeout time.Duration) *GetOneNamespaceParams

WithTimeout adds the timeout to the get one namespace params

func (*GetOneNamespaceParams) WithXCassandraToken

func (o *GetOneNamespaceParams) WithXCassandraToken(xCassandraToken string) *GetOneNamespaceParams

WithXCassandraToken adds the xCassandraToken to the get one namespace params

func (*GetOneNamespaceParams) WriteToRequest

func (o *GetOneNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOneNamespaceReader

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

GetOneNamespaceReader is a Reader for the GetOneNamespace structure.

func (*GetOneNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOneNamespaceUnauthorized

type GetOneNamespaceUnauthorized struct {
}

GetOneNamespaceUnauthorized handles this case with default header values.

Unauthorized

func NewGetOneNamespaceUnauthorized

func NewGetOneNamespaceUnauthorized() *GetOneNamespaceUnauthorized

NewGetOneNamespaceUnauthorized creates a GetOneNamespaceUnauthorized with default headers values

func (*GetOneNamespaceUnauthorized) Error

type PatchDocBadRequest

type PatchDocBadRequest struct {
}

PatchDocBadRequest handles this case with default header values.

Bad request

func NewPatchDocBadRequest

func NewPatchDocBadRequest() *PatchDocBadRequest

NewPatchDocBadRequest creates a PatchDocBadRequest with default headers values

func (*PatchDocBadRequest) Error

func (o *PatchDocBadRequest) Error() string

type PatchDocForbidden

type PatchDocForbidden struct {
}

PatchDocForbidden handles this case with default header values.

Forbidden

func NewPatchDocForbidden

func NewPatchDocForbidden() *PatchDocForbidden

NewPatchDocForbidden creates a PatchDocForbidden with default headers values

func (*PatchDocForbidden) Error

func (o *PatchDocForbidden) Error() string

type PatchDocInternalServerError

type PatchDocInternalServerError struct {
	Payload *models.Error
}

PatchDocInternalServerError handles this case with default header values.

Internal Server Error

func NewPatchDocInternalServerError

func NewPatchDocInternalServerError() *PatchDocInternalServerError

NewPatchDocInternalServerError creates a PatchDocInternalServerError with default headers values

func (*PatchDocInternalServerError) Error

func (*PatchDocInternalServerError) GetPayload

func (o *PatchDocInternalServerError) GetPayload() *models.Error

type PatchDocOK

type PatchDocOK struct {
	Payload *models.WriteDocResponse
}

PatchDocOK handles this case with default header values.

OK

func NewPatchDocOK

func NewPatchDocOK() *PatchDocOK

NewPatchDocOK creates a PatchDocOK with default headers values

func (*PatchDocOK) Error

func (o *PatchDocOK) Error() string

func (*PatchDocOK) GetPayload

func (o *PatchDocOK) GetPayload() *models.WriteDocResponse

type PatchDocParams

type PatchDocParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  The JSON document

	*/
	Body interface{}
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string

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

PatchDocParams contains all the parameters to send to the API endpoint for the patch doc operation typically these are written to a http.Request

func NewPatchDocParams

func NewPatchDocParams() *PatchDocParams

NewPatchDocParams creates a new PatchDocParams object with the default values initialized.

func NewPatchDocParamsWithContext

func NewPatchDocParamsWithContext(ctx context.Context) *PatchDocParams

NewPatchDocParamsWithContext creates a new PatchDocParams object with the default values initialized, and the ability to set a context for a request

func NewPatchDocParamsWithHTTPClient

func NewPatchDocParamsWithHTTPClient(client *http.Client) *PatchDocParams

NewPatchDocParamsWithHTTPClient creates a new PatchDocParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchDocParamsWithTimeout

func NewPatchDocParamsWithTimeout(timeout time.Duration) *PatchDocParams

NewPatchDocParamsWithTimeout creates a new PatchDocParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchDocParams) SetBody

func (o *PatchDocParams) SetBody(body interface{})

SetBody adds the body to the patch doc params

func (*PatchDocParams) SetCollectionID

func (o *PatchDocParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the patch doc params

func (*PatchDocParams) SetContext

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

SetContext adds the context to the patch doc params

func (*PatchDocParams) SetDocumentID

func (o *PatchDocParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the patch doc params

func (*PatchDocParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch doc params

func (*PatchDocParams) SetNamespaceID

func (o *PatchDocParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the patch doc params

func (*PatchDocParams) SetTimeout

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

SetTimeout adds the timeout to the patch doc params

func (*PatchDocParams) SetXCassandraToken

func (o *PatchDocParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the patch doc params

func (*PatchDocParams) WithBody

func (o *PatchDocParams) WithBody(body interface{}) *PatchDocParams

WithBody adds the body to the patch doc params

func (*PatchDocParams) WithCollectionID

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

WithCollectionID adds the collectionID to the patch doc params

func (*PatchDocParams) WithContext

func (o *PatchDocParams) WithContext(ctx context.Context) *PatchDocParams

WithContext adds the context to the patch doc params

func (*PatchDocParams) WithDocumentID

func (o *PatchDocParams) WithDocumentID(documentID string) *PatchDocParams

WithDocumentID adds the documentID to the patch doc params

func (*PatchDocParams) WithHTTPClient

func (o *PatchDocParams) WithHTTPClient(client *http.Client) *PatchDocParams

WithHTTPClient adds the HTTPClient to the patch doc params

func (*PatchDocParams) WithNamespaceID

func (o *PatchDocParams) WithNamespaceID(namespaceID string) *PatchDocParams

WithNamespaceID adds the namespaceID to the patch doc params

func (*PatchDocParams) WithTimeout

func (o *PatchDocParams) WithTimeout(timeout time.Duration) *PatchDocParams

WithTimeout adds the timeout to the patch doc params

func (*PatchDocParams) WithXCassandraToken

func (o *PatchDocParams) WithXCassandraToken(xCassandraToken string) *PatchDocParams

WithXCassandraToken adds the xCassandraToken to the patch doc params

func (*PatchDocParams) WriteToRequest

func (o *PatchDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchDocPathBadRequest

type PatchDocPathBadRequest struct {
}

PatchDocPathBadRequest handles this case with default header values.

Bad request

func NewPatchDocPathBadRequest

func NewPatchDocPathBadRequest() *PatchDocPathBadRequest

NewPatchDocPathBadRequest creates a PatchDocPathBadRequest with default headers values

func (*PatchDocPathBadRequest) Error

func (o *PatchDocPathBadRequest) Error() string

type PatchDocPathForbidden

type PatchDocPathForbidden struct {
}

PatchDocPathForbidden handles this case with default header values.

Forbidden

func NewPatchDocPathForbidden

func NewPatchDocPathForbidden() *PatchDocPathForbidden

NewPatchDocPathForbidden creates a PatchDocPathForbidden with default headers values

func (*PatchDocPathForbidden) Error

func (o *PatchDocPathForbidden) Error() string

type PatchDocPathInternalServerError

type PatchDocPathInternalServerError struct {
	Payload *models.Error
}

PatchDocPathInternalServerError handles this case with default header values.

Internal Server Error

func NewPatchDocPathInternalServerError

func NewPatchDocPathInternalServerError() *PatchDocPathInternalServerError

NewPatchDocPathInternalServerError creates a PatchDocPathInternalServerError with default headers values

func (*PatchDocPathInternalServerError) Error

func (*PatchDocPathInternalServerError) GetPayload

func (o *PatchDocPathInternalServerError) GetPayload() *models.Error

type PatchDocPathOK

type PatchDocPathOK struct {
	Payload *models.WriteDocResponse
}

PatchDocPathOK handles this case with default header values.

OK

func NewPatchDocPathOK

func NewPatchDocPathOK() *PatchDocPathOK

NewPatchDocPathOK creates a PatchDocPathOK with default headers values

func (*PatchDocPathOK) Error

func (o *PatchDocPathOK) Error() string

func (*PatchDocPathOK) GetPayload

func (o *PatchDocPathOK) GetPayload() *models.WriteDocResponse

type PatchDocPathParams

type PatchDocPathParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  The JSON document

	*/
	Body interface{}
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*DocumentPath
	  the path in the JSON that you want to retrieve

	*/
	DocumentPath []string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string

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

PatchDocPathParams contains all the parameters to send to the API endpoint for the patch doc path operation typically these are written to a http.Request

func NewPatchDocPathParams

func NewPatchDocPathParams() *PatchDocPathParams

NewPatchDocPathParams creates a new PatchDocPathParams object with the default values initialized.

func NewPatchDocPathParamsWithContext

func NewPatchDocPathParamsWithContext(ctx context.Context) *PatchDocPathParams

NewPatchDocPathParamsWithContext creates a new PatchDocPathParams object with the default values initialized, and the ability to set a context for a request

func NewPatchDocPathParamsWithHTTPClient

func NewPatchDocPathParamsWithHTTPClient(client *http.Client) *PatchDocPathParams

NewPatchDocPathParamsWithHTTPClient creates a new PatchDocPathParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchDocPathParamsWithTimeout

func NewPatchDocPathParamsWithTimeout(timeout time.Duration) *PatchDocPathParams

NewPatchDocPathParamsWithTimeout creates a new PatchDocPathParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchDocPathParams) SetBody

func (o *PatchDocPathParams) SetBody(body interface{})

SetBody adds the body to the patch doc path params

func (*PatchDocPathParams) SetCollectionID

func (o *PatchDocPathParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the patch doc path params

func (*PatchDocPathParams) SetContext

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

SetContext adds the context to the patch doc path params

func (*PatchDocPathParams) SetDocumentID

func (o *PatchDocPathParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the patch doc path params

func (*PatchDocPathParams) SetDocumentPath

func (o *PatchDocPathParams) SetDocumentPath(documentPath []string)

SetDocumentPath adds the documentPath to the patch doc path params

func (*PatchDocPathParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch doc path params

func (*PatchDocPathParams) SetNamespaceID

func (o *PatchDocPathParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the patch doc path params

func (*PatchDocPathParams) SetTimeout

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

SetTimeout adds the timeout to the patch doc path params

func (*PatchDocPathParams) SetXCassandraToken

func (o *PatchDocPathParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the patch doc path params

func (*PatchDocPathParams) WithBody

func (o *PatchDocPathParams) WithBody(body interface{}) *PatchDocPathParams

WithBody adds the body to the patch doc path params

func (*PatchDocPathParams) WithCollectionID

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

WithCollectionID adds the collectionID to the patch doc path params

func (*PatchDocPathParams) WithContext

WithContext adds the context to the patch doc path params

func (*PatchDocPathParams) WithDocumentID

func (o *PatchDocPathParams) WithDocumentID(documentID string) *PatchDocPathParams

WithDocumentID adds the documentID to the patch doc path params

func (*PatchDocPathParams) WithDocumentPath

func (o *PatchDocPathParams) WithDocumentPath(documentPath []string) *PatchDocPathParams

WithDocumentPath adds the documentPath to the patch doc path params

func (*PatchDocPathParams) WithHTTPClient

func (o *PatchDocPathParams) WithHTTPClient(client *http.Client) *PatchDocPathParams

WithHTTPClient adds the HTTPClient to the patch doc path params

func (*PatchDocPathParams) WithNamespaceID

func (o *PatchDocPathParams) WithNamespaceID(namespaceID string) *PatchDocPathParams

WithNamespaceID adds the namespaceID to the patch doc path params

func (*PatchDocPathParams) WithTimeout

func (o *PatchDocPathParams) WithTimeout(timeout time.Duration) *PatchDocPathParams

WithTimeout adds the timeout to the patch doc path params

func (*PatchDocPathParams) WithXCassandraToken

func (o *PatchDocPathParams) WithXCassandraToken(xCassandraToken string) *PatchDocPathParams

WithXCassandraToken adds the xCassandraToken to the patch doc path params

func (*PatchDocPathParams) WriteToRequest

func (o *PatchDocPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchDocPathReader

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

PatchDocPathReader is a Reader for the PatchDocPath structure.

func (*PatchDocPathReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchDocPathUnauthorized

type PatchDocPathUnauthorized struct {
}

PatchDocPathUnauthorized handles this case with default header values.

Unauthorized

func NewPatchDocPathUnauthorized

func NewPatchDocPathUnauthorized() *PatchDocPathUnauthorized

NewPatchDocPathUnauthorized creates a PatchDocPathUnauthorized with default headers values

func (*PatchDocPathUnauthorized) Error

func (o *PatchDocPathUnauthorized) Error() string

type PatchDocReader

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

PatchDocReader is a Reader for the PatchDoc structure.

func (*PatchDocReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchDocUnauthorized

type PatchDocUnauthorized struct {
}

PatchDocUnauthorized handles this case with default header values.

Unauthorized

func NewPatchDocUnauthorized

func NewPatchDocUnauthorized() *PatchDocUnauthorized

NewPatchDocUnauthorized creates a PatchDocUnauthorized with default headers values

func (*PatchDocUnauthorized) Error

func (o *PatchDocUnauthorized) Error() string

type PostDocBadRequest

type PostDocBadRequest struct {
}

PostDocBadRequest handles this case with default header values.

Bad request

func NewPostDocBadRequest

func NewPostDocBadRequest() *PostDocBadRequest

NewPostDocBadRequest creates a PostDocBadRequest with default headers values

func (*PostDocBadRequest) Error

func (o *PostDocBadRequest) Error() string

type PostDocCreated

type PostDocCreated struct {
	Payload *models.WriteDocResponse
}

PostDocCreated handles this case with default header values.

Created

func NewPostDocCreated

func NewPostDocCreated() *PostDocCreated

NewPostDocCreated creates a PostDocCreated with default headers values

func (*PostDocCreated) Error

func (o *PostDocCreated) Error() string

func (*PostDocCreated) GetPayload

func (o *PostDocCreated) GetPayload() *models.WriteDocResponse

type PostDocForbidden

type PostDocForbidden struct {
}

PostDocForbidden handles this case with default header values.

Forbidden

func NewPostDocForbidden

func NewPostDocForbidden() *PostDocForbidden

NewPostDocForbidden creates a PostDocForbidden with default headers values

func (*PostDocForbidden) Error

func (o *PostDocForbidden) Error() string

type PostDocInternalServerError

type PostDocInternalServerError struct {
	Payload *models.Error
}

PostDocInternalServerError handles this case with default header values.

Internal Server Error

func NewPostDocInternalServerError

func NewPostDocInternalServerError() *PostDocInternalServerError

NewPostDocInternalServerError creates a PostDocInternalServerError with default headers values

func (*PostDocInternalServerError) Error

func (*PostDocInternalServerError) GetPayload

func (o *PostDocInternalServerError) GetPayload() *models.Error

type PostDocParams

type PostDocParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  The JSON document

	*/
	Body interface{}
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string

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

PostDocParams contains all the parameters to send to the API endpoint for the post doc operation typically these are written to a http.Request

func NewPostDocParams

func NewPostDocParams() *PostDocParams

NewPostDocParams creates a new PostDocParams object with the default values initialized.

func NewPostDocParamsWithContext

func NewPostDocParamsWithContext(ctx context.Context) *PostDocParams

NewPostDocParamsWithContext creates a new PostDocParams object with the default values initialized, and the ability to set a context for a request

func NewPostDocParamsWithHTTPClient

func NewPostDocParamsWithHTTPClient(client *http.Client) *PostDocParams

NewPostDocParamsWithHTTPClient creates a new PostDocParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostDocParamsWithTimeout

func NewPostDocParamsWithTimeout(timeout time.Duration) *PostDocParams

NewPostDocParamsWithTimeout creates a new PostDocParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostDocParams) SetBody

func (o *PostDocParams) SetBody(body interface{})

SetBody adds the body to the post doc params

func (*PostDocParams) SetCollectionID

func (o *PostDocParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the post doc params

func (*PostDocParams) SetContext

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

SetContext adds the context to the post doc params

func (*PostDocParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post doc params

func (*PostDocParams) SetNamespaceID

func (o *PostDocParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the post doc params

func (*PostDocParams) SetTimeout

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

SetTimeout adds the timeout to the post doc params

func (*PostDocParams) SetXCassandraToken

func (o *PostDocParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the post doc params

func (*PostDocParams) WithBody

func (o *PostDocParams) WithBody(body interface{}) *PostDocParams

WithBody adds the body to the post doc params

func (*PostDocParams) WithCollectionID

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

WithCollectionID adds the collectionID to the post doc params

func (*PostDocParams) WithContext

func (o *PostDocParams) WithContext(ctx context.Context) *PostDocParams

WithContext adds the context to the post doc params

func (*PostDocParams) WithHTTPClient

func (o *PostDocParams) WithHTTPClient(client *http.Client) *PostDocParams

WithHTTPClient adds the HTTPClient to the post doc params

func (*PostDocParams) WithNamespaceID

func (o *PostDocParams) WithNamespaceID(namespaceID string) *PostDocParams

WithNamespaceID adds the namespaceID to the post doc params

func (*PostDocParams) WithTimeout

func (o *PostDocParams) WithTimeout(timeout time.Duration) *PostDocParams

WithTimeout adds the timeout to the post doc params

func (*PostDocParams) WithXCassandraToken

func (o *PostDocParams) WithXCassandraToken(xCassandraToken string) *PostDocParams

WithXCassandraToken adds the xCassandraToken to the post doc params

func (*PostDocParams) WriteToRequest

func (o *PostDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostDocReader

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

PostDocReader is a Reader for the PostDoc structure.

func (*PostDocReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDocUnauthorized

type PostDocUnauthorized struct {
}

PostDocUnauthorized handles this case with default header values.

Unauthorized

func NewPostDocUnauthorized

func NewPostDocUnauthorized() *PostDocUnauthorized

NewPostDocUnauthorized creates a PostDocUnauthorized with default headers values

func (*PostDocUnauthorized) Error

func (o *PostDocUnauthorized) Error() string

type PutDocBadRequest

type PutDocBadRequest struct {
}

PutDocBadRequest handles this case with default header values.

Bad request

func NewPutDocBadRequest

func NewPutDocBadRequest() *PutDocBadRequest

NewPutDocBadRequest creates a PutDocBadRequest with default headers values

func (*PutDocBadRequest) Error

func (o *PutDocBadRequest) Error() string

type PutDocForbidden

type PutDocForbidden struct {
}

PutDocForbidden handles this case with default header values.

Forbidden

func NewPutDocForbidden

func NewPutDocForbidden() *PutDocForbidden

NewPutDocForbidden creates a PutDocForbidden with default headers values

func (*PutDocForbidden) Error

func (o *PutDocForbidden) Error() string

type PutDocInternalServerError

type PutDocInternalServerError struct {
	Payload *models.Error
}

PutDocInternalServerError handles this case with default header values.

Internal Server Error

func NewPutDocInternalServerError

func NewPutDocInternalServerError() *PutDocInternalServerError

NewPutDocInternalServerError creates a PutDocInternalServerError with default headers values

func (*PutDocInternalServerError) Error

func (o *PutDocInternalServerError) Error() string

func (*PutDocInternalServerError) GetPayload

func (o *PutDocInternalServerError) GetPayload() *models.Error

type PutDocOK

type PutDocOK struct {
	Payload *models.WriteDocResponse
}

PutDocOK handles this case with default header values.

OK

func NewPutDocOK

func NewPutDocOK() *PutDocOK

NewPutDocOK creates a PutDocOK with default headers values

func (*PutDocOK) Error

func (o *PutDocOK) Error() string

func (*PutDocOK) GetPayload

func (o *PutDocOK) GetPayload() *models.WriteDocResponse

type PutDocParams

type PutDocParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  The JSON document

	*/
	Body interface{}
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string

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

PutDocParams contains all the parameters to send to the API endpoint for the put doc operation typically these are written to a http.Request

func NewPutDocParams

func NewPutDocParams() *PutDocParams

NewPutDocParams creates a new PutDocParams object with the default values initialized.

func NewPutDocParamsWithContext

func NewPutDocParamsWithContext(ctx context.Context) *PutDocParams

NewPutDocParamsWithContext creates a new PutDocParams object with the default values initialized, and the ability to set a context for a request

func NewPutDocParamsWithHTTPClient

func NewPutDocParamsWithHTTPClient(client *http.Client) *PutDocParams

NewPutDocParamsWithHTTPClient creates a new PutDocParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutDocParamsWithTimeout

func NewPutDocParamsWithTimeout(timeout time.Duration) *PutDocParams

NewPutDocParamsWithTimeout creates a new PutDocParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutDocParams) SetBody

func (o *PutDocParams) SetBody(body interface{})

SetBody adds the body to the put doc params

func (*PutDocParams) SetCollectionID

func (o *PutDocParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the put doc params

func (*PutDocParams) SetContext

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

SetContext adds the context to the put doc params

func (*PutDocParams) SetDocumentID

func (o *PutDocParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the put doc params

func (*PutDocParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put doc params

func (*PutDocParams) SetNamespaceID

func (o *PutDocParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the put doc params

func (*PutDocParams) SetTimeout

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

SetTimeout adds the timeout to the put doc params

func (*PutDocParams) SetXCassandraToken

func (o *PutDocParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the put doc params

func (*PutDocParams) WithBody

func (o *PutDocParams) WithBody(body interface{}) *PutDocParams

WithBody adds the body to the put doc params

func (*PutDocParams) WithCollectionID

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

WithCollectionID adds the collectionID to the put doc params

func (*PutDocParams) WithContext

func (o *PutDocParams) WithContext(ctx context.Context) *PutDocParams

WithContext adds the context to the put doc params

func (*PutDocParams) WithDocumentID

func (o *PutDocParams) WithDocumentID(documentID string) *PutDocParams

WithDocumentID adds the documentID to the put doc params

func (*PutDocParams) WithHTTPClient

func (o *PutDocParams) WithHTTPClient(client *http.Client) *PutDocParams

WithHTTPClient adds the HTTPClient to the put doc params

func (*PutDocParams) WithNamespaceID

func (o *PutDocParams) WithNamespaceID(namespaceID string) *PutDocParams

WithNamespaceID adds the namespaceID to the put doc params

func (*PutDocParams) WithTimeout

func (o *PutDocParams) WithTimeout(timeout time.Duration) *PutDocParams

WithTimeout adds the timeout to the put doc params

func (*PutDocParams) WithXCassandraToken

func (o *PutDocParams) WithXCassandraToken(xCassandraToken string) *PutDocParams

WithXCassandraToken adds the xCassandraToken to the put doc params

func (*PutDocParams) WriteToRequest

func (o *PutDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutDocPathBadRequest

type PutDocPathBadRequest struct {
}

PutDocPathBadRequest handles this case with default header values.

Bad request

func NewPutDocPathBadRequest

func NewPutDocPathBadRequest() *PutDocPathBadRequest

NewPutDocPathBadRequest creates a PutDocPathBadRequest with default headers values

func (*PutDocPathBadRequest) Error

func (o *PutDocPathBadRequest) Error() string

type PutDocPathForbidden

type PutDocPathForbidden struct {
}

PutDocPathForbidden handles this case with default header values.

Forbidden

func NewPutDocPathForbidden

func NewPutDocPathForbidden() *PutDocPathForbidden

NewPutDocPathForbidden creates a PutDocPathForbidden with default headers values

func (*PutDocPathForbidden) Error

func (o *PutDocPathForbidden) Error() string

type PutDocPathInternalServerError

type PutDocPathInternalServerError struct {
	Payload *models.Error
}

PutDocPathInternalServerError handles this case with default header values.

Internal Server Error

func NewPutDocPathInternalServerError

func NewPutDocPathInternalServerError() *PutDocPathInternalServerError

NewPutDocPathInternalServerError creates a PutDocPathInternalServerError with default headers values

func (*PutDocPathInternalServerError) Error

func (*PutDocPathInternalServerError) GetPayload

func (o *PutDocPathInternalServerError) GetPayload() *models.Error

type PutDocPathOK

type PutDocPathOK struct {
	Payload *models.WriteDocResponse
}

PutDocPathOK handles this case with default header values.

OK

func NewPutDocPathOK

func NewPutDocPathOK() *PutDocPathOK

NewPutDocPathOK creates a PutDocPathOK with default headers values

func (*PutDocPathOK) Error

func (o *PutDocPathOK) Error() string

func (*PutDocPathOK) GetPayload

func (o *PutDocPathOK) GetPayload() *models.WriteDocResponse

type PutDocPathParams

type PutDocPathParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  The JSON document

	*/
	Body interface{}
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*DocumentID
	  the name of the document

	*/
	DocumentID string
	/*DocumentPath
	  the path in the JSON that you want to retrieve

	*/
	DocumentPath []string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string

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

PutDocPathParams contains all the parameters to send to the API endpoint for the put doc path operation typically these are written to a http.Request

func NewPutDocPathParams

func NewPutDocPathParams() *PutDocPathParams

NewPutDocPathParams creates a new PutDocPathParams object with the default values initialized.

func NewPutDocPathParamsWithContext

func NewPutDocPathParamsWithContext(ctx context.Context) *PutDocPathParams

NewPutDocPathParamsWithContext creates a new PutDocPathParams object with the default values initialized, and the ability to set a context for a request

func NewPutDocPathParamsWithHTTPClient

func NewPutDocPathParamsWithHTTPClient(client *http.Client) *PutDocPathParams

NewPutDocPathParamsWithHTTPClient creates a new PutDocPathParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutDocPathParamsWithTimeout

func NewPutDocPathParamsWithTimeout(timeout time.Duration) *PutDocPathParams

NewPutDocPathParamsWithTimeout creates a new PutDocPathParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutDocPathParams) SetBody

func (o *PutDocPathParams) SetBody(body interface{})

SetBody adds the body to the put doc path params

func (*PutDocPathParams) SetCollectionID

func (o *PutDocPathParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the put doc path params

func (*PutDocPathParams) SetContext

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

SetContext adds the context to the put doc path params

func (*PutDocPathParams) SetDocumentID

func (o *PutDocPathParams) SetDocumentID(documentID string)

SetDocumentID adds the documentId to the put doc path params

func (*PutDocPathParams) SetDocumentPath

func (o *PutDocPathParams) SetDocumentPath(documentPath []string)

SetDocumentPath adds the documentPath to the put doc path params

func (*PutDocPathParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put doc path params

func (*PutDocPathParams) SetNamespaceID

func (o *PutDocPathParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the put doc path params

func (*PutDocPathParams) SetTimeout

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

SetTimeout adds the timeout to the put doc path params

func (*PutDocPathParams) SetXCassandraToken

func (o *PutDocPathParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the put doc path params

func (*PutDocPathParams) WithBody

func (o *PutDocPathParams) WithBody(body interface{}) *PutDocPathParams

WithBody adds the body to the put doc path params

func (*PutDocPathParams) WithCollectionID

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

WithCollectionID adds the collectionID to the put doc path params

func (*PutDocPathParams) WithContext

func (o *PutDocPathParams) WithContext(ctx context.Context) *PutDocPathParams

WithContext adds the context to the put doc path params

func (*PutDocPathParams) WithDocumentID

func (o *PutDocPathParams) WithDocumentID(documentID string) *PutDocPathParams

WithDocumentID adds the documentID to the put doc path params

func (*PutDocPathParams) WithDocumentPath

func (o *PutDocPathParams) WithDocumentPath(documentPath []string) *PutDocPathParams

WithDocumentPath adds the documentPath to the put doc path params

func (*PutDocPathParams) WithHTTPClient

func (o *PutDocPathParams) WithHTTPClient(client *http.Client) *PutDocPathParams

WithHTTPClient adds the HTTPClient to the put doc path params

func (*PutDocPathParams) WithNamespaceID

func (o *PutDocPathParams) WithNamespaceID(namespaceID string) *PutDocPathParams

WithNamespaceID adds the namespaceID to the put doc path params

func (*PutDocPathParams) WithTimeout

func (o *PutDocPathParams) WithTimeout(timeout time.Duration) *PutDocPathParams

WithTimeout adds the timeout to the put doc path params

func (*PutDocPathParams) WithXCassandraToken

func (o *PutDocPathParams) WithXCassandraToken(xCassandraToken string) *PutDocPathParams

WithXCassandraToken adds the xCassandraToken to the put doc path params

func (*PutDocPathParams) WriteToRequest

func (o *PutDocPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutDocPathReader

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

PutDocPathReader is a Reader for the PutDocPath structure.

func (*PutDocPathReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDocPathUnauthorized

type PutDocPathUnauthorized struct {
}

PutDocPathUnauthorized handles this case with default header values.

Unauthorized

func NewPutDocPathUnauthorized

func NewPutDocPathUnauthorized() *PutDocPathUnauthorized

NewPutDocPathUnauthorized creates a PutDocPathUnauthorized with default headers values

func (*PutDocPathUnauthorized) Error

func (o *PutDocPathUnauthorized) Error() string

type PutDocReader

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

PutDocReader is a Reader for the PutDoc structure.

func (*PutDocReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDocUnauthorized

type PutDocUnauthorized struct {
}

PutDocUnauthorized handles this case with default header values.

Unauthorized

func NewPutDocUnauthorized

func NewPutDocUnauthorized() *PutDocUnauthorized

NewPutDocUnauthorized creates a PutDocUnauthorized with default headers values

func (*PutDocUnauthorized) Error

func (o *PutDocUnauthorized) Error() string

type SearchDocBadRequest

type SearchDocBadRequest struct {
}

SearchDocBadRequest handles this case with default header values.

Bad Request

func NewSearchDocBadRequest

func NewSearchDocBadRequest() *SearchDocBadRequest

NewSearchDocBadRequest creates a SearchDocBadRequest with default headers values

func (*SearchDocBadRequest) Error

func (o *SearchDocBadRequest) Error() string

type SearchDocForbidden

type SearchDocForbidden struct {
}

SearchDocForbidden handles this case with default header values.

Forbidden

func NewSearchDocForbidden

func NewSearchDocForbidden() *SearchDocForbidden

NewSearchDocForbidden creates a SearchDocForbidden with default headers values

func (*SearchDocForbidden) Error

func (o *SearchDocForbidden) Error() string

type SearchDocInternalServerError

type SearchDocInternalServerError struct {
	Payload *models.Error
}

SearchDocInternalServerError handles this case with default header values.

Internal Server Error

func NewSearchDocInternalServerError

func NewSearchDocInternalServerError() *SearchDocInternalServerError

NewSearchDocInternalServerError creates a SearchDocInternalServerError with default headers values

func (*SearchDocInternalServerError) Error

func (*SearchDocInternalServerError) GetPayload

func (o *SearchDocInternalServerError) GetPayload() *models.Error

type SearchDocNoContent

type SearchDocNoContent struct {
}

SearchDocNoContent handles this case with default header values.

No Content

func NewSearchDocNoContent

func NewSearchDocNoContent() *SearchDocNoContent

NewSearchDocNoContent creates a SearchDocNoContent with default headers values

func (*SearchDocNoContent) Error

func (o *SearchDocNoContent) Error() string

type SearchDocOK

type SearchDocOK struct {
	Payload *models.DocumentResponseWrapper
}

SearchDocOK handles this case with default header values.

OK

func NewSearchDocOK

func NewSearchDocOK() *SearchDocOK

NewSearchDocOK creates a SearchDocOK with default headers values

func (*SearchDocOK) Error

func (o *SearchDocOK) Error() string

func (*SearchDocOK) GetPayload

func (o *SearchDocOK) GetPayload() *models.DocumentResponseWrapper

type SearchDocParams

type SearchDocParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*CollectionID
	  the name of the collection

	*/
	CollectionID string
	/*Fields
	  the field names that you want to restrict the results to

	*/
	Fields *string
	/*NamespaceID
	  the namespace that the collection is in

	*/
	NamespaceID string
	/*PageSize
	  the max number of documents to return, max 20

	*/
	PageSize *int32
	/*PageState
	  Cassandra page state, used for pagination on consecutive requests

	*/
	PageState *string
	/*Raw
	  Unwrap results

	*/
	Raw *bool
	/*Where
	  a JSON blob with search filters, allowed operators: $eq, $ne, $in, $nin, $gt, $lt, $gte, $lte, $exists

	*/
	Where *string

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

SearchDocParams contains all the parameters to send to the API endpoint for the search doc operation typically these are written to a http.Request

func NewSearchDocParams

func NewSearchDocParams() *SearchDocParams

NewSearchDocParams creates a new SearchDocParams object with the default values initialized.

func NewSearchDocParamsWithContext

func NewSearchDocParamsWithContext(ctx context.Context) *SearchDocParams

NewSearchDocParamsWithContext creates a new SearchDocParams object with the default values initialized, and the ability to set a context for a request

func NewSearchDocParamsWithHTTPClient

func NewSearchDocParamsWithHTTPClient(client *http.Client) *SearchDocParams

NewSearchDocParamsWithHTTPClient creates a new SearchDocParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSearchDocParamsWithTimeout

func NewSearchDocParamsWithTimeout(timeout time.Duration) *SearchDocParams

NewSearchDocParamsWithTimeout creates a new SearchDocParams object with the default values initialized, and the ability to set a timeout on a request

func (*SearchDocParams) SetCollectionID

func (o *SearchDocParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the search doc params

func (*SearchDocParams) SetContext

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

SetContext adds the context to the search doc params

func (*SearchDocParams) SetFields

func (o *SearchDocParams) SetFields(fields *string)

SetFields adds the fields to the search doc params

func (*SearchDocParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search doc params

func (*SearchDocParams) SetNamespaceID

func (o *SearchDocParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the search doc params

func (*SearchDocParams) SetPageSize

func (o *SearchDocParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the search doc params

func (*SearchDocParams) SetPageState

func (o *SearchDocParams) SetPageState(pageState *string)

SetPageState adds the pageState to the search doc params

func (*SearchDocParams) SetRaw

func (o *SearchDocParams) SetRaw(raw *bool)

SetRaw adds the raw to the search doc params

func (*SearchDocParams) SetTimeout

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

SetTimeout adds the timeout to the search doc params

func (*SearchDocParams) SetWhere

func (o *SearchDocParams) SetWhere(where *string)

SetWhere adds the where to the search doc params

func (*SearchDocParams) SetXCassandraToken

func (o *SearchDocParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the search doc params

func (*SearchDocParams) WithCollectionID

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

WithCollectionID adds the collectionID to the search doc params

func (*SearchDocParams) WithContext

func (o *SearchDocParams) WithContext(ctx context.Context) *SearchDocParams

WithContext adds the context to the search doc params

func (*SearchDocParams) WithFields

func (o *SearchDocParams) WithFields(fields *string) *SearchDocParams

WithFields adds the fields to the search doc params

func (*SearchDocParams) WithHTTPClient

func (o *SearchDocParams) WithHTTPClient(client *http.Client) *SearchDocParams

WithHTTPClient adds the HTTPClient to the search doc params

func (*SearchDocParams) WithNamespaceID

func (o *SearchDocParams) WithNamespaceID(namespaceID string) *SearchDocParams

WithNamespaceID adds the namespaceID to the search doc params

func (*SearchDocParams) WithPageSize

func (o *SearchDocParams) WithPageSize(pageSize *int32) *SearchDocParams

WithPageSize adds the pageSize to the search doc params

func (*SearchDocParams) WithPageState

func (o *SearchDocParams) WithPageState(pageState *string) *SearchDocParams

WithPageState adds the pageState to the search doc params

func (*SearchDocParams) WithRaw

func (o *SearchDocParams) WithRaw(raw *bool) *SearchDocParams

WithRaw adds the raw to the search doc params

func (*SearchDocParams) WithTimeout

func (o *SearchDocParams) WithTimeout(timeout time.Duration) *SearchDocParams

WithTimeout adds the timeout to the search doc params

func (*SearchDocParams) WithWhere

func (o *SearchDocParams) WithWhere(where *string) *SearchDocParams

WithWhere adds the where to the search doc params

func (*SearchDocParams) WithXCassandraToken

func (o *SearchDocParams) WithXCassandraToken(xCassandraToken string) *SearchDocParams

WithXCassandraToken adds the xCassandraToken to the search doc params

func (*SearchDocParams) WriteToRequest

func (o *SearchDocParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchDocReader

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

SearchDocReader is a Reader for the SearchDoc structure.

func (*SearchDocReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchDocUnauthorized

type SearchDocUnauthorized struct {
}

SearchDocUnauthorized handles this case with default header values.

Unauthorized

func NewSearchDocUnauthorized

func NewSearchDocUnauthorized() *SearchDocUnauthorized

NewSearchDocUnauthorized creates a SearchDocUnauthorized with default headers values

func (*SearchDocUnauthorized) Error

func (o *SearchDocUnauthorized) Error() string

type UpgradeCollectionBadRequest

type UpgradeCollectionBadRequest struct {
}

UpgradeCollectionBadRequest handles this case with default header values.

Bad Request

func NewUpgradeCollectionBadRequest

func NewUpgradeCollectionBadRequest() *UpgradeCollectionBadRequest

NewUpgradeCollectionBadRequest creates a UpgradeCollectionBadRequest with default headers values

func (*UpgradeCollectionBadRequest) Error

type UpgradeCollectionInternalServerError

type UpgradeCollectionInternalServerError struct {
	Payload *models.Error
}

UpgradeCollectionInternalServerError handles this case with default header values.

Internal server error

func NewUpgradeCollectionInternalServerError

func NewUpgradeCollectionInternalServerError() *UpgradeCollectionInternalServerError

NewUpgradeCollectionInternalServerError creates a UpgradeCollectionInternalServerError with default headers values

func (*UpgradeCollectionInternalServerError) Error

func (*UpgradeCollectionInternalServerError) GetPayload

type UpgradeCollectionNotFound

type UpgradeCollectionNotFound struct {
}

UpgradeCollectionNotFound handles this case with default header values.

Collection not found

func NewUpgradeCollectionNotFound

func NewUpgradeCollectionNotFound() *UpgradeCollectionNotFound

NewUpgradeCollectionNotFound creates a UpgradeCollectionNotFound with default headers values

func (*UpgradeCollectionNotFound) Error

func (o *UpgradeCollectionNotFound) Error() string

type UpgradeCollectionOK

type UpgradeCollectionOK struct {
	Payload *models.ResponseWrapper
}

UpgradeCollectionOK handles this case with default header values.

OK

func NewUpgradeCollectionOK

func NewUpgradeCollectionOK() *UpgradeCollectionOK

NewUpgradeCollectionOK creates a UpgradeCollectionOK with default headers values

func (*UpgradeCollectionOK) Error

func (o *UpgradeCollectionOK) Error() string

func (*UpgradeCollectionOK) GetPayload

func (o *UpgradeCollectionOK) GetPayload() *models.ResponseWrapper

type UpgradeCollectionParams

type UpgradeCollectionParams struct {

	/*XCassandraToken
	  The token returned from the authorization endpoint. Use this token in each request.

	*/
	XCassandraToken string
	/*Body
	  JSON with the upgrade type

	*/
	Body string
	/*CollectionID
	  the collection to upgrade

	*/
	CollectionID string
	/*NamespaceID
	  the namespace containing the collection to upgrade

	*/
	NamespaceID string
	/*Raw
	  Unwrap results

	*/
	Raw *bool

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

UpgradeCollectionParams contains all the parameters to send to the API endpoint for the upgrade collection operation typically these are written to a http.Request

func NewUpgradeCollectionParams

func NewUpgradeCollectionParams() *UpgradeCollectionParams

NewUpgradeCollectionParams creates a new UpgradeCollectionParams object with the default values initialized.

func NewUpgradeCollectionParamsWithContext

func NewUpgradeCollectionParamsWithContext(ctx context.Context) *UpgradeCollectionParams

NewUpgradeCollectionParamsWithContext creates a new UpgradeCollectionParams object with the default values initialized, and the ability to set a context for a request

func NewUpgradeCollectionParamsWithHTTPClient

func NewUpgradeCollectionParamsWithHTTPClient(client *http.Client) *UpgradeCollectionParams

NewUpgradeCollectionParamsWithHTTPClient creates a new UpgradeCollectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpgradeCollectionParamsWithTimeout

func NewUpgradeCollectionParamsWithTimeout(timeout time.Duration) *UpgradeCollectionParams

NewUpgradeCollectionParamsWithTimeout creates a new UpgradeCollectionParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpgradeCollectionParams) SetBody

func (o *UpgradeCollectionParams) SetBody(body string)

SetBody adds the body to the upgrade collection params

func (*UpgradeCollectionParams) SetCollectionID

func (o *UpgradeCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the upgrade collection params

func (*UpgradeCollectionParams) SetContext

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

SetContext adds the context to the upgrade collection params

func (*UpgradeCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upgrade collection params

func (*UpgradeCollectionParams) SetNamespaceID

func (o *UpgradeCollectionParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the upgrade collection params

func (*UpgradeCollectionParams) SetRaw

func (o *UpgradeCollectionParams) SetRaw(raw *bool)

SetRaw adds the raw to the upgrade collection params

func (*UpgradeCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the upgrade collection params

func (*UpgradeCollectionParams) SetXCassandraToken

func (o *UpgradeCollectionParams) SetXCassandraToken(xCassandraToken string)

SetXCassandraToken adds the xCassandraToken to the upgrade collection params

func (*UpgradeCollectionParams) WithBody

WithBody adds the body to the upgrade collection params

func (*UpgradeCollectionParams) WithCollectionID

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

WithCollectionID adds the collectionID to the upgrade collection params

func (*UpgradeCollectionParams) WithContext

WithContext adds the context to the upgrade collection params

func (*UpgradeCollectionParams) WithHTTPClient

func (o *UpgradeCollectionParams) WithHTTPClient(client *http.Client) *UpgradeCollectionParams

WithHTTPClient adds the HTTPClient to the upgrade collection params

func (*UpgradeCollectionParams) WithNamespaceID

func (o *UpgradeCollectionParams) WithNamespaceID(namespaceID string) *UpgradeCollectionParams

WithNamespaceID adds the namespaceID to the upgrade collection params

func (*UpgradeCollectionParams) WithRaw

WithRaw adds the raw to the upgrade collection params

func (*UpgradeCollectionParams) WithTimeout

WithTimeout adds the timeout to the upgrade collection params

func (*UpgradeCollectionParams) WithXCassandraToken

func (o *UpgradeCollectionParams) WithXCassandraToken(xCassandraToken string) *UpgradeCollectionParams

WithXCassandraToken adds the xCassandraToken to the upgrade collection params

func (*UpgradeCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpgradeCollectionReader

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

UpgradeCollectionReader is a Reader for the UpgradeCollection structure.

func (*UpgradeCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpgradeCollectionUnauthorized

type UpgradeCollectionUnauthorized struct {
}

UpgradeCollectionUnauthorized handles this case with default header values.

Unauthorized

func NewUpgradeCollectionUnauthorized

func NewUpgradeCollectionUnauthorized() *UpgradeCollectionUnauthorized

NewUpgradeCollectionUnauthorized creates a UpgradeCollectionUnauthorized with default headers values

func (*UpgradeCollectionUnauthorized) Error

Jump to

Keyboard shortcuts

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