storage

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: MIT Imports: 11 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 storage API

func New

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

New creates a new storage API client.

func (*Client) CreateDocument

CreateDocument creates an empty document for an id4n

The document is created empty, mime-type defaults to text/plain

func (*Client) DeleteDocument

func (a *Client) DeleteDocument(params *DeleteDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDocumentOK, error)

DeleteDocument deletes a document

func (*Client) GETDocument

GETDocument retrieves a document meta data only no content

func (*Client) ListAllDocuments

ListAllDocuments lists documents

Listing all documents of an id4n

func (*Client) ListDocuments

ListDocuments lists organization specific documents

Listing documents of an id4n seen by a specified organization

func (*Client) ReadDocument

ReadDocument reads document contents

func (*Client) ReadFromMicrostorage

ReadFromMicrostorage reads data from microstorage

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDocumentMetadata

UpdateDocumentMetadata updates a document

func (*Client) WriteToMicrostorage

WriteToMicrostorage writes data to microstorage

type CreateDocumentAccepted

type CreateDocumentAccepted struct {
}

CreateDocumentAccepted handles this case with default header values.

Accepted

func NewCreateDocumentAccepted

func NewCreateDocumentAccepted() *CreateDocumentAccepted

NewCreateDocumentAccepted creates a CreateDocumentAccepted with default headers values

func (*CreateDocumentAccepted) Error

func (o *CreateDocumentAccepted) Error() string

type CreateDocumentBadRequest

type CreateDocumentBadRequest struct {
	Payload *api_models.APIError
}

CreateDocumentBadRequest handles this case with default header values.

Bad Request

func NewCreateDocumentBadRequest

func NewCreateDocumentBadRequest() *CreateDocumentBadRequest

NewCreateDocumentBadRequest creates a CreateDocumentBadRequest with default headers values

func (*CreateDocumentBadRequest) Error

func (o *CreateDocumentBadRequest) Error() string

type CreateDocumentConflict

type CreateDocumentConflict struct {
	Payload *api_models.APIError
}

CreateDocumentConflict handles this case with default header values.

Conflict

func NewCreateDocumentConflict

func NewCreateDocumentConflict() *CreateDocumentConflict

NewCreateDocumentConflict creates a CreateDocumentConflict with default headers values

func (*CreateDocumentConflict) Error

func (o *CreateDocumentConflict) Error() string

type CreateDocumentForbidden

type CreateDocumentForbidden struct {
	Payload *api_models.APIError
}

CreateDocumentForbidden handles this case with default header values.

Forbidden

func NewCreateDocumentForbidden

func NewCreateDocumentForbidden() *CreateDocumentForbidden

NewCreateDocumentForbidden creates a CreateDocumentForbidden with default headers values

func (*CreateDocumentForbidden) Error

func (o *CreateDocumentForbidden) Error() string

type CreateDocumentInternalServerError

type CreateDocumentInternalServerError struct {
	Payload *api_models.APIError
}

CreateDocumentInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateDocumentInternalServerError

func NewCreateDocumentInternalServerError() *CreateDocumentInternalServerError

NewCreateDocumentInternalServerError creates a CreateDocumentInternalServerError with default headers values

func (*CreateDocumentInternalServerError) Error

type CreateDocumentMethodNotAllowed

type CreateDocumentMethodNotAllowed struct {
	Payload *api_models.APIError
}

CreateDocumentMethodNotAllowed handles this case with default header values.

Method not allowed

func NewCreateDocumentMethodNotAllowed

func NewCreateDocumentMethodNotAllowed() *CreateDocumentMethodNotAllowed

NewCreateDocumentMethodNotAllowed creates a CreateDocumentMethodNotAllowed with default headers values

func (*CreateDocumentMethodNotAllowed) Error

type CreateDocumentNotAcceptable

type CreateDocumentNotAcceptable struct {
	Payload *api_models.APIError
}

CreateDocumentNotAcceptable handles this case with default header values.

Not Acceptable

func NewCreateDocumentNotAcceptable

func NewCreateDocumentNotAcceptable() *CreateDocumentNotAcceptable

NewCreateDocumentNotAcceptable creates a CreateDocumentNotAcceptable with default headers values

func (*CreateDocumentNotAcceptable) Error

type CreateDocumentNotFound

type CreateDocumentNotFound struct {
	Payload *api_models.APIError
}

CreateDocumentNotFound handles this case with default header values.

Not Found

func NewCreateDocumentNotFound

func NewCreateDocumentNotFound() *CreateDocumentNotFound

NewCreateDocumentNotFound creates a CreateDocumentNotFound with default headers values

func (*CreateDocumentNotFound) Error

func (o *CreateDocumentNotFound) Error() string

type CreateDocumentOK

type CreateDocumentOK struct {
	Payload *api_models.Document
}

CreateDocumentOK handles this case with default header values.

OK

func NewCreateDocumentOK

func NewCreateDocumentOK() *CreateDocumentOK

NewCreateDocumentOK creates a CreateDocumentOK with default headers values

func (*CreateDocumentOK) Error

func (o *CreateDocumentOK) Error() string

type CreateDocumentParams

type CreateDocumentParams struct {

	/*Content
	  content

	*/
	Content runtime.NamedReadCloser
	/*ID4N
	  id4n

	*/
	ID4N string
	/*OrganizationID
	  organizationId

	*/
	OrganizationID string

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

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

func NewCreateDocumentParams

func NewCreateDocumentParams() *CreateDocumentParams

NewCreateDocumentParams creates a new CreateDocumentParams object with the default values initialized.

func NewCreateDocumentParamsWithContext

func NewCreateDocumentParamsWithContext(ctx context.Context) *CreateDocumentParams

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

func NewCreateDocumentParamsWithHTTPClient

func NewCreateDocumentParamsWithHTTPClient(client *http.Client) *CreateDocumentParams

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

func NewCreateDocumentParamsWithTimeout

func NewCreateDocumentParamsWithTimeout(timeout time.Duration) *CreateDocumentParams

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

func (*CreateDocumentParams) SetContent

func (o *CreateDocumentParams) SetContent(content runtime.NamedReadCloser)

SetContent adds the content to the create document params

func (*CreateDocumentParams) SetContext

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

SetContext adds the context to the create document params

func (*CreateDocumentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create document params

func (*CreateDocumentParams) SetID4N

func (o *CreateDocumentParams) SetID4N(id4n string)

SetID4N adds the id4n to the create document params

func (*CreateDocumentParams) SetOrganizationID

func (o *CreateDocumentParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the create document params

func (*CreateDocumentParams) SetTimeout

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

SetTimeout adds the timeout to the create document params

func (*CreateDocumentParams) WithContent

WithContent adds the content to the create document params

func (*CreateDocumentParams) WithContext

WithContext adds the context to the create document params

func (*CreateDocumentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create document params

func (*CreateDocumentParams) WithID4N

WithID4N adds the id4n to the create document params

func (*CreateDocumentParams) WithOrganizationID

func (o *CreateDocumentParams) WithOrganizationID(organizationID string) *CreateDocumentParams

WithOrganizationID adds the organizationID to the create document params

func (*CreateDocumentParams) WithTimeout

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

WithTimeout adds the timeout to the create document params

func (*CreateDocumentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateDocumentReader

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

CreateDocumentReader is a Reader for the CreateDocument structure.

func (*CreateDocumentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDocumentUnauthorized

type CreateDocumentUnauthorized struct {
	Payload *api_models.APIError
}

CreateDocumentUnauthorized handles this case with default header values.

Unauthorized

func NewCreateDocumentUnauthorized

func NewCreateDocumentUnauthorized() *CreateDocumentUnauthorized

NewCreateDocumentUnauthorized creates a CreateDocumentUnauthorized with default headers values

func (*CreateDocumentUnauthorized) Error

type CreateDocumentUnsupportedMediaType

type CreateDocumentUnsupportedMediaType struct {
	Payload *api_models.APIError
}

CreateDocumentUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewCreateDocumentUnsupportedMediaType

func NewCreateDocumentUnsupportedMediaType() *CreateDocumentUnsupportedMediaType

NewCreateDocumentUnsupportedMediaType creates a CreateDocumentUnsupportedMediaType with default headers values

func (*CreateDocumentUnsupportedMediaType) Error

type DeleteDocumentBadRequest

type DeleteDocumentBadRequest struct {
	Payload *api_models.APIError
}

DeleteDocumentBadRequest handles this case with default header values.

Bad Request

func NewDeleteDocumentBadRequest

func NewDeleteDocumentBadRequest() *DeleteDocumentBadRequest

NewDeleteDocumentBadRequest creates a DeleteDocumentBadRequest with default headers values

func (*DeleteDocumentBadRequest) Error

func (o *DeleteDocumentBadRequest) Error() string

type DeleteDocumentForbidden

type DeleteDocumentForbidden struct {
	Payload *api_models.APIError
}

DeleteDocumentForbidden handles this case with default header values.

Forbidden

func NewDeleteDocumentForbidden

func NewDeleteDocumentForbidden() *DeleteDocumentForbidden

NewDeleteDocumentForbidden creates a DeleteDocumentForbidden with default headers values

func (*DeleteDocumentForbidden) Error

func (o *DeleteDocumentForbidden) Error() string

type DeleteDocumentInternalServerError

type DeleteDocumentInternalServerError struct {
	Payload *api_models.APIError
}

DeleteDocumentInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteDocumentInternalServerError

func NewDeleteDocumentInternalServerError() *DeleteDocumentInternalServerError

NewDeleteDocumentInternalServerError creates a DeleteDocumentInternalServerError with default headers values

func (*DeleteDocumentInternalServerError) Error

type DeleteDocumentNotFound

type DeleteDocumentNotFound struct {
	Payload *api_models.APIError
}

DeleteDocumentNotFound handles this case with default header values.

Not Found

func NewDeleteDocumentNotFound

func NewDeleteDocumentNotFound() *DeleteDocumentNotFound

NewDeleteDocumentNotFound creates a DeleteDocumentNotFound with default headers values

func (*DeleteDocumentNotFound) Error

func (o *DeleteDocumentNotFound) Error() string

type DeleteDocumentOK

type DeleteDocumentOK struct {
	Payload *api_models.ResponseEntity
}

DeleteDocumentOK handles this case with default header values.

OK

func NewDeleteDocumentOK

func NewDeleteDocumentOK() *DeleteDocumentOK

NewDeleteDocumentOK creates a DeleteDocumentOK with default headers values

func (*DeleteDocumentOK) Error

func (o *DeleteDocumentOK) Error() string

type DeleteDocumentParams

type DeleteDocumentParams struct {

	/*FileName
	  fileName

	*/
	FileName string
	/*ID4N
	  id4n

	*/
	ID4N string
	/*OrganizationID
	  organizationId

	*/
	OrganizationID string

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

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

func NewDeleteDocumentParams

func NewDeleteDocumentParams() *DeleteDocumentParams

NewDeleteDocumentParams creates a new DeleteDocumentParams object with the default values initialized.

func NewDeleteDocumentParamsWithContext

func NewDeleteDocumentParamsWithContext(ctx context.Context) *DeleteDocumentParams

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

func NewDeleteDocumentParamsWithHTTPClient

func NewDeleteDocumentParamsWithHTTPClient(client *http.Client) *DeleteDocumentParams

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

func NewDeleteDocumentParamsWithTimeout

func NewDeleteDocumentParamsWithTimeout(timeout time.Duration) *DeleteDocumentParams

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

func (*DeleteDocumentParams) SetContext

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

SetContext adds the context to the delete document params

func (*DeleteDocumentParams) SetFileName

func (o *DeleteDocumentParams) SetFileName(fileName string)

SetFileName adds the fileName to the delete document params

func (*DeleteDocumentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete document params

func (*DeleteDocumentParams) SetID4N

func (o *DeleteDocumentParams) SetID4N(id4n string)

SetID4N adds the id4n to the delete document params

func (*DeleteDocumentParams) SetOrganizationID

func (o *DeleteDocumentParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the delete document params

func (*DeleteDocumentParams) SetTimeout

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

SetTimeout adds the timeout to the delete document params

func (*DeleteDocumentParams) WithContext

WithContext adds the context to the delete document params

func (*DeleteDocumentParams) WithFileName

func (o *DeleteDocumentParams) WithFileName(fileName string) *DeleteDocumentParams

WithFileName adds the fileName to the delete document params

func (*DeleteDocumentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete document params

func (*DeleteDocumentParams) WithID4N

WithID4N adds the id4n to the delete document params

func (*DeleteDocumentParams) WithOrganizationID

func (o *DeleteDocumentParams) WithOrganizationID(organizationID string) *DeleteDocumentParams

WithOrganizationID adds the organizationID to the delete document params

func (*DeleteDocumentParams) WithTimeout

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

WithTimeout adds the timeout to the delete document params

func (*DeleteDocumentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDocumentReader

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

DeleteDocumentReader is a Reader for the DeleteDocument structure.

func (*DeleteDocumentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDocumentUnauthorized

type DeleteDocumentUnauthorized struct {
	Payload *api_models.APIError
}

DeleteDocumentUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteDocumentUnauthorized

func NewDeleteDocumentUnauthorized() *DeleteDocumentUnauthorized

NewDeleteDocumentUnauthorized creates a DeleteDocumentUnauthorized with default headers values

func (*DeleteDocumentUnauthorized) Error

type GETDocumentAccepted

type GETDocumentAccepted struct {
}

GETDocumentAccepted handles this case with default header values.

Accepted

func NewGETDocumentAccepted

func NewGETDocumentAccepted() *GETDocumentAccepted

NewGETDocumentAccepted creates a GETDocumentAccepted with default headers values

func (*GETDocumentAccepted) Error

func (o *GETDocumentAccepted) Error() string

type GETDocumentForbidden

type GETDocumentForbidden struct {
	Payload *api_models.APIError
}

GETDocumentForbidden handles this case with default header values.

Forbidden

func NewGETDocumentForbidden

func NewGETDocumentForbidden() *GETDocumentForbidden

NewGETDocumentForbidden creates a GETDocumentForbidden with default headers values

func (*GETDocumentForbidden) Error

func (o *GETDocumentForbidden) Error() string

type GETDocumentInternalServerError

type GETDocumentInternalServerError struct {
	Payload *api_models.APIError
}

GETDocumentInternalServerError handles this case with default header values.

Internal Server Error

func NewGETDocumentInternalServerError

func NewGETDocumentInternalServerError() *GETDocumentInternalServerError

NewGETDocumentInternalServerError creates a GETDocumentInternalServerError with default headers values

func (*GETDocumentInternalServerError) Error

type GETDocumentMethodNotAllowed

type GETDocumentMethodNotAllowed struct {
	Payload *api_models.APIError
}

GETDocumentMethodNotAllowed handles this case with default header values.

Method not allowed

func NewGETDocumentMethodNotAllowed

func NewGETDocumentMethodNotAllowed() *GETDocumentMethodNotAllowed

NewGETDocumentMethodNotAllowed creates a GETDocumentMethodNotAllowed with default headers values

func (*GETDocumentMethodNotAllowed) Error

type GETDocumentNotAcceptable

type GETDocumentNotAcceptable struct {
	Payload *api_models.APIError
}

GETDocumentNotAcceptable handles this case with default header values.

Not Acceptable

func NewGETDocumentNotAcceptable

func NewGETDocumentNotAcceptable() *GETDocumentNotAcceptable

NewGETDocumentNotAcceptable creates a GETDocumentNotAcceptable with default headers values

func (*GETDocumentNotAcceptable) Error

func (o *GETDocumentNotAcceptable) Error() string

type GETDocumentNotFound

type GETDocumentNotFound struct {
	Payload *api_models.APIError
}

GETDocumentNotFound handles this case with default header values.

Not Found

func NewGETDocumentNotFound

func NewGETDocumentNotFound() *GETDocumentNotFound

NewGETDocumentNotFound creates a GETDocumentNotFound with default headers values

func (*GETDocumentNotFound) Error

func (o *GETDocumentNotFound) Error() string

type GETDocumentOK

type GETDocumentOK struct {
	Payload *api_models.Document
}

GETDocumentOK handles this case with default header values.

OK

func NewGETDocumentOK

func NewGETDocumentOK() *GETDocumentOK

NewGETDocumentOK creates a GETDocumentOK with default headers values

func (*GETDocumentOK) Error

func (o *GETDocumentOK) Error() string

type GETDocumentParams

type GETDocumentParams struct {

	/*FileName
	  fileName

	*/
	FileName string
	/*ID4N
	  id4n

	*/
	ID4N string
	/*OrganizationID
	  organizationId

	*/
	OrganizationID string

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

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

func NewGETDocumentParams

func NewGETDocumentParams() *GETDocumentParams

NewGETDocumentParams creates a new GETDocumentParams object with the default values initialized.

func NewGETDocumentParamsWithContext

func NewGETDocumentParamsWithContext(ctx context.Context) *GETDocumentParams

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

func NewGETDocumentParamsWithHTTPClient

func NewGETDocumentParamsWithHTTPClient(client *http.Client) *GETDocumentParams

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

func NewGETDocumentParamsWithTimeout

func NewGETDocumentParamsWithTimeout(timeout time.Duration) *GETDocumentParams

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

func (*GETDocumentParams) SetContext

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

SetContext adds the context to the get document params

func (*GETDocumentParams) SetFileName

func (o *GETDocumentParams) SetFileName(fileName string)

SetFileName adds the fileName to the get document params

func (*GETDocumentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get document params

func (*GETDocumentParams) SetID4N

func (o *GETDocumentParams) SetID4N(id4n string)

SetID4N adds the id4n to the get document params

func (*GETDocumentParams) SetOrganizationID

func (o *GETDocumentParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get document params

func (*GETDocumentParams) SetTimeout

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

SetTimeout adds the timeout to the get document params

func (*GETDocumentParams) WithContext

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

WithContext adds the context to the get document params

func (*GETDocumentParams) WithFileName

func (o *GETDocumentParams) WithFileName(fileName string) *GETDocumentParams

WithFileName adds the fileName to the get document params

func (*GETDocumentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get document params

func (*GETDocumentParams) WithID4N

func (o *GETDocumentParams) WithID4N(id4n string) *GETDocumentParams

WithID4N adds the id4n to the get document params

func (*GETDocumentParams) WithOrganizationID

func (o *GETDocumentParams) WithOrganizationID(organizationID string) *GETDocumentParams

WithOrganizationID adds the organizationID to the get document params

func (*GETDocumentParams) WithTimeout

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

WithTimeout adds the timeout to the get document params

func (*GETDocumentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GETDocumentReader

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

GETDocumentReader is a Reader for the GETDocument structure.

func (*GETDocumentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GETDocumentUnauthorized

type GETDocumentUnauthorized struct {
	Payload *api_models.APIError
}

GETDocumentUnauthorized handles this case with default header values.

Unauthorized

func NewGETDocumentUnauthorized

func NewGETDocumentUnauthorized() *GETDocumentUnauthorized

NewGETDocumentUnauthorized creates a GETDocumentUnauthorized with default headers values

func (*GETDocumentUnauthorized) Error

func (o *GETDocumentUnauthorized) Error() string

type GETDocumentUnsupportedMediaType

type GETDocumentUnsupportedMediaType struct {
	Payload *api_models.APIError
}

GETDocumentUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewGETDocumentUnsupportedMediaType

func NewGETDocumentUnsupportedMediaType() *GETDocumentUnsupportedMediaType

NewGETDocumentUnsupportedMediaType creates a GETDocumentUnsupportedMediaType with default headers values

func (*GETDocumentUnsupportedMediaType) Error

type ListAllDocumentsAccepted

type ListAllDocumentsAccepted struct {
}

ListAllDocumentsAccepted handles this case with default header values.

Accepted

func NewListAllDocumentsAccepted

func NewListAllDocumentsAccepted() *ListAllDocumentsAccepted

NewListAllDocumentsAccepted creates a ListAllDocumentsAccepted with default headers values

func (*ListAllDocumentsAccepted) Error

func (o *ListAllDocumentsAccepted) Error() string

type ListAllDocumentsForbidden

type ListAllDocumentsForbidden struct {
	Payload *api_models.APIError
}

ListAllDocumentsForbidden handles this case with default header values.

Forbidden

func NewListAllDocumentsForbidden

func NewListAllDocumentsForbidden() *ListAllDocumentsForbidden

NewListAllDocumentsForbidden creates a ListAllDocumentsForbidden with default headers values

func (*ListAllDocumentsForbidden) Error

func (o *ListAllDocumentsForbidden) Error() string

type ListAllDocumentsInternalServerError

type ListAllDocumentsInternalServerError struct {
	Payload *api_models.APIError
}

ListAllDocumentsInternalServerError handles this case with default header values.

Internal Server Error

func NewListAllDocumentsInternalServerError

func NewListAllDocumentsInternalServerError() *ListAllDocumentsInternalServerError

NewListAllDocumentsInternalServerError creates a ListAllDocumentsInternalServerError with default headers values

func (*ListAllDocumentsInternalServerError) Error

type ListAllDocumentsMethodNotAllowed

type ListAllDocumentsMethodNotAllowed struct {
	Payload *api_models.APIError
}

ListAllDocumentsMethodNotAllowed handles this case with default header values.

Method not allowed

func NewListAllDocumentsMethodNotAllowed

func NewListAllDocumentsMethodNotAllowed() *ListAllDocumentsMethodNotAllowed

NewListAllDocumentsMethodNotAllowed creates a ListAllDocumentsMethodNotAllowed with default headers values

func (*ListAllDocumentsMethodNotAllowed) Error

type ListAllDocumentsNotAcceptable

type ListAllDocumentsNotAcceptable struct {
	Payload *api_models.APIError
}

ListAllDocumentsNotAcceptable handles this case with default header values.

Not Acceptable

func NewListAllDocumentsNotAcceptable

func NewListAllDocumentsNotAcceptable() *ListAllDocumentsNotAcceptable

NewListAllDocumentsNotAcceptable creates a ListAllDocumentsNotAcceptable with default headers values

func (*ListAllDocumentsNotAcceptable) Error

type ListAllDocumentsNotFound

type ListAllDocumentsNotFound struct {
	Payload *api_models.APIError
}

ListAllDocumentsNotFound handles this case with default header values.

Not Found

func NewListAllDocumentsNotFound

func NewListAllDocumentsNotFound() *ListAllDocumentsNotFound

NewListAllDocumentsNotFound creates a ListAllDocumentsNotFound with default headers values

func (*ListAllDocumentsNotFound) Error

func (o *ListAllDocumentsNotFound) Error() string

type ListAllDocumentsOK

type ListAllDocumentsOK struct {
	Payload *api_models.PaginatedDocumentResponse
}

ListAllDocumentsOK handles this case with default header values.

OK

func NewListAllDocumentsOK

func NewListAllDocumentsOK() *ListAllDocumentsOK

NewListAllDocumentsOK creates a ListAllDocumentsOK with default headers values

func (*ListAllDocumentsOK) Error

func (o *ListAllDocumentsOK) Error() string

type ListAllDocumentsParams

type ListAllDocumentsParams struct {

	/*ID4N
	  id4n

	*/
	ID4N string
	/*Limit
	  The maximum count of returned elements

	*/
	Limit *int32
	/*Offset
	  Start with the n-th element

	*/
	Offset *int32
	/*Owner
	  Filter by owner organization

	*/
	Owner *string

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

ListAllDocumentsParams contains all the parameters to send to the API endpoint for the list all documents operation typically these are written to a http.Request

func NewListAllDocumentsParams

func NewListAllDocumentsParams() *ListAllDocumentsParams

NewListAllDocumentsParams creates a new ListAllDocumentsParams object with the default values initialized.

func NewListAllDocumentsParamsWithContext

func NewListAllDocumentsParamsWithContext(ctx context.Context) *ListAllDocumentsParams

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

func NewListAllDocumentsParamsWithHTTPClient

func NewListAllDocumentsParamsWithHTTPClient(client *http.Client) *ListAllDocumentsParams

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

func NewListAllDocumentsParamsWithTimeout

func NewListAllDocumentsParamsWithTimeout(timeout time.Duration) *ListAllDocumentsParams

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

func (*ListAllDocumentsParams) SetContext

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

SetContext adds the context to the list all documents params

func (*ListAllDocumentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list all documents params

func (*ListAllDocumentsParams) SetID4N

func (o *ListAllDocumentsParams) SetID4N(id4n string)

SetID4N adds the id4n to the list all documents params

func (*ListAllDocumentsParams) SetLimit

func (o *ListAllDocumentsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list all documents params

func (*ListAllDocumentsParams) SetOffset

func (o *ListAllDocumentsParams) SetOffset(offset *int32)

SetOffset adds the offset to the list all documents params

func (*ListAllDocumentsParams) SetOwner

func (o *ListAllDocumentsParams) SetOwner(owner *string)

SetOwner adds the owner to the list all documents params

func (*ListAllDocumentsParams) SetTimeout

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

SetTimeout adds the timeout to the list all documents params

func (*ListAllDocumentsParams) WithContext

WithContext adds the context to the list all documents params

func (*ListAllDocumentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list all documents params

func (*ListAllDocumentsParams) WithID4N

WithID4N adds the id4n to the list all documents params

func (*ListAllDocumentsParams) WithLimit

func (o *ListAllDocumentsParams) WithLimit(limit *int32) *ListAllDocumentsParams

WithLimit adds the limit to the list all documents params

func (*ListAllDocumentsParams) WithOffset

func (o *ListAllDocumentsParams) WithOffset(offset *int32) *ListAllDocumentsParams

WithOffset adds the offset to the list all documents params

func (*ListAllDocumentsParams) WithOwner

WithOwner adds the owner to the list all documents params

func (*ListAllDocumentsParams) WithTimeout

WithTimeout adds the timeout to the list all documents params

func (*ListAllDocumentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAllDocumentsReader

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

ListAllDocumentsReader is a Reader for the ListAllDocuments structure.

func (*ListAllDocumentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAllDocumentsUnauthorized

type ListAllDocumentsUnauthorized struct {
	Payload *api_models.APIError
}

ListAllDocumentsUnauthorized handles this case with default header values.

Unauthorized

func NewListAllDocumentsUnauthorized

func NewListAllDocumentsUnauthorized() *ListAllDocumentsUnauthorized

NewListAllDocumentsUnauthorized creates a ListAllDocumentsUnauthorized with default headers values

func (*ListAllDocumentsUnauthorized) Error

type ListAllDocumentsUnsupportedMediaType

type ListAllDocumentsUnsupportedMediaType struct {
	Payload *api_models.APIError
}

ListAllDocumentsUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewListAllDocumentsUnsupportedMediaType

func NewListAllDocumentsUnsupportedMediaType() *ListAllDocumentsUnsupportedMediaType

NewListAllDocumentsUnsupportedMediaType creates a ListAllDocumentsUnsupportedMediaType with default headers values

func (*ListAllDocumentsUnsupportedMediaType) Error

type ListDocumentsAccepted

type ListDocumentsAccepted struct {
}

ListDocumentsAccepted handles this case with default header values.

Accepted

func NewListDocumentsAccepted

func NewListDocumentsAccepted() *ListDocumentsAccepted

NewListDocumentsAccepted creates a ListDocumentsAccepted with default headers values

func (*ListDocumentsAccepted) Error

func (o *ListDocumentsAccepted) Error() string

type ListDocumentsForbidden

type ListDocumentsForbidden struct {
	Payload *api_models.APIError
}

ListDocumentsForbidden handles this case with default header values.

Forbidden

func NewListDocumentsForbidden

func NewListDocumentsForbidden() *ListDocumentsForbidden

NewListDocumentsForbidden creates a ListDocumentsForbidden with default headers values

func (*ListDocumentsForbidden) Error

func (o *ListDocumentsForbidden) Error() string

type ListDocumentsInternalServerError

type ListDocumentsInternalServerError struct {
	Payload *api_models.APIError
}

ListDocumentsInternalServerError handles this case with default header values.

Internal Server Error

func NewListDocumentsInternalServerError

func NewListDocumentsInternalServerError() *ListDocumentsInternalServerError

NewListDocumentsInternalServerError creates a ListDocumentsInternalServerError with default headers values

func (*ListDocumentsInternalServerError) Error

type ListDocumentsMethodNotAllowed

type ListDocumentsMethodNotAllowed struct {
	Payload *api_models.APIError
}

ListDocumentsMethodNotAllowed handles this case with default header values.

Method not allowed

func NewListDocumentsMethodNotAllowed

func NewListDocumentsMethodNotAllowed() *ListDocumentsMethodNotAllowed

NewListDocumentsMethodNotAllowed creates a ListDocumentsMethodNotAllowed with default headers values

func (*ListDocumentsMethodNotAllowed) Error

type ListDocumentsNotAcceptable

type ListDocumentsNotAcceptable struct {
	Payload *api_models.APIError
}

ListDocumentsNotAcceptable handles this case with default header values.

Not Acceptable

func NewListDocumentsNotAcceptable

func NewListDocumentsNotAcceptable() *ListDocumentsNotAcceptable

NewListDocumentsNotAcceptable creates a ListDocumentsNotAcceptable with default headers values

func (*ListDocumentsNotAcceptable) Error

type ListDocumentsNotFound

type ListDocumentsNotFound struct {
	Payload *api_models.APIError
}

ListDocumentsNotFound handles this case with default header values.

Not Found

func NewListDocumentsNotFound

func NewListDocumentsNotFound() *ListDocumentsNotFound

NewListDocumentsNotFound creates a ListDocumentsNotFound with default headers values

func (*ListDocumentsNotFound) Error

func (o *ListDocumentsNotFound) Error() string

type ListDocumentsOK

type ListDocumentsOK struct {
	Payload *api_models.PaginatedDocumentResponse
}

ListDocumentsOK handles this case with default header values.

OK

func NewListDocumentsOK

func NewListDocumentsOK() *ListDocumentsOK

NewListDocumentsOK creates a ListDocumentsOK with default headers values

func (*ListDocumentsOK) Error

func (o *ListDocumentsOK) Error() string

type ListDocumentsParams

type ListDocumentsParams struct {

	/*ID4N
	  id4n

	*/
	ID4N string
	/*Limit
	  The maximum count of returned elements

	*/
	Limit *int32
	/*Offset
	  Start with the n-th element

	*/
	Offset *int32
	/*OrganizationID
	  organizationId

	*/
	OrganizationID string
	/*Owner
	  Filter by owner organization

	*/
	Owner *string

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

ListDocumentsParams contains all the parameters to send to the API endpoint for the list documents operation typically these are written to a http.Request

func NewListDocumentsParams

func NewListDocumentsParams() *ListDocumentsParams

NewListDocumentsParams creates a new ListDocumentsParams object with the default values initialized.

func NewListDocumentsParamsWithContext

func NewListDocumentsParamsWithContext(ctx context.Context) *ListDocumentsParams

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

func NewListDocumentsParamsWithHTTPClient

func NewListDocumentsParamsWithHTTPClient(client *http.Client) *ListDocumentsParams

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

func NewListDocumentsParamsWithTimeout

func NewListDocumentsParamsWithTimeout(timeout time.Duration) *ListDocumentsParams

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

func (*ListDocumentsParams) SetContext

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

SetContext adds the context to the list documents params

func (*ListDocumentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list documents params

func (*ListDocumentsParams) SetID4N

func (o *ListDocumentsParams) SetID4N(id4n string)

SetID4N adds the id4n to the list documents params

func (*ListDocumentsParams) SetLimit

func (o *ListDocumentsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list documents params

func (*ListDocumentsParams) SetOffset

func (o *ListDocumentsParams) SetOffset(offset *int32)

SetOffset adds the offset to the list documents params

func (*ListDocumentsParams) SetOrganizationID

func (o *ListDocumentsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the list documents params

func (*ListDocumentsParams) SetOwner

func (o *ListDocumentsParams) SetOwner(owner *string)

SetOwner adds the owner to the list documents params

func (*ListDocumentsParams) SetTimeout

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

SetTimeout adds the timeout to the list documents params

func (*ListDocumentsParams) WithContext

WithContext adds the context to the list documents params

func (*ListDocumentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list documents params

func (*ListDocumentsParams) WithID4N

func (o *ListDocumentsParams) WithID4N(id4n string) *ListDocumentsParams

WithID4N adds the id4n to the list documents params

func (*ListDocumentsParams) WithLimit

func (o *ListDocumentsParams) WithLimit(limit *int32) *ListDocumentsParams

WithLimit adds the limit to the list documents params

func (*ListDocumentsParams) WithOffset

func (o *ListDocumentsParams) WithOffset(offset *int32) *ListDocumentsParams

WithOffset adds the offset to the list documents params

func (*ListDocumentsParams) WithOrganizationID

func (o *ListDocumentsParams) WithOrganizationID(organizationID string) *ListDocumentsParams

WithOrganizationID adds the organizationID to the list documents params

func (*ListDocumentsParams) WithOwner

func (o *ListDocumentsParams) WithOwner(owner *string) *ListDocumentsParams

WithOwner adds the owner to the list documents params

func (*ListDocumentsParams) WithTimeout

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

WithTimeout adds the timeout to the list documents params

func (*ListDocumentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListDocumentsReader

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

ListDocumentsReader is a Reader for the ListDocuments structure.

func (*ListDocumentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListDocumentsUnauthorized

type ListDocumentsUnauthorized struct {
	Payload *api_models.APIError
}

ListDocumentsUnauthorized handles this case with default header values.

Unauthorized

func NewListDocumentsUnauthorized

func NewListDocumentsUnauthorized() *ListDocumentsUnauthorized

NewListDocumentsUnauthorized creates a ListDocumentsUnauthorized with default headers values

func (*ListDocumentsUnauthorized) Error

func (o *ListDocumentsUnauthorized) Error() string

type ListDocumentsUnsupportedMediaType

type ListDocumentsUnsupportedMediaType struct {
	Payload *api_models.APIError
}

ListDocumentsUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewListDocumentsUnsupportedMediaType

func NewListDocumentsUnsupportedMediaType() *ListDocumentsUnsupportedMediaType

NewListDocumentsUnsupportedMediaType creates a ListDocumentsUnsupportedMediaType with default headers values

func (*ListDocumentsUnsupportedMediaType) Error

type ReadDocumentAccepted

type ReadDocumentAccepted struct {
}

ReadDocumentAccepted handles this case with default header values.

Accepted

func NewReadDocumentAccepted

func NewReadDocumentAccepted() *ReadDocumentAccepted

NewReadDocumentAccepted creates a ReadDocumentAccepted with default headers values

func (*ReadDocumentAccepted) Error

func (o *ReadDocumentAccepted) Error() string

type ReadDocumentForbidden

type ReadDocumentForbidden struct {
	Payload *api_models.APIError
}

ReadDocumentForbidden handles this case with default header values.

Forbidden

func NewReadDocumentForbidden

func NewReadDocumentForbidden() *ReadDocumentForbidden

NewReadDocumentForbidden creates a ReadDocumentForbidden with default headers values

func (*ReadDocumentForbidden) Error

func (o *ReadDocumentForbidden) Error() string

type ReadDocumentInternalServerError

type ReadDocumentInternalServerError struct {
	Payload *api_models.APIError
}

ReadDocumentInternalServerError handles this case with default header values.

Internal Server Error

func NewReadDocumentInternalServerError

func NewReadDocumentInternalServerError() *ReadDocumentInternalServerError

NewReadDocumentInternalServerError creates a ReadDocumentInternalServerError with default headers values

func (*ReadDocumentInternalServerError) Error

type ReadDocumentMethodNotAllowed

type ReadDocumentMethodNotAllowed struct {
	Payload *api_models.APIError
}

ReadDocumentMethodNotAllowed handles this case with default header values.

Method not allowed

func NewReadDocumentMethodNotAllowed

func NewReadDocumentMethodNotAllowed() *ReadDocumentMethodNotAllowed

NewReadDocumentMethodNotAllowed creates a ReadDocumentMethodNotAllowed with default headers values

func (*ReadDocumentMethodNotAllowed) Error

type ReadDocumentNotAcceptable

type ReadDocumentNotAcceptable struct {
	Payload *api_models.APIError
}

ReadDocumentNotAcceptable handles this case with default header values.

Not Acceptable

func NewReadDocumentNotAcceptable

func NewReadDocumentNotAcceptable() *ReadDocumentNotAcceptable

NewReadDocumentNotAcceptable creates a ReadDocumentNotAcceptable with default headers values

func (*ReadDocumentNotAcceptable) Error

func (o *ReadDocumentNotAcceptable) Error() string

type ReadDocumentNotFound

type ReadDocumentNotFound struct {
	Payload *api_models.APIError
}

ReadDocumentNotFound handles this case with default header values.

Not Found

func NewReadDocumentNotFound

func NewReadDocumentNotFound() *ReadDocumentNotFound

NewReadDocumentNotFound creates a ReadDocumentNotFound with default headers values

func (*ReadDocumentNotFound) Error

func (o *ReadDocumentNotFound) Error() string

type ReadDocumentOK

type ReadDocumentOK struct {
	Payload strfmt.Base64
}

ReadDocumentOK handles this case with default header values.

OK

func NewReadDocumentOK

func NewReadDocumentOK() *ReadDocumentOK

NewReadDocumentOK creates a ReadDocumentOK with default headers values

func (*ReadDocumentOK) Error

func (o *ReadDocumentOK) Error() string

type ReadDocumentParams

type ReadDocumentParams struct {

	/*FileName
	  fileName

	*/
	FileName string
	/*ID4N
	  id4n

	*/
	ID4N string
	/*OrganizationID
	  organizationId

	*/
	OrganizationID string

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

ReadDocumentParams contains all the parameters to send to the API endpoint for the read document operation typically these are written to a http.Request

func NewReadDocumentParams

func NewReadDocumentParams() *ReadDocumentParams

NewReadDocumentParams creates a new ReadDocumentParams object with the default values initialized.

func NewReadDocumentParamsWithContext

func NewReadDocumentParamsWithContext(ctx context.Context) *ReadDocumentParams

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

func NewReadDocumentParamsWithHTTPClient

func NewReadDocumentParamsWithHTTPClient(client *http.Client) *ReadDocumentParams

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

func NewReadDocumentParamsWithTimeout

func NewReadDocumentParamsWithTimeout(timeout time.Duration) *ReadDocumentParams

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

func (*ReadDocumentParams) SetContext

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

SetContext adds the context to the read document params

func (*ReadDocumentParams) SetFileName

func (o *ReadDocumentParams) SetFileName(fileName string)

SetFileName adds the fileName to the read document params

func (*ReadDocumentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read document params

func (*ReadDocumentParams) SetID4N

func (o *ReadDocumentParams) SetID4N(id4n string)

SetID4N adds the id4n to the read document params

func (*ReadDocumentParams) SetOrganizationID

func (o *ReadDocumentParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the read document params

func (*ReadDocumentParams) SetTimeout

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

SetTimeout adds the timeout to the read document params

func (*ReadDocumentParams) WithContext

WithContext adds the context to the read document params

func (*ReadDocumentParams) WithFileName

func (o *ReadDocumentParams) WithFileName(fileName string) *ReadDocumentParams

WithFileName adds the fileName to the read document params

func (*ReadDocumentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read document params

func (*ReadDocumentParams) WithID4N

func (o *ReadDocumentParams) WithID4N(id4n string) *ReadDocumentParams

WithID4N adds the id4n to the read document params

func (*ReadDocumentParams) WithOrganizationID

func (o *ReadDocumentParams) WithOrganizationID(organizationID string) *ReadDocumentParams

WithOrganizationID adds the organizationID to the read document params

func (*ReadDocumentParams) WithTimeout

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

WithTimeout adds the timeout to the read document params

func (*ReadDocumentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadDocumentReader

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

ReadDocumentReader is a Reader for the ReadDocument structure.

func (*ReadDocumentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadDocumentUnauthorized

type ReadDocumentUnauthorized struct {
	Payload *api_models.APIError
}

ReadDocumentUnauthorized handles this case with default header values.

Unauthorized

func NewReadDocumentUnauthorized

func NewReadDocumentUnauthorized() *ReadDocumentUnauthorized

NewReadDocumentUnauthorized creates a ReadDocumentUnauthorized with default headers values

func (*ReadDocumentUnauthorized) Error

func (o *ReadDocumentUnauthorized) Error() string

type ReadDocumentUnsupportedMediaType

type ReadDocumentUnsupportedMediaType struct {
	Payload *api_models.APIError
}

ReadDocumentUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewReadDocumentUnsupportedMediaType

func NewReadDocumentUnsupportedMediaType() *ReadDocumentUnsupportedMediaType

NewReadDocumentUnsupportedMediaType creates a ReadDocumentUnsupportedMediaType with default headers values

func (*ReadDocumentUnsupportedMediaType) Error

type ReadFromMicrostorageAccepted

type ReadFromMicrostorageAccepted struct {
}

ReadFromMicrostorageAccepted handles this case with default header values.

Accepted

func NewReadFromMicrostorageAccepted

func NewReadFromMicrostorageAccepted() *ReadFromMicrostorageAccepted

NewReadFromMicrostorageAccepted creates a ReadFromMicrostorageAccepted with default headers values

func (*ReadFromMicrostorageAccepted) Error

type ReadFromMicrostorageForbidden

type ReadFromMicrostorageForbidden struct {
	Payload *api_models.APIError
}

ReadFromMicrostorageForbidden handles this case with default header values.

Forbidden

func NewReadFromMicrostorageForbidden

func NewReadFromMicrostorageForbidden() *ReadFromMicrostorageForbidden

NewReadFromMicrostorageForbidden creates a ReadFromMicrostorageForbidden with default headers values

func (*ReadFromMicrostorageForbidden) Error

type ReadFromMicrostorageInternalServerError

type ReadFromMicrostorageInternalServerError struct {
	Payload *api_models.APIError
}

ReadFromMicrostorageInternalServerError handles this case with default header values.

Internal Server Error

func NewReadFromMicrostorageInternalServerError

func NewReadFromMicrostorageInternalServerError() *ReadFromMicrostorageInternalServerError

NewReadFromMicrostorageInternalServerError creates a ReadFromMicrostorageInternalServerError with default headers values

func (*ReadFromMicrostorageInternalServerError) Error

type ReadFromMicrostorageMethodNotAllowed

type ReadFromMicrostorageMethodNotAllowed struct {
	Payload *api_models.APIError
}

ReadFromMicrostorageMethodNotAllowed handles this case with default header values.

Method not allowed

func NewReadFromMicrostorageMethodNotAllowed

func NewReadFromMicrostorageMethodNotAllowed() *ReadFromMicrostorageMethodNotAllowed

NewReadFromMicrostorageMethodNotAllowed creates a ReadFromMicrostorageMethodNotAllowed with default headers values

func (*ReadFromMicrostorageMethodNotAllowed) Error

type ReadFromMicrostorageNotAcceptable

type ReadFromMicrostorageNotAcceptable struct {
	Payload *api_models.APIError
}

ReadFromMicrostorageNotAcceptable handles this case with default header values.

Not Acceptable

func NewReadFromMicrostorageNotAcceptable

func NewReadFromMicrostorageNotAcceptable() *ReadFromMicrostorageNotAcceptable

NewReadFromMicrostorageNotAcceptable creates a ReadFromMicrostorageNotAcceptable with default headers values

func (*ReadFromMicrostorageNotAcceptable) Error

type ReadFromMicrostorageNotFound

type ReadFromMicrostorageNotFound struct {
	Payload *api_models.APIError
}

ReadFromMicrostorageNotFound handles this case with default header values.

Not Found

func NewReadFromMicrostorageNotFound

func NewReadFromMicrostorageNotFound() *ReadFromMicrostorageNotFound

NewReadFromMicrostorageNotFound creates a ReadFromMicrostorageNotFound with default headers values

func (*ReadFromMicrostorageNotFound) Error

type ReadFromMicrostorageOK

type ReadFromMicrostorageOK struct {
	Payload strfmt.Base64
}

ReadFromMicrostorageOK handles this case with default header values.

OK

func NewReadFromMicrostorageOK

func NewReadFromMicrostorageOK() *ReadFromMicrostorageOK

NewReadFromMicrostorageOK creates a ReadFromMicrostorageOK with default headers values

func (*ReadFromMicrostorageOK) Error

func (o *ReadFromMicrostorageOK) Error() string

type ReadFromMicrostorageParams

type ReadFromMicrostorageParams struct {

	/*ID4N
	  id4n

	*/
	ID4N string
	/*Organization
	  organization

	*/
	Organization string

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

ReadFromMicrostorageParams contains all the parameters to send to the API endpoint for the read from microstorage operation typically these are written to a http.Request

func NewReadFromMicrostorageParams

func NewReadFromMicrostorageParams() *ReadFromMicrostorageParams

NewReadFromMicrostorageParams creates a new ReadFromMicrostorageParams object with the default values initialized.

func NewReadFromMicrostorageParamsWithContext

func NewReadFromMicrostorageParamsWithContext(ctx context.Context) *ReadFromMicrostorageParams

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

func NewReadFromMicrostorageParamsWithHTTPClient

func NewReadFromMicrostorageParamsWithHTTPClient(client *http.Client) *ReadFromMicrostorageParams

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

func NewReadFromMicrostorageParamsWithTimeout

func NewReadFromMicrostorageParamsWithTimeout(timeout time.Duration) *ReadFromMicrostorageParams

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

func (*ReadFromMicrostorageParams) SetContext

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

SetContext adds the context to the read from microstorage params

func (*ReadFromMicrostorageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read from microstorage params

func (*ReadFromMicrostorageParams) SetID4N

func (o *ReadFromMicrostorageParams) SetID4N(id4n string)

SetID4N adds the id4n to the read from microstorage params

func (*ReadFromMicrostorageParams) SetOrganization

func (o *ReadFromMicrostorageParams) SetOrganization(organization string)

SetOrganization adds the organization to the read from microstorage params

func (*ReadFromMicrostorageParams) SetTimeout

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

SetTimeout adds the timeout to the read from microstorage params

func (*ReadFromMicrostorageParams) WithContext

WithContext adds the context to the read from microstorage params

func (*ReadFromMicrostorageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read from microstorage params

func (*ReadFromMicrostorageParams) WithID4N

WithID4N adds the id4n to the read from microstorage params

func (*ReadFromMicrostorageParams) WithOrganization

func (o *ReadFromMicrostorageParams) WithOrganization(organization string) *ReadFromMicrostorageParams

WithOrganization adds the organization to the read from microstorage params

func (*ReadFromMicrostorageParams) WithTimeout

WithTimeout adds the timeout to the read from microstorage params

func (*ReadFromMicrostorageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadFromMicrostorageReader

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

ReadFromMicrostorageReader is a Reader for the ReadFromMicrostorage structure.

func (*ReadFromMicrostorageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadFromMicrostorageUnauthorized

type ReadFromMicrostorageUnauthorized struct {
	Payload *api_models.APIError
}

ReadFromMicrostorageUnauthorized handles this case with default header values.

Unauthorized

func NewReadFromMicrostorageUnauthorized

func NewReadFromMicrostorageUnauthorized() *ReadFromMicrostorageUnauthorized

NewReadFromMicrostorageUnauthorized creates a ReadFromMicrostorageUnauthorized with default headers values

func (*ReadFromMicrostorageUnauthorized) Error

type ReadFromMicrostorageUnsupportedMediaType

type ReadFromMicrostorageUnsupportedMediaType struct {
	Payload *api_models.APIError
}

ReadFromMicrostorageUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewReadFromMicrostorageUnsupportedMediaType

func NewReadFromMicrostorageUnsupportedMediaType() *ReadFromMicrostorageUnsupportedMediaType

NewReadFromMicrostorageUnsupportedMediaType creates a ReadFromMicrostorageUnsupportedMediaType with default headers values

func (*ReadFromMicrostorageUnsupportedMediaType) Error

type UpdateDocumentMetadataForbidden

type UpdateDocumentMetadataForbidden struct {
}

UpdateDocumentMetadataForbidden handles this case with default header values.

Forbidden

func NewUpdateDocumentMetadataForbidden

func NewUpdateDocumentMetadataForbidden() *UpdateDocumentMetadataForbidden

NewUpdateDocumentMetadataForbidden creates a UpdateDocumentMetadataForbidden with default headers values

func (*UpdateDocumentMetadataForbidden) Error

type UpdateDocumentMetadataNoContent

type UpdateDocumentMetadataNoContent struct {
}

UpdateDocumentMetadataNoContent handles this case with default header values.

No Content

func NewUpdateDocumentMetadataNoContent

func NewUpdateDocumentMetadataNoContent() *UpdateDocumentMetadataNoContent

NewUpdateDocumentMetadataNoContent creates a UpdateDocumentMetadataNoContent with default headers values

func (*UpdateDocumentMetadataNoContent) Error

type UpdateDocumentMetadataOK

type UpdateDocumentMetadataOK struct {
	Payload *api_models.Document
}

UpdateDocumentMetadataOK handles this case with default header values.

OK

func NewUpdateDocumentMetadataOK

func NewUpdateDocumentMetadataOK() *UpdateDocumentMetadataOK

NewUpdateDocumentMetadataOK creates a UpdateDocumentMetadataOK with default headers values

func (*UpdateDocumentMetadataOK) Error

func (o *UpdateDocumentMetadataOK) Error() string

type UpdateDocumentMetadataParams

type UpdateDocumentMetadataParams struct {

	/*Document
	  document

	*/
	Document *api_models.DocumentUpdate
	/*FileName
	  fileName

	*/
	FileName string
	/*ID4N
	  id4n

	*/
	ID4N string
	/*OrganizationID
	  organizationId

	*/
	OrganizationID string

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

UpdateDocumentMetadataParams contains all the parameters to send to the API endpoint for the update document metadata operation typically these are written to a http.Request

func NewUpdateDocumentMetadataParams

func NewUpdateDocumentMetadataParams() *UpdateDocumentMetadataParams

NewUpdateDocumentMetadataParams creates a new UpdateDocumentMetadataParams object with the default values initialized.

func NewUpdateDocumentMetadataParamsWithContext

func NewUpdateDocumentMetadataParamsWithContext(ctx context.Context) *UpdateDocumentMetadataParams

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

func NewUpdateDocumentMetadataParamsWithHTTPClient

func NewUpdateDocumentMetadataParamsWithHTTPClient(client *http.Client) *UpdateDocumentMetadataParams

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

func NewUpdateDocumentMetadataParamsWithTimeout

func NewUpdateDocumentMetadataParamsWithTimeout(timeout time.Duration) *UpdateDocumentMetadataParams

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

func (*UpdateDocumentMetadataParams) SetContext

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

SetContext adds the context to the update document metadata params

func (*UpdateDocumentMetadataParams) SetDocument

func (o *UpdateDocumentMetadataParams) SetDocument(document *api_models.DocumentUpdate)

SetDocument adds the document to the update document metadata params

func (*UpdateDocumentMetadataParams) SetFileName

func (o *UpdateDocumentMetadataParams) SetFileName(fileName string)

SetFileName adds the fileName to the update document metadata params

func (*UpdateDocumentMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update document metadata params

func (*UpdateDocumentMetadataParams) SetID4N

func (o *UpdateDocumentMetadataParams) SetID4N(id4n string)

SetID4N adds the id4n to the update document metadata params

func (*UpdateDocumentMetadataParams) SetOrganizationID

func (o *UpdateDocumentMetadataParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the update document metadata params

func (*UpdateDocumentMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the update document metadata params

func (*UpdateDocumentMetadataParams) WithContext

WithContext adds the context to the update document metadata params

func (*UpdateDocumentMetadataParams) WithDocument

WithDocument adds the document to the update document metadata params

func (*UpdateDocumentMetadataParams) WithFileName

WithFileName adds the fileName to the update document metadata params

func (*UpdateDocumentMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update document metadata params

func (*UpdateDocumentMetadataParams) WithID4N

WithID4N adds the id4n to the update document metadata params

func (*UpdateDocumentMetadataParams) WithOrganizationID

func (o *UpdateDocumentMetadataParams) WithOrganizationID(organizationID string) *UpdateDocumentMetadataParams

WithOrganizationID adds the organizationID to the update document metadata params

func (*UpdateDocumentMetadataParams) WithTimeout

WithTimeout adds the timeout to the update document metadata params

func (*UpdateDocumentMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDocumentMetadataReader

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

UpdateDocumentMetadataReader is a Reader for the UpdateDocumentMetadata structure.

func (*UpdateDocumentMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDocumentMetadataUnauthorized

type UpdateDocumentMetadataUnauthorized struct {
}

UpdateDocumentMetadataUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateDocumentMetadataUnauthorized

func NewUpdateDocumentMetadataUnauthorized() *UpdateDocumentMetadataUnauthorized

NewUpdateDocumentMetadataUnauthorized creates a UpdateDocumentMetadataUnauthorized with default headers values

func (*UpdateDocumentMetadataUnauthorized) Error

type WriteToMicrostorageAccepted

type WriteToMicrostorageAccepted struct {
}

WriteToMicrostorageAccepted handles this case with default header values.

Accepted

func NewWriteToMicrostorageAccepted

func NewWriteToMicrostorageAccepted() *WriteToMicrostorageAccepted

NewWriteToMicrostorageAccepted creates a WriteToMicrostorageAccepted with default headers values

func (*WriteToMicrostorageAccepted) Error

type WriteToMicrostorageBadRequest

type WriteToMicrostorageBadRequest struct {
	Payload *api_models.APIError
}

WriteToMicrostorageBadRequest handles this case with default header values.

Bad Request

func NewWriteToMicrostorageBadRequest

func NewWriteToMicrostorageBadRequest() *WriteToMicrostorageBadRequest

NewWriteToMicrostorageBadRequest creates a WriteToMicrostorageBadRequest with default headers values

func (*WriteToMicrostorageBadRequest) Error

type WriteToMicrostorageConflict

type WriteToMicrostorageConflict struct {
	Payload *api_models.APIError
}

WriteToMicrostorageConflict handles this case with default header values.

Conflict

func NewWriteToMicrostorageConflict

func NewWriteToMicrostorageConflict() *WriteToMicrostorageConflict

NewWriteToMicrostorageConflict creates a WriteToMicrostorageConflict with default headers values

func (*WriteToMicrostorageConflict) Error

type WriteToMicrostorageForbidden

type WriteToMicrostorageForbidden struct {
	Payload *api_models.APIError
}

WriteToMicrostorageForbidden handles this case with default header values.

Forbidden

func NewWriteToMicrostorageForbidden

func NewWriteToMicrostorageForbidden() *WriteToMicrostorageForbidden

NewWriteToMicrostorageForbidden creates a WriteToMicrostorageForbidden with default headers values

func (*WriteToMicrostorageForbidden) Error

type WriteToMicrostorageInternalServerError

type WriteToMicrostorageInternalServerError struct {
	Payload *api_models.APIError
}

WriteToMicrostorageInternalServerError handles this case with default header values.

Internal Server Error

func NewWriteToMicrostorageInternalServerError

func NewWriteToMicrostorageInternalServerError() *WriteToMicrostorageInternalServerError

NewWriteToMicrostorageInternalServerError creates a WriteToMicrostorageInternalServerError with default headers values

func (*WriteToMicrostorageInternalServerError) Error

type WriteToMicrostorageMethodNotAllowed

type WriteToMicrostorageMethodNotAllowed struct {
	Payload *api_models.APIError
}

WriteToMicrostorageMethodNotAllowed handles this case with default header values.

Method not allowed

func NewWriteToMicrostorageMethodNotAllowed

func NewWriteToMicrostorageMethodNotAllowed() *WriteToMicrostorageMethodNotAllowed

NewWriteToMicrostorageMethodNotAllowed creates a WriteToMicrostorageMethodNotAllowed with default headers values

func (*WriteToMicrostorageMethodNotAllowed) Error

type WriteToMicrostorageNotAcceptable

type WriteToMicrostorageNotAcceptable struct {
	Payload *api_models.APIError
}

WriteToMicrostorageNotAcceptable handles this case with default header values.

Not Acceptable

func NewWriteToMicrostorageNotAcceptable

func NewWriteToMicrostorageNotAcceptable() *WriteToMicrostorageNotAcceptable

NewWriteToMicrostorageNotAcceptable creates a WriteToMicrostorageNotAcceptable with default headers values

func (*WriteToMicrostorageNotAcceptable) Error

type WriteToMicrostorageNotFound

type WriteToMicrostorageNotFound struct {
	Payload *api_models.APIError
}

WriteToMicrostorageNotFound handles this case with default header values.

Not Found

func NewWriteToMicrostorageNotFound

func NewWriteToMicrostorageNotFound() *WriteToMicrostorageNotFound

NewWriteToMicrostorageNotFound creates a WriteToMicrostorageNotFound with default headers values

func (*WriteToMicrostorageNotFound) Error

type WriteToMicrostorageOK

type WriteToMicrostorageOK struct {
	Payload interface{}
}

WriteToMicrostorageOK handles this case with default header values.

OK

func NewWriteToMicrostorageOK

func NewWriteToMicrostorageOK() *WriteToMicrostorageOK

NewWriteToMicrostorageOK creates a WriteToMicrostorageOK with default headers values

func (*WriteToMicrostorageOK) Error

func (o *WriteToMicrostorageOK) Error() string

type WriteToMicrostorageParams

type WriteToMicrostorageParams struct {

	/*ContentLength
	  Content-Length

	*/
	ContentLength *int64
	/*ContentType
	  Content-Type

	*/
	ContentType *string
	/*Body
	  body

	*/
	Body strfmt.Base64
	/*ID4N
	  id4n

	*/
	ID4N string
	/*Organization
	  organization

	*/
	Organization string

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

WriteToMicrostorageParams contains all the parameters to send to the API endpoint for the write to microstorage operation typically these are written to a http.Request

func NewWriteToMicrostorageParams

func NewWriteToMicrostorageParams() *WriteToMicrostorageParams

NewWriteToMicrostorageParams creates a new WriteToMicrostorageParams object with the default values initialized.

func NewWriteToMicrostorageParamsWithContext

func NewWriteToMicrostorageParamsWithContext(ctx context.Context) *WriteToMicrostorageParams

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

func NewWriteToMicrostorageParamsWithHTTPClient

func NewWriteToMicrostorageParamsWithHTTPClient(client *http.Client) *WriteToMicrostorageParams

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

func NewWriteToMicrostorageParamsWithTimeout

func NewWriteToMicrostorageParamsWithTimeout(timeout time.Duration) *WriteToMicrostorageParams

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

func (*WriteToMicrostorageParams) SetBody

func (o *WriteToMicrostorageParams) SetBody(body strfmt.Base64)

SetBody adds the body to the write to microstorage params

func (*WriteToMicrostorageParams) SetContentLength

func (o *WriteToMicrostorageParams) SetContentLength(contentLength *int64)

SetContentLength adds the contentLength to the write to microstorage params

func (*WriteToMicrostorageParams) SetContentType

func (o *WriteToMicrostorageParams) SetContentType(contentType *string)

SetContentType adds the contentType to the write to microstorage params

func (*WriteToMicrostorageParams) SetContext

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

SetContext adds the context to the write to microstorage params

func (*WriteToMicrostorageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the write to microstorage params

func (*WriteToMicrostorageParams) SetID4N

func (o *WriteToMicrostorageParams) SetID4N(id4n string)

SetID4N adds the id4n to the write to microstorage params

func (*WriteToMicrostorageParams) SetOrganization

func (o *WriteToMicrostorageParams) SetOrganization(organization string)

SetOrganization adds the organization to the write to microstorage params

func (*WriteToMicrostorageParams) SetTimeout

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

SetTimeout adds the timeout to the write to microstorage params

func (*WriteToMicrostorageParams) WithBody

WithBody adds the body to the write to microstorage params

func (*WriteToMicrostorageParams) WithContentLength

func (o *WriteToMicrostorageParams) WithContentLength(contentLength *int64) *WriteToMicrostorageParams

WithContentLength adds the contentLength to the write to microstorage params

func (*WriteToMicrostorageParams) WithContentType

func (o *WriteToMicrostorageParams) WithContentType(contentType *string) *WriteToMicrostorageParams

WithContentType adds the contentType to the write to microstorage params

func (*WriteToMicrostorageParams) WithContext

WithContext adds the context to the write to microstorage params

func (*WriteToMicrostorageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the write to microstorage params

func (*WriteToMicrostorageParams) WithID4N

WithID4N adds the id4n to the write to microstorage params

func (*WriteToMicrostorageParams) WithOrganization

func (o *WriteToMicrostorageParams) WithOrganization(organization string) *WriteToMicrostorageParams

WithOrganization adds the organization to the write to microstorage params

func (*WriteToMicrostorageParams) WithTimeout

WithTimeout adds the timeout to the write to microstorage params

func (*WriteToMicrostorageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WriteToMicrostorageReader

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

WriteToMicrostorageReader is a Reader for the WriteToMicrostorage structure.

func (*WriteToMicrostorageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WriteToMicrostorageUnauthorized

type WriteToMicrostorageUnauthorized struct {
	Payload *api_models.APIError
}

WriteToMicrostorageUnauthorized handles this case with default header values.

Unauthorized

func NewWriteToMicrostorageUnauthorized

func NewWriteToMicrostorageUnauthorized() *WriteToMicrostorageUnauthorized

NewWriteToMicrostorageUnauthorized creates a WriteToMicrostorageUnauthorized with default headers values

func (*WriteToMicrostorageUnauthorized) Error

type WriteToMicrostorageUnsupportedMediaType

type WriteToMicrostorageUnsupportedMediaType struct {
	Payload *api_models.APIError
}

WriteToMicrostorageUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewWriteToMicrostorageUnsupportedMediaType

func NewWriteToMicrostorageUnsupportedMediaType() *WriteToMicrostorageUnsupportedMediaType

NewWriteToMicrostorageUnsupportedMediaType creates a WriteToMicrostorageUnsupportedMediaType with default headers values

func (*WriteToMicrostorageUnsupportedMediaType) Error

Jump to

Keyboard shortcuts

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