Versions in this module Expand all Collapse all v0 v0.33.2 Mar 17, 2026 Changes in this version + func WithContentTypeApplicationJSON(r *runtime.ClientOperation) + func WithContentTypeMultipartFormData(r *runtime.ClientOperation) + type Client struct + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UploadFile(params *UploadFileParams, opts ...ClientOption) (*UploadFileOK, error) + type ClientOption func(*runtime.ClientOperation) + func WithContentType(mime string) ClientOption + type ClientService interface + SetTransport func(transport runtime.ClientTransport) + UploadFile func(params *UploadFileParams, opts ...ClientOption) (*UploadFileOK, error) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService + func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService + type UploadFileOK struct + func NewUploadFileOK() *UploadFileOK + func (o *UploadFileOK) Code() int + func (o *UploadFileOK) Error() string + func (o *UploadFileOK) IsClientError() bool + func (o *UploadFileOK) IsCode(code int) bool + func (o *UploadFileOK) IsRedirect() bool + func (o *UploadFileOK) IsServerError() bool + func (o *UploadFileOK) IsSuccess() bool + func (o *UploadFileOK) String() string + type UploadFileParams struct + Context context.Context + File runtime.NamedReadCloser + HTTPClient *http.Client + func NewUploadFileParams() *UploadFileParams + func NewUploadFileParamsWithContext(ctx context.Context) *UploadFileParams + func NewUploadFileParamsWithHTTPClient(client *http.Client) *UploadFileParams + func NewUploadFileParamsWithTimeout(timeout time.Duration) *UploadFileParams + func (o *UploadFileParams) SetContext(ctx context.Context) + func (o *UploadFileParams) SetDefaults() + func (o *UploadFileParams) SetFile(file runtime.NamedReadCloser) + func (o *UploadFileParams) SetHTTPClient(client *http.Client) + func (o *UploadFileParams) SetTimeout(timeout time.Duration) + func (o *UploadFileParams) WithContext(ctx context.Context) *UploadFileParams + func (o *UploadFileParams) WithDefaults() *UploadFileParams + func (o *UploadFileParams) WithFile(file runtime.NamedReadCloser) *UploadFileParams + func (o *UploadFileParams) WithHTTPClient(client *http.Client) *UploadFileParams + func (o *UploadFileParams) WithTimeout(timeout time.Duration) *UploadFileParams + func (o *UploadFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UploadFileReader struct + func (o *UploadFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)