p_cloud_jobs

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type PcloudCloudinstancesJobsDeleteBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs delete bad request response

func (*PcloudCloudinstancesJobsDeleteBadRequest) Error

func (*PcloudCloudinstancesJobsDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesJobsDeleteBadRequest) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudCloudinstancesJobsDeleteConflict

type PcloudCloudinstancesJobsDeleteConflict struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs delete conflict response

func (*PcloudCloudinstancesJobsDeleteConflict) Error

func (*PcloudCloudinstancesJobsDeleteConflict) GetPayload added in v1.1.0

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

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

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

IsSuccess returns true when this pcloud cloudinstances jobs delete conflict response has a 2xx status code

func (*PcloudCloudinstancesJobsDeleteConflict) String added in v1.2.2

type PcloudCloudinstancesJobsDeleteForbidden added in v1.2.2

type PcloudCloudinstancesJobsDeleteForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs delete forbidden response

func (*PcloudCloudinstancesJobsDeleteForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesJobsDeleteForbidden) GetPayload added in v1.2.2

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

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

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

IsSuccess returns true when this pcloud cloudinstances jobs delete forbidden response has a 2xx status code

func (*PcloudCloudinstancesJobsDeleteForbidden) String added in v1.2.2

type PcloudCloudinstancesJobsDeleteInternalServerError

type PcloudCloudinstancesJobsDeleteInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs delete internal server error response

func (*PcloudCloudinstancesJobsDeleteInternalServerError) Error

func (*PcloudCloudinstancesJobsDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesJobsDeleteInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudCloudinstancesJobsDeleteNotFound

type PcloudCloudinstancesJobsDeleteNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs delete not found response

func (*PcloudCloudinstancesJobsDeleteNotFound) Error

func (*PcloudCloudinstancesJobsDeleteNotFound) GetPayload added in v1.1.0

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

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

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

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

type PcloudCloudinstancesJobsDeleteOK

type PcloudCloudinstancesJobsDeleteOK struct {
	Payload models.Object
}

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

Code gets the status code for the pcloud cloudinstances jobs delete o k response

func (*PcloudCloudinstancesJobsDeleteOK) Error

func (*PcloudCloudinstancesJobsDeleteOK) GetPayload added in v1.1.0

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

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

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

WithContext adds the context to the pcloud cloudinstances jobs delete params

func (*PcloudCloudinstancesJobsDeleteParams) WithDefaults added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs delete params

func (*PcloudCloudinstancesJobsDeleteParams) WithJobID

WithJobID adds the jobID to the pcloud cloudinstances jobs delete params

func (*PcloudCloudinstancesJobsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances jobs delete params

func (*PcloudCloudinstancesJobsDeleteParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs delete unauthorized response

func (*PcloudCloudinstancesJobsDeleteUnauthorized) Error

func (*PcloudCloudinstancesJobsDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances jobs delete unauthorized response has a 4xx status code

func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud cloudinstances jobs delete unauthorized response has a 3xx status code

func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances jobs delete unauthorized response has a 5xx status code

func (*PcloudCloudinstancesJobsDeleteUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances jobs delete unauthorized response has a 2xx status code

func (*PcloudCloudinstancesJobsDeleteUnauthorized) String added in v1.2.2

type PcloudCloudinstancesJobsGetBadRequest

type PcloudCloudinstancesJobsGetBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs get bad request response

func (*PcloudCloudinstancesJobsGetBadRequest) Error

func (*PcloudCloudinstancesJobsGetBadRequest) GetPayload added in v1.1.0

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

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

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

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

type PcloudCloudinstancesJobsGetForbidden added in v1.2.2

type PcloudCloudinstancesJobsGetForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs get forbidden response

func (*PcloudCloudinstancesJobsGetForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesJobsGetForbidden) GetPayload added in v1.2.2

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

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

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

IsSuccess returns true when this pcloud cloudinstances jobs get forbidden response has a 2xx status code

func (*PcloudCloudinstancesJobsGetForbidden) String added in v1.2.2

type PcloudCloudinstancesJobsGetInternalServerError

type PcloudCloudinstancesJobsGetInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs get internal server error response

func (*PcloudCloudinstancesJobsGetInternalServerError) Error

func (*PcloudCloudinstancesJobsGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesJobsGetInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudCloudinstancesJobsGetNotFound

type PcloudCloudinstancesJobsGetNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs get not found response

func (*PcloudCloudinstancesJobsGetNotFound) Error

func (*PcloudCloudinstancesJobsGetNotFound) GetPayload added in v1.1.0

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

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

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

type PcloudCloudinstancesJobsGetOK

type PcloudCloudinstancesJobsGetOK struct {
	Payload *models.Job
}

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

Code gets the status code for the pcloud cloudinstances jobs get o k response

func (*PcloudCloudinstancesJobsGetOK) Error

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

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

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

WithContext adds the context to the pcloud cloudinstances jobs get params

func (*PcloudCloudinstancesJobsGetParams) WithDefaults added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs get params

func (*PcloudCloudinstancesJobsGetParams) WithJobID

WithJobID adds the jobID to the pcloud cloudinstances jobs get params

func (*PcloudCloudinstancesJobsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances jobs get params

func (*PcloudCloudinstancesJobsGetParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs get unauthorized response

func (*PcloudCloudinstancesJobsGetUnauthorized) Error

func (*PcloudCloudinstancesJobsGetUnauthorized) GetPayload added in v1.1.0

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

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

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

IsSuccess returns true when this pcloud cloudinstances jobs get unauthorized response has a 2xx status code

func (*PcloudCloudinstancesJobsGetUnauthorized) String added in v1.2.2

type PcloudCloudinstancesJobsGetallBadRequest

type PcloudCloudinstancesJobsGetallBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs getall bad request response

func (*PcloudCloudinstancesJobsGetallBadRequest) Error

func (*PcloudCloudinstancesJobsGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesJobsGetallBadRequest) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudCloudinstancesJobsGetallForbidden added in v1.2.2

type PcloudCloudinstancesJobsGetallForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs getall forbidden response

func (*PcloudCloudinstancesJobsGetallForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesJobsGetallForbidden) GetPayload added in v1.2.2

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

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

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

IsSuccess returns true when this pcloud cloudinstances jobs getall forbidden response has a 2xx status code

func (*PcloudCloudinstancesJobsGetallForbidden) String added in v1.2.2

type PcloudCloudinstancesJobsGetallInternalServerError

type PcloudCloudinstancesJobsGetallInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs getall internal server error response

func (*PcloudCloudinstancesJobsGetallInternalServerError) Error

func (*PcloudCloudinstancesJobsGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesJobsGetallInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudCloudinstancesJobsGetallNotFound

type PcloudCloudinstancesJobsGetallNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs getall not found response

func (*PcloudCloudinstancesJobsGetallNotFound) Error

func (*PcloudCloudinstancesJobsGetallNotFound) GetPayload added in v1.1.0

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

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

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

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

type PcloudCloudinstancesJobsGetallOK

type PcloudCloudinstancesJobsGetallOK struct {
	Payload *models.Jobs
}

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

Code gets the status code for the pcloud cloudinstances jobs getall o k response

func (*PcloudCloudinstancesJobsGetallOK) Error

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

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

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

WithContext adds the context to the pcloud cloudinstances jobs getall params

func (*PcloudCloudinstancesJobsGetallParams) WithDefaults added in v1.1.0

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

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

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

WithTimeout adds the timeout to the pcloud cloudinstances jobs getall params

func (*PcloudCloudinstancesJobsGetallParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances jobs getall unauthorized response

func (*PcloudCloudinstancesJobsGetallUnauthorized) Error

func (*PcloudCloudinstancesJobsGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesJobsGetallUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances jobs getall unauthorized response has a 4xx status code

func (*PcloudCloudinstancesJobsGetallUnauthorized) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud cloudinstances jobs getall unauthorized response has a 3xx status code

func (*PcloudCloudinstancesJobsGetallUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances jobs getall unauthorized response has a 5xx status code

func (*PcloudCloudinstancesJobsGetallUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances jobs getall unauthorized response has a 2xx status code

func (*PcloudCloudinstancesJobsGetallUnauthorized) String added in v1.2.2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL