Documentation ¶
Index ¶
- type API
- type Client
- type GetDownloadBadRequest
- func (o *GetDownloadBadRequest) Error() string
- func (o *GetDownloadBadRequest) GetPayload() *models.ErrorBody
- func (o *GetDownloadBadRequest) IsClientError() bool
- func (o *GetDownloadBadRequest) IsCode(code int) bool
- func (o *GetDownloadBadRequest) IsRedirect() bool
- func (o *GetDownloadBadRequest) IsServerError() bool
- func (o *GetDownloadBadRequest) IsSuccess() bool
- func (o *GetDownloadBadRequest) String() string
- type GetDownloadForbidden
- func (o *GetDownloadForbidden) Error() string
- func (o *GetDownloadForbidden) GetPayload() *models.ErrorBody
- func (o *GetDownloadForbidden) IsClientError() bool
- func (o *GetDownloadForbidden) IsCode(code int) bool
- func (o *GetDownloadForbidden) IsRedirect() bool
- func (o *GetDownloadForbidden) IsServerError() bool
- func (o *GetDownloadForbidden) IsSuccess() bool
- func (o *GetDownloadForbidden) String() string
- type GetDownloadGatewayTimeout
- func (o *GetDownloadGatewayTimeout) Error() string
- func (o *GetDownloadGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetDownloadGatewayTimeout) IsClientError() bool
- func (o *GetDownloadGatewayTimeout) IsCode(code int) bool
- func (o *GetDownloadGatewayTimeout) IsRedirect() bool
- func (o *GetDownloadGatewayTimeout) IsServerError() bool
- func (o *GetDownloadGatewayTimeout) IsSuccess() bool
- func (o *GetDownloadGatewayTimeout) String() string
- type GetDownloadInternalServerError
- func (o *GetDownloadInternalServerError) Error() string
- func (o *GetDownloadInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetDownloadInternalServerError) IsClientError() bool
- func (o *GetDownloadInternalServerError) IsCode(code int) bool
- func (o *GetDownloadInternalServerError) IsRedirect() bool
- func (o *GetDownloadInternalServerError) IsServerError() bool
- func (o *GetDownloadInternalServerError) IsSuccess() bool
- func (o *GetDownloadInternalServerError) String() string
- type GetDownloadNotFound
- func (o *GetDownloadNotFound) Error() string
- func (o *GetDownloadNotFound) GetPayload() *models.ErrorBody
- func (o *GetDownloadNotFound) IsClientError() bool
- func (o *GetDownloadNotFound) IsCode(code int) bool
- func (o *GetDownloadNotFound) IsRedirect() bool
- func (o *GetDownloadNotFound) IsServerError() bool
- func (o *GetDownloadNotFound) IsSuccess() bool
- func (o *GetDownloadNotFound) String() string
- type GetDownloadOK
- func (o *GetDownloadOK) Error() string
- func (o *GetDownloadOK) GetPayload() *models.URLResponse
- func (o *GetDownloadOK) IsClientError() bool
- func (o *GetDownloadOK) IsCode(code int) bool
- func (o *GetDownloadOK) IsRedirect() bool
- func (o *GetDownloadOK) IsServerError() bool
- func (o *GetDownloadOK) IsSuccess() bool
- func (o *GetDownloadOK) String() string
- type GetDownloadParams
- func (o *GetDownloadParams) SetContentDisposition(contentDisposition *string)
- func (o *GetDownloadParams) SetContext(ctx context.Context)
- func (o *GetDownloadParams) SetDefaults()
- func (o *GetDownloadParams) SetDownloadID(downloadID string)
- func (o *GetDownloadParams) SetHTTPClient(client *http.Client)
- func (o *GetDownloadParams) SetIssueRedirect(issueRedirect *bool)
- func (o *GetDownloadParams) SetRedirectToAuth(redirectToAuth *bool)
- func (o *GetDownloadParams) SetTimeout(timeout time.Duration)
- func (o *GetDownloadParams) WithContentDisposition(contentDisposition *string) *GetDownloadParams
- func (o *GetDownloadParams) WithContext(ctx context.Context) *GetDownloadParams
- func (o *GetDownloadParams) WithDefaults() *GetDownloadParams
- func (o *GetDownloadParams) WithDownloadID(downloadID string) *GetDownloadParams
- func (o *GetDownloadParams) WithHTTPClient(client *http.Client) *GetDownloadParams
- func (o *GetDownloadParams) WithIssueRedirect(issueRedirect *bool) *GetDownloadParams
- func (o *GetDownloadParams) WithRedirectToAuth(redirectToAuth *bool) *GetDownloadParams
- func (o *GetDownloadParams) WithTimeout(timeout time.Duration) *GetDownloadParams
- func (o *GetDownloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDownloadReader
- type GetDownloadRequestEntityTooLarge
- func (o *GetDownloadRequestEntityTooLarge) Error() string
- func (o *GetDownloadRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetDownloadRequestEntityTooLarge) IsClientError() bool
- func (o *GetDownloadRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetDownloadRequestEntityTooLarge) IsRedirect() bool
- func (o *GetDownloadRequestEntityTooLarge) IsServerError() bool
- func (o *GetDownloadRequestEntityTooLarge) IsSuccess() bool
- func (o *GetDownloadRequestEntityTooLarge) String() string
- type GetDownloadRequestTimeout
- func (o *GetDownloadRequestTimeout) Error() string
- func (o *GetDownloadRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetDownloadRequestTimeout) IsClientError() bool
- func (o *GetDownloadRequestTimeout) IsCode(code int) bool
- func (o *GetDownloadRequestTimeout) IsRedirect() bool
- func (o *GetDownloadRequestTimeout) IsServerError() bool
- func (o *GetDownloadRequestTimeout) IsSuccess() bool
- func (o *GetDownloadRequestTimeout) String() string
- type GetDownloadServiceUnavailable
- func (o *GetDownloadServiceUnavailable) Error() string
- func (o *GetDownloadServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetDownloadServiceUnavailable) IsClientError() bool
- func (o *GetDownloadServiceUnavailable) IsCode(code int) bool
- func (o *GetDownloadServiceUnavailable) IsRedirect() bool
- func (o *GetDownloadServiceUnavailable) IsServerError() bool
- func (o *GetDownloadServiceUnavailable) IsSuccess() bool
- func (o *GetDownloadServiceUnavailable) String() string
- type GetDownloadTooManyRequests
- func (o *GetDownloadTooManyRequests) Error() string
- func (o *GetDownloadTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetDownloadTooManyRequests) IsClientError() bool
- func (o *GetDownloadTooManyRequests) IsCode(code int) bool
- func (o *GetDownloadTooManyRequests) IsRedirect() bool
- func (o *GetDownloadTooManyRequests) IsServerError() bool
- func (o *GetDownloadTooManyRequests) IsSuccess() bool
- func (o *GetDownloadTooManyRequests) String() string
- type GetDownloadUnauthorized
- func (o *GetDownloadUnauthorized) Error() string
- func (o *GetDownloadUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetDownloadUnauthorized) IsClientError() bool
- func (o *GetDownloadUnauthorized) IsCode(code int) bool
- func (o *GetDownloadUnauthorized) IsRedirect() bool
- func (o *GetDownloadUnauthorized) IsServerError() bool
- func (o *GetDownloadUnauthorized) IsSuccess() bool
- func (o *GetDownloadUnauthorized) String() string
- type GetDownloadUnsupportedMediaType
- func (o *GetDownloadUnsupportedMediaType) Error() string
- func (o *GetDownloadUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetDownloadUnsupportedMediaType) IsClientError() bool
- func (o *GetDownloadUnsupportedMediaType) IsCode(code int) bool
- func (o *GetDownloadUnsupportedMediaType) IsRedirect() bool
- func (o *GetDownloadUnsupportedMediaType) IsServerError() bool
- func (o *GetDownloadUnsupportedMediaType) IsSuccess() bool
- func (o *GetDownloadUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* GetDownload issues a redirect to a signed secure download URL for specified download this method will issue a redirect to the url to the content */ GetDownload(ctx context.Context, params *GetDownloadParams) (*GetDownloadOK, error) }
API is the interface of the downloads client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for downloads API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new downloads API client.
func (*Client) GetDownload ¶
func (a *Client) GetDownload(ctx context.Context, params *GetDownloadParams) (*GetDownloadOK, error)
GetDownload issues a redirect to a signed secure download URL for specified download
this method will issue a redirect to the url to the content
type GetDownloadBadRequest ¶
GetDownloadBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewGetDownloadBadRequest ¶
func NewGetDownloadBadRequest() *GetDownloadBadRequest
NewGetDownloadBadRequest creates a GetDownloadBadRequest with default headers values
func (*GetDownloadBadRequest) Error ¶
func (o *GetDownloadBadRequest) Error() string
func (*GetDownloadBadRequest) GetPayload ¶
func (o *GetDownloadBadRequest) GetPayload() *models.ErrorBody
func (*GetDownloadBadRequest) IsClientError ¶
func (o *GetDownloadBadRequest) IsClientError() bool
IsClientError returns true when this get download bad request response has a 4xx status code
func (*GetDownloadBadRequest) IsCode ¶
func (o *GetDownloadBadRequest) IsCode(code int) bool
IsCode returns true when this get download bad request response a status code equal to that given
func (*GetDownloadBadRequest) IsRedirect ¶
func (o *GetDownloadBadRequest) IsRedirect() bool
IsRedirect returns true when this get download bad request response has a 3xx status code
func (*GetDownloadBadRequest) IsServerError ¶
func (o *GetDownloadBadRequest) IsServerError() bool
IsServerError returns true when this get download bad request response has a 5xx status code
func (*GetDownloadBadRequest) IsSuccess ¶
func (o *GetDownloadBadRequest) IsSuccess() bool
IsSuccess returns true when this get download bad request response has a 2xx status code
func (*GetDownloadBadRequest) String ¶
func (o *GetDownloadBadRequest) String() string
type GetDownloadForbidden ¶
GetDownloadForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewGetDownloadForbidden ¶
func NewGetDownloadForbidden() *GetDownloadForbidden
NewGetDownloadForbidden creates a GetDownloadForbidden with default headers values
func (*GetDownloadForbidden) Error ¶
func (o *GetDownloadForbidden) Error() string
func (*GetDownloadForbidden) GetPayload ¶
func (o *GetDownloadForbidden) GetPayload() *models.ErrorBody
func (*GetDownloadForbidden) IsClientError ¶
func (o *GetDownloadForbidden) IsClientError() bool
IsClientError returns true when this get download forbidden response has a 4xx status code
func (*GetDownloadForbidden) IsCode ¶
func (o *GetDownloadForbidden) IsCode(code int) bool
IsCode returns true when this get download forbidden response a status code equal to that given
func (*GetDownloadForbidden) IsRedirect ¶
func (o *GetDownloadForbidden) IsRedirect() bool
IsRedirect returns true when this get download forbidden response has a 3xx status code
func (*GetDownloadForbidden) IsServerError ¶
func (o *GetDownloadForbidden) IsServerError() bool
IsServerError returns true when this get download forbidden response has a 5xx status code
func (*GetDownloadForbidden) IsSuccess ¶
func (o *GetDownloadForbidden) IsSuccess() bool
IsSuccess returns true when this get download forbidden response has a 2xx status code
func (*GetDownloadForbidden) String ¶
func (o *GetDownloadForbidden) String() string
type GetDownloadGatewayTimeout ¶
GetDownloadGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewGetDownloadGatewayTimeout ¶
func NewGetDownloadGatewayTimeout() *GetDownloadGatewayTimeout
NewGetDownloadGatewayTimeout creates a GetDownloadGatewayTimeout with default headers values
func (*GetDownloadGatewayTimeout) Error ¶
func (o *GetDownloadGatewayTimeout) Error() string
func (*GetDownloadGatewayTimeout) GetPayload ¶
func (o *GetDownloadGatewayTimeout) GetPayload() *models.ErrorBody
func (*GetDownloadGatewayTimeout) IsClientError ¶
func (o *GetDownloadGatewayTimeout) IsClientError() bool
IsClientError returns true when this get download gateway timeout response has a 4xx status code
func (*GetDownloadGatewayTimeout) IsCode ¶
func (o *GetDownloadGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get download gateway timeout response a status code equal to that given
func (*GetDownloadGatewayTimeout) IsRedirect ¶
func (o *GetDownloadGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this get download gateway timeout response has a 3xx status code
func (*GetDownloadGatewayTimeout) IsServerError ¶
func (o *GetDownloadGatewayTimeout) IsServerError() bool
IsServerError returns true when this get download gateway timeout response has a 5xx status code
func (*GetDownloadGatewayTimeout) IsSuccess ¶
func (o *GetDownloadGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get download gateway timeout response has a 2xx status code
func (*GetDownloadGatewayTimeout) String ¶
func (o *GetDownloadGatewayTimeout) String() string
type GetDownloadInternalServerError ¶
GetDownloadInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewGetDownloadInternalServerError ¶
func NewGetDownloadInternalServerError() *GetDownloadInternalServerError
NewGetDownloadInternalServerError creates a GetDownloadInternalServerError with default headers values
func (*GetDownloadInternalServerError) Error ¶
func (o *GetDownloadInternalServerError) Error() string
func (*GetDownloadInternalServerError) GetPayload ¶
func (o *GetDownloadInternalServerError) GetPayload() *models.ErrorBody
func (*GetDownloadInternalServerError) IsClientError ¶
func (o *GetDownloadInternalServerError) IsClientError() bool
IsClientError returns true when this get download internal server error response has a 4xx status code
func (*GetDownloadInternalServerError) IsCode ¶
func (o *GetDownloadInternalServerError) IsCode(code int) bool
IsCode returns true when this get download internal server error response a status code equal to that given
func (*GetDownloadInternalServerError) IsRedirect ¶
func (o *GetDownloadInternalServerError) IsRedirect() bool
IsRedirect returns true when this get download internal server error response has a 3xx status code
func (*GetDownloadInternalServerError) IsServerError ¶
func (o *GetDownloadInternalServerError) IsServerError() bool
IsServerError returns true when this get download internal server error response has a 5xx status code
func (*GetDownloadInternalServerError) IsSuccess ¶
func (o *GetDownloadInternalServerError) IsSuccess() bool
IsSuccess returns true when this get download internal server error response has a 2xx status code
func (*GetDownloadInternalServerError) String ¶
func (o *GetDownloadInternalServerError) String() string
type GetDownloadNotFound ¶
GetDownloadNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewGetDownloadNotFound ¶
func NewGetDownloadNotFound() *GetDownloadNotFound
NewGetDownloadNotFound creates a GetDownloadNotFound with default headers values
func (*GetDownloadNotFound) Error ¶
func (o *GetDownloadNotFound) Error() string
func (*GetDownloadNotFound) GetPayload ¶
func (o *GetDownloadNotFound) GetPayload() *models.ErrorBody
func (*GetDownloadNotFound) IsClientError ¶
func (o *GetDownloadNotFound) IsClientError() bool
IsClientError returns true when this get download not found response has a 4xx status code
func (*GetDownloadNotFound) IsCode ¶
func (o *GetDownloadNotFound) IsCode(code int) bool
IsCode returns true when this get download not found response a status code equal to that given
func (*GetDownloadNotFound) IsRedirect ¶
func (o *GetDownloadNotFound) IsRedirect() bool
IsRedirect returns true when this get download not found response has a 3xx status code
func (*GetDownloadNotFound) IsServerError ¶
func (o *GetDownloadNotFound) IsServerError() bool
IsServerError returns true when this get download not found response has a 5xx status code
func (*GetDownloadNotFound) IsSuccess ¶
func (o *GetDownloadNotFound) IsSuccess() bool
IsSuccess returns true when this get download not found response has a 2xx status code
func (*GetDownloadNotFound) String ¶
func (o *GetDownloadNotFound) String() string
type GetDownloadOK ¶
type GetDownloadOK struct {
Payload *models.URLResponse
}
GetDownloadOK describes a response with status code 200, with default header values.
successful operation
func NewGetDownloadOK ¶
func NewGetDownloadOK() *GetDownloadOK
NewGetDownloadOK creates a GetDownloadOK with default headers values
func (*GetDownloadOK) Error ¶
func (o *GetDownloadOK) Error() string
func (*GetDownloadOK) GetPayload ¶
func (o *GetDownloadOK) GetPayload() *models.URLResponse
func (*GetDownloadOK) IsClientError ¶
func (o *GetDownloadOK) IsClientError() bool
IsClientError returns true when this get download o k response has a 4xx status code
func (*GetDownloadOK) IsCode ¶
func (o *GetDownloadOK) IsCode(code int) bool
IsCode returns true when this get download o k response a status code equal to that given
func (*GetDownloadOK) IsRedirect ¶
func (o *GetDownloadOK) IsRedirect() bool
IsRedirect returns true when this get download o k response has a 3xx status code
func (*GetDownloadOK) IsServerError ¶
func (o *GetDownloadOK) IsServerError() bool
IsServerError returns true when this get download o k response has a 5xx status code
func (*GetDownloadOK) IsSuccess ¶
func (o *GetDownloadOK) IsSuccess() bool
IsSuccess returns true when this get download o k response has a 2xx status code
func (*GetDownloadOK) String ¶
func (o *GetDownloadOK) String() string
type GetDownloadParams ¶
type GetDownloadParams struct { // ContentDisposition. ContentDisposition *string /* DownloadID. Download ID */ DownloadID string // IssueRedirect. // // Default: true IssueRedirect *bool // RedirectToAuth. // // Default: true RedirectToAuth *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDownloadParams contains all the parameters to send to the API endpoint
for the get download operation. Typically these are written to a http.Request.
func NewGetDownloadParams ¶
func NewGetDownloadParams() *GetDownloadParams
NewGetDownloadParams creates a new GetDownloadParams 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 NewGetDownloadParamsWithContext ¶
func NewGetDownloadParamsWithContext(ctx context.Context) *GetDownloadParams
NewGetDownloadParamsWithContext creates a new GetDownloadParams object with the ability to set a context for a request.
func NewGetDownloadParamsWithHTTPClient ¶
func NewGetDownloadParamsWithHTTPClient(client *http.Client) *GetDownloadParams
NewGetDownloadParamsWithHTTPClient creates a new GetDownloadParams object with the ability to set a custom HTTPClient for a request.
func NewGetDownloadParamsWithTimeout ¶
func NewGetDownloadParamsWithTimeout(timeout time.Duration) *GetDownloadParams
NewGetDownloadParamsWithTimeout creates a new GetDownloadParams object with the ability to set a timeout on a request.
func (*GetDownloadParams) SetContentDisposition ¶
func (o *GetDownloadParams) SetContentDisposition(contentDisposition *string)
SetContentDisposition adds the contentDisposition to the get download params
func (*GetDownloadParams) SetContext ¶
func (o *GetDownloadParams) SetContext(ctx context.Context)
SetContext adds the context to the get download params
func (*GetDownloadParams) SetDefaults ¶
func (o *GetDownloadParams) SetDefaults()
SetDefaults hydrates default values in the get download params (not the query body).
All values with no default are reset to their zero value.
func (*GetDownloadParams) SetDownloadID ¶
func (o *GetDownloadParams) SetDownloadID(downloadID string)
SetDownloadID adds the downloadId to the get download params
func (*GetDownloadParams) SetHTTPClient ¶
func (o *GetDownloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get download params
func (*GetDownloadParams) SetIssueRedirect ¶
func (o *GetDownloadParams) SetIssueRedirect(issueRedirect *bool)
SetIssueRedirect adds the issueRedirect to the get download params
func (*GetDownloadParams) SetRedirectToAuth ¶
func (o *GetDownloadParams) SetRedirectToAuth(redirectToAuth *bool)
SetRedirectToAuth adds the redirectToAuth to the get download params
func (*GetDownloadParams) SetTimeout ¶
func (o *GetDownloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get download params
func (*GetDownloadParams) WithContentDisposition ¶
func (o *GetDownloadParams) WithContentDisposition(contentDisposition *string) *GetDownloadParams
WithContentDisposition adds the contentDisposition to the get download params
func (*GetDownloadParams) WithContext ¶
func (o *GetDownloadParams) WithContext(ctx context.Context) *GetDownloadParams
WithContext adds the context to the get download params
func (*GetDownloadParams) WithDefaults ¶
func (o *GetDownloadParams) WithDefaults() *GetDownloadParams
WithDefaults hydrates default values in the get download params (not the query body).
All values with no default are reset to their zero value.
func (*GetDownloadParams) WithDownloadID ¶
func (o *GetDownloadParams) WithDownloadID(downloadID string) *GetDownloadParams
WithDownloadID adds the downloadID to the get download params
func (*GetDownloadParams) WithHTTPClient ¶
func (o *GetDownloadParams) WithHTTPClient(client *http.Client) *GetDownloadParams
WithHTTPClient adds the HTTPClient to the get download params
func (*GetDownloadParams) WithIssueRedirect ¶
func (o *GetDownloadParams) WithIssueRedirect(issueRedirect *bool) *GetDownloadParams
WithIssueRedirect adds the issueRedirect to the get download params
func (*GetDownloadParams) WithRedirectToAuth ¶
func (o *GetDownloadParams) WithRedirectToAuth(redirectToAuth *bool) *GetDownloadParams
WithRedirectToAuth adds the redirectToAuth to the get download params
func (*GetDownloadParams) WithTimeout ¶
func (o *GetDownloadParams) WithTimeout(timeout time.Duration) *GetDownloadParams
WithTimeout adds the timeout to the get download params
func (*GetDownloadParams) WriteToRequest ¶
func (o *GetDownloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDownloadReader ¶
type GetDownloadReader struct {
// contains filtered or unexported fields
}
GetDownloadReader is a Reader for the GetDownload structure.
func (*GetDownloadReader) ReadResponse ¶
func (o *GetDownloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDownloadRequestEntityTooLarge ¶
GetDownloadRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewGetDownloadRequestEntityTooLarge ¶
func NewGetDownloadRequestEntityTooLarge() *GetDownloadRequestEntityTooLarge
NewGetDownloadRequestEntityTooLarge creates a GetDownloadRequestEntityTooLarge with default headers values
func (*GetDownloadRequestEntityTooLarge) Error ¶
func (o *GetDownloadRequestEntityTooLarge) Error() string
func (*GetDownloadRequestEntityTooLarge) GetPayload ¶
func (o *GetDownloadRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*GetDownloadRequestEntityTooLarge) IsClientError ¶
func (o *GetDownloadRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get download request entity too large response has a 4xx status code
func (*GetDownloadRequestEntityTooLarge) IsCode ¶
func (o *GetDownloadRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get download request entity too large response a status code equal to that given
func (*GetDownloadRequestEntityTooLarge) IsRedirect ¶
func (o *GetDownloadRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get download request entity too large response has a 3xx status code
func (*GetDownloadRequestEntityTooLarge) IsServerError ¶
func (o *GetDownloadRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get download request entity too large response has a 5xx status code
func (*GetDownloadRequestEntityTooLarge) IsSuccess ¶
func (o *GetDownloadRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get download request entity too large response has a 2xx status code
func (*GetDownloadRequestEntityTooLarge) String ¶
func (o *GetDownloadRequestEntityTooLarge) String() string
type GetDownloadRequestTimeout ¶
GetDownloadRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewGetDownloadRequestTimeout ¶
func NewGetDownloadRequestTimeout() *GetDownloadRequestTimeout
NewGetDownloadRequestTimeout creates a GetDownloadRequestTimeout with default headers values
func (*GetDownloadRequestTimeout) Error ¶
func (o *GetDownloadRequestTimeout) Error() string
func (*GetDownloadRequestTimeout) GetPayload ¶
func (o *GetDownloadRequestTimeout) GetPayload() *models.ErrorBody
func (*GetDownloadRequestTimeout) IsClientError ¶
func (o *GetDownloadRequestTimeout) IsClientError() bool
IsClientError returns true when this get download request timeout response has a 4xx status code
func (*GetDownloadRequestTimeout) IsCode ¶
func (o *GetDownloadRequestTimeout) IsCode(code int) bool
IsCode returns true when this get download request timeout response a status code equal to that given
func (*GetDownloadRequestTimeout) IsRedirect ¶
func (o *GetDownloadRequestTimeout) IsRedirect() bool
IsRedirect returns true when this get download request timeout response has a 3xx status code
func (*GetDownloadRequestTimeout) IsServerError ¶
func (o *GetDownloadRequestTimeout) IsServerError() bool
IsServerError returns true when this get download request timeout response has a 5xx status code
func (*GetDownloadRequestTimeout) IsSuccess ¶
func (o *GetDownloadRequestTimeout) IsSuccess() bool
IsSuccess returns true when this get download request timeout response has a 2xx status code
func (*GetDownloadRequestTimeout) String ¶
func (o *GetDownloadRequestTimeout) String() string
type GetDownloadServiceUnavailable ¶
type GetDownloadServiceUnavailable struct {
}GetDownloadServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewGetDownloadServiceUnavailable ¶
func NewGetDownloadServiceUnavailable() *GetDownloadServiceUnavailable
NewGetDownloadServiceUnavailable creates a GetDownloadServiceUnavailable with default headers values
func (*GetDownloadServiceUnavailable) Error ¶
func (o *GetDownloadServiceUnavailable) Error() string
func (*GetDownloadServiceUnavailable) GetPayload ¶
func (o *GetDownloadServiceUnavailable) GetPayload() *models.ErrorBody
func (*GetDownloadServiceUnavailable) IsClientError ¶
func (o *GetDownloadServiceUnavailable) IsClientError() bool
IsClientError returns true when this get download service unavailable response has a 4xx status code
func (*GetDownloadServiceUnavailable) IsCode ¶
func (o *GetDownloadServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get download service unavailable response a status code equal to that given
func (*GetDownloadServiceUnavailable) IsRedirect ¶
func (o *GetDownloadServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get download service unavailable response has a 3xx status code
func (*GetDownloadServiceUnavailable) IsServerError ¶
func (o *GetDownloadServiceUnavailable) IsServerError() bool
IsServerError returns true when this get download service unavailable response has a 5xx status code
func (*GetDownloadServiceUnavailable) IsSuccess ¶
func (o *GetDownloadServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get download service unavailable response has a 2xx status code
func (*GetDownloadServiceUnavailable) String ¶
func (o *GetDownloadServiceUnavailable) String() string
type GetDownloadTooManyRequests ¶
GetDownloadTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewGetDownloadTooManyRequests ¶
func NewGetDownloadTooManyRequests() *GetDownloadTooManyRequests
NewGetDownloadTooManyRequests creates a GetDownloadTooManyRequests with default headers values
func (*GetDownloadTooManyRequests) Error ¶
func (o *GetDownloadTooManyRequests) Error() string
func (*GetDownloadTooManyRequests) GetPayload ¶
func (o *GetDownloadTooManyRequests) GetPayload() *models.ErrorBody
func (*GetDownloadTooManyRequests) IsClientError ¶
func (o *GetDownloadTooManyRequests) IsClientError() bool
IsClientError returns true when this get download too many requests response has a 4xx status code
func (*GetDownloadTooManyRequests) IsCode ¶
func (o *GetDownloadTooManyRequests) IsCode(code int) bool
IsCode returns true when this get download too many requests response a status code equal to that given
func (*GetDownloadTooManyRequests) IsRedirect ¶
func (o *GetDownloadTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get download too many requests response has a 3xx status code
func (*GetDownloadTooManyRequests) IsServerError ¶
func (o *GetDownloadTooManyRequests) IsServerError() bool
IsServerError returns true when this get download too many requests response has a 5xx status code
func (*GetDownloadTooManyRequests) IsSuccess ¶
func (o *GetDownloadTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get download too many requests response has a 2xx status code
func (*GetDownloadTooManyRequests) String ¶
func (o *GetDownloadTooManyRequests) String() string
type GetDownloadUnauthorized ¶
type GetDownloadUnauthorized struct {
}GetDownloadUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewGetDownloadUnauthorized ¶
func NewGetDownloadUnauthorized() *GetDownloadUnauthorized
NewGetDownloadUnauthorized creates a GetDownloadUnauthorized with default headers values
func (*GetDownloadUnauthorized) Error ¶
func (o *GetDownloadUnauthorized) Error() string
func (*GetDownloadUnauthorized) GetPayload ¶
func (o *GetDownloadUnauthorized) GetPayload() *models.ErrorBody
func (*GetDownloadUnauthorized) IsClientError ¶
func (o *GetDownloadUnauthorized) IsClientError() bool
IsClientError returns true when this get download unauthorized response has a 4xx status code
func (*GetDownloadUnauthorized) IsCode ¶
func (o *GetDownloadUnauthorized) IsCode(code int) bool
IsCode returns true when this get download unauthorized response a status code equal to that given
func (*GetDownloadUnauthorized) IsRedirect ¶
func (o *GetDownloadUnauthorized) IsRedirect() bool
IsRedirect returns true when this get download unauthorized response has a 3xx status code
func (*GetDownloadUnauthorized) IsServerError ¶
func (o *GetDownloadUnauthorized) IsServerError() bool
IsServerError returns true when this get download unauthorized response has a 5xx status code
func (*GetDownloadUnauthorized) IsSuccess ¶
func (o *GetDownloadUnauthorized) IsSuccess() bool
IsSuccess returns true when this get download unauthorized response has a 2xx status code
func (*GetDownloadUnauthorized) String ¶
func (o *GetDownloadUnauthorized) String() string
type GetDownloadUnsupportedMediaType ¶
GetDownloadUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewGetDownloadUnsupportedMediaType ¶
func NewGetDownloadUnsupportedMediaType() *GetDownloadUnsupportedMediaType
NewGetDownloadUnsupportedMediaType creates a GetDownloadUnsupportedMediaType with default headers values
func (*GetDownloadUnsupportedMediaType) Error ¶
func (o *GetDownloadUnsupportedMediaType) Error() string
func (*GetDownloadUnsupportedMediaType) GetPayload ¶
func (o *GetDownloadUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*GetDownloadUnsupportedMediaType) IsClientError ¶
func (o *GetDownloadUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get download unsupported media type response has a 4xx status code
func (*GetDownloadUnsupportedMediaType) IsCode ¶
func (o *GetDownloadUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get download unsupported media type response a status code equal to that given
func (*GetDownloadUnsupportedMediaType) IsRedirect ¶
func (o *GetDownloadUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get download unsupported media type response has a 3xx status code
func (*GetDownloadUnsupportedMediaType) IsServerError ¶
func (o *GetDownloadUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get download unsupported media type response has a 5xx status code
func (*GetDownloadUnsupportedMediaType) IsSuccess ¶
func (o *GetDownloadUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get download unsupported media type response has a 2xx status code
func (*GetDownloadUnsupportedMediaType) String ¶
func (o *GetDownloadUnsupportedMediaType) String() string