Documentation ¶
Index ¶
- type CancelUploadTaskBadRequest
- type CancelUploadTaskInternalServerError
- type CancelUploadTaskNotFound
- type CancelUploadTaskNotModified
- type CancelUploadTaskOK
- type CancelUploadTaskParams
- func NewCancelUploadTaskParams() *CancelUploadTaskParams
- func NewCancelUploadTaskParamsWithContext(ctx context.Context) *CancelUploadTaskParams
- func NewCancelUploadTaskParamsWithHTTPClient(client *http.Client) *CancelUploadTaskParams
- func NewCancelUploadTaskParamsWithTimeout(timeout time.Duration) *CancelUploadTaskParams
- func (o *CancelUploadTaskParams) SetContentLanguage(contentLanguage *string)
- func (o *CancelUploadTaskParams) SetContext(ctx context.Context)
- func (o *CancelUploadTaskParams) SetDefaults()
- func (o *CancelUploadTaskParams) SetHTTPClient(client *http.Client)
- func (o *CancelUploadTaskParams) SetRequestBody(requestBody *models.CancelUploadTaskParams)
- func (o *CancelUploadTaskParams) SetTimeout(timeout time.Duration)
- func (o *CancelUploadTaskParams) WithContentLanguage(contentLanguage *string) *CancelUploadTaskParams
- func (o *CancelUploadTaskParams) WithContext(ctx context.Context) *CancelUploadTaskParams
- func (o *CancelUploadTaskParams) WithDefaults() *CancelUploadTaskParams
- func (o *CancelUploadTaskParams) WithHTTPClient(client *http.Client) *CancelUploadTaskParams
- func (o *CancelUploadTaskParams) WithRequestBody(requestBody *models.CancelUploadTaskParams) *CancelUploadTaskParams
- func (o *CancelUploadTaskParams) WithTimeout(timeout time.Duration) *CancelUploadTaskParams
- func (o *CancelUploadTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelUploadTaskReader
- type Client
- func (a *Client) CancelUploadTask(params *CancelUploadTaskParams, opts ...ClientOption) (*CancelUploadTaskOK, error)
- func (a *Client) GetUploadTasks(params *GetUploadTasksParams, opts ...ClientOption) (*GetUploadTasksOK, error)
- func (a *Client) GetUploadTasksConnection(params *GetUploadTasksConnectionParams, opts ...ClientOption) (*GetUploadTasksConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetUploadTasksBadRequest
- type GetUploadTasksConnectionBadRequest
- type GetUploadTasksConnectionInternalServerError
- type GetUploadTasksConnectionNotFound
- type GetUploadTasksConnectionOK
- type GetUploadTasksConnectionParams
- func NewGetUploadTasksConnectionParams() *GetUploadTasksConnectionParams
- func NewGetUploadTasksConnectionParamsWithContext(ctx context.Context) *GetUploadTasksConnectionParams
- func NewGetUploadTasksConnectionParamsWithHTTPClient(client *http.Client) *GetUploadTasksConnectionParams
- func NewGetUploadTasksConnectionParamsWithTimeout(timeout time.Duration) *GetUploadTasksConnectionParams
- func (o *GetUploadTasksConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUploadTasksConnectionParams) SetContext(ctx context.Context)
- func (o *GetUploadTasksConnectionParams) SetDefaults()
- func (o *GetUploadTasksConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetUploadTasksConnectionParams) SetRequestBody(requestBody *models.GetUploadTasksConnectionRequestBody)
- func (o *GetUploadTasksConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetUploadTasksConnectionParams) WithContentLanguage(contentLanguage *string) *GetUploadTasksConnectionParams
- func (o *GetUploadTasksConnectionParams) WithContext(ctx context.Context) *GetUploadTasksConnectionParams
- func (o *GetUploadTasksConnectionParams) WithDefaults() *GetUploadTasksConnectionParams
- func (o *GetUploadTasksConnectionParams) WithHTTPClient(client *http.Client) *GetUploadTasksConnectionParams
- func (o *GetUploadTasksConnectionParams) WithRequestBody(requestBody *models.GetUploadTasksConnectionRequestBody) *GetUploadTasksConnectionParams
- func (o *GetUploadTasksConnectionParams) WithTimeout(timeout time.Duration) *GetUploadTasksConnectionParams
- func (o *GetUploadTasksConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUploadTasksConnectionReader
- type GetUploadTasksInternalServerError
- type GetUploadTasksNotFound
- type GetUploadTasksOK
- type GetUploadTasksParams
- func NewGetUploadTasksParams() *GetUploadTasksParams
- func NewGetUploadTasksParamsWithContext(ctx context.Context) *GetUploadTasksParams
- func NewGetUploadTasksParamsWithHTTPClient(client *http.Client) *GetUploadTasksParams
- func NewGetUploadTasksParamsWithTimeout(timeout time.Duration) *GetUploadTasksParams
- func (o *GetUploadTasksParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUploadTasksParams) SetContext(ctx context.Context)
- func (o *GetUploadTasksParams) SetDefaults()
- func (o *GetUploadTasksParams) SetHTTPClient(client *http.Client)
- func (o *GetUploadTasksParams) SetRequestBody(requestBody *models.GetUploadTasksRequestBody)
- func (o *GetUploadTasksParams) SetTimeout(timeout time.Duration)
- func (o *GetUploadTasksParams) WithContentLanguage(contentLanguage *string) *GetUploadTasksParams
- func (o *GetUploadTasksParams) WithContext(ctx context.Context) *GetUploadTasksParams
- func (o *GetUploadTasksParams) WithDefaults() *GetUploadTasksParams
- func (o *GetUploadTasksParams) WithHTTPClient(client *http.Client) *GetUploadTasksParams
- func (o *GetUploadTasksParams) WithRequestBody(requestBody *models.GetUploadTasksRequestBody) *GetUploadTasksParams
- func (o *GetUploadTasksParams) WithTimeout(timeout time.Duration) *GetUploadTasksParams
- func (o *GetUploadTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUploadTasksReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelUploadTaskBadRequest ¶ added in v2.1.0
CancelUploadTaskBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCancelUploadTaskBadRequest ¶ added in v2.1.0
func NewCancelUploadTaskBadRequest() *CancelUploadTaskBadRequest
NewCancelUploadTaskBadRequest creates a CancelUploadTaskBadRequest with default headers values
func (*CancelUploadTaskBadRequest) Error ¶ added in v2.1.0
func (o *CancelUploadTaskBadRequest) Error() string
func (*CancelUploadTaskBadRequest) GetPayload ¶ added in v2.1.0
func (o *CancelUploadTaskBadRequest) GetPayload() *models.ErrorBody
type CancelUploadTaskInternalServerError ¶ added in v2.1.0
CancelUploadTaskInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCancelUploadTaskInternalServerError ¶ added in v2.1.0
func NewCancelUploadTaskInternalServerError() *CancelUploadTaskInternalServerError
NewCancelUploadTaskInternalServerError creates a CancelUploadTaskInternalServerError with default headers values
func (*CancelUploadTaskInternalServerError) Error ¶ added in v2.1.0
func (o *CancelUploadTaskInternalServerError) Error() string
func (*CancelUploadTaskInternalServerError) GetPayload ¶ added in v2.1.0
func (o *CancelUploadTaskInternalServerError) GetPayload() *models.ErrorBody
type CancelUploadTaskNotFound ¶ added in v2.1.0
CancelUploadTaskNotFound describes a response with status code 404, with default header values.
Not found
func NewCancelUploadTaskNotFound ¶ added in v2.1.0
func NewCancelUploadTaskNotFound() *CancelUploadTaskNotFound
NewCancelUploadTaskNotFound creates a CancelUploadTaskNotFound with default headers values
func (*CancelUploadTaskNotFound) Error ¶ added in v2.1.0
func (o *CancelUploadTaskNotFound) Error() string
func (*CancelUploadTaskNotFound) GetPayload ¶ added in v2.1.0
func (o *CancelUploadTaskNotFound) GetPayload() *models.ErrorBody
type CancelUploadTaskNotModified ¶ added in v2.1.0
type CancelUploadTaskNotModified struct { }
CancelUploadTaskNotModified describes a response with status code 304, with default header values.
Not modified
func NewCancelUploadTaskNotModified ¶ added in v2.1.0
func NewCancelUploadTaskNotModified() *CancelUploadTaskNotModified
NewCancelUploadTaskNotModified creates a CancelUploadTaskNotModified with default headers values
func (*CancelUploadTaskNotModified) Error ¶ added in v2.1.0
func (o *CancelUploadTaskNotModified) Error() string
type CancelUploadTaskOK ¶ added in v2.1.0
type CancelUploadTaskOK struct {
Payload []string
}
CancelUploadTaskOK describes a response with status code 200, with default header values.
Ok
func NewCancelUploadTaskOK ¶ added in v2.1.0
func NewCancelUploadTaskOK() *CancelUploadTaskOK
NewCancelUploadTaskOK creates a CancelUploadTaskOK with default headers values
func (*CancelUploadTaskOK) Error ¶ added in v2.1.0
func (o *CancelUploadTaskOK) Error() string
func (*CancelUploadTaskOK) GetPayload ¶ added in v2.1.0
func (o *CancelUploadTaskOK) GetPayload() []string
type CancelUploadTaskParams ¶ added in v2.1.0
type CancelUploadTaskParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.CancelUploadTaskParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelUploadTaskParams contains all the parameters to send to the API endpoint
for the cancel upload task operation. Typically these are written to a http.Request.
func NewCancelUploadTaskParams ¶ added in v2.1.0
func NewCancelUploadTaskParams() *CancelUploadTaskParams
NewCancelUploadTaskParams creates a new CancelUploadTaskParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCancelUploadTaskParamsWithContext ¶ added in v2.1.0
func NewCancelUploadTaskParamsWithContext(ctx context.Context) *CancelUploadTaskParams
NewCancelUploadTaskParamsWithContext creates a new CancelUploadTaskParams object with the ability to set a context for a request.
func NewCancelUploadTaskParamsWithHTTPClient ¶ added in v2.1.0
func NewCancelUploadTaskParamsWithHTTPClient(client *http.Client) *CancelUploadTaskParams
NewCancelUploadTaskParamsWithHTTPClient creates a new CancelUploadTaskParams object with the ability to set a custom HTTPClient for a request.
func NewCancelUploadTaskParamsWithTimeout ¶ added in v2.1.0
func NewCancelUploadTaskParamsWithTimeout(timeout time.Duration) *CancelUploadTaskParams
NewCancelUploadTaskParamsWithTimeout creates a new CancelUploadTaskParams object with the ability to set a timeout on a request.
func (*CancelUploadTaskParams) SetContentLanguage ¶ added in v2.1.0
func (o *CancelUploadTaskParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the cancel upload task params
func (*CancelUploadTaskParams) SetContext ¶ added in v2.1.0
func (o *CancelUploadTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel upload task params
func (*CancelUploadTaskParams) SetDefaults ¶ added in v2.1.0
func (o *CancelUploadTaskParams) SetDefaults()
SetDefaults hydrates default values in the cancel upload task params (not the query body).
All values with no default are reset to their zero value.
func (*CancelUploadTaskParams) SetHTTPClient ¶ added in v2.1.0
func (o *CancelUploadTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel upload task params
func (*CancelUploadTaskParams) SetRequestBody ¶ added in v2.1.0
func (o *CancelUploadTaskParams) SetRequestBody(requestBody *models.CancelUploadTaskParams)
SetRequestBody adds the requestBody to the cancel upload task params
func (*CancelUploadTaskParams) SetTimeout ¶ added in v2.1.0
func (o *CancelUploadTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel upload task params
func (*CancelUploadTaskParams) WithContentLanguage ¶ added in v2.1.0
func (o *CancelUploadTaskParams) WithContentLanguage(contentLanguage *string) *CancelUploadTaskParams
WithContentLanguage adds the contentLanguage to the cancel upload task params
func (*CancelUploadTaskParams) WithContext ¶ added in v2.1.0
func (o *CancelUploadTaskParams) WithContext(ctx context.Context) *CancelUploadTaskParams
WithContext adds the context to the cancel upload task params
func (*CancelUploadTaskParams) WithDefaults ¶ added in v2.1.0
func (o *CancelUploadTaskParams) WithDefaults() *CancelUploadTaskParams
WithDefaults hydrates default values in the cancel upload task params (not the query body).
All values with no default are reset to their zero value.
func (*CancelUploadTaskParams) WithHTTPClient ¶ added in v2.1.0
func (o *CancelUploadTaskParams) WithHTTPClient(client *http.Client) *CancelUploadTaskParams
WithHTTPClient adds the HTTPClient to the cancel upload task params
func (*CancelUploadTaskParams) WithRequestBody ¶ added in v2.1.0
func (o *CancelUploadTaskParams) WithRequestBody(requestBody *models.CancelUploadTaskParams) *CancelUploadTaskParams
WithRequestBody adds the requestBody to the cancel upload task params
func (*CancelUploadTaskParams) WithTimeout ¶ added in v2.1.0
func (o *CancelUploadTaskParams) WithTimeout(timeout time.Duration) *CancelUploadTaskParams
WithTimeout adds the timeout to the cancel upload task params
func (*CancelUploadTaskParams) WriteToRequest ¶ added in v2.1.0
func (o *CancelUploadTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelUploadTaskReader ¶ added in v2.1.0
type CancelUploadTaskReader struct {
// contains filtered or unexported fields
}
CancelUploadTaskReader is a Reader for the CancelUploadTask structure.
func (*CancelUploadTaskReader) ReadResponse ¶ added in v2.1.0
func (o *CancelUploadTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for upload task API
func (*Client) CancelUploadTask ¶ added in v2.1.0
func (a *Client) CancelUploadTask(params *CancelUploadTaskParams, opts ...ClientOption) (*CancelUploadTaskOK, error)
CancelUploadTask cancel upload task API
func (*Client) GetUploadTasks ¶
func (a *Client) GetUploadTasks(params *GetUploadTasksParams, opts ...ClientOption) (*GetUploadTasksOK, error)
GetUploadTasks get upload tasks API
func (*Client) GetUploadTasksConnection ¶
func (a *Client) GetUploadTasksConnection(params *GetUploadTasksConnectionParams, opts ...ClientOption) (*GetUploadTasksConnectionOK, error)
GetUploadTasksConnection get upload tasks connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CancelUploadTask(params *CancelUploadTaskParams, opts ...ClientOption) (*CancelUploadTaskOK, error) GetUploadTasks(params *GetUploadTasksParams, opts ...ClientOption) (*GetUploadTasksOK, error) GetUploadTasksConnection(params *GetUploadTasksConnectionParams, opts ...ClientOption) (*GetUploadTasksConnectionOK, 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 upload task API client.
type GetUploadTasksBadRequest ¶
GetUploadTasksBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUploadTasksBadRequest ¶
func NewGetUploadTasksBadRequest() *GetUploadTasksBadRequest
NewGetUploadTasksBadRequest creates a GetUploadTasksBadRequest with default headers values
func (*GetUploadTasksBadRequest) Error ¶
func (o *GetUploadTasksBadRequest) Error() string
func (*GetUploadTasksBadRequest) GetPayload ¶
func (o *GetUploadTasksBadRequest) GetPayload() *models.ErrorBody
type GetUploadTasksConnectionBadRequest ¶
GetUploadTasksConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUploadTasksConnectionBadRequest ¶
func NewGetUploadTasksConnectionBadRequest() *GetUploadTasksConnectionBadRequest
NewGetUploadTasksConnectionBadRequest creates a GetUploadTasksConnectionBadRequest with default headers values
func (*GetUploadTasksConnectionBadRequest) Error ¶
func (o *GetUploadTasksConnectionBadRequest) Error() string
func (*GetUploadTasksConnectionBadRequest) GetPayload ¶
func (o *GetUploadTasksConnectionBadRequest) GetPayload() *models.ErrorBody
type GetUploadTasksConnectionInternalServerError ¶
GetUploadTasksConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUploadTasksConnectionInternalServerError ¶
func NewGetUploadTasksConnectionInternalServerError() *GetUploadTasksConnectionInternalServerError
NewGetUploadTasksConnectionInternalServerError creates a GetUploadTasksConnectionInternalServerError with default headers values
func (*GetUploadTasksConnectionInternalServerError) Error ¶
func (o *GetUploadTasksConnectionInternalServerError) Error() string
func (*GetUploadTasksConnectionInternalServerError) GetPayload ¶
func (o *GetUploadTasksConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetUploadTasksConnectionNotFound ¶
GetUploadTasksConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUploadTasksConnectionNotFound ¶
func NewGetUploadTasksConnectionNotFound() *GetUploadTasksConnectionNotFound
NewGetUploadTasksConnectionNotFound creates a GetUploadTasksConnectionNotFound with default headers values
func (*GetUploadTasksConnectionNotFound) Error ¶
func (o *GetUploadTasksConnectionNotFound) Error() string
func (*GetUploadTasksConnectionNotFound) GetPayload ¶
func (o *GetUploadTasksConnectionNotFound) GetPayload() *models.ErrorBody
type GetUploadTasksConnectionOK ¶
type GetUploadTasksConnectionOK struct {
Payload *models.UploadTaskConnection
}
GetUploadTasksConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetUploadTasksConnectionOK ¶
func NewGetUploadTasksConnectionOK() *GetUploadTasksConnectionOK
NewGetUploadTasksConnectionOK creates a GetUploadTasksConnectionOK with default headers values
func (*GetUploadTasksConnectionOK) Error ¶
func (o *GetUploadTasksConnectionOK) Error() string
func (*GetUploadTasksConnectionOK) GetPayload ¶
func (o *GetUploadTasksConnectionOK) GetPayload() *models.UploadTaskConnection
type GetUploadTasksConnectionParams ¶
type GetUploadTasksConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetUploadTasksConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUploadTasksConnectionParams contains all the parameters to send to the API endpoint
for the get upload tasks connection operation. Typically these are written to a http.Request.
func NewGetUploadTasksConnectionParams ¶
func NewGetUploadTasksConnectionParams() *GetUploadTasksConnectionParams
NewGetUploadTasksConnectionParams creates a new GetUploadTasksConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUploadTasksConnectionParamsWithContext ¶
func NewGetUploadTasksConnectionParamsWithContext(ctx context.Context) *GetUploadTasksConnectionParams
NewGetUploadTasksConnectionParamsWithContext creates a new GetUploadTasksConnectionParams object with the ability to set a context for a request.
func NewGetUploadTasksConnectionParamsWithHTTPClient ¶
func NewGetUploadTasksConnectionParamsWithHTTPClient(client *http.Client) *GetUploadTasksConnectionParams
NewGetUploadTasksConnectionParamsWithHTTPClient creates a new GetUploadTasksConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetUploadTasksConnectionParamsWithTimeout ¶
func NewGetUploadTasksConnectionParamsWithTimeout(timeout time.Duration) *GetUploadTasksConnectionParams
NewGetUploadTasksConnectionParamsWithTimeout creates a new GetUploadTasksConnectionParams object with the ability to set a timeout on a request.
func (*GetUploadTasksConnectionParams) SetContentLanguage ¶
func (o *GetUploadTasksConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) SetContext ¶
func (o *GetUploadTasksConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) SetDefaults ¶
func (o *GetUploadTasksConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get upload tasks connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetUploadTasksConnectionParams) SetHTTPClient ¶
func (o *GetUploadTasksConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) SetRequestBody ¶
func (o *GetUploadTasksConnectionParams) SetRequestBody(requestBody *models.GetUploadTasksConnectionRequestBody)
SetRequestBody adds the requestBody to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) SetTimeout ¶
func (o *GetUploadTasksConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) WithContentLanguage ¶
func (o *GetUploadTasksConnectionParams) WithContentLanguage(contentLanguage *string) *GetUploadTasksConnectionParams
WithContentLanguage adds the contentLanguage to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) WithContext ¶
func (o *GetUploadTasksConnectionParams) WithContext(ctx context.Context) *GetUploadTasksConnectionParams
WithContext adds the context to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) WithDefaults ¶
func (o *GetUploadTasksConnectionParams) WithDefaults() *GetUploadTasksConnectionParams
WithDefaults hydrates default values in the get upload tasks connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetUploadTasksConnectionParams) WithHTTPClient ¶
func (o *GetUploadTasksConnectionParams) WithHTTPClient(client *http.Client) *GetUploadTasksConnectionParams
WithHTTPClient adds the HTTPClient to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) WithRequestBody ¶
func (o *GetUploadTasksConnectionParams) WithRequestBody(requestBody *models.GetUploadTasksConnectionRequestBody) *GetUploadTasksConnectionParams
WithRequestBody adds the requestBody to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) WithTimeout ¶
func (o *GetUploadTasksConnectionParams) WithTimeout(timeout time.Duration) *GetUploadTasksConnectionParams
WithTimeout adds the timeout to the get upload tasks connection params
func (*GetUploadTasksConnectionParams) WriteToRequest ¶
func (o *GetUploadTasksConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUploadTasksConnectionReader ¶
type GetUploadTasksConnectionReader struct {
// contains filtered or unexported fields
}
GetUploadTasksConnectionReader is a Reader for the GetUploadTasksConnection structure.
func (*GetUploadTasksConnectionReader) ReadResponse ¶
func (o *GetUploadTasksConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUploadTasksInternalServerError ¶
GetUploadTasksInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUploadTasksInternalServerError ¶
func NewGetUploadTasksInternalServerError() *GetUploadTasksInternalServerError
NewGetUploadTasksInternalServerError creates a GetUploadTasksInternalServerError with default headers values
func (*GetUploadTasksInternalServerError) Error ¶
func (o *GetUploadTasksInternalServerError) Error() string
func (*GetUploadTasksInternalServerError) GetPayload ¶
func (o *GetUploadTasksInternalServerError) GetPayload() *models.ErrorBody
type GetUploadTasksNotFound ¶
GetUploadTasksNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUploadTasksNotFound ¶
func NewGetUploadTasksNotFound() *GetUploadTasksNotFound
NewGetUploadTasksNotFound creates a GetUploadTasksNotFound with default headers values
func (*GetUploadTasksNotFound) Error ¶
func (o *GetUploadTasksNotFound) Error() string
func (*GetUploadTasksNotFound) GetPayload ¶
func (o *GetUploadTasksNotFound) GetPayload() *models.ErrorBody
type GetUploadTasksOK ¶
type GetUploadTasksOK struct {
Payload []*models.UploadTask
}
GetUploadTasksOK describes a response with status code 200, with default header values.
Ok
func NewGetUploadTasksOK ¶
func NewGetUploadTasksOK() *GetUploadTasksOK
NewGetUploadTasksOK creates a GetUploadTasksOK with default headers values
func (*GetUploadTasksOK) Error ¶
func (o *GetUploadTasksOK) Error() string
func (*GetUploadTasksOK) GetPayload ¶
func (o *GetUploadTasksOK) GetPayload() []*models.UploadTask
type GetUploadTasksParams ¶
type GetUploadTasksParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetUploadTasksRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUploadTasksParams contains all the parameters to send to the API endpoint
for the get upload tasks operation. Typically these are written to a http.Request.
func NewGetUploadTasksParams ¶
func NewGetUploadTasksParams() *GetUploadTasksParams
NewGetUploadTasksParams creates a new GetUploadTasksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUploadTasksParamsWithContext ¶
func NewGetUploadTasksParamsWithContext(ctx context.Context) *GetUploadTasksParams
NewGetUploadTasksParamsWithContext creates a new GetUploadTasksParams object with the ability to set a context for a request.
func NewGetUploadTasksParamsWithHTTPClient ¶
func NewGetUploadTasksParamsWithHTTPClient(client *http.Client) *GetUploadTasksParams
NewGetUploadTasksParamsWithHTTPClient creates a new GetUploadTasksParams object with the ability to set a custom HTTPClient for a request.
func NewGetUploadTasksParamsWithTimeout ¶
func NewGetUploadTasksParamsWithTimeout(timeout time.Duration) *GetUploadTasksParams
NewGetUploadTasksParamsWithTimeout creates a new GetUploadTasksParams object with the ability to set a timeout on a request.
func (*GetUploadTasksParams) SetContentLanguage ¶
func (o *GetUploadTasksParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get upload tasks params
func (*GetUploadTasksParams) SetContext ¶
func (o *GetUploadTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the get upload tasks params
func (*GetUploadTasksParams) SetDefaults ¶
func (o *GetUploadTasksParams) SetDefaults()
SetDefaults hydrates default values in the get upload tasks params (not the query body).
All values with no default are reset to their zero value.
func (*GetUploadTasksParams) SetHTTPClient ¶
func (o *GetUploadTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get upload tasks params
func (*GetUploadTasksParams) SetRequestBody ¶
func (o *GetUploadTasksParams) SetRequestBody(requestBody *models.GetUploadTasksRequestBody)
SetRequestBody adds the requestBody to the get upload tasks params
func (*GetUploadTasksParams) SetTimeout ¶
func (o *GetUploadTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get upload tasks params
func (*GetUploadTasksParams) WithContentLanguage ¶
func (o *GetUploadTasksParams) WithContentLanguage(contentLanguage *string) *GetUploadTasksParams
WithContentLanguage adds the contentLanguage to the get upload tasks params
func (*GetUploadTasksParams) WithContext ¶
func (o *GetUploadTasksParams) WithContext(ctx context.Context) *GetUploadTasksParams
WithContext adds the context to the get upload tasks params
func (*GetUploadTasksParams) WithDefaults ¶
func (o *GetUploadTasksParams) WithDefaults() *GetUploadTasksParams
WithDefaults hydrates default values in the get upload tasks params (not the query body).
All values with no default are reset to their zero value.
func (*GetUploadTasksParams) WithHTTPClient ¶
func (o *GetUploadTasksParams) WithHTTPClient(client *http.Client) *GetUploadTasksParams
WithHTTPClient adds the HTTPClient to the get upload tasks params
func (*GetUploadTasksParams) WithRequestBody ¶
func (o *GetUploadTasksParams) WithRequestBody(requestBody *models.GetUploadTasksRequestBody) *GetUploadTasksParams
WithRequestBody adds the requestBody to the get upload tasks params
func (*GetUploadTasksParams) WithTimeout ¶
func (o *GetUploadTasksParams) WithTimeout(timeout time.Duration) *GetUploadTasksParams
WithTimeout adds the timeout to the get upload tasks params
func (*GetUploadTasksParams) WriteToRequest ¶
func (o *GetUploadTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUploadTasksReader ¶
type GetUploadTasksReader struct {
// contains filtered or unexported fields
}
GetUploadTasksReader is a Reader for the GetUploadTasks structure.
func (*GetUploadTasksReader) ReadResponse ¶
func (o *GetUploadTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.