Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudTasksDelete(params *PcloudTasksDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudTasksDeleteOK, error)
- func (a *Client) PcloudTasksGet(params *PcloudTasksGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudTasksGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudTasksDeleteBadRequest
- func (o *PcloudTasksDeleteBadRequest) Code() int
- func (o *PcloudTasksDeleteBadRequest) Error() string
- func (o *PcloudTasksDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudTasksDeleteBadRequest) IsClientError() bool
- func (o *PcloudTasksDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudTasksDeleteBadRequest) IsRedirect() bool
- func (o *PcloudTasksDeleteBadRequest) IsServerError() bool
- func (o *PcloudTasksDeleteBadRequest) IsSuccess() bool
- func (o *PcloudTasksDeleteBadRequest) String() string
- type PcloudTasksDeleteForbidden
- func (o *PcloudTasksDeleteForbidden) Code() int
- func (o *PcloudTasksDeleteForbidden) Error() string
- func (o *PcloudTasksDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudTasksDeleteForbidden) IsClientError() bool
- func (o *PcloudTasksDeleteForbidden) IsCode(code int) bool
- func (o *PcloudTasksDeleteForbidden) IsRedirect() bool
- func (o *PcloudTasksDeleteForbidden) IsServerError() bool
- func (o *PcloudTasksDeleteForbidden) IsSuccess() bool
- func (o *PcloudTasksDeleteForbidden) String() string
- type PcloudTasksDeleteGone
- func (o *PcloudTasksDeleteGone) Code() int
- func (o *PcloudTasksDeleteGone) Error() string
- func (o *PcloudTasksDeleteGone) GetPayload() *models.Error
- func (o *PcloudTasksDeleteGone) IsClientError() bool
- func (o *PcloudTasksDeleteGone) IsCode(code int) bool
- func (o *PcloudTasksDeleteGone) IsRedirect() bool
- func (o *PcloudTasksDeleteGone) IsServerError() bool
- func (o *PcloudTasksDeleteGone) IsSuccess() bool
- func (o *PcloudTasksDeleteGone) String() string
- type PcloudTasksDeleteInternalServerError
- func (o *PcloudTasksDeleteInternalServerError) Code() int
- func (o *PcloudTasksDeleteInternalServerError) Error() string
- func (o *PcloudTasksDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudTasksDeleteInternalServerError) IsClientError() bool
- func (o *PcloudTasksDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudTasksDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudTasksDeleteInternalServerError) IsServerError() bool
- func (o *PcloudTasksDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudTasksDeleteInternalServerError) String() string
- type PcloudTasksDeleteNotFound
- func (o *PcloudTasksDeleteNotFound) Code() int
- func (o *PcloudTasksDeleteNotFound) Error() string
- func (o *PcloudTasksDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudTasksDeleteNotFound) IsClientError() bool
- func (o *PcloudTasksDeleteNotFound) IsCode(code int) bool
- func (o *PcloudTasksDeleteNotFound) IsRedirect() bool
- func (o *PcloudTasksDeleteNotFound) IsServerError() bool
- func (o *PcloudTasksDeleteNotFound) IsSuccess() bool
- func (o *PcloudTasksDeleteNotFound) String() string
- type PcloudTasksDeleteOK
- func (o *PcloudTasksDeleteOK) Code() int
- func (o *PcloudTasksDeleteOK) Error() string
- func (o *PcloudTasksDeleteOK) GetPayload() models.Object
- func (o *PcloudTasksDeleteOK) IsClientError() bool
- func (o *PcloudTasksDeleteOK) IsCode(code int) bool
- func (o *PcloudTasksDeleteOK) IsRedirect() bool
- func (o *PcloudTasksDeleteOK) IsServerError() bool
- func (o *PcloudTasksDeleteOK) IsSuccess() bool
- func (o *PcloudTasksDeleteOK) String() string
- type PcloudTasksDeleteParams
- func NewPcloudTasksDeleteParams() *PcloudTasksDeleteParams
- func NewPcloudTasksDeleteParamsWithContext(ctx context.Context) *PcloudTasksDeleteParams
- func NewPcloudTasksDeleteParamsWithHTTPClient(client *http.Client) *PcloudTasksDeleteParams
- func NewPcloudTasksDeleteParamsWithTimeout(timeout time.Duration) *PcloudTasksDeleteParams
- func (o *PcloudTasksDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudTasksDeleteParams) SetDefaults()
- func (o *PcloudTasksDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTasksDeleteParams) SetTaskID(taskID string)
- func (o *PcloudTasksDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTasksDeleteParams) WithContext(ctx context.Context) *PcloudTasksDeleteParams
- func (o *PcloudTasksDeleteParams) WithDefaults() *PcloudTasksDeleteParams
- func (o *PcloudTasksDeleteParams) WithHTTPClient(client *http.Client) *PcloudTasksDeleteParams
- func (o *PcloudTasksDeleteParams) WithTaskID(taskID string) *PcloudTasksDeleteParams
- func (o *PcloudTasksDeleteParams) WithTimeout(timeout time.Duration) *PcloudTasksDeleteParams
- func (o *PcloudTasksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTasksDeleteReader
- type PcloudTasksDeleteUnauthorized
- func (o *PcloudTasksDeleteUnauthorized) Code() int
- func (o *PcloudTasksDeleteUnauthorized) Error() string
- func (o *PcloudTasksDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudTasksDeleteUnauthorized) IsClientError() bool
- func (o *PcloudTasksDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudTasksDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudTasksDeleteUnauthorized) IsServerError() bool
- func (o *PcloudTasksDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudTasksDeleteUnauthorized) String() string
- type PcloudTasksGetBadRequest
- func (o *PcloudTasksGetBadRequest) Code() int
- func (o *PcloudTasksGetBadRequest) Error() string
- func (o *PcloudTasksGetBadRequest) GetPayload() *models.Error
- func (o *PcloudTasksGetBadRequest) IsClientError() bool
- func (o *PcloudTasksGetBadRequest) IsCode(code int) bool
- func (o *PcloudTasksGetBadRequest) IsRedirect() bool
- func (o *PcloudTasksGetBadRequest) IsServerError() bool
- func (o *PcloudTasksGetBadRequest) IsSuccess() bool
- func (o *PcloudTasksGetBadRequest) String() string
- type PcloudTasksGetForbidden
- func (o *PcloudTasksGetForbidden) Code() int
- func (o *PcloudTasksGetForbidden) Error() string
- func (o *PcloudTasksGetForbidden) GetPayload() *models.Error
- func (o *PcloudTasksGetForbidden) IsClientError() bool
- func (o *PcloudTasksGetForbidden) IsCode(code int) bool
- func (o *PcloudTasksGetForbidden) IsRedirect() bool
- func (o *PcloudTasksGetForbidden) IsServerError() bool
- func (o *PcloudTasksGetForbidden) IsSuccess() bool
- func (o *PcloudTasksGetForbidden) String() string
- type PcloudTasksGetInternalServerError
- func (o *PcloudTasksGetInternalServerError) Code() int
- func (o *PcloudTasksGetInternalServerError) Error() string
- func (o *PcloudTasksGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudTasksGetInternalServerError) IsClientError() bool
- func (o *PcloudTasksGetInternalServerError) IsCode(code int) bool
- func (o *PcloudTasksGetInternalServerError) IsRedirect() bool
- func (o *PcloudTasksGetInternalServerError) IsServerError() bool
- func (o *PcloudTasksGetInternalServerError) IsSuccess() bool
- func (o *PcloudTasksGetInternalServerError) String() string
- type PcloudTasksGetNotFound
- func (o *PcloudTasksGetNotFound) Code() int
- func (o *PcloudTasksGetNotFound) Error() string
- func (o *PcloudTasksGetNotFound) GetPayload() *models.Error
- func (o *PcloudTasksGetNotFound) IsClientError() bool
- func (o *PcloudTasksGetNotFound) IsCode(code int) bool
- func (o *PcloudTasksGetNotFound) IsRedirect() bool
- func (o *PcloudTasksGetNotFound) IsServerError() bool
- func (o *PcloudTasksGetNotFound) IsSuccess() bool
- func (o *PcloudTasksGetNotFound) String() string
- type PcloudTasksGetOK
- func (o *PcloudTasksGetOK) Code() int
- func (o *PcloudTasksGetOK) Error() string
- func (o *PcloudTasksGetOK) GetPayload() *models.Task
- func (o *PcloudTasksGetOK) IsClientError() bool
- func (o *PcloudTasksGetOK) IsCode(code int) bool
- func (o *PcloudTasksGetOK) IsRedirect() bool
- func (o *PcloudTasksGetOK) IsServerError() bool
- func (o *PcloudTasksGetOK) IsSuccess() bool
- func (o *PcloudTasksGetOK) String() string
- type PcloudTasksGetParams
- func NewPcloudTasksGetParams() *PcloudTasksGetParams
- func NewPcloudTasksGetParamsWithContext(ctx context.Context) *PcloudTasksGetParams
- func NewPcloudTasksGetParamsWithHTTPClient(client *http.Client) *PcloudTasksGetParams
- func NewPcloudTasksGetParamsWithTimeout(timeout time.Duration) *PcloudTasksGetParams
- func (o *PcloudTasksGetParams) SetContext(ctx context.Context)
- func (o *PcloudTasksGetParams) SetDefaults()
- func (o *PcloudTasksGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTasksGetParams) SetTaskID(taskID string)
- func (o *PcloudTasksGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTasksGetParams) WithContext(ctx context.Context) *PcloudTasksGetParams
- func (o *PcloudTasksGetParams) WithDefaults() *PcloudTasksGetParams
- func (o *PcloudTasksGetParams) WithHTTPClient(client *http.Client) *PcloudTasksGetParams
- func (o *PcloudTasksGetParams) WithTaskID(taskID string) *PcloudTasksGetParams
- func (o *PcloudTasksGetParams) WithTimeout(timeout time.Duration) *PcloudTasksGetParams
- func (o *PcloudTasksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTasksGetReader
- type PcloudTasksGetUnauthorized
- func (o *PcloudTasksGetUnauthorized) Code() int
- func (o *PcloudTasksGetUnauthorized) Error() string
- func (o *PcloudTasksGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudTasksGetUnauthorized) IsClientError() bool
- func (o *PcloudTasksGetUnauthorized) IsCode(code int) bool
- func (o *PcloudTasksGetUnauthorized) IsRedirect() bool
- func (o *PcloudTasksGetUnauthorized) IsServerError() bool
- func (o *PcloudTasksGetUnauthorized) IsSuccess() bool
- func (o *PcloudTasksGetUnauthorized) String() string
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 p cloud tasks API
func (*Client) PcloudTasksDelete ¶
func (a *Client) PcloudTasksDelete(params *PcloudTasksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTasksDeleteOK, error)
PcloudTasksDelete deletes a task
func (*Client) PcloudTasksGet ¶
func (a *Client) PcloudTasksGet(params *PcloudTasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTasksGetOK, error)
PcloudTasksGet gets a task
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudTasksDelete(params *PcloudTasksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTasksDeleteOK, error) PcloudTasksGet(params *PcloudTasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTasksGetOK, 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 p cloud tasks API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud tasks API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud tasks API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type PcloudTasksDeleteBadRequest ¶
PcloudTasksDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudTasksDeleteBadRequest ¶
func NewPcloudTasksDeleteBadRequest() *PcloudTasksDeleteBadRequest
NewPcloudTasksDeleteBadRequest creates a PcloudTasksDeleteBadRequest with default headers values
func (*PcloudTasksDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudTasksDeleteBadRequest) Code() int
Code gets the status code for the pcloud tasks delete bad request response
func (*PcloudTasksDeleteBadRequest) Error ¶
func (o *PcloudTasksDeleteBadRequest) Error() string
func (*PcloudTasksDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksDeleteBadRequest) GetPayload() *models.Error
func (*PcloudTasksDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tasks delete bad request response has a 4xx status code
func (*PcloudTasksDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTasksDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tasks delete bad request response a status code equal to that given
func (*PcloudTasksDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tasks delete bad request response has a 3xx status code
func (*PcloudTasksDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tasks delete bad request response has a 5xx status code
func (*PcloudTasksDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tasks delete bad request response has a 2xx status code
func (*PcloudTasksDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudTasksDeleteBadRequest) String() string
type PcloudTasksDeleteForbidden ¶ added in v1.2.3
PcloudTasksDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTasksDeleteForbidden ¶ added in v1.2.3
func NewPcloudTasksDeleteForbidden() *PcloudTasksDeleteForbidden
NewPcloudTasksDeleteForbidden creates a PcloudTasksDeleteForbidden with default headers values
func (*PcloudTasksDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudTasksDeleteForbidden) Code() int
Code gets the status code for the pcloud tasks delete forbidden response
func (*PcloudTasksDeleteForbidden) Error ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) Error() string
func (*PcloudTasksDeleteForbidden) GetPayload ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) GetPayload() *models.Error
func (*PcloudTasksDeleteForbidden) IsClientError ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud tasks delete forbidden response has a 4xx status code
func (*PcloudTasksDeleteForbidden) IsCode ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tasks delete forbidden response a status code equal to that given
func (*PcloudTasksDeleteForbidden) IsRedirect ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tasks delete forbidden response has a 3xx status code
func (*PcloudTasksDeleteForbidden) IsServerError ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud tasks delete forbidden response has a 5xx status code
func (*PcloudTasksDeleteForbidden) IsSuccess ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tasks delete forbidden response has a 2xx status code
func (*PcloudTasksDeleteForbidden) String ¶ added in v1.2.3
func (o *PcloudTasksDeleteForbidden) String() string
type PcloudTasksDeleteGone ¶
PcloudTasksDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudTasksDeleteGone ¶
func NewPcloudTasksDeleteGone() *PcloudTasksDeleteGone
NewPcloudTasksDeleteGone creates a PcloudTasksDeleteGone with default headers values
func (*PcloudTasksDeleteGone) Code ¶ added in v1.2.4
func (o *PcloudTasksDeleteGone) Code() int
Code gets the status code for the pcloud tasks delete gone response
func (*PcloudTasksDeleteGone) Error ¶
func (o *PcloudTasksDeleteGone) Error() string
func (*PcloudTasksDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksDeleteGone) GetPayload() *models.Error
func (*PcloudTasksDeleteGone) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud tasks delete gone response has a 4xx status code
func (*PcloudTasksDeleteGone) IsCode ¶ added in v1.2.2
func (o *PcloudTasksDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud tasks delete gone response a status code equal to that given
func (*PcloudTasksDeleteGone) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud tasks delete gone response has a 3xx status code
func (*PcloudTasksDeleteGone) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud tasks delete gone response has a 5xx status code
func (*PcloudTasksDeleteGone) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud tasks delete gone response has a 2xx status code
func (*PcloudTasksDeleteGone) String ¶ added in v1.2.2
func (o *PcloudTasksDeleteGone) String() string
type PcloudTasksDeleteInternalServerError ¶
PcloudTasksDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudTasksDeleteInternalServerError ¶
func NewPcloudTasksDeleteInternalServerError() *PcloudTasksDeleteInternalServerError
NewPcloudTasksDeleteInternalServerError creates a PcloudTasksDeleteInternalServerError with default headers values
func (*PcloudTasksDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudTasksDeleteInternalServerError) Code() int
Code gets the status code for the pcloud tasks delete internal server error response
func (*PcloudTasksDeleteInternalServerError) Error ¶
func (o *PcloudTasksDeleteInternalServerError) Error() string
func (*PcloudTasksDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudTasksDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tasks delete internal server error response has a 4xx status code
func (*PcloudTasksDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTasksDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tasks delete internal server error response a status code equal to that given
func (*PcloudTasksDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tasks delete internal server error response has a 3xx status code
func (*PcloudTasksDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tasks delete internal server error response has a 5xx status code
func (*PcloudTasksDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tasks delete internal server error response has a 2xx status code
func (*PcloudTasksDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTasksDeleteInternalServerError) String() string
type PcloudTasksDeleteNotFound ¶ added in v1.0.59
PcloudTasksDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudTasksDeleteNotFound ¶ added in v1.0.59
func NewPcloudTasksDeleteNotFound() *PcloudTasksDeleteNotFound
NewPcloudTasksDeleteNotFound creates a PcloudTasksDeleteNotFound with default headers values
func (*PcloudTasksDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudTasksDeleteNotFound) Code() int
Code gets the status code for the pcloud tasks delete not found response
func (*PcloudTasksDeleteNotFound) Error ¶ added in v1.0.59
func (o *PcloudTasksDeleteNotFound) Error() string
func (*PcloudTasksDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksDeleteNotFound) GetPayload() *models.Error
func (*PcloudTasksDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud tasks delete not found response has a 4xx status code
func (*PcloudTasksDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudTasksDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tasks delete not found response a status code equal to that given
func (*PcloudTasksDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tasks delete not found response has a 3xx status code
func (*PcloudTasksDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud tasks delete not found response has a 5xx status code
func (*PcloudTasksDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tasks delete not found response has a 2xx status code
func (*PcloudTasksDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudTasksDeleteNotFound) String() string
type PcloudTasksDeleteOK ¶
PcloudTasksDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudTasksDeleteOK ¶
func NewPcloudTasksDeleteOK() *PcloudTasksDeleteOK
NewPcloudTasksDeleteOK creates a PcloudTasksDeleteOK with default headers values
func (*PcloudTasksDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudTasksDeleteOK) Code() int
Code gets the status code for the pcloud tasks delete o k response
func (*PcloudTasksDeleteOK) Error ¶
func (o *PcloudTasksDeleteOK) Error() string
func (*PcloudTasksDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksDeleteOK) GetPayload() models.Object
func (*PcloudTasksDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud tasks delete o k response has a 4xx status code
func (*PcloudTasksDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudTasksDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud tasks delete o k response a status code equal to that given
func (*PcloudTasksDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud tasks delete o k response has a 3xx status code
func (*PcloudTasksDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud tasks delete o k response has a 5xx status code
func (*PcloudTasksDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud tasks delete o k response has a 2xx status code
func (*PcloudTasksDeleteOK) String ¶ added in v1.2.2
func (o *PcloudTasksDeleteOK) String() string
type PcloudTasksDeleteParams ¶
type PcloudTasksDeleteParams struct { /* TaskID. PCloud Task ID */ TaskID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudTasksDeleteParams contains all the parameters to send to the API endpoint
for the pcloud tasks delete operation. Typically these are written to a http.Request.
func NewPcloudTasksDeleteParams ¶
func NewPcloudTasksDeleteParams() *PcloudTasksDeleteParams
NewPcloudTasksDeleteParams creates a new PcloudTasksDeleteParams 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 NewPcloudTasksDeleteParamsWithContext ¶
func NewPcloudTasksDeleteParamsWithContext(ctx context.Context) *PcloudTasksDeleteParams
NewPcloudTasksDeleteParamsWithContext creates a new PcloudTasksDeleteParams object with the ability to set a context for a request.
func NewPcloudTasksDeleteParamsWithHTTPClient ¶
func NewPcloudTasksDeleteParamsWithHTTPClient(client *http.Client) *PcloudTasksDeleteParams
NewPcloudTasksDeleteParamsWithHTTPClient creates a new PcloudTasksDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudTasksDeleteParamsWithTimeout ¶
func NewPcloudTasksDeleteParamsWithTimeout(timeout time.Duration) *PcloudTasksDeleteParams
NewPcloudTasksDeleteParamsWithTimeout creates a new PcloudTasksDeleteParams object with the ability to set a timeout on a request.
func (*PcloudTasksDeleteParams) SetContext ¶
func (o *PcloudTasksDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudTasksDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tasks delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTasksDeleteParams) SetHTTPClient ¶
func (o *PcloudTasksDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) SetTaskID ¶
func (o *PcloudTasksDeleteParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) SetTimeout ¶
func (o *PcloudTasksDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) WithContext ¶
func (o *PcloudTasksDeleteParams) WithContext(ctx context.Context) *PcloudTasksDeleteParams
WithContext adds the context to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudTasksDeleteParams) WithDefaults() *PcloudTasksDeleteParams
WithDefaults hydrates default values in the pcloud tasks delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTasksDeleteParams) WithHTTPClient ¶
func (o *PcloudTasksDeleteParams) WithHTTPClient(client *http.Client) *PcloudTasksDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) WithTaskID ¶
func (o *PcloudTasksDeleteParams) WithTaskID(taskID string) *PcloudTasksDeleteParams
WithTaskID adds the taskID to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) WithTimeout ¶
func (o *PcloudTasksDeleteParams) WithTimeout(timeout time.Duration) *PcloudTasksDeleteParams
WithTimeout adds the timeout to the pcloud tasks delete params
func (*PcloudTasksDeleteParams) WriteToRequest ¶
func (o *PcloudTasksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudTasksDeleteReader ¶
type PcloudTasksDeleteReader struct {
// contains filtered or unexported fields
}
PcloudTasksDeleteReader is a Reader for the PcloudTasksDelete structure.
func (*PcloudTasksDeleteReader) ReadResponse ¶
func (o *PcloudTasksDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudTasksDeleteUnauthorized ¶ added in v1.0.59
type PcloudTasksDeleteUnauthorized struct {
}PcloudTasksDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudTasksDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudTasksDeleteUnauthorized() *PcloudTasksDeleteUnauthorized
NewPcloudTasksDeleteUnauthorized creates a PcloudTasksDeleteUnauthorized with default headers values
func (*PcloudTasksDeleteUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudTasksDeleteUnauthorized) Code() int
Code gets the status code for the pcloud tasks delete unauthorized response
func (*PcloudTasksDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTasksDeleteUnauthorized) Error() string
func (*PcloudTasksDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudTasksDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tasks delete unauthorized response has a 4xx status code
func (*PcloudTasksDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTasksDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tasks delete unauthorized response a status code equal to that given
func (*PcloudTasksDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tasks delete unauthorized response has a 3xx status code
func (*PcloudTasksDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tasks delete unauthorized response has a 5xx status code
func (*PcloudTasksDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tasks delete unauthorized response has a 2xx status code
func (*PcloudTasksDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTasksDeleteUnauthorized) String() string
type PcloudTasksGetBadRequest ¶
PcloudTasksGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudTasksGetBadRequest ¶
func NewPcloudTasksGetBadRequest() *PcloudTasksGetBadRequest
NewPcloudTasksGetBadRequest creates a PcloudTasksGetBadRequest with default headers values
func (*PcloudTasksGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudTasksGetBadRequest) Code() int
Code gets the status code for the pcloud tasks get bad request response
func (*PcloudTasksGetBadRequest) Error ¶
func (o *PcloudTasksGetBadRequest) Error() string
func (*PcloudTasksGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksGetBadRequest) GetPayload() *models.Error
func (*PcloudTasksGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tasks get bad request response has a 4xx status code
func (*PcloudTasksGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTasksGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tasks get bad request response a status code equal to that given
func (*PcloudTasksGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tasks get bad request response has a 3xx status code
func (*PcloudTasksGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tasks get bad request response has a 5xx status code
func (*PcloudTasksGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tasks get bad request response has a 2xx status code
func (*PcloudTasksGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudTasksGetBadRequest) String() string
type PcloudTasksGetForbidden ¶ added in v1.2.3
PcloudTasksGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTasksGetForbidden ¶ added in v1.2.3
func NewPcloudTasksGetForbidden() *PcloudTasksGetForbidden
NewPcloudTasksGetForbidden creates a PcloudTasksGetForbidden with default headers values
func (*PcloudTasksGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudTasksGetForbidden) Code() int
Code gets the status code for the pcloud tasks get forbidden response
func (*PcloudTasksGetForbidden) Error ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) Error() string
func (*PcloudTasksGetForbidden) GetPayload ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) GetPayload() *models.Error
func (*PcloudTasksGetForbidden) IsClientError ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud tasks get forbidden response has a 4xx status code
func (*PcloudTasksGetForbidden) IsCode ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tasks get forbidden response a status code equal to that given
func (*PcloudTasksGetForbidden) IsRedirect ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tasks get forbidden response has a 3xx status code
func (*PcloudTasksGetForbidden) IsServerError ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud tasks get forbidden response has a 5xx status code
func (*PcloudTasksGetForbidden) IsSuccess ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tasks get forbidden response has a 2xx status code
func (*PcloudTasksGetForbidden) String ¶ added in v1.2.3
func (o *PcloudTasksGetForbidden) String() string
type PcloudTasksGetInternalServerError ¶
PcloudTasksGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudTasksGetInternalServerError ¶
func NewPcloudTasksGetInternalServerError() *PcloudTasksGetInternalServerError
NewPcloudTasksGetInternalServerError creates a PcloudTasksGetInternalServerError with default headers values
func (*PcloudTasksGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudTasksGetInternalServerError) Code() int
Code gets the status code for the pcloud tasks get internal server error response
func (*PcloudTasksGetInternalServerError) Error ¶
func (o *PcloudTasksGetInternalServerError) Error() string
func (*PcloudTasksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksGetInternalServerError) GetPayload() *models.Error
func (*PcloudTasksGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tasks get internal server error response has a 4xx status code
func (*PcloudTasksGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTasksGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tasks get internal server error response a status code equal to that given
func (*PcloudTasksGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tasks get internal server error response has a 3xx status code
func (*PcloudTasksGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tasks get internal server error response has a 5xx status code
func (*PcloudTasksGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tasks get internal server error response has a 2xx status code
func (*PcloudTasksGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTasksGetInternalServerError) String() string
type PcloudTasksGetNotFound ¶
PcloudTasksGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudTasksGetNotFound ¶
func NewPcloudTasksGetNotFound() *PcloudTasksGetNotFound
NewPcloudTasksGetNotFound creates a PcloudTasksGetNotFound with default headers values
func (*PcloudTasksGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudTasksGetNotFound) Code() int
Code gets the status code for the pcloud tasks get not found response
func (*PcloudTasksGetNotFound) Error ¶
func (o *PcloudTasksGetNotFound) Error() string
func (*PcloudTasksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksGetNotFound) GetPayload() *models.Error
func (*PcloudTasksGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud tasks get not found response has a 4xx status code
func (*PcloudTasksGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudTasksGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tasks get not found response a status code equal to that given
func (*PcloudTasksGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tasks get not found response has a 3xx status code
func (*PcloudTasksGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud tasks get not found response has a 5xx status code
func (*PcloudTasksGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tasks get not found response has a 2xx status code
func (*PcloudTasksGetNotFound) String ¶ added in v1.2.2
func (o *PcloudTasksGetNotFound) String() string
type PcloudTasksGetOK ¶
PcloudTasksGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudTasksGetOK ¶
func NewPcloudTasksGetOK() *PcloudTasksGetOK
NewPcloudTasksGetOK creates a PcloudTasksGetOK with default headers values
func (*PcloudTasksGetOK) Code ¶ added in v1.2.4
func (o *PcloudTasksGetOK) Code() int
Code gets the status code for the pcloud tasks get o k response
func (*PcloudTasksGetOK) Error ¶
func (o *PcloudTasksGetOK) Error() string
func (*PcloudTasksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksGetOK) GetPayload() *models.Task
func (*PcloudTasksGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksGetOK) IsClientError() bool
IsClientError returns true when this pcloud tasks get o k response has a 4xx status code
func (*PcloudTasksGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudTasksGetOK) IsCode(code int) bool
IsCode returns true when this pcloud tasks get o k response a status code equal to that given
func (*PcloudTasksGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud tasks get o k response has a 3xx status code
func (*PcloudTasksGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksGetOK) IsServerError() bool
IsServerError returns true when this pcloud tasks get o k response has a 5xx status code
func (*PcloudTasksGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud tasks get o k response has a 2xx status code
func (*PcloudTasksGetOK) String ¶ added in v1.2.2
func (o *PcloudTasksGetOK) String() string
type PcloudTasksGetParams ¶
type PcloudTasksGetParams struct { /* TaskID. PCloud Task ID */ TaskID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudTasksGetParams contains all the parameters to send to the API endpoint
for the pcloud tasks get operation. Typically these are written to a http.Request.
func NewPcloudTasksGetParams ¶
func NewPcloudTasksGetParams() *PcloudTasksGetParams
NewPcloudTasksGetParams creates a new PcloudTasksGetParams 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 NewPcloudTasksGetParamsWithContext ¶
func NewPcloudTasksGetParamsWithContext(ctx context.Context) *PcloudTasksGetParams
NewPcloudTasksGetParamsWithContext creates a new PcloudTasksGetParams object with the ability to set a context for a request.
func NewPcloudTasksGetParamsWithHTTPClient ¶
func NewPcloudTasksGetParamsWithHTTPClient(client *http.Client) *PcloudTasksGetParams
NewPcloudTasksGetParamsWithHTTPClient creates a new PcloudTasksGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudTasksGetParamsWithTimeout ¶
func NewPcloudTasksGetParamsWithTimeout(timeout time.Duration) *PcloudTasksGetParams
NewPcloudTasksGetParamsWithTimeout creates a new PcloudTasksGetParams object with the ability to set a timeout on a request.
func (*PcloudTasksGetParams) SetContext ¶
func (o *PcloudTasksGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud tasks get params
func (*PcloudTasksGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudTasksGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tasks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTasksGetParams) SetHTTPClient ¶
func (o *PcloudTasksGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud tasks get params
func (*PcloudTasksGetParams) SetTaskID ¶
func (o *PcloudTasksGetParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the pcloud tasks get params
func (*PcloudTasksGetParams) SetTimeout ¶
func (o *PcloudTasksGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud tasks get params
func (*PcloudTasksGetParams) WithContext ¶
func (o *PcloudTasksGetParams) WithContext(ctx context.Context) *PcloudTasksGetParams
WithContext adds the context to the pcloud tasks get params
func (*PcloudTasksGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudTasksGetParams) WithDefaults() *PcloudTasksGetParams
WithDefaults hydrates default values in the pcloud tasks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTasksGetParams) WithHTTPClient ¶
func (o *PcloudTasksGetParams) WithHTTPClient(client *http.Client) *PcloudTasksGetParams
WithHTTPClient adds the HTTPClient to the pcloud tasks get params
func (*PcloudTasksGetParams) WithTaskID ¶
func (o *PcloudTasksGetParams) WithTaskID(taskID string) *PcloudTasksGetParams
WithTaskID adds the taskID to the pcloud tasks get params
func (*PcloudTasksGetParams) WithTimeout ¶
func (o *PcloudTasksGetParams) WithTimeout(timeout time.Duration) *PcloudTasksGetParams
WithTimeout adds the timeout to the pcloud tasks get params
func (*PcloudTasksGetParams) WriteToRequest ¶
func (o *PcloudTasksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudTasksGetReader ¶
type PcloudTasksGetReader struct {
// contains filtered or unexported fields
}
PcloudTasksGetReader is a Reader for the PcloudTasksGet structure.
func (*PcloudTasksGetReader) ReadResponse ¶
func (o *PcloudTasksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudTasksGetUnauthorized ¶ added in v1.0.59
type PcloudTasksGetUnauthorized struct {
}PcloudTasksGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudTasksGetUnauthorized ¶ added in v1.0.59
func NewPcloudTasksGetUnauthorized() *PcloudTasksGetUnauthorized
NewPcloudTasksGetUnauthorized creates a PcloudTasksGetUnauthorized with default headers values
func (*PcloudTasksGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudTasksGetUnauthorized) Code() int
Code gets the status code for the pcloud tasks get unauthorized response
func (*PcloudTasksGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTasksGetUnauthorized) Error() string
func (*PcloudTasksGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTasksGetUnauthorized) GetPayload() *models.Error
func (*PcloudTasksGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTasksGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tasks get unauthorized response has a 4xx status code
func (*PcloudTasksGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTasksGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tasks get unauthorized response a status code equal to that given
func (*PcloudTasksGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTasksGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tasks get unauthorized response has a 3xx status code
func (*PcloudTasksGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTasksGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tasks get unauthorized response has a 5xx status code
func (*PcloudTasksGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTasksGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tasks get unauthorized response has a 2xx status code
func (*PcloudTasksGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTasksGetUnauthorized) String() string