p_cloud_jobs

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 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) Error

func (*PcloudCloudinstancesJobsDeleteBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsDeleteConflict) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsDeleteInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsDeleteNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsDeleteOK) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsDeleteUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetOK) GetPayload added in v1.1.0

func (o *PcloudCloudinstancesJobsGetOK) GetPayload() *models.Job

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) Error

func (*PcloudCloudinstancesJobsGetUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetallBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetallInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetallNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesJobsGetallOK) GetPayload added in v1.1.0

func (o *PcloudCloudinstancesJobsGetallOK) GetPayload() *models.Jobs

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) Error

func (*PcloudCloudinstancesJobsGetallUnauthorized) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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