Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, ...) (*PcloudCloudinstancesJobsDeleteOK, error)
- func (a *Client) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, ...) (*PcloudCloudinstancesJobsGetOK, error)
- func (a *Client) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, ...) (*PcloudCloudinstancesJobsGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudCloudinstancesJobsDeleteBadRequest
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) Code() int
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) Error() string
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsDeleteBadRequest) String() string
- type PcloudCloudinstancesJobsDeleteConflict
- func (o *PcloudCloudinstancesJobsDeleteConflict) Code() int
- func (o *PcloudCloudinstancesJobsDeleteConflict) Error() string
- func (o *PcloudCloudinstancesJobsDeleteConflict) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsDeleteConflict) IsClientError() bool
- func (o *PcloudCloudinstancesJobsDeleteConflict) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsDeleteConflict) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsDeleteConflict) IsServerError() bool
- func (o *PcloudCloudinstancesJobsDeleteConflict) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsDeleteConflict) String() string
- type PcloudCloudinstancesJobsDeleteForbidden
- func (o *PcloudCloudinstancesJobsDeleteForbidden) Code() int
- func (o *PcloudCloudinstancesJobsDeleteForbidden) Error() string
- func (o *PcloudCloudinstancesJobsDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsDeleteForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesJobsDeleteForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsDeleteForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsDeleteForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesJobsDeleteForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsDeleteForbidden) String() string
- type PcloudCloudinstancesJobsDeleteInternalServerError
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Code() int
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Error() string
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsDeleteInternalServerError) String() string
- type PcloudCloudinstancesJobsDeleteNotFound
- func (o *PcloudCloudinstancesJobsDeleteNotFound) Code() int
- func (o *PcloudCloudinstancesJobsDeleteNotFound) Error() string
- func (o *PcloudCloudinstancesJobsDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsDeleteNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesJobsDeleteNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsDeleteNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsDeleteNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesJobsDeleteNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsDeleteNotFound) String() string
- type PcloudCloudinstancesJobsDeleteOK
- func (o *PcloudCloudinstancesJobsDeleteOK) Code() int
- func (o *PcloudCloudinstancesJobsDeleteOK) Error() string
- func (o *PcloudCloudinstancesJobsDeleteOK) GetPayload() models.Object
- func (o *PcloudCloudinstancesJobsDeleteOK) IsClientError() bool
- func (o *PcloudCloudinstancesJobsDeleteOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsDeleteOK) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsDeleteOK) IsServerError() bool
- func (o *PcloudCloudinstancesJobsDeleteOK) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsDeleteOK) String() string
- type PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParams() *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetDefaults()
- func (o *PcloudCloudinstancesJobsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetJobID(jobID string)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithDefaults() *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithJobID(jobID string) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsDeleteReader
- type PcloudCloudinstancesJobsDeleteUnauthorized
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Code() int
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Error() string
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsDeleteUnauthorized) String() string
- type PcloudCloudinstancesJobsGetBadRequest
- func (o *PcloudCloudinstancesJobsGetBadRequest) Code() int
- func (o *PcloudCloudinstancesJobsGetBadRequest) Error() string
- func (o *PcloudCloudinstancesJobsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetBadRequest) String() string
- type PcloudCloudinstancesJobsGetForbidden
- func (o *PcloudCloudinstancesJobsGetForbidden) Code() int
- func (o *PcloudCloudinstancesJobsGetForbidden) Error() string
- func (o *PcloudCloudinstancesJobsGetForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetForbidden) String() string
- type PcloudCloudinstancesJobsGetInternalServerError
- func (o *PcloudCloudinstancesJobsGetInternalServerError) Code() int
- func (o *PcloudCloudinstancesJobsGetInternalServerError) Error() string
- func (o *PcloudCloudinstancesJobsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetInternalServerError) String() string
- type PcloudCloudinstancesJobsGetNotFound
- func (o *PcloudCloudinstancesJobsGetNotFound) Code() int
- func (o *PcloudCloudinstancesJobsGetNotFound) Error() string
- func (o *PcloudCloudinstancesJobsGetNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetNotFound) String() string
- type PcloudCloudinstancesJobsGetOK
- func (o *PcloudCloudinstancesJobsGetOK) Code() int
- func (o *PcloudCloudinstancesJobsGetOK) Error() string
- func (o *PcloudCloudinstancesJobsGetOK) GetPayload() *models.Job
- func (o *PcloudCloudinstancesJobsGetOK) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetOK) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetOK) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetOK) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetOK) String() string
- type PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParams() *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsGetParams) SetDefaults()
- func (o *PcloudCloudinstancesJobsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsGetParams) SetJobID(jobID string)
- func (o *PcloudCloudinstancesJobsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithDefaults() *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithJobID(jobID string) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsGetReader
- type PcloudCloudinstancesJobsGetUnauthorized
- func (o *PcloudCloudinstancesJobsGetUnauthorized) Code() int
- func (o *PcloudCloudinstancesJobsGetUnauthorized) Error() string
- func (o *PcloudCloudinstancesJobsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetUnauthorized) String() string
- type PcloudCloudinstancesJobsGetallBadRequest
- func (o *PcloudCloudinstancesJobsGetallBadRequest) Code() int
- func (o *PcloudCloudinstancesJobsGetallBadRequest) Error() string
- func (o *PcloudCloudinstancesJobsGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetallBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetallBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetallBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetallBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetallBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetallBadRequest) String() string
- type PcloudCloudinstancesJobsGetallForbidden
- func (o *PcloudCloudinstancesJobsGetallForbidden) Code() int
- func (o *PcloudCloudinstancesJobsGetallForbidden) Error() string
- func (o *PcloudCloudinstancesJobsGetallForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetallForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetallForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetallForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetallForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetallForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetallForbidden) String() string
- type PcloudCloudinstancesJobsGetallInternalServerError
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) Code() int
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) Error() string
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetallInternalServerError) String() string
- type PcloudCloudinstancesJobsGetallNotFound
- func (o *PcloudCloudinstancesJobsGetallNotFound) Code() int
- func (o *PcloudCloudinstancesJobsGetallNotFound) Error() string
- func (o *PcloudCloudinstancesJobsGetallNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetallNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetallNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetallNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetallNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetallNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetallNotFound) String() string
- type PcloudCloudinstancesJobsGetallOK
- func (o *PcloudCloudinstancesJobsGetallOK) Code() int
- func (o *PcloudCloudinstancesJobsGetallOK) Error() string
- func (o *PcloudCloudinstancesJobsGetallOK) GetPayload() *models.Jobs
- func (o *PcloudCloudinstancesJobsGetallOK) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetallOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetallOK) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetallOK) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetallOK) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetallOK) String() string
- type PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParams() *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsGetallParams) SetDefaults()
- func (o *PcloudCloudinstancesJobsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationAction(operationAction *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationID(operationID *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationTarget(operationTarget *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithDefaults() *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationAction(operationAction *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationID(operationID *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationTarget(operationTarget *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsGetallReader
- type PcloudCloudinstancesJobsGetallUnauthorized
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) Code() int
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) Error() string
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesJobsGetallUnauthorized) 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 jobs API
func (*Client) PcloudCloudinstancesJobsDelete ¶
func (a *Client) PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsDeleteOK, error)
PcloudCloudinstancesJobsDelete deletes a cloud instance job
func (*Client) PcloudCloudinstancesJobsGet ¶
func (a *Client) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetOK, error)
PcloudCloudinstancesJobsGet lists the detail of a job
func (*Client) PcloudCloudinstancesJobsGetall ¶
func (a *Client) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetallOK, error)
PcloudCloudinstancesJobsGetall lists up to the last 5 jobs initiated by the cloud instance
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 is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsDeleteOK, error) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetOK, error) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetallOK, 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 jobs API client.
type PcloudCloudinstancesJobsDeleteBadRequest ¶
PcloudCloudinstancesJobsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesJobsDeleteBadRequest ¶
func NewPcloudCloudinstancesJobsDeleteBadRequest() *PcloudCloudinstancesJobsDeleteBadRequest
NewPcloudCloudinstancesJobsDeleteBadRequest creates a PcloudCloudinstancesJobsDeleteBadRequest with default headers values
func (*PcloudCloudinstancesJobsDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsDeleteBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances jobs delete bad request response
func (*PcloudCloudinstancesJobsDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsDeleteBadRequest) Error() string
func (*PcloudCloudinstancesJobsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs delete bad request response has a 4xx status code
func (*PcloudCloudinstancesJobsDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs delete bad request response a status code equal to that given
func (*PcloudCloudinstancesJobsDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs delete bad request response has a 3xx status code
func (*PcloudCloudinstancesJobsDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs delete bad request response has a 5xx status code
func (*PcloudCloudinstancesJobsDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs delete bad request response has a 2xx status code
func (*PcloudCloudinstancesJobsDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteBadRequest) String() string
type PcloudCloudinstancesJobsDeleteConflict ¶
PcloudCloudinstancesJobsDeleteConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudCloudinstancesJobsDeleteConflict ¶
func NewPcloudCloudinstancesJobsDeleteConflict() *PcloudCloudinstancesJobsDeleteConflict
NewPcloudCloudinstancesJobsDeleteConflict creates a PcloudCloudinstancesJobsDeleteConflict with default headers values
func (*PcloudCloudinstancesJobsDeleteConflict) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsDeleteConflict) Code() int
Code gets the status code for the pcloud cloudinstances jobs delete conflict response
func (*PcloudCloudinstancesJobsDeleteConflict) Error ¶
func (o *PcloudCloudinstancesJobsDeleteConflict) Error() string
func (*PcloudCloudinstancesJobsDeleteConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteConflict) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsDeleteConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteConflict) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs delete conflict response has a 4xx status code
func (*PcloudCloudinstancesJobsDeleteConflict) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteConflict) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs delete conflict response a status code equal to that given
func (*PcloudCloudinstancesJobsDeleteConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteConflict) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs delete conflict response has a 3xx status code
func (*PcloudCloudinstancesJobsDeleteConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteConflict) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs delete conflict response has a 5xx status code
func (*PcloudCloudinstancesJobsDeleteConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteConflict) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs delete conflict response has a 2xx status code
func (*PcloudCloudinstancesJobsDeleteConflict) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteConflict) String() string
type PcloudCloudinstancesJobsDeleteForbidden ¶ added in v1.2.2
PcloudCloudinstancesJobsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesJobsDeleteForbidden ¶ added in v1.2.2
func NewPcloudCloudinstancesJobsDeleteForbidden() *PcloudCloudinstancesJobsDeleteForbidden
NewPcloudCloudinstancesJobsDeleteForbidden creates a PcloudCloudinstancesJobsDeleteForbidden with default headers values
func (*PcloudCloudinstancesJobsDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsDeleteForbidden) Code() int
Code gets the status code for the pcloud cloudinstances jobs delete forbidden response
func (*PcloudCloudinstancesJobsDeleteForbidden) Error ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) Error() string
func (*PcloudCloudinstancesJobsDeleteForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs delete forbidden response has a 4xx status code
func (*PcloudCloudinstancesJobsDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs delete forbidden response a status code equal to that given
func (*PcloudCloudinstancesJobsDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs delete forbidden response has a 3xx status code
func (*PcloudCloudinstancesJobsDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs delete forbidden response has a 5xx status code
func (*PcloudCloudinstancesJobsDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs delete forbidden response has a 2xx status code
func (*PcloudCloudinstancesJobsDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteForbidden) String() string
type PcloudCloudinstancesJobsDeleteInternalServerError ¶
PcloudCloudinstancesJobsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsDeleteInternalServerError ¶
func NewPcloudCloudinstancesJobsDeleteInternalServerError() *PcloudCloudinstancesJobsDeleteInternalServerError
NewPcloudCloudinstancesJobsDeleteInternalServerError creates a PcloudCloudinstancesJobsDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesJobsDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances jobs delete internal server error response
func (*PcloudCloudinstancesJobsDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Error() string
func (*PcloudCloudinstancesJobsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs delete internal server error response has a 4xx status code
func (*PcloudCloudinstancesJobsDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs delete internal server error response a status code equal to that given
func (*PcloudCloudinstancesJobsDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs delete internal server error response has a 3xx status code
func (*PcloudCloudinstancesJobsDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs delete internal server error response has a 5xx status code
func (*PcloudCloudinstancesJobsDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs delete internal server error response has a 2xx status code
func (*PcloudCloudinstancesJobsDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) String() string
type PcloudCloudinstancesJobsDeleteNotFound ¶
PcloudCloudinstancesJobsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesJobsDeleteNotFound ¶
func NewPcloudCloudinstancesJobsDeleteNotFound() *PcloudCloudinstancesJobsDeleteNotFound
NewPcloudCloudinstancesJobsDeleteNotFound creates a PcloudCloudinstancesJobsDeleteNotFound with default headers values
func (*PcloudCloudinstancesJobsDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsDeleteNotFound) Code() int
Code gets the status code for the pcloud cloudinstances jobs delete not found response
func (*PcloudCloudinstancesJobsDeleteNotFound) Error ¶
func (o *PcloudCloudinstancesJobsDeleteNotFound) Error() string
func (*PcloudCloudinstancesJobsDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs delete not found response has a 4xx status code
func (*PcloudCloudinstancesJobsDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs delete not found response a status code equal to that given
func (*PcloudCloudinstancesJobsDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs delete not found response has a 3xx status code
func (*PcloudCloudinstancesJobsDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs delete not found response has a 5xx status code
func (*PcloudCloudinstancesJobsDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs delete not found response has a 2xx status code
func (*PcloudCloudinstancesJobsDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteNotFound) String() string
type PcloudCloudinstancesJobsDeleteOK ¶
PcloudCloudinstancesJobsDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesJobsDeleteOK ¶
func NewPcloudCloudinstancesJobsDeleteOK() *PcloudCloudinstancesJobsDeleteOK
NewPcloudCloudinstancesJobsDeleteOK creates a PcloudCloudinstancesJobsDeleteOK with default headers values
func (*PcloudCloudinstancesJobsDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsDeleteOK) Code() int
Code gets the status code for the pcloud cloudinstances jobs delete o k response
func (*PcloudCloudinstancesJobsDeleteOK) Error ¶
func (o *PcloudCloudinstancesJobsDeleteOK) Error() string
func (*PcloudCloudinstancesJobsDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteOK) GetPayload() models.Object
func (*PcloudCloudinstancesJobsDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs delete o k response has a 4xx status code
func (*PcloudCloudinstancesJobsDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs delete o k response a status code equal to that given
func (*PcloudCloudinstancesJobsDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs delete o k response has a 3xx status code
func (*PcloudCloudinstancesJobsDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs delete o k response has a 5xx status code
func (*PcloudCloudinstancesJobsDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs delete o k response has a 2xx status code
func (*PcloudCloudinstancesJobsDeleteOK) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteOK) String() string
type PcloudCloudinstancesJobsDeleteParams ¶
type PcloudCloudinstancesJobsDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* JobID. PCloud Job ID */ JobID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsDeleteParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances jobs delete operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesJobsDeleteParams ¶
func NewPcloudCloudinstancesJobsDeleteParams() *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParams creates a new PcloudCloudinstancesJobsDeleteParams 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 NewPcloudCloudinstancesJobsDeleteParamsWithContext ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithContext creates a new PcloudCloudinstancesJobsDeleteParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesJobsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithTimeout creates a new PcloudCloudinstancesJobsDeleteParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances jobs delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetJobID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetJobID(jobID string)
SetJobID adds the jobId to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
WithContext adds the context to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteParams) WithDefaults() *PcloudCloudinstancesJobsDeleteParams
WithDefaults hydrates default values in the pcloud cloudinstances jobs delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithJobID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithJobID(jobID string) *PcloudCloudinstancesJobsDeleteParams
WithJobID adds the jobID to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsDeleteReader ¶
type PcloudCloudinstancesJobsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsDeleteReader is a Reader for the PcloudCloudinstancesJobsDelete structure.
func (*PcloudCloudinstancesJobsDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsDeleteUnauthorized ¶
type PcloudCloudinstancesJobsDeleteUnauthorized struct {
}PcloudCloudinstancesJobsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsDeleteUnauthorized ¶
func NewPcloudCloudinstancesJobsDeleteUnauthorized() *PcloudCloudinstancesJobsDeleteUnauthorized
NewPcloudCloudinstancesJobsDeleteUnauthorized creates a PcloudCloudinstancesJobsDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesJobsDeleteUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances jobs delete unauthorized response
func (*PcloudCloudinstancesJobsDeleteUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Error() string
func (*PcloudCloudinstancesJobsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs delete unauthorized response has a 4xx status code
func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs delete unauthorized response a status code equal to that given
func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs delete unauthorized response has a 3xx status code
func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs delete unauthorized response has a 5xx status code
func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs delete unauthorized response has a 2xx status code
func (*PcloudCloudinstancesJobsDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) String() string
type PcloudCloudinstancesJobsGetBadRequest ¶
PcloudCloudinstancesJobsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesJobsGetBadRequest ¶
func NewPcloudCloudinstancesJobsGetBadRequest() *PcloudCloudinstancesJobsGetBadRequest
NewPcloudCloudinstancesJobsGetBadRequest creates a PcloudCloudinstancesJobsGetBadRequest with default headers values
func (*PcloudCloudinstancesJobsGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances jobs get bad request response
func (*PcloudCloudinstancesJobsGetBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsGetBadRequest) Error() string
func (*PcloudCloudinstancesJobsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs get bad request response has a 4xx status code
func (*PcloudCloudinstancesJobsGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs get bad request response a status code equal to that given
func (*PcloudCloudinstancesJobsGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs get bad request response has a 3xx status code
func (*PcloudCloudinstancesJobsGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs get bad request response has a 5xx status code
func (*PcloudCloudinstancesJobsGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs get bad request response has a 2xx status code
func (*PcloudCloudinstancesJobsGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetBadRequest) String() string
type PcloudCloudinstancesJobsGetForbidden ¶ added in v1.2.2
PcloudCloudinstancesJobsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesJobsGetForbidden ¶ added in v1.2.2
func NewPcloudCloudinstancesJobsGetForbidden() *PcloudCloudinstancesJobsGetForbidden
NewPcloudCloudinstancesJobsGetForbidden creates a PcloudCloudinstancesJobsGetForbidden with default headers values
func (*PcloudCloudinstancesJobsGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetForbidden) Code() int
Code gets the status code for the pcloud cloudinstances jobs get forbidden response
func (*PcloudCloudinstancesJobsGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) Error() string
func (*PcloudCloudinstancesJobsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs get forbidden response has a 4xx status code
func (*PcloudCloudinstancesJobsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs get forbidden response a status code equal to that given
func (*PcloudCloudinstancesJobsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs get forbidden response has a 3xx status code
func (*PcloudCloudinstancesJobsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs get forbidden response has a 5xx status code
func (*PcloudCloudinstancesJobsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs get forbidden response has a 2xx status code
func (*PcloudCloudinstancesJobsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetForbidden) String() string
type PcloudCloudinstancesJobsGetInternalServerError ¶
PcloudCloudinstancesJobsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsGetInternalServerError ¶
func NewPcloudCloudinstancesJobsGetInternalServerError() *PcloudCloudinstancesJobsGetInternalServerError
NewPcloudCloudinstancesJobsGetInternalServerError creates a PcloudCloudinstancesJobsGetInternalServerError with default headers values
func (*PcloudCloudinstancesJobsGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances jobs get internal server error response
func (*PcloudCloudinstancesJobsGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsGetInternalServerError) Error() string
func (*PcloudCloudinstancesJobsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs get internal server error response has a 4xx status code
func (*PcloudCloudinstancesJobsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs get internal server error response a status code equal to that given
func (*PcloudCloudinstancesJobsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs get internal server error response has a 3xx status code
func (*PcloudCloudinstancesJobsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs get internal server error response has a 5xx status code
func (*PcloudCloudinstancesJobsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs get internal server error response has a 2xx status code
func (*PcloudCloudinstancesJobsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetInternalServerError) String() string
type PcloudCloudinstancesJobsGetNotFound ¶
PcloudCloudinstancesJobsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesJobsGetNotFound ¶
func NewPcloudCloudinstancesJobsGetNotFound() *PcloudCloudinstancesJobsGetNotFound
NewPcloudCloudinstancesJobsGetNotFound creates a PcloudCloudinstancesJobsGetNotFound with default headers values
func (*PcloudCloudinstancesJobsGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetNotFound) Code() int
Code gets the status code for the pcloud cloudinstances jobs get not found response
func (*PcloudCloudinstancesJobsGetNotFound) Error ¶
func (o *PcloudCloudinstancesJobsGetNotFound) Error() string
func (*PcloudCloudinstancesJobsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs get not found response has a 4xx status code
func (*PcloudCloudinstancesJobsGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs get not found response a status code equal to that given
func (*PcloudCloudinstancesJobsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs get not found response has a 3xx status code
func (*PcloudCloudinstancesJobsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs get not found response has a 5xx status code
func (*PcloudCloudinstancesJobsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs get not found response has a 2xx status code
func (*PcloudCloudinstancesJobsGetNotFound) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetNotFound) String() string
type PcloudCloudinstancesJobsGetOK ¶
PcloudCloudinstancesJobsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesJobsGetOK ¶
func NewPcloudCloudinstancesJobsGetOK() *PcloudCloudinstancesJobsGetOK
NewPcloudCloudinstancesJobsGetOK creates a PcloudCloudinstancesJobsGetOK with default headers values
func (*PcloudCloudinstancesJobsGetOK) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetOK) Code() int
Code gets the status code for the pcloud cloudinstances jobs get o k response
func (*PcloudCloudinstancesJobsGetOK) Error ¶
func (o *PcloudCloudinstancesJobsGetOK) Error() string
func (*PcloudCloudinstancesJobsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetOK) GetPayload() *models.Job
func (*PcloudCloudinstancesJobsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs get o k response has a 4xx status code
func (*PcloudCloudinstancesJobsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs get o k response a status code equal to that given
func (*PcloudCloudinstancesJobsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs get o k response has a 3xx status code
func (*PcloudCloudinstancesJobsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs get o k response has a 5xx status code
func (*PcloudCloudinstancesJobsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs get o k response has a 2xx status code
func (*PcloudCloudinstancesJobsGetOK) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetOK) String() string
type PcloudCloudinstancesJobsGetParams ¶
type PcloudCloudinstancesJobsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* JobID. PCloud Job ID */ JobID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsGetParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances jobs get operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesJobsGetParams ¶
func NewPcloudCloudinstancesJobsGetParams() *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParams creates a new PcloudCloudinstancesJobsGetParams 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 NewPcloudCloudinstancesJobsGetParamsWithContext ¶
func NewPcloudCloudinstancesJobsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithContext creates a new PcloudCloudinstancesJobsGetParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithHTTPClient creates a new PcloudCloudinstancesJobsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesJobsGetParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithTimeout creates a new PcloudCloudinstancesJobsGetParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesJobsGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetContext ¶
func (o *PcloudCloudinstancesJobsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances jobs get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetJobID ¶
func (o *PcloudCloudinstancesJobsGetParams) SetJobID(jobID string)
SetJobID adds the jobId to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithContext ¶
func (o *PcloudCloudinstancesJobsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
WithContext adds the context to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetParams) WithDefaults() *PcloudCloudinstancesJobsGetParams
WithDefaults hydrates default values in the pcloud cloudinstances jobs get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithJobID ¶
func (o *PcloudCloudinstancesJobsGetParams) WithJobID(jobID string) *PcloudCloudinstancesJobsGetParams
WithJobID adds the jobID to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsGetReader ¶
type PcloudCloudinstancesJobsGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsGetReader is a Reader for the PcloudCloudinstancesJobsGet structure.
func (*PcloudCloudinstancesJobsGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsGetUnauthorized ¶
type PcloudCloudinstancesJobsGetUnauthorized struct {
}PcloudCloudinstancesJobsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsGetUnauthorized ¶
func NewPcloudCloudinstancesJobsGetUnauthorized() *PcloudCloudinstancesJobsGetUnauthorized
NewPcloudCloudinstancesJobsGetUnauthorized creates a PcloudCloudinstancesJobsGetUnauthorized with default headers values
func (*PcloudCloudinstancesJobsGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances jobs get unauthorized response
func (*PcloudCloudinstancesJobsGetUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsGetUnauthorized) Error() string
func (*PcloudCloudinstancesJobsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs get unauthorized response has a 4xx status code
func (*PcloudCloudinstancesJobsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs get unauthorized response a status code equal to that given
func (*PcloudCloudinstancesJobsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs get unauthorized response has a 3xx status code
func (*PcloudCloudinstancesJobsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs get unauthorized response has a 5xx status code
func (*PcloudCloudinstancesJobsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs get unauthorized response has a 2xx status code
func (*PcloudCloudinstancesJobsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetUnauthorized) String() string
type PcloudCloudinstancesJobsGetallBadRequest ¶
PcloudCloudinstancesJobsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesJobsGetallBadRequest ¶
func NewPcloudCloudinstancesJobsGetallBadRequest() *PcloudCloudinstancesJobsGetallBadRequest
NewPcloudCloudinstancesJobsGetallBadRequest creates a PcloudCloudinstancesJobsGetallBadRequest with default headers values
func (*PcloudCloudinstancesJobsGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetallBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances jobs getall bad request response
func (*PcloudCloudinstancesJobsGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsGetallBadRequest) Error() string
func (*PcloudCloudinstancesJobsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs getall bad request response has a 4xx status code
func (*PcloudCloudinstancesJobsGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs getall bad request response a status code equal to that given
func (*PcloudCloudinstancesJobsGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs getall bad request response has a 3xx status code
func (*PcloudCloudinstancesJobsGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs getall bad request response has a 5xx status code
func (*PcloudCloudinstancesJobsGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs getall bad request response has a 2xx status code
func (*PcloudCloudinstancesJobsGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallBadRequest) String() string
type PcloudCloudinstancesJobsGetallForbidden ¶ added in v1.2.2
PcloudCloudinstancesJobsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesJobsGetallForbidden ¶ added in v1.2.2
func NewPcloudCloudinstancesJobsGetallForbidden() *PcloudCloudinstancesJobsGetallForbidden
NewPcloudCloudinstancesJobsGetallForbidden creates a PcloudCloudinstancesJobsGetallForbidden with default headers values
func (*PcloudCloudinstancesJobsGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetallForbidden) Code() int
Code gets the status code for the pcloud cloudinstances jobs getall forbidden response
func (*PcloudCloudinstancesJobsGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) Error() string
func (*PcloudCloudinstancesJobsGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs getall forbidden response has a 4xx status code
func (*PcloudCloudinstancesJobsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs getall forbidden response a status code equal to that given
func (*PcloudCloudinstancesJobsGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs getall forbidden response has a 3xx status code
func (*PcloudCloudinstancesJobsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs getall forbidden response has a 5xx status code
func (*PcloudCloudinstancesJobsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs getall forbidden response has a 2xx status code
func (*PcloudCloudinstancesJobsGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallForbidden) String() string
type PcloudCloudinstancesJobsGetallInternalServerError ¶
PcloudCloudinstancesJobsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsGetallInternalServerError ¶
func NewPcloudCloudinstancesJobsGetallInternalServerError() *PcloudCloudinstancesJobsGetallInternalServerError
NewPcloudCloudinstancesJobsGetallInternalServerError creates a PcloudCloudinstancesJobsGetallInternalServerError with default headers values
func (*PcloudCloudinstancesJobsGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetallInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances jobs getall internal server error response
func (*PcloudCloudinstancesJobsGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsGetallInternalServerError) Error() string
func (*PcloudCloudinstancesJobsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs getall internal server error response has a 4xx status code
func (*PcloudCloudinstancesJobsGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs getall internal server error response a status code equal to that given
func (*PcloudCloudinstancesJobsGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs getall internal server error response has a 3xx status code
func (*PcloudCloudinstancesJobsGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs getall internal server error response has a 5xx status code
func (*PcloudCloudinstancesJobsGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs getall internal server error response has a 2xx status code
func (*PcloudCloudinstancesJobsGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallInternalServerError) String() string
type PcloudCloudinstancesJobsGetallNotFound ¶
PcloudCloudinstancesJobsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesJobsGetallNotFound ¶
func NewPcloudCloudinstancesJobsGetallNotFound() *PcloudCloudinstancesJobsGetallNotFound
NewPcloudCloudinstancesJobsGetallNotFound creates a PcloudCloudinstancesJobsGetallNotFound with default headers values
func (*PcloudCloudinstancesJobsGetallNotFound) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetallNotFound) Code() int
Code gets the status code for the pcloud cloudinstances jobs getall not found response
func (*PcloudCloudinstancesJobsGetallNotFound) Error ¶
func (o *PcloudCloudinstancesJobsGetallNotFound) Error() string
func (*PcloudCloudinstancesJobsGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs getall not found response has a 4xx status code
func (*PcloudCloudinstancesJobsGetallNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs getall not found response a status code equal to that given
func (*PcloudCloudinstancesJobsGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs getall not found response has a 3xx status code
func (*PcloudCloudinstancesJobsGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs getall not found response has a 5xx status code
func (*PcloudCloudinstancesJobsGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs getall not found response has a 2xx status code
func (*PcloudCloudinstancesJobsGetallNotFound) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallNotFound) String() string
type PcloudCloudinstancesJobsGetallOK ¶
PcloudCloudinstancesJobsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesJobsGetallOK ¶
func NewPcloudCloudinstancesJobsGetallOK() *PcloudCloudinstancesJobsGetallOK
NewPcloudCloudinstancesJobsGetallOK creates a PcloudCloudinstancesJobsGetallOK with default headers values
func (*PcloudCloudinstancesJobsGetallOK) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetallOK) Code() int
Code gets the status code for the pcloud cloudinstances jobs getall o k response
func (*PcloudCloudinstancesJobsGetallOK) Error ¶
func (o *PcloudCloudinstancesJobsGetallOK) Error() string
func (*PcloudCloudinstancesJobsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallOK) GetPayload() *models.Jobs
func (*PcloudCloudinstancesJobsGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs getall o k response has a 4xx status code
func (*PcloudCloudinstancesJobsGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs getall o k response a status code equal to that given
func (*PcloudCloudinstancesJobsGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs getall o k response has a 3xx status code
func (*PcloudCloudinstancesJobsGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs getall o k response has a 5xx status code
func (*PcloudCloudinstancesJobsGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs getall o k response has a 2xx status code
func (*PcloudCloudinstancesJobsGetallOK) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallOK) String() string
type PcloudCloudinstancesJobsGetallParams ¶
type PcloudCloudinstancesJobsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* OperationAction. Operation action to filter jobs (optional) vmCapture - includes operation action value (vmCapture) imageExport - includes operation action value (imageExport) imageImport - includes operation action value (imageImport) storage - includes operation action values (vmCapture,imageExport,imageImport) */ OperationAction *string /* OperationID. Operation ID to filter jobs (optional) */ OperationID *string /* OperationTarget. Operation target to filter jobs (optional) */ OperationTarget *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsGetallParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances jobs getall operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesJobsGetallParams ¶
func NewPcloudCloudinstancesJobsGetallParams() *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParams creates a new PcloudCloudinstancesJobsGetallParams 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 NewPcloudCloudinstancesJobsGetallParamsWithContext ¶
func NewPcloudCloudinstancesJobsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithContext creates a new PcloudCloudinstancesJobsGetallParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient creates a new PcloudCloudinstancesJobsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesJobsGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithTimeout creates a new PcloudCloudinstancesJobsGetallParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetContext ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances jobs getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationAction ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationAction(operationAction *string)
SetOperationAction adds the operationAction to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationID ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationID(operationID *string)
SetOperationID adds the operationId to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationTarget ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationTarget(operationTarget *string)
SetOperationTarget adds the operationTarget to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithContext ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
WithContext adds the context to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallParams) WithDefaults() *PcloudCloudinstancesJobsGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances jobs getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationAction ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationAction(operationAction *string) *PcloudCloudinstancesJobsGetallParams
WithOperationAction adds the operationAction to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationID ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationID(operationID *string) *PcloudCloudinstancesJobsGetallParams
WithOperationID adds the operationID to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationTarget ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationTarget(operationTarget *string) *PcloudCloudinstancesJobsGetallParams
WithOperationTarget adds the operationTarget to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsGetallReader ¶
type PcloudCloudinstancesJobsGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsGetallReader is a Reader for the PcloudCloudinstancesJobsGetall structure.
func (*PcloudCloudinstancesJobsGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsGetallUnauthorized ¶
type PcloudCloudinstancesJobsGetallUnauthorized struct {
}PcloudCloudinstancesJobsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsGetallUnauthorized ¶
func NewPcloudCloudinstancesJobsGetallUnauthorized() *PcloudCloudinstancesJobsGetallUnauthorized
NewPcloudCloudinstancesJobsGetallUnauthorized creates a PcloudCloudinstancesJobsGetallUnauthorized with default headers values
func (*PcloudCloudinstancesJobsGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesJobsGetallUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances jobs getall unauthorized response
func (*PcloudCloudinstancesJobsGetallUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsGetallUnauthorized) Error() string
func (*PcloudCloudinstancesJobsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesJobsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances jobs getall unauthorized response has a 4xx status code
func (*PcloudCloudinstancesJobsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances jobs getall unauthorized response a status code equal to that given
func (*PcloudCloudinstancesJobsGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances jobs getall unauthorized response has a 3xx status code
func (*PcloudCloudinstancesJobsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances jobs getall unauthorized response has a 5xx status code
func (*PcloudCloudinstancesJobsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances jobs getall unauthorized response has a 2xx status code
func (*PcloudCloudinstancesJobsGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesJobsGetallUnauthorized) String() string
Source Files ¶
- p_cloud_jobs_client.go
- pcloud_cloudinstances_jobs_delete_parameters.go
- pcloud_cloudinstances_jobs_delete_responses.go
- pcloud_cloudinstances_jobs_get_parameters.go
- pcloud_cloudinstances_jobs_get_responses.go
- pcloud_cloudinstances_jobs_getall_parameters.go
- pcloud_cloudinstances_jobs_getall_responses.go