Documentation ¶
Index ¶
- type Client
- func (a *Client) DocumentContentDownloadContent(params *DocumentContentDownloadContentParams, ...) (*DocumentContentDownloadContentOK, error)
- func (a *Client) DocumentGet(params *DocumentGetParams, authInfo runtime.ClientAuthInfoWriter) (*DocumentGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DocumentContentDownloadContentOK
- type DocumentContentDownloadContentParams
- func NewDocumentContentDownloadContentParams() *DocumentContentDownloadContentParams
- func NewDocumentContentDownloadContentParamsWithContext(ctx context.Context) *DocumentContentDownloadContentParams
- func NewDocumentContentDownloadContentParamsWithHTTPClient(client *http.Client) *DocumentContentDownloadContentParams
- func NewDocumentContentDownloadContentParamsWithTimeout(timeout time.Duration) *DocumentContentDownloadContentParams
- func (o *DocumentContentDownloadContentParams) SetContext(ctx context.Context)
- func (o *DocumentContentDownloadContentParams) SetHTTPClient(client *http.Client)
- func (o *DocumentContentDownloadContentParams) SetID(id int32)
- func (o *DocumentContentDownloadContentParams) SetTimeout(timeout time.Duration)
- func (o *DocumentContentDownloadContentParams) WithContext(ctx context.Context) *DocumentContentDownloadContentParams
- func (o *DocumentContentDownloadContentParams) WithHTTPClient(client *http.Client) *DocumentContentDownloadContentParams
- func (o *DocumentContentDownloadContentParams) WithID(id int32) *DocumentContentDownloadContentParams
- func (o *DocumentContentDownloadContentParams) WithTimeout(timeout time.Duration) *DocumentContentDownloadContentParams
- func (o *DocumentContentDownloadContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DocumentContentDownloadContentReader
- type DocumentGetOK
- type DocumentGetParams
- func (o *DocumentGetParams) SetContext(ctx context.Context)
- func (o *DocumentGetParams) SetFields(fields *string)
- func (o *DocumentGetParams) SetHTTPClient(client *http.Client)
- func (o *DocumentGetParams) SetID(id int32)
- func (o *DocumentGetParams) SetTimeout(timeout time.Duration)
- func (o *DocumentGetParams) WithContext(ctx context.Context) *DocumentGetParams
- func (o *DocumentGetParams) WithFields(fields *string) *DocumentGetParams
- func (o *DocumentGetParams) WithHTTPClient(client *http.Client) *DocumentGetParams
- func (o *DocumentGetParams) WithID(id int32) *DocumentGetParams
- func (o *DocumentGetParams) WithTimeout(timeout time.Duration) *DocumentGetParams
- func (o *DocumentGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DocumentGetReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for document API
func (*Client) DocumentContentDownloadContent ¶
func (a *Client) DocumentContentDownloadContent(params *DocumentContentDownloadContentParams, authInfo runtime.ClientAuthInfoWriter) (*DocumentContentDownloadContentOK, error)
DocumentContentDownloadContent bs e t a get content of document given by ID
func (*Client) DocumentGet ¶
func (a *Client) DocumentGet(params *DocumentGetParams, authInfo runtime.ClientAuthInfoWriter) (*DocumentGetOK, error)
DocumentGet bs e t a get document by ID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DocumentContentDownloadContent(params *DocumentContentDownloadContentParams, authInfo runtime.ClientAuthInfoWriter) (*DocumentContentDownloadContentOK, error) DocumentGet(params *DocumentGetParams, authInfo runtime.ClientAuthInfoWriter) (*DocumentGetOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new document API client.
type DocumentContentDownloadContentOK ¶
DocumentContentDownloadContentOK handles this case with default header values.
successful operation
func NewDocumentContentDownloadContentOK ¶
func NewDocumentContentDownloadContentOK() *DocumentContentDownloadContentOK
NewDocumentContentDownloadContentOK creates a DocumentContentDownloadContentOK with default headers values
func (*DocumentContentDownloadContentOK) Error ¶
func (o *DocumentContentDownloadContentOK) Error() string
func (*DocumentContentDownloadContentOK) GetPayload ¶
func (o *DocumentContentDownloadContentOK) GetPayload() strfmt.Base64
type DocumentContentDownloadContentParams ¶
type DocumentContentDownloadContentParams struct { /*ID ID of document to download content from. */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DocumentContentDownloadContentParams contains all the parameters to send to the API endpoint for the document content download content operation typically these are written to a http.Request
func NewDocumentContentDownloadContentParams ¶
func NewDocumentContentDownloadContentParams() *DocumentContentDownloadContentParams
NewDocumentContentDownloadContentParams creates a new DocumentContentDownloadContentParams object with the default values initialized.
func NewDocumentContentDownloadContentParamsWithContext ¶
func NewDocumentContentDownloadContentParamsWithContext(ctx context.Context) *DocumentContentDownloadContentParams
NewDocumentContentDownloadContentParamsWithContext creates a new DocumentContentDownloadContentParams object with the default values initialized, and the ability to set a context for a request
func NewDocumentContentDownloadContentParamsWithHTTPClient ¶
func NewDocumentContentDownloadContentParamsWithHTTPClient(client *http.Client) *DocumentContentDownloadContentParams
NewDocumentContentDownloadContentParamsWithHTTPClient creates a new DocumentContentDownloadContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDocumentContentDownloadContentParamsWithTimeout ¶
func NewDocumentContentDownloadContentParamsWithTimeout(timeout time.Duration) *DocumentContentDownloadContentParams
NewDocumentContentDownloadContentParamsWithTimeout creates a new DocumentContentDownloadContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*DocumentContentDownloadContentParams) SetContext ¶
func (o *DocumentContentDownloadContentParams) SetContext(ctx context.Context)
SetContext adds the context to the document content download content params
func (*DocumentContentDownloadContentParams) SetHTTPClient ¶
func (o *DocumentContentDownloadContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the document content download content params
func (*DocumentContentDownloadContentParams) SetID ¶
func (o *DocumentContentDownloadContentParams) SetID(id int32)
SetID adds the id to the document content download content params
func (*DocumentContentDownloadContentParams) SetTimeout ¶
func (o *DocumentContentDownloadContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the document content download content params
func (*DocumentContentDownloadContentParams) WithContext ¶
func (o *DocumentContentDownloadContentParams) WithContext(ctx context.Context) *DocumentContentDownloadContentParams
WithContext adds the context to the document content download content params
func (*DocumentContentDownloadContentParams) WithHTTPClient ¶
func (o *DocumentContentDownloadContentParams) WithHTTPClient(client *http.Client) *DocumentContentDownloadContentParams
WithHTTPClient adds the HTTPClient to the document content download content params
func (*DocumentContentDownloadContentParams) WithID ¶
func (o *DocumentContentDownloadContentParams) WithID(id int32) *DocumentContentDownloadContentParams
WithID adds the id to the document content download content params
func (*DocumentContentDownloadContentParams) WithTimeout ¶
func (o *DocumentContentDownloadContentParams) WithTimeout(timeout time.Duration) *DocumentContentDownloadContentParams
WithTimeout adds the timeout to the document content download content params
func (*DocumentContentDownloadContentParams) WriteToRequest ¶
func (o *DocumentContentDownloadContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DocumentContentDownloadContentReader ¶
type DocumentContentDownloadContentReader struct {
// contains filtered or unexported fields
}
DocumentContentDownloadContentReader is a Reader for the DocumentContentDownloadContent structure.
func (*DocumentContentDownloadContentReader) ReadResponse ¶
func (o *DocumentContentDownloadContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DocumentGetOK ¶
type DocumentGetOK struct {
Payload *models.ResponseWrapperDocument
}
DocumentGetOK handles this case with default header values.
successful operation
func NewDocumentGetOK ¶
func NewDocumentGetOK() *DocumentGetOK
NewDocumentGetOK creates a DocumentGetOK with default headers values
func (*DocumentGetOK) Error ¶
func (o *DocumentGetOK) Error() string
func (*DocumentGetOK) GetPayload ¶
func (o *DocumentGetOK) GetPayload() *models.ResponseWrapperDocument
type DocumentGetParams ¶
type DocumentGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DocumentGetParams contains all the parameters to send to the API endpoint for the document get operation typically these are written to a http.Request
func NewDocumentGetParams ¶
func NewDocumentGetParams() *DocumentGetParams
NewDocumentGetParams creates a new DocumentGetParams object with the default values initialized.
func NewDocumentGetParamsWithContext ¶
func NewDocumentGetParamsWithContext(ctx context.Context) *DocumentGetParams
NewDocumentGetParamsWithContext creates a new DocumentGetParams object with the default values initialized, and the ability to set a context for a request
func NewDocumentGetParamsWithHTTPClient ¶
func NewDocumentGetParamsWithHTTPClient(client *http.Client) *DocumentGetParams
NewDocumentGetParamsWithHTTPClient creates a new DocumentGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDocumentGetParamsWithTimeout ¶
func NewDocumentGetParamsWithTimeout(timeout time.Duration) *DocumentGetParams
NewDocumentGetParamsWithTimeout creates a new DocumentGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*DocumentGetParams) SetContext ¶
func (o *DocumentGetParams) SetContext(ctx context.Context)
SetContext adds the context to the document get params
func (*DocumentGetParams) SetFields ¶
func (o *DocumentGetParams) SetFields(fields *string)
SetFields adds the fields to the document get params
func (*DocumentGetParams) SetHTTPClient ¶
func (o *DocumentGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the document get params
func (*DocumentGetParams) SetID ¶
func (o *DocumentGetParams) SetID(id int32)
SetID adds the id to the document get params
func (*DocumentGetParams) SetTimeout ¶
func (o *DocumentGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the document get params
func (*DocumentGetParams) WithContext ¶
func (o *DocumentGetParams) WithContext(ctx context.Context) *DocumentGetParams
WithContext adds the context to the document get params
func (*DocumentGetParams) WithFields ¶
func (o *DocumentGetParams) WithFields(fields *string) *DocumentGetParams
WithFields adds the fields to the document get params
func (*DocumentGetParams) WithHTTPClient ¶
func (o *DocumentGetParams) WithHTTPClient(client *http.Client) *DocumentGetParams
WithHTTPClient adds the HTTPClient to the document get params
func (*DocumentGetParams) WithID ¶
func (o *DocumentGetParams) WithID(id int32) *DocumentGetParams
WithID adds the id to the document get params
func (*DocumentGetParams) WithTimeout ¶
func (o *DocumentGetParams) WithTimeout(timeout time.Duration) *DocumentGetParams
WithTimeout adds the timeout to the document get params
func (*DocumentGetParams) WriteToRequest ¶
func (o *DocumentGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DocumentGetReader ¶
type DocumentGetReader struct {
// contains filtered or unexported fields
}
DocumentGetReader is a Reader for the DocumentGet structure.
func (*DocumentGetReader) ReadResponse ¶
func (o *DocumentGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.