Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDocument(params *CreateDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDocumentOK, *CreateDocumentAccepted, error)
- func (a *Client) DeleteDocument(params *DeleteDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDocumentOK, error)
- func (a *Client) GETDocument(params *GETDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*GETDocumentOK, *GETDocumentAccepted, error)
- func (a *Client) ListAllDocuments(params *ListAllDocumentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllDocumentsOK, *ListAllDocumentsAccepted, error)
- func (a *Client) ListDocuments(params *ListDocumentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListDocumentsOK, *ListDocumentsAccepted, error)
- func (a *Client) ReadDocument(params *ReadDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*ReadDocumentOK, *ReadDocumentAccepted, error)
- func (a *Client) ReadFromMicrostorage(params *ReadFromMicrostorageParams, authInfo runtime.ClientAuthInfoWriter) (*ReadFromMicrostorageOK, *ReadFromMicrostorageAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDocumentMetadata(params *UpdateDocumentMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDocumentMetadataOK, *UpdateDocumentMetadataNoContent, error)
- func (a *Client) WriteToMicrostorage(params *WriteToMicrostorageParams, authInfo runtime.ClientAuthInfoWriter) (*WriteToMicrostorageOK, *WriteToMicrostorageAccepted, error)
- type CreateDocumentAccepted
- type CreateDocumentBadRequest
- type CreateDocumentConflict
- type CreateDocumentForbidden
- type CreateDocumentInternalServerError
- type CreateDocumentMethodNotAllowed
- type CreateDocumentNotAcceptable
- type CreateDocumentNotFound
- type CreateDocumentOK
- type CreateDocumentParams
- func NewCreateDocumentParams() *CreateDocumentParams
- func NewCreateDocumentParamsWithContext(ctx context.Context) *CreateDocumentParams
- func NewCreateDocumentParamsWithHTTPClient(client *http.Client) *CreateDocumentParams
- func NewCreateDocumentParamsWithTimeout(timeout time.Duration) *CreateDocumentParams
- func (o *CreateDocumentParams) SetContent(content runtime.NamedReadCloser)
- func (o *CreateDocumentParams) SetContext(ctx context.Context)
- func (o *CreateDocumentParams) SetHTTPClient(client *http.Client)
- func (o *CreateDocumentParams) SetID4N(id4n string)
- func (o *CreateDocumentParams) SetOrganizationID(organizationID string)
- func (o *CreateDocumentParams) SetTimeout(timeout time.Duration)
- func (o *CreateDocumentParams) WithContent(content runtime.NamedReadCloser) *CreateDocumentParams
- func (o *CreateDocumentParams) WithContext(ctx context.Context) *CreateDocumentParams
- func (o *CreateDocumentParams) WithHTTPClient(client *http.Client) *CreateDocumentParams
- func (o *CreateDocumentParams) WithID4N(id4n string) *CreateDocumentParams
- func (o *CreateDocumentParams) WithOrganizationID(organizationID string) *CreateDocumentParams
- func (o *CreateDocumentParams) WithTimeout(timeout time.Duration) *CreateDocumentParams
- func (o *CreateDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDocumentReader
- type CreateDocumentUnauthorized
- type CreateDocumentUnsupportedMediaType
- type DeleteDocumentBadRequest
- type DeleteDocumentForbidden
- type DeleteDocumentInternalServerError
- type DeleteDocumentNotFound
- type DeleteDocumentOK
- type DeleteDocumentParams
- func NewDeleteDocumentParams() *DeleteDocumentParams
- func NewDeleteDocumentParamsWithContext(ctx context.Context) *DeleteDocumentParams
- func NewDeleteDocumentParamsWithHTTPClient(client *http.Client) *DeleteDocumentParams
- func NewDeleteDocumentParamsWithTimeout(timeout time.Duration) *DeleteDocumentParams
- func (o *DeleteDocumentParams) SetContext(ctx context.Context)
- func (o *DeleteDocumentParams) SetFileName(fileName string)
- func (o *DeleteDocumentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDocumentParams) SetID4N(id4n string)
- func (o *DeleteDocumentParams) SetOrganizationID(organizationID string)
- func (o *DeleteDocumentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDocumentParams) WithContext(ctx context.Context) *DeleteDocumentParams
- func (o *DeleteDocumentParams) WithFileName(fileName string) *DeleteDocumentParams
- func (o *DeleteDocumentParams) WithHTTPClient(client *http.Client) *DeleteDocumentParams
- func (o *DeleteDocumentParams) WithID4N(id4n string) *DeleteDocumentParams
- func (o *DeleteDocumentParams) WithOrganizationID(organizationID string) *DeleteDocumentParams
- func (o *DeleteDocumentParams) WithTimeout(timeout time.Duration) *DeleteDocumentParams
- func (o *DeleteDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDocumentReader
- type DeleteDocumentUnauthorized
- type GETDocumentAccepted
- type GETDocumentForbidden
- type GETDocumentInternalServerError
- type GETDocumentMethodNotAllowed
- type GETDocumentNotAcceptable
- type GETDocumentNotFound
- type GETDocumentOK
- type GETDocumentParams
- func (o *GETDocumentParams) SetContext(ctx context.Context)
- func (o *GETDocumentParams) SetFileName(fileName string)
- func (o *GETDocumentParams) SetHTTPClient(client *http.Client)
- func (o *GETDocumentParams) SetID4N(id4n string)
- func (o *GETDocumentParams) SetOrganizationID(organizationID string)
- func (o *GETDocumentParams) SetTimeout(timeout time.Duration)
- func (o *GETDocumentParams) WithContext(ctx context.Context) *GETDocumentParams
- func (o *GETDocumentParams) WithFileName(fileName string) *GETDocumentParams
- func (o *GETDocumentParams) WithHTTPClient(client *http.Client) *GETDocumentParams
- func (o *GETDocumentParams) WithID4N(id4n string) *GETDocumentParams
- func (o *GETDocumentParams) WithOrganizationID(organizationID string) *GETDocumentParams
- func (o *GETDocumentParams) WithTimeout(timeout time.Duration) *GETDocumentParams
- func (o *GETDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GETDocumentReader
- type GETDocumentUnauthorized
- type GETDocumentUnsupportedMediaType
- type ListAllDocumentsAccepted
- type ListAllDocumentsForbidden
- type ListAllDocumentsInternalServerError
- type ListAllDocumentsMethodNotAllowed
- type ListAllDocumentsNotAcceptable
- type ListAllDocumentsNotFound
- type ListAllDocumentsOK
- type ListAllDocumentsParams
- func NewListAllDocumentsParams() *ListAllDocumentsParams
- func NewListAllDocumentsParamsWithContext(ctx context.Context) *ListAllDocumentsParams
- func NewListAllDocumentsParamsWithHTTPClient(client *http.Client) *ListAllDocumentsParams
- func NewListAllDocumentsParamsWithTimeout(timeout time.Duration) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) SetContext(ctx context.Context)
- func (o *ListAllDocumentsParams) SetHTTPClient(client *http.Client)
- func (o *ListAllDocumentsParams) SetID4N(id4n string)
- func (o *ListAllDocumentsParams) SetLimit(limit *int32)
- func (o *ListAllDocumentsParams) SetOffset(offset *int32)
- func (o *ListAllDocumentsParams) SetOwner(owner *string)
- func (o *ListAllDocumentsParams) SetTimeout(timeout time.Duration)
- func (o *ListAllDocumentsParams) WithContext(ctx context.Context) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) WithHTTPClient(client *http.Client) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) WithID4N(id4n string) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) WithLimit(limit *int32) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) WithOffset(offset *int32) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) WithOwner(owner *string) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) WithTimeout(timeout time.Duration) *ListAllDocumentsParams
- func (o *ListAllDocumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAllDocumentsReader
- type ListAllDocumentsUnauthorized
- type ListAllDocumentsUnsupportedMediaType
- type ListDocumentsAccepted
- type ListDocumentsForbidden
- type ListDocumentsInternalServerError
- type ListDocumentsMethodNotAllowed
- type ListDocumentsNotAcceptable
- type ListDocumentsNotFound
- type ListDocumentsOK
- type ListDocumentsParams
- func (o *ListDocumentsParams) SetContext(ctx context.Context)
- func (o *ListDocumentsParams) SetHTTPClient(client *http.Client)
- func (o *ListDocumentsParams) SetID4N(id4n string)
- func (o *ListDocumentsParams) SetLimit(limit *int32)
- func (o *ListDocumentsParams) SetOffset(offset *int32)
- func (o *ListDocumentsParams) SetOrganizationID(organizationID string)
- func (o *ListDocumentsParams) SetOwner(owner *string)
- func (o *ListDocumentsParams) SetTimeout(timeout time.Duration)
- func (o *ListDocumentsParams) WithContext(ctx context.Context) *ListDocumentsParams
- func (o *ListDocumentsParams) WithHTTPClient(client *http.Client) *ListDocumentsParams
- func (o *ListDocumentsParams) WithID4N(id4n string) *ListDocumentsParams
- func (o *ListDocumentsParams) WithLimit(limit *int32) *ListDocumentsParams
- func (o *ListDocumentsParams) WithOffset(offset *int32) *ListDocumentsParams
- func (o *ListDocumentsParams) WithOrganizationID(organizationID string) *ListDocumentsParams
- func (o *ListDocumentsParams) WithOwner(owner *string) *ListDocumentsParams
- func (o *ListDocumentsParams) WithTimeout(timeout time.Duration) *ListDocumentsParams
- func (o *ListDocumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDocumentsReader
- type ListDocumentsUnauthorized
- type ListDocumentsUnsupportedMediaType
- type ReadDocumentAccepted
- type ReadDocumentForbidden
- type ReadDocumentInternalServerError
- type ReadDocumentMethodNotAllowed
- type ReadDocumentNotAcceptable
- type ReadDocumentNotFound
- type ReadDocumentOK
- type ReadDocumentParams
- func (o *ReadDocumentParams) SetContext(ctx context.Context)
- func (o *ReadDocumentParams) SetFileName(fileName string)
- func (o *ReadDocumentParams) SetHTTPClient(client *http.Client)
- func (o *ReadDocumentParams) SetID4N(id4n string)
- func (o *ReadDocumentParams) SetOrganizationID(organizationID string)
- func (o *ReadDocumentParams) SetTimeout(timeout time.Duration)
- func (o *ReadDocumentParams) WithContext(ctx context.Context) *ReadDocumentParams
- func (o *ReadDocumentParams) WithFileName(fileName string) *ReadDocumentParams
- func (o *ReadDocumentParams) WithHTTPClient(client *http.Client) *ReadDocumentParams
- func (o *ReadDocumentParams) WithID4N(id4n string) *ReadDocumentParams
- func (o *ReadDocumentParams) WithOrganizationID(organizationID string) *ReadDocumentParams
- func (o *ReadDocumentParams) WithTimeout(timeout time.Duration) *ReadDocumentParams
- func (o *ReadDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDocumentReader
- type ReadDocumentUnauthorized
- type ReadDocumentUnsupportedMediaType
- type ReadFromMicrostorageAccepted
- type ReadFromMicrostorageForbidden
- type ReadFromMicrostorageInternalServerError
- type ReadFromMicrostorageMethodNotAllowed
- type ReadFromMicrostorageNotAcceptable
- type ReadFromMicrostorageNotFound
- type ReadFromMicrostorageOK
- type ReadFromMicrostorageParams
- func NewReadFromMicrostorageParams() *ReadFromMicrostorageParams
- func NewReadFromMicrostorageParamsWithContext(ctx context.Context) *ReadFromMicrostorageParams
- func NewReadFromMicrostorageParamsWithHTTPClient(client *http.Client) *ReadFromMicrostorageParams
- func NewReadFromMicrostorageParamsWithTimeout(timeout time.Duration) *ReadFromMicrostorageParams
- func (o *ReadFromMicrostorageParams) SetContext(ctx context.Context)
- func (o *ReadFromMicrostorageParams) SetHTTPClient(client *http.Client)
- func (o *ReadFromMicrostorageParams) SetID4N(id4n string)
- func (o *ReadFromMicrostorageParams) SetOrganization(organization string)
- func (o *ReadFromMicrostorageParams) SetTimeout(timeout time.Duration)
- func (o *ReadFromMicrostorageParams) WithContext(ctx context.Context) *ReadFromMicrostorageParams
- func (o *ReadFromMicrostorageParams) WithHTTPClient(client *http.Client) *ReadFromMicrostorageParams
- func (o *ReadFromMicrostorageParams) WithID4N(id4n string) *ReadFromMicrostorageParams
- func (o *ReadFromMicrostorageParams) WithOrganization(organization string) *ReadFromMicrostorageParams
- func (o *ReadFromMicrostorageParams) WithTimeout(timeout time.Duration) *ReadFromMicrostorageParams
- func (o *ReadFromMicrostorageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadFromMicrostorageReader
- type ReadFromMicrostorageUnauthorized
- type ReadFromMicrostorageUnsupportedMediaType
- type UpdateDocumentMetadataForbidden
- type UpdateDocumentMetadataNoContent
- type UpdateDocumentMetadataOK
- type UpdateDocumentMetadataParams
- func NewUpdateDocumentMetadataParams() *UpdateDocumentMetadataParams
- func NewUpdateDocumentMetadataParamsWithContext(ctx context.Context) *UpdateDocumentMetadataParams
- func NewUpdateDocumentMetadataParamsWithHTTPClient(client *http.Client) *UpdateDocumentMetadataParams
- func NewUpdateDocumentMetadataParamsWithTimeout(timeout time.Duration) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) SetContext(ctx context.Context)
- func (o *UpdateDocumentMetadataParams) SetDocument(document *api_models.DocumentUpdate)
- func (o *UpdateDocumentMetadataParams) SetFileName(fileName string)
- func (o *UpdateDocumentMetadataParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDocumentMetadataParams) SetID4N(id4n string)
- func (o *UpdateDocumentMetadataParams) SetOrganizationID(organizationID string)
- func (o *UpdateDocumentMetadataParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDocumentMetadataParams) WithContext(ctx context.Context) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) WithDocument(document *api_models.DocumentUpdate) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) WithFileName(fileName string) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) WithHTTPClient(client *http.Client) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) WithID4N(id4n string) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) WithOrganizationID(organizationID string) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) WithTimeout(timeout time.Duration) *UpdateDocumentMetadataParams
- func (o *UpdateDocumentMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDocumentMetadataReader
- type UpdateDocumentMetadataUnauthorized
- type WriteToMicrostorageAccepted
- type WriteToMicrostorageBadRequest
- type WriteToMicrostorageConflict
- type WriteToMicrostorageForbidden
- type WriteToMicrostorageInternalServerError
- type WriteToMicrostorageMethodNotAllowed
- type WriteToMicrostorageNotAcceptable
- type WriteToMicrostorageNotFound
- type WriteToMicrostorageOK
- type WriteToMicrostorageParams
- func NewWriteToMicrostorageParams() *WriteToMicrostorageParams
- func NewWriteToMicrostorageParamsWithContext(ctx context.Context) *WriteToMicrostorageParams
- func NewWriteToMicrostorageParamsWithHTTPClient(client *http.Client) *WriteToMicrostorageParams
- func NewWriteToMicrostorageParamsWithTimeout(timeout time.Duration) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) SetBody(body strfmt.Base64)
- func (o *WriteToMicrostorageParams) SetContentLength(contentLength *int64)
- func (o *WriteToMicrostorageParams) SetContentType(contentType *string)
- func (o *WriteToMicrostorageParams) SetContext(ctx context.Context)
- func (o *WriteToMicrostorageParams) SetHTTPClient(client *http.Client)
- func (o *WriteToMicrostorageParams) SetID4N(id4n string)
- func (o *WriteToMicrostorageParams) SetOrganization(organization string)
- func (o *WriteToMicrostorageParams) SetTimeout(timeout time.Duration)
- func (o *WriteToMicrostorageParams) WithBody(body strfmt.Base64) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WithContentLength(contentLength *int64) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WithContentType(contentType *string) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WithContext(ctx context.Context) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WithHTTPClient(client *http.Client) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WithID4N(id4n string) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WithOrganization(organization string) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WithTimeout(timeout time.Duration) *WriteToMicrostorageParams
- func (o *WriteToMicrostorageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WriteToMicrostorageReader
- type WriteToMicrostorageUnauthorized
- type WriteToMicrostorageUnsupportedMediaType
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 ¶
func (a *Client) CreateDocument(params *CreateDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDocumentOK, *CreateDocumentAccepted, error)
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 ¶
func (a *Client) GETDocument(params *GETDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*GETDocumentOK, *GETDocumentAccepted, error)
GETDocument retrieves a document meta data only no content
func (*Client) ListAllDocuments ¶
func (a *Client) ListAllDocuments(params *ListAllDocumentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllDocumentsOK, *ListAllDocumentsAccepted, error)
ListAllDocuments lists documents
Listing all documents of an id4n
func (*Client) ListDocuments ¶
func (a *Client) ListDocuments(params *ListDocumentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListDocumentsOK, *ListDocumentsAccepted, error)
ListDocuments lists organization specific documents
Listing documents of an id4n seen by a specified organization
func (*Client) ReadDocument ¶
func (a *Client) ReadDocument(params *ReadDocumentParams, authInfo runtime.ClientAuthInfoWriter) (*ReadDocumentOK, *ReadDocumentAccepted, error)
ReadDocument reads document contents
func (*Client) ReadFromMicrostorage ¶
func (a *Client) ReadFromMicrostorage(params *ReadFromMicrostorageParams, authInfo runtime.ClientAuthInfoWriter) (*ReadFromMicrostorageOK, *ReadFromMicrostorageAccepted, error)
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 ¶
func (a *Client) UpdateDocumentMetadata(params *UpdateDocumentMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDocumentMetadataOK, *UpdateDocumentMetadataNoContent, error)
UpdateDocumentMetadata updates a document
func (*Client) WriteToMicrostorage ¶
func (a *Client) WriteToMicrostorage(params *WriteToMicrostorageParams, authInfo runtime.ClientAuthInfoWriter) (*WriteToMicrostorageOK, *WriteToMicrostorageAccepted, error)
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 ¶
func (o *CreateDocumentInternalServerError) Error() string
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 ¶
func (o *CreateDocumentMethodNotAllowed) Error() string
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 ¶
func (o *CreateDocumentNotAcceptable) Error() string
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 ¶
func (o *CreateDocumentParams) WithContent(content runtime.NamedReadCloser) *CreateDocumentParams
WithContent adds the content to the create document params
func (*CreateDocumentParams) WithContext ¶
func (o *CreateDocumentParams) WithContext(ctx context.Context) *CreateDocumentParams
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 ¶
func (o *CreateDocumentParams) WithID4N(id4n string) *CreateDocumentParams
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 {
}
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 ¶
func (o *CreateDocumentUnauthorized) Error() string
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 ¶
func (o *CreateDocumentUnsupportedMediaType) Error() string
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 ¶
func (o *DeleteDocumentInternalServerError) Error() string
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 ¶
func (o *DeleteDocumentParams) WithContext(ctx context.Context) *DeleteDocumentParams
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 ¶
func (o *DeleteDocumentParams) WithID4N(id4n string) *DeleteDocumentParams
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 {
}
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 ¶
func (o *DeleteDocumentUnauthorized) Error() string
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 ¶
func (o *GETDocumentInternalServerError) Error() string
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 ¶
func (o *GETDocumentMethodNotAllowed) Error() string
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 {
}
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 ¶
func (o *GETDocumentUnsupportedMediaType) Error() string
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 ¶
func (o *ListAllDocumentsInternalServerError) Error() string
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 ¶
func (o *ListAllDocumentsMethodNotAllowed) Error() string
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 ¶
func (o *ListAllDocumentsNotAcceptable) Error() string
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 ¶
func (o *ListAllDocumentsParams) WithContext(ctx context.Context) *ListAllDocumentsParams
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 ¶
func (o *ListAllDocumentsParams) WithID4N(id4n string) *ListAllDocumentsParams
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 ¶
func (o *ListAllDocumentsParams) WithOwner(owner *string) *ListAllDocumentsParams
WithOwner adds the owner to the list all documents params
func (*ListAllDocumentsParams) WithTimeout ¶
func (o *ListAllDocumentsParams) WithTimeout(timeout time.Duration) *ListAllDocumentsParams
WithTimeout adds the timeout to the list all documents params
func (*ListAllDocumentsParams) WriteToRequest ¶
func (o *ListAllDocumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *ListAllDocumentsUnauthorized) Error() string
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 ¶
func (o *ListAllDocumentsUnsupportedMediaType) Error() string
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 ¶
func (o *ListDocumentsInternalServerError) Error() string
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 ¶
func (o *ListDocumentsMethodNotAllowed) Error() string
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 ¶
func (o *ListDocumentsNotAcceptable) Error() string
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 ¶
func (o *ListDocumentsParams) WithContext(ctx context.Context) *ListDocumentsParams
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 {
}
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 ¶
func (o *ListDocumentsUnsupportedMediaType) Error() string
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 ¶
func (o *ReadDocumentInternalServerError) Error() string
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 ¶
func (o *ReadDocumentMethodNotAllowed) Error() string
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 ¶
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 ¶
func (o *ReadDocumentParams) WithContext(ctx context.Context) *ReadDocumentParams
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 {
}
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 ¶
func (o *ReadDocumentUnsupportedMediaType) Error() string
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 ¶
func (o *ReadFromMicrostorageAccepted) Error() string
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 ¶
func (o *ReadFromMicrostorageForbidden) Error() string
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 ¶
func (o *ReadFromMicrostorageInternalServerError) Error() string
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 ¶
func (o *ReadFromMicrostorageMethodNotAllowed) Error() string
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 ¶
func (o *ReadFromMicrostorageNotAcceptable) Error() string
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 ¶
func (o *ReadFromMicrostorageNotFound) Error() string
type ReadFromMicrostorageOK ¶
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 ¶
func (o *ReadFromMicrostorageParams) WithContext(ctx context.Context) *ReadFromMicrostorageParams
WithContext adds the context to the read from microstorage params
func (*ReadFromMicrostorageParams) WithHTTPClient ¶
func (o *ReadFromMicrostorageParams) WithHTTPClient(client *http.Client) *ReadFromMicrostorageParams
WithHTTPClient adds the HTTPClient to the read from microstorage params
func (*ReadFromMicrostorageParams) WithID4N ¶
func (o *ReadFromMicrostorageParams) WithID4N(id4n string) *ReadFromMicrostorageParams
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 ¶
func (o *ReadFromMicrostorageParams) WithTimeout(timeout time.Duration) *ReadFromMicrostorageParams
WithTimeout adds the timeout to the read from microstorage params
func (*ReadFromMicrostorageParams) WriteToRequest ¶
func (o *ReadFromMicrostorageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *ReadFromMicrostorageUnauthorized) Error() string
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 ¶
func (o *ReadFromMicrostorageUnsupportedMediaType) Error() string
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 ¶
func (o *UpdateDocumentMetadataForbidden) Error() string
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 ¶
func (o *UpdateDocumentMetadataNoContent) Error() string
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 ¶
func (o *UpdateDocumentMetadataParams) WithContext(ctx context.Context) *UpdateDocumentMetadataParams
WithContext adds the context to the update document metadata params
func (*UpdateDocumentMetadataParams) WithDocument ¶
func (o *UpdateDocumentMetadataParams) WithDocument(document *api_models.DocumentUpdate) *UpdateDocumentMetadataParams
WithDocument adds the document to the update document metadata params
func (*UpdateDocumentMetadataParams) WithFileName ¶
func (o *UpdateDocumentMetadataParams) WithFileName(fileName string) *UpdateDocumentMetadataParams
WithFileName adds the fileName to the update document metadata params
func (*UpdateDocumentMetadataParams) WithHTTPClient ¶
func (o *UpdateDocumentMetadataParams) WithHTTPClient(client *http.Client) *UpdateDocumentMetadataParams
WithHTTPClient adds the HTTPClient to the update document metadata params
func (*UpdateDocumentMetadataParams) WithID4N ¶
func (o *UpdateDocumentMetadataParams) WithID4N(id4n string) *UpdateDocumentMetadataParams
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 ¶
func (o *UpdateDocumentMetadataParams) WithTimeout(timeout time.Duration) *UpdateDocumentMetadataParams
WithTimeout adds the timeout to the update document metadata params
func (*UpdateDocumentMetadataParams) WriteToRequest ¶
func (o *UpdateDocumentMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateDocumentMetadataUnauthorized) Error() string
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 ¶
func (o *WriteToMicrostorageAccepted) Error() string
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 ¶
func (o *WriteToMicrostorageBadRequest) Error() string
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 ¶
func (o *WriteToMicrostorageConflict) Error() string
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 ¶
func (o *WriteToMicrostorageForbidden) Error() string
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 ¶
func (o *WriteToMicrostorageInternalServerError) Error() string
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 ¶
func (o *WriteToMicrostorageMethodNotAllowed) Error() string
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 ¶
func (o *WriteToMicrostorageNotAcceptable) Error() string
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 ¶
func (o *WriteToMicrostorageNotFound) Error() string
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 ¶
func (o *WriteToMicrostorageParams) WithBody(body strfmt.Base64) *WriteToMicrostorageParams
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 ¶
func (o *WriteToMicrostorageParams) WithContext(ctx context.Context) *WriteToMicrostorageParams
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 ¶
func (o *WriteToMicrostorageParams) WithID4N(id4n string) *WriteToMicrostorageParams
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 ¶
func (o *WriteToMicrostorageParams) WithTimeout(timeout time.Duration) *WriteToMicrostorageParams
WithTimeout adds the timeout to the write to microstorage params
func (*WriteToMicrostorageParams) WriteToRequest ¶
func (o *WriteToMicrostorageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *WriteToMicrostorageUnauthorized) Error() string
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 ¶
func (o *WriteToMicrostorageUnsupportedMediaType) Error() string
Source Files
¶
- create_document_parameters.go
- create_document_responses.go
- delete_document_parameters.go
- delete_document_responses.go
- get_document_parameters.go
- get_document_responses.go
- list_all_documents_parameters.go
- list_all_documents_responses.go
- list_documents_parameters.go
- list_documents_responses.go
- read_document_parameters.go
- read_document_responses.go
- read_from_microstorage_parameters.go
- read_from_microstorage_responses.go
- storage_client.go
- update_document_metadata_parameters.go
- update_document_metadata_responses.go
- write_to_microstorage_parameters.go
- write_to_microstorage_responses.go