p_cloud_images

package
v1.0.76 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

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 images API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new p cloud images API client.

func (*Client) PcloudCloudinstancesImagesDelete

PcloudCloudinstancesImagesDelete deletes an image from a cloud instance

func (*Client) PcloudCloudinstancesImagesExportPost

PcloudCloudinstancesImagesExportPost exports an image

func (*Client) PcloudCloudinstancesImagesGet

func (a *Client) PcloudCloudinstancesImagesGet(params *PcloudCloudinstancesImagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesImagesGetOK, error)

PcloudCloudinstancesImagesGet detaileds info of an image

func (*Client) PcloudCloudinstancesImagesGetall

PcloudCloudinstancesImagesGetall lists all images for this cloud instance

func (*Client) PcloudCloudinstancesImagesPost

PcloudCloudinstancesImagesPost creates a new image from available images

func (*Client) PcloudCloudinstancesStockimagesGet added in v1.0.53

PcloudCloudinstancesStockimagesGet detaileds info of an available stock image

func (*Client) PcloudCloudinstancesStockimagesGetall added in v1.0.53

PcloudCloudinstancesStockimagesGetall lists all available stock images

func (*Client) PcloudImagesGet

func (a *Client) PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetOK, error)

PcloudImagesGet deprecateds for pcloud v1 cloud instances cloud instance id stock images image id detailed info of an available stock image

func (*Client) PcloudImagesGetall

func (a *Client) PcloudImagesGetall(params *PcloudImagesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetallOK, error)

PcloudImagesGetall deprecateds for pcloud v1 cloud instances cloud instance id stock images list all available stock images

func (*Client) PcloudV1CloudinstancesCosimagesGet added in v1.0.75

PcloudV1CloudinstancesCosimagesGet gets detail of last cos image import job

func (*Client) PcloudV1CloudinstancesCosimagesPost added in v1.0.75

PcloudV1CloudinstancesCosimagesPost creates an cos image import job

func (*Client) PcloudV2ImagesExportGet added in v1.0.75

func (a *Client) PcloudV2ImagesExportGet(params *PcloudV2ImagesExportGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudV2ImagesExportGetOK, error)

PcloudV2ImagesExportGet gets detail of last image export job

func (*Client) PcloudV2ImagesExportPost added in v1.0.75

PcloudV2ImagesExportPost adds image export job to the jobs queue

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type PcloudCloudinstancesImagesDeleteBadRequest

type PcloudCloudinstancesImagesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesDeleteBadRequest

func NewPcloudCloudinstancesImagesDeleteBadRequest() *PcloudCloudinstancesImagesDeleteBadRequest

NewPcloudCloudinstancesImagesDeleteBadRequest creates a PcloudCloudinstancesImagesDeleteBadRequest with default headers values

func (*PcloudCloudinstancesImagesDeleteBadRequest) Error

type PcloudCloudinstancesImagesDeleteGone

type PcloudCloudinstancesImagesDeleteGone struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteGone handles this case with default header values.

Gone

func NewPcloudCloudinstancesImagesDeleteGone

func NewPcloudCloudinstancesImagesDeleteGone() *PcloudCloudinstancesImagesDeleteGone

NewPcloudCloudinstancesImagesDeleteGone creates a PcloudCloudinstancesImagesDeleteGone with default headers values

func (*PcloudCloudinstancesImagesDeleteGone) Error

type PcloudCloudinstancesImagesDeleteInternalServerError

type PcloudCloudinstancesImagesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesDeleteInternalServerError

func NewPcloudCloudinstancesImagesDeleteInternalServerError() *PcloudCloudinstancesImagesDeleteInternalServerError

NewPcloudCloudinstancesImagesDeleteInternalServerError creates a PcloudCloudinstancesImagesDeleteInternalServerError with default headers values

func (*PcloudCloudinstancesImagesDeleteInternalServerError) Error

type PcloudCloudinstancesImagesDeleteOK

type PcloudCloudinstancesImagesDeleteOK struct {
	Payload models.Object
}

PcloudCloudinstancesImagesDeleteOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesDeleteOK

func NewPcloudCloudinstancesImagesDeleteOK() *PcloudCloudinstancesImagesDeleteOK

NewPcloudCloudinstancesImagesDeleteOK creates a PcloudCloudinstancesImagesDeleteOK with default headers values

func (*PcloudCloudinstancesImagesDeleteOK) Error

type PcloudCloudinstancesImagesDeleteParams

type PcloudCloudinstancesImagesDeleteParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesDeleteParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images delete operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesDeleteParams

func NewPcloudCloudinstancesImagesDeleteParams() *PcloudCloudinstancesImagesDeleteParams

NewPcloudCloudinstancesImagesDeleteParams creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized.

func NewPcloudCloudinstancesImagesDeleteParamsWithContext

func NewPcloudCloudinstancesImagesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams

NewPcloudCloudinstancesImagesDeleteParamsWithContext creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient

func NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesDeleteParams

NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudCloudinstancesImagesDeleteParamsWithTimeout

func NewPcloudCloudinstancesImagesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesDeleteParams

NewPcloudCloudinstancesImagesDeleteParamsWithTimeout creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudCloudinstancesImagesDeleteParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetContext

SetContext adds the context to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetHTTPClient

func (o *PcloudCloudinstancesImagesDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetImageID

func (o *PcloudCloudinstancesImagesDeleteParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetTimeout

func (o *PcloudCloudinstancesImagesDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithContext

WithContext adds the context to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithImageID

WithImageID adds the imageID to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesDeleteReader

type PcloudCloudinstancesImagesDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesDeleteReader is a Reader for the PcloudCloudinstancesImagesDelete structure.

func (*PcloudCloudinstancesImagesDeleteReader) ReadResponse

func (o *PcloudCloudinstancesImagesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesDeleteUnauthorized added in v1.0.59

type PcloudCloudinstancesImagesDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudCloudinstancesImagesDeleteUnauthorized added in v1.0.59

func NewPcloudCloudinstancesImagesDeleteUnauthorized() *PcloudCloudinstancesImagesDeleteUnauthorized

NewPcloudCloudinstancesImagesDeleteUnauthorized creates a PcloudCloudinstancesImagesDeleteUnauthorized with default headers values

func (*PcloudCloudinstancesImagesDeleteUnauthorized) Error added in v1.0.59

type PcloudCloudinstancesImagesExportPostAccepted

type PcloudCloudinstancesImagesExportPostAccepted struct {
	Payload models.Object
}

PcloudCloudinstancesImagesExportPostAccepted handles this case with default header values.

Accepted

func NewPcloudCloudinstancesImagesExportPostAccepted

func NewPcloudCloudinstancesImagesExportPostAccepted() *PcloudCloudinstancesImagesExportPostAccepted

NewPcloudCloudinstancesImagesExportPostAccepted creates a PcloudCloudinstancesImagesExportPostAccepted with default headers values

func (*PcloudCloudinstancesImagesExportPostAccepted) Error

type PcloudCloudinstancesImagesExportPostBadRequest

type PcloudCloudinstancesImagesExportPostBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesExportPostBadRequest

func NewPcloudCloudinstancesImagesExportPostBadRequest() *PcloudCloudinstancesImagesExportPostBadRequest

NewPcloudCloudinstancesImagesExportPostBadRequest creates a PcloudCloudinstancesImagesExportPostBadRequest with default headers values

func (*PcloudCloudinstancesImagesExportPostBadRequest) Error

type PcloudCloudinstancesImagesExportPostInternalServerError

type PcloudCloudinstancesImagesExportPostInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesExportPostInternalServerError

func NewPcloudCloudinstancesImagesExportPostInternalServerError() *PcloudCloudinstancesImagesExportPostInternalServerError

NewPcloudCloudinstancesImagesExportPostInternalServerError creates a PcloudCloudinstancesImagesExportPostInternalServerError with default headers values

func (*PcloudCloudinstancesImagesExportPostInternalServerError) Error

type PcloudCloudinstancesImagesExportPostNotFound

type PcloudCloudinstancesImagesExportPostNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesImagesExportPostNotFound

func NewPcloudCloudinstancesImagesExportPostNotFound() *PcloudCloudinstancesImagesExportPostNotFound

NewPcloudCloudinstancesImagesExportPostNotFound creates a PcloudCloudinstancesImagesExportPostNotFound with default headers values

func (*PcloudCloudinstancesImagesExportPostNotFound) Error

type PcloudCloudinstancesImagesExportPostParams

type PcloudCloudinstancesImagesExportPostParams struct {

	/*Body
	  Parameters for exporting an image

	*/
	Body *models.ExportImage
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesExportPostParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images export post operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesExportPostParams

func NewPcloudCloudinstancesImagesExportPostParams() *PcloudCloudinstancesImagesExportPostParams

NewPcloudCloudinstancesImagesExportPostParams creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized.

func NewPcloudCloudinstancesImagesExportPostParamsWithContext

func NewPcloudCloudinstancesImagesExportPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams

NewPcloudCloudinstancesImagesExportPostParamsWithContext creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient

func NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesExportPostParams

NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudCloudinstancesImagesExportPostParamsWithTimeout

func NewPcloudCloudinstancesImagesExportPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesExportPostParams

NewPcloudCloudinstancesImagesExportPostParamsWithTimeout creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudCloudinstancesImagesExportPostParams) SetBody

SetBody adds the body to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesExportPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetContext

SetContext adds the context to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetHTTPClient

func (o *PcloudCloudinstancesImagesExportPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetImageID

func (o *PcloudCloudinstancesImagesExportPostParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithBody

WithBody adds the body to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithContext

WithContext adds the context to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithImageID

WithImageID adds the imageID to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesExportPostReader

type PcloudCloudinstancesImagesExportPostReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesExportPostReader is a Reader for the PcloudCloudinstancesImagesExportPost structure.

func (*PcloudCloudinstancesImagesExportPostReader) ReadResponse

func (o *PcloudCloudinstancesImagesExportPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesExportPostUnauthorized added in v1.0.59

type PcloudCloudinstancesImagesExportPostUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudCloudinstancesImagesExportPostUnauthorized added in v1.0.59

func NewPcloudCloudinstancesImagesExportPostUnauthorized() *PcloudCloudinstancesImagesExportPostUnauthorized

NewPcloudCloudinstancesImagesExportPostUnauthorized creates a PcloudCloudinstancesImagesExportPostUnauthorized with default headers values

func (*PcloudCloudinstancesImagesExportPostUnauthorized) Error added in v1.0.59

type PcloudCloudinstancesImagesExportPostUnprocessableEntity added in v1.0.75

type PcloudCloudinstancesImagesExportPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudCloudinstancesImagesExportPostUnprocessableEntity added in v1.0.75

func NewPcloudCloudinstancesImagesExportPostUnprocessableEntity() *PcloudCloudinstancesImagesExportPostUnprocessableEntity

NewPcloudCloudinstancesImagesExportPostUnprocessableEntity creates a PcloudCloudinstancesImagesExportPostUnprocessableEntity with default headers values

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) Error added in v1.0.75

type PcloudCloudinstancesImagesGetBadRequest

type PcloudCloudinstancesImagesGetBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesGetBadRequest

func NewPcloudCloudinstancesImagesGetBadRequest() *PcloudCloudinstancesImagesGetBadRequest

NewPcloudCloudinstancesImagesGetBadRequest creates a PcloudCloudinstancesImagesGetBadRequest with default headers values

func (*PcloudCloudinstancesImagesGetBadRequest) Error

type PcloudCloudinstancesImagesGetInternalServerError

type PcloudCloudinstancesImagesGetInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesGetInternalServerError

func NewPcloudCloudinstancesImagesGetInternalServerError() *PcloudCloudinstancesImagesGetInternalServerError

NewPcloudCloudinstancesImagesGetInternalServerError creates a PcloudCloudinstancesImagesGetInternalServerError with default headers values

func (*PcloudCloudinstancesImagesGetInternalServerError) Error

type PcloudCloudinstancesImagesGetNotFound

type PcloudCloudinstancesImagesGetNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesImagesGetNotFound

func NewPcloudCloudinstancesImagesGetNotFound() *PcloudCloudinstancesImagesGetNotFound

NewPcloudCloudinstancesImagesGetNotFound creates a PcloudCloudinstancesImagesGetNotFound with default headers values

func (*PcloudCloudinstancesImagesGetNotFound) Error

type PcloudCloudinstancesImagesGetOK

type PcloudCloudinstancesImagesGetOK struct {
	Payload *models.Image
}

PcloudCloudinstancesImagesGetOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesGetOK

func NewPcloudCloudinstancesImagesGetOK() *PcloudCloudinstancesImagesGetOK

NewPcloudCloudinstancesImagesGetOK creates a PcloudCloudinstancesImagesGetOK with default headers values

func (*PcloudCloudinstancesImagesGetOK) Error

type PcloudCloudinstancesImagesGetParams

type PcloudCloudinstancesImagesGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesGetParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images get operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesGetParams

func NewPcloudCloudinstancesImagesGetParams() *PcloudCloudinstancesImagesGetParams

NewPcloudCloudinstancesImagesGetParams creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized.

func NewPcloudCloudinstancesImagesGetParamsWithContext

func NewPcloudCloudinstancesImagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams

NewPcloudCloudinstancesImagesGetParamsWithContext creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudCloudinstancesImagesGetParamsWithHTTPClient

func NewPcloudCloudinstancesImagesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetParams

NewPcloudCloudinstancesImagesGetParamsWithHTTPClient creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudCloudinstancesImagesGetParamsWithTimeout

func NewPcloudCloudinstancesImagesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetParams

NewPcloudCloudinstancesImagesGetParamsWithTimeout creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudCloudinstancesImagesGetParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetContext

SetContext adds the context to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetHTTPClient

func (o *PcloudCloudinstancesImagesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetImageID

func (o *PcloudCloudinstancesImagesGetParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetTimeout

func (o *PcloudCloudinstancesImagesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithCloudInstanceID

func (o *PcloudCloudinstancesImagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithImageID

WithImageID adds the imageID to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesGetReader

type PcloudCloudinstancesImagesGetReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesGetReader is a Reader for the PcloudCloudinstancesImagesGet structure.

func (*PcloudCloudinstancesImagesGetReader) ReadResponse

func (o *PcloudCloudinstancesImagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesGetUnauthorized added in v1.0.59

type PcloudCloudinstancesImagesGetUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudCloudinstancesImagesGetUnauthorized added in v1.0.59

func NewPcloudCloudinstancesImagesGetUnauthorized() *PcloudCloudinstancesImagesGetUnauthorized

NewPcloudCloudinstancesImagesGetUnauthorized creates a PcloudCloudinstancesImagesGetUnauthorized with default headers values

func (*PcloudCloudinstancesImagesGetUnauthorized) Error added in v1.0.59

type PcloudCloudinstancesImagesGetallBadRequest

type PcloudCloudinstancesImagesGetallBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesGetallBadRequest

func NewPcloudCloudinstancesImagesGetallBadRequest() *PcloudCloudinstancesImagesGetallBadRequest

NewPcloudCloudinstancesImagesGetallBadRequest creates a PcloudCloudinstancesImagesGetallBadRequest with default headers values

func (*PcloudCloudinstancesImagesGetallBadRequest) Error

type PcloudCloudinstancesImagesGetallInternalServerError

type PcloudCloudinstancesImagesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesGetallInternalServerError

func NewPcloudCloudinstancesImagesGetallInternalServerError() *PcloudCloudinstancesImagesGetallInternalServerError

NewPcloudCloudinstancesImagesGetallInternalServerError creates a PcloudCloudinstancesImagesGetallInternalServerError with default headers values

func (*PcloudCloudinstancesImagesGetallInternalServerError) Error

type PcloudCloudinstancesImagesGetallNotFound

type PcloudCloudinstancesImagesGetallNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesImagesGetallNotFound

func NewPcloudCloudinstancesImagesGetallNotFound() *PcloudCloudinstancesImagesGetallNotFound

NewPcloudCloudinstancesImagesGetallNotFound creates a PcloudCloudinstancesImagesGetallNotFound with default headers values

func (*PcloudCloudinstancesImagesGetallNotFound) Error

type PcloudCloudinstancesImagesGetallOK

type PcloudCloudinstancesImagesGetallOK struct {
	Payload *models.Images
}

PcloudCloudinstancesImagesGetallOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesGetallOK

func NewPcloudCloudinstancesImagesGetallOK() *PcloudCloudinstancesImagesGetallOK

NewPcloudCloudinstancesImagesGetallOK creates a PcloudCloudinstancesImagesGetallOK with default headers values

func (*PcloudCloudinstancesImagesGetallOK) Error

type PcloudCloudinstancesImagesGetallParams

type PcloudCloudinstancesImagesGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesGetallParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images getall operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesGetallParams

func NewPcloudCloudinstancesImagesGetallParams() *PcloudCloudinstancesImagesGetallParams

NewPcloudCloudinstancesImagesGetallParams creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized.

func NewPcloudCloudinstancesImagesGetallParamsWithContext

func NewPcloudCloudinstancesImagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams

NewPcloudCloudinstancesImagesGetallParamsWithContext creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient

func NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetallParams

NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudCloudinstancesImagesGetallParamsWithTimeout

func NewPcloudCloudinstancesImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetallParams

NewPcloudCloudinstancesImagesGetallParamsWithTimeout creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudCloudinstancesImagesGetallParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) SetContext

SetContext adds the context to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) SetHTTPClient

func (o *PcloudCloudinstancesImagesGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) SetTimeout

func (o *PcloudCloudinstancesImagesGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithContext

WithContext adds the context to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesGetallReader

type PcloudCloudinstancesImagesGetallReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesGetallReader is a Reader for the PcloudCloudinstancesImagesGetall structure.

func (*PcloudCloudinstancesImagesGetallReader) ReadResponse

func (o *PcloudCloudinstancesImagesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesGetallUnauthorized added in v1.0.59

type PcloudCloudinstancesImagesGetallUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudCloudinstancesImagesGetallUnauthorized added in v1.0.59

func NewPcloudCloudinstancesImagesGetallUnauthorized() *PcloudCloudinstancesImagesGetallUnauthorized

NewPcloudCloudinstancesImagesGetallUnauthorized creates a PcloudCloudinstancesImagesGetallUnauthorized with default headers values

func (*PcloudCloudinstancesImagesGetallUnauthorized) Error added in v1.0.59

type PcloudCloudinstancesImagesPostBadRequest

type PcloudCloudinstancesImagesPostBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesPostBadRequest

func NewPcloudCloudinstancesImagesPostBadRequest() *PcloudCloudinstancesImagesPostBadRequest

NewPcloudCloudinstancesImagesPostBadRequest creates a PcloudCloudinstancesImagesPostBadRequest with default headers values

func (*PcloudCloudinstancesImagesPostBadRequest) Error

type PcloudCloudinstancesImagesPostConflict

type PcloudCloudinstancesImagesPostConflict struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostConflict handles this case with default header values.

Conflict

func NewPcloudCloudinstancesImagesPostConflict

func NewPcloudCloudinstancesImagesPostConflict() *PcloudCloudinstancesImagesPostConflict

NewPcloudCloudinstancesImagesPostConflict creates a PcloudCloudinstancesImagesPostConflict with default headers values

func (*PcloudCloudinstancesImagesPostConflict) Error

type PcloudCloudinstancesImagesPostCreated

type PcloudCloudinstancesImagesPostCreated struct {
	Payload *models.Image
}

PcloudCloudinstancesImagesPostCreated handles this case with default header values.

Created

func NewPcloudCloudinstancesImagesPostCreated

func NewPcloudCloudinstancesImagesPostCreated() *PcloudCloudinstancesImagesPostCreated

NewPcloudCloudinstancesImagesPostCreated creates a PcloudCloudinstancesImagesPostCreated with default headers values

func (*PcloudCloudinstancesImagesPostCreated) Error

type PcloudCloudinstancesImagesPostInternalServerError

type PcloudCloudinstancesImagesPostInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesPostInternalServerError

func NewPcloudCloudinstancesImagesPostInternalServerError() *PcloudCloudinstancesImagesPostInternalServerError

NewPcloudCloudinstancesImagesPostInternalServerError creates a PcloudCloudinstancesImagesPostInternalServerError with default headers values

func (*PcloudCloudinstancesImagesPostInternalServerError) Error

type PcloudCloudinstancesImagesPostOK

type PcloudCloudinstancesImagesPostOK struct {
	Payload *models.Image
}

PcloudCloudinstancesImagesPostOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesPostOK

func NewPcloudCloudinstancesImagesPostOK() *PcloudCloudinstancesImagesPostOK

NewPcloudCloudinstancesImagesPostOK creates a PcloudCloudinstancesImagesPostOK with default headers values

func (*PcloudCloudinstancesImagesPostOK) Error

type PcloudCloudinstancesImagesPostParams

type PcloudCloudinstancesImagesPostParams struct {

	/*Body
	  Parameters for the creation of a new image from available images

	*/
	Body *models.CreateImage
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesPostParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images post operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesPostParams

func NewPcloudCloudinstancesImagesPostParams() *PcloudCloudinstancesImagesPostParams

NewPcloudCloudinstancesImagesPostParams creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized.

func NewPcloudCloudinstancesImagesPostParamsWithContext

func NewPcloudCloudinstancesImagesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams

NewPcloudCloudinstancesImagesPostParamsWithContext creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudCloudinstancesImagesPostParamsWithHTTPClient

func NewPcloudCloudinstancesImagesPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesPostParams

NewPcloudCloudinstancesImagesPostParamsWithHTTPClient creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudCloudinstancesImagesPostParamsWithTimeout

func NewPcloudCloudinstancesImagesPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesPostParams

NewPcloudCloudinstancesImagesPostParamsWithTimeout creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudCloudinstancesImagesPostParams) SetBody

SetBody adds the body to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetContext

SetContext adds the context to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetHTTPClient

func (o *PcloudCloudinstancesImagesPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetTimeout

func (o *PcloudCloudinstancesImagesPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithBody

WithBody adds the body to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithCloudInstanceID

func (o *PcloudCloudinstancesImagesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithContext

WithContext adds the context to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesPostReader

type PcloudCloudinstancesImagesPostReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesImagesPostReader is a Reader for the PcloudCloudinstancesImagesPost structure.

func (*PcloudCloudinstancesImagesPostReader) ReadResponse

func (o *PcloudCloudinstancesImagesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesPostUnauthorized added in v1.0.59

type PcloudCloudinstancesImagesPostUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudCloudinstancesImagesPostUnauthorized added in v1.0.59

func NewPcloudCloudinstancesImagesPostUnauthorized() *PcloudCloudinstancesImagesPostUnauthorized

NewPcloudCloudinstancesImagesPostUnauthorized creates a PcloudCloudinstancesImagesPostUnauthorized with default headers values

func (*PcloudCloudinstancesImagesPostUnauthorized) Error added in v1.0.59

type PcloudCloudinstancesImagesPostUnprocessableEntity

type PcloudCloudinstancesImagesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudCloudinstancesImagesPostUnprocessableEntity

func NewPcloudCloudinstancesImagesPostUnprocessableEntity() *PcloudCloudinstancesImagesPostUnprocessableEntity

NewPcloudCloudinstancesImagesPostUnprocessableEntity creates a PcloudCloudinstancesImagesPostUnprocessableEntity with default headers values

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) Error

type PcloudCloudinstancesStockimagesGetBadRequest added in v1.0.53

type PcloudCloudinstancesStockimagesGetBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesStockimagesGetBadRequest added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetBadRequest() *PcloudCloudinstancesStockimagesGetBadRequest

NewPcloudCloudinstancesStockimagesGetBadRequest creates a PcloudCloudinstancesStockimagesGetBadRequest with default headers values

func (*PcloudCloudinstancesStockimagesGetBadRequest) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetInternalServerError added in v1.0.53

type PcloudCloudinstancesStockimagesGetInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesStockimagesGetInternalServerError added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetInternalServerError() *PcloudCloudinstancesStockimagesGetInternalServerError

NewPcloudCloudinstancesStockimagesGetInternalServerError creates a PcloudCloudinstancesStockimagesGetInternalServerError with default headers values

func (*PcloudCloudinstancesStockimagesGetInternalServerError) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetNotFound added in v1.0.53

type PcloudCloudinstancesStockimagesGetNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesStockimagesGetNotFound added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetNotFound() *PcloudCloudinstancesStockimagesGetNotFound

NewPcloudCloudinstancesStockimagesGetNotFound creates a PcloudCloudinstancesStockimagesGetNotFound with default headers values

func (*PcloudCloudinstancesStockimagesGetNotFound) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetOK added in v1.0.53

type PcloudCloudinstancesStockimagesGetOK struct {
	Payload *models.Image
}

PcloudCloudinstancesStockimagesGetOK handles this case with default header values.

OK

func NewPcloudCloudinstancesStockimagesGetOK added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetOK() *PcloudCloudinstancesStockimagesGetOK

NewPcloudCloudinstancesStockimagesGetOK creates a PcloudCloudinstancesStockimagesGetOK with default headers values

func (*PcloudCloudinstancesStockimagesGetOK) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetParams added in v1.0.53

type PcloudCloudinstancesStockimagesGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesStockimagesGetParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances stockimages get operation typically these are written to a http.Request

func NewPcloudCloudinstancesStockimagesGetParams added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetParams() *PcloudCloudinstancesStockimagesGetParams

NewPcloudCloudinstancesStockimagesGetParams creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized.

func NewPcloudCloudinstancesStockimagesGetParamsWithContext added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetParams

NewPcloudCloudinstancesStockimagesGetParamsWithContext creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudCloudinstancesStockimagesGetParamsWithHTTPClient added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetParams

NewPcloudCloudinstancesStockimagesGetParamsWithHTTPClient creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudCloudinstancesStockimagesGetParamsWithTimeout added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetParams

NewPcloudCloudinstancesStockimagesGetParamsWithTimeout creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudCloudinstancesStockimagesGetParams) SetCloudInstanceID added in v1.0.53

func (o *PcloudCloudinstancesStockimagesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) SetContext added in v1.0.53

SetContext adds the context to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) SetHTTPClient added in v1.0.53

func (o *PcloudCloudinstancesStockimagesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) SetImageID added in v1.0.53

func (o *PcloudCloudinstancesStockimagesGetParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) SetTimeout added in v1.0.53

SetTimeout adds the timeout to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) WithCloudInstanceID added in v1.0.53

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) WithContext added in v1.0.53

WithContext adds the context to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) WithHTTPClient added in v1.0.53

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) WithImageID added in v1.0.53

WithImageID adds the imageID to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) WithTimeout added in v1.0.53

WithTimeout adds the timeout to the pcloud cloudinstances stockimages get params

func (*PcloudCloudinstancesStockimagesGetParams) WriteToRequest added in v1.0.53

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesStockimagesGetReader added in v1.0.53

type PcloudCloudinstancesStockimagesGetReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesStockimagesGetReader is a Reader for the PcloudCloudinstancesStockimagesGet structure.

func (*PcloudCloudinstancesStockimagesGetReader) ReadResponse added in v1.0.53

func (o *PcloudCloudinstancesStockimagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesStockimagesGetUnauthorized added in v1.0.59

type PcloudCloudinstancesStockimagesGetUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudCloudinstancesStockimagesGetUnauthorized added in v1.0.59

func NewPcloudCloudinstancesStockimagesGetUnauthorized() *PcloudCloudinstancesStockimagesGetUnauthorized

NewPcloudCloudinstancesStockimagesGetUnauthorized creates a PcloudCloudinstancesStockimagesGetUnauthorized with default headers values

func (*PcloudCloudinstancesStockimagesGetUnauthorized) Error added in v1.0.59

type PcloudCloudinstancesStockimagesGetallBadRequest added in v1.0.53

type PcloudCloudinstancesStockimagesGetallBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesStockimagesGetallBadRequest added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallBadRequest() *PcloudCloudinstancesStockimagesGetallBadRequest

NewPcloudCloudinstancesStockimagesGetallBadRequest creates a PcloudCloudinstancesStockimagesGetallBadRequest with default headers values

func (*PcloudCloudinstancesStockimagesGetallBadRequest) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetallInternalServerError added in v1.0.53

type PcloudCloudinstancesStockimagesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesStockimagesGetallInternalServerError added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallInternalServerError() *PcloudCloudinstancesStockimagesGetallInternalServerError

NewPcloudCloudinstancesStockimagesGetallInternalServerError creates a PcloudCloudinstancesStockimagesGetallInternalServerError with default headers values

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetallNotFound added in v1.0.53

type PcloudCloudinstancesStockimagesGetallNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesStockimagesGetallNotFound added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallNotFound() *PcloudCloudinstancesStockimagesGetallNotFound

NewPcloudCloudinstancesStockimagesGetallNotFound creates a PcloudCloudinstancesStockimagesGetallNotFound with default headers values

func (*PcloudCloudinstancesStockimagesGetallNotFound) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetallOK added in v1.0.53

type PcloudCloudinstancesStockimagesGetallOK struct {
	Payload *models.Images
}

PcloudCloudinstancesStockimagesGetallOK handles this case with default header values.

OK

func NewPcloudCloudinstancesStockimagesGetallOK added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallOK() *PcloudCloudinstancesStockimagesGetallOK

NewPcloudCloudinstancesStockimagesGetallOK creates a PcloudCloudinstancesStockimagesGetallOK with default headers values

func (*PcloudCloudinstancesStockimagesGetallOK) Error added in v1.0.53

type PcloudCloudinstancesStockimagesGetallParams added in v1.0.53

type PcloudCloudinstancesStockimagesGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*Sap
	  Include SAP images with get available stock images

	*/
	Sap *bool
	/*Vtl
	  Include VTL images with get available stock images

	*/
	Vtl *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesStockimagesGetallParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances stockimages getall operation typically these are written to a http.Request

func NewPcloudCloudinstancesStockimagesGetallParams added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallParams() *PcloudCloudinstancesStockimagesGetallParams

NewPcloudCloudinstancesStockimagesGetallParams creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized.

func NewPcloudCloudinstancesStockimagesGetallParamsWithContext added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams

NewPcloudCloudinstancesStockimagesGetallParamsWithContext creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudCloudinstancesStockimagesGetallParamsWithHTTPClient added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetallParams

NewPcloudCloudinstancesStockimagesGetallParamsWithHTTPClient creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudCloudinstancesStockimagesGetallParamsWithTimeout added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetallParams

NewPcloudCloudinstancesStockimagesGetallParamsWithTimeout creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudCloudinstancesStockimagesGetallParams) SetCloudInstanceID added in v1.0.53

func (o *PcloudCloudinstancesStockimagesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) SetContext added in v1.0.53

SetContext adds the context to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) SetHTTPClient added in v1.0.53

func (o *PcloudCloudinstancesStockimagesGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) SetSap added in v1.0.53

SetSap adds the sap to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) SetTimeout added in v1.0.53

SetTimeout adds the timeout to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) SetVtl added in v1.0.59

SetVtl adds the vtl to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) WithCloudInstanceID added in v1.0.53

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) WithContext added in v1.0.53

WithContext adds the context to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) WithHTTPClient added in v1.0.53

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) WithSap added in v1.0.53

WithSap adds the sap to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) WithTimeout added in v1.0.53

WithTimeout adds the timeout to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) WithVtl added in v1.0.59

WithVtl adds the vtl to the pcloud cloudinstances stockimages getall params

func (*PcloudCloudinstancesStockimagesGetallParams) WriteToRequest added in v1.0.53

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesStockimagesGetallReader added in v1.0.53

type PcloudCloudinstancesStockimagesGetallReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesStockimagesGetallReader is a Reader for the PcloudCloudinstancesStockimagesGetall structure.

func (*PcloudCloudinstancesStockimagesGetallReader) ReadResponse added in v1.0.53

func (o *PcloudCloudinstancesStockimagesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesStockimagesGetallUnauthorized added in v1.0.59

type PcloudCloudinstancesStockimagesGetallUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetallUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudCloudinstancesStockimagesGetallUnauthorized added in v1.0.59

func NewPcloudCloudinstancesStockimagesGetallUnauthorized() *PcloudCloudinstancesStockimagesGetallUnauthorized

NewPcloudCloudinstancesStockimagesGetallUnauthorized creates a PcloudCloudinstancesStockimagesGetallUnauthorized with default headers values

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) Error added in v1.0.59

type PcloudImagesGetBadRequest

type PcloudImagesGetBadRequest struct {
	Payload *models.Error
}

PcloudImagesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudImagesGetBadRequest

func NewPcloudImagesGetBadRequest() *PcloudImagesGetBadRequest

NewPcloudImagesGetBadRequest creates a PcloudImagesGetBadRequest with default headers values

func (*PcloudImagesGetBadRequest) Error

func (o *PcloudImagesGetBadRequest) Error() string

type PcloudImagesGetInternalServerError

type PcloudImagesGetInternalServerError struct {
	Payload *models.Error
}

PcloudImagesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudImagesGetInternalServerError

func NewPcloudImagesGetInternalServerError() *PcloudImagesGetInternalServerError

NewPcloudImagesGetInternalServerError creates a PcloudImagesGetInternalServerError with default headers values

func (*PcloudImagesGetInternalServerError) Error

type PcloudImagesGetNotFound

type PcloudImagesGetNotFound struct {
	Payload *models.Error
}

PcloudImagesGetNotFound handles this case with default header values.

Not Found

func NewPcloudImagesGetNotFound

func NewPcloudImagesGetNotFound() *PcloudImagesGetNotFound

NewPcloudImagesGetNotFound creates a PcloudImagesGetNotFound with default headers values

func (*PcloudImagesGetNotFound) Error

func (o *PcloudImagesGetNotFound) Error() string

type PcloudImagesGetOK

type PcloudImagesGetOK struct {
	Payload *models.Image
}

PcloudImagesGetOK handles this case with default header values.

OK

func NewPcloudImagesGetOK

func NewPcloudImagesGetOK() *PcloudImagesGetOK

NewPcloudImagesGetOK creates a PcloudImagesGetOK with default headers values

func (*PcloudImagesGetOK) Error

func (o *PcloudImagesGetOK) Error() string

type PcloudImagesGetParams

type PcloudImagesGetParams struct {

	/*ImageID
	  Image ID of a image

	*/
	ImageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudImagesGetParams contains all the parameters to send to the API endpoint for the pcloud images get operation typically these are written to a http.Request

func NewPcloudImagesGetParams

func NewPcloudImagesGetParams() *PcloudImagesGetParams

NewPcloudImagesGetParams creates a new PcloudImagesGetParams object with the default values initialized.

func NewPcloudImagesGetParamsWithContext

func NewPcloudImagesGetParamsWithContext(ctx context.Context) *PcloudImagesGetParams

NewPcloudImagesGetParamsWithContext creates a new PcloudImagesGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudImagesGetParamsWithHTTPClient

func NewPcloudImagesGetParamsWithHTTPClient(client *http.Client) *PcloudImagesGetParams

NewPcloudImagesGetParamsWithHTTPClient creates a new PcloudImagesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudImagesGetParamsWithTimeout

func NewPcloudImagesGetParamsWithTimeout(timeout time.Duration) *PcloudImagesGetParams

NewPcloudImagesGetParamsWithTimeout creates a new PcloudImagesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudImagesGetParams) SetContext

func (o *PcloudImagesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud images get params

func (*PcloudImagesGetParams) SetHTTPClient

func (o *PcloudImagesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud images get params

func (*PcloudImagesGetParams) SetImageID

func (o *PcloudImagesGetParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud images get params

func (*PcloudImagesGetParams) SetTimeout

func (o *PcloudImagesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud images get params

func (*PcloudImagesGetParams) WithContext

WithContext adds the context to the pcloud images get params

func (*PcloudImagesGetParams) WithHTTPClient

func (o *PcloudImagesGetParams) WithHTTPClient(client *http.Client) *PcloudImagesGetParams

WithHTTPClient adds the HTTPClient to the pcloud images get params

func (*PcloudImagesGetParams) WithImageID

func (o *PcloudImagesGetParams) WithImageID(imageID string) *PcloudImagesGetParams

WithImageID adds the imageID to the pcloud images get params

func (*PcloudImagesGetParams) WithTimeout

func (o *PcloudImagesGetParams) WithTimeout(timeout time.Duration) *PcloudImagesGetParams

WithTimeout adds the timeout to the pcloud images get params

func (*PcloudImagesGetParams) WriteToRequest

func (o *PcloudImagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PcloudImagesGetReader

type PcloudImagesGetReader struct {
	// contains filtered or unexported fields
}

PcloudImagesGetReader is a Reader for the PcloudImagesGet structure.

func (*PcloudImagesGetReader) ReadResponse

func (o *PcloudImagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudImagesGetUnauthorized added in v1.0.59

type PcloudImagesGetUnauthorized struct {
	Payload *models.Error
}

PcloudImagesGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudImagesGetUnauthorized added in v1.0.59

func NewPcloudImagesGetUnauthorized() *PcloudImagesGetUnauthorized

NewPcloudImagesGetUnauthorized creates a PcloudImagesGetUnauthorized with default headers values

func (*PcloudImagesGetUnauthorized) Error added in v1.0.59

type PcloudImagesGetallBadRequest

type PcloudImagesGetallBadRequest struct {
	Payload *models.Error
}

PcloudImagesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudImagesGetallBadRequest

func NewPcloudImagesGetallBadRequest() *PcloudImagesGetallBadRequest

NewPcloudImagesGetallBadRequest creates a PcloudImagesGetallBadRequest with default headers values

func (*PcloudImagesGetallBadRequest) Error

type PcloudImagesGetallInternalServerError

type PcloudImagesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudImagesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudImagesGetallInternalServerError

func NewPcloudImagesGetallInternalServerError() *PcloudImagesGetallInternalServerError

NewPcloudImagesGetallInternalServerError creates a PcloudImagesGetallInternalServerError with default headers values

func (*PcloudImagesGetallInternalServerError) Error

type PcloudImagesGetallNotFound

type PcloudImagesGetallNotFound struct {
	Payload *models.Error
}

PcloudImagesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudImagesGetallNotFound

func NewPcloudImagesGetallNotFound() *PcloudImagesGetallNotFound

NewPcloudImagesGetallNotFound creates a PcloudImagesGetallNotFound with default headers values

func (*PcloudImagesGetallNotFound) Error

type PcloudImagesGetallOK

type PcloudImagesGetallOK struct {
	Payload *models.Images
}

PcloudImagesGetallOK handles this case with default header values.

OK

func NewPcloudImagesGetallOK

func NewPcloudImagesGetallOK() *PcloudImagesGetallOK

NewPcloudImagesGetallOK creates a PcloudImagesGetallOK with default headers values

func (*PcloudImagesGetallOK) Error

func (o *PcloudImagesGetallOK) Error() string

type PcloudImagesGetallParams

type PcloudImagesGetallParams struct {

	/*Sap
	  Include SAP images with get available stock images

	*/
	Sap *bool
	/*Vtl
	  Include VTL images with get available stock images

	*/
	Vtl *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudImagesGetallParams contains all the parameters to send to the API endpoint for the pcloud images getall operation typically these are written to a http.Request

func NewPcloudImagesGetallParams

func NewPcloudImagesGetallParams() *PcloudImagesGetallParams

NewPcloudImagesGetallParams creates a new PcloudImagesGetallParams object with the default values initialized.

func NewPcloudImagesGetallParamsWithContext

func NewPcloudImagesGetallParamsWithContext(ctx context.Context) *PcloudImagesGetallParams

NewPcloudImagesGetallParamsWithContext creates a new PcloudImagesGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudImagesGetallParamsWithHTTPClient

func NewPcloudImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudImagesGetallParams

NewPcloudImagesGetallParamsWithHTTPClient creates a new PcloudImagesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudImagesGetallParamsWithTimeout

func NewPcloudImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudImagesGetallParams

NewPcloudImagesGetallParamsWithTimeout creates a new PcloudImagesGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudImagesGetallParams) SetContext

func (o *PcloudImagesGetallParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud images getall params

func (*PcloudImagesGetallParams) SetHTTPClient

func (o *PcloudImagesGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud images getall params

func (*PcloudImagesGetallParams) SetSap added in v1.0.10

func (o *PcloudImagesGetallParams) SetSap(sap *bool)

SetSap adds the sap to the pcloud images getall params

func (*PcloudImagesGetallParams) SetTimeout

func (o *PcloudImagesGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud images getall params

func (*PcloudImagesGetallParams) SetVtl added in v1.0.59

func (o *PcloudImagesGetallParams) SetVtl(vtl *bool)

SetVtl adds the vtl to the pcloud images getall params

func (*PcloudImagesGetallParams) WithContext

WithContext adds the context to the pcloud images getall params

func (*PcloudImagesGetallParams) WithHTTPClient

func (o *PcloudImagesGetallParams) WithHTTPClient(client *http.Client) *PcloudImagesGetallParams

WithHTTPClient adds the HTTPClient to the pcloud images getall params

func (*PcloudImagesGetallParams) WithSap added in v1.0.10

WithSap adds the sap to the pcloud images getall params

func (*PcloudImagesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud images getall params

func (*PcloudImagesGetallParams) WithVtl added in v1.0.59

WithVtl adds the vtl to the pcloud images getall params

func (*PcloudImagesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudImagesGetallReader

type PcloudImagesGetallReader struct {
	// contains filtered or unexported fields
}

PcloudImagesGetallReader is a Reader for the PcloudImagesGetall structure.

func (*PcloudImagesGetallReader) ReadResponse

func (o *PcloudImagesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudImagesGetallUnauthorized added in v1.0.59

type PcloudImagesGetallUnauthorized struct {
	Payload *models.Error
}

PcloudImagesGetallUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudImagesGetallUnauthorized added in v1.0.59

func NewPcloudImagesGetallUnauthorized() *PcloudImagesGetallUnauthorized

NewPcloudImagesGetallUnauthorized creates a PcloudImagesGetallUnauthorized with default headers values

func (*PcloudImagesGetallUnauthorized) Error added in v1.0.59

type PcloudV1CloudinstancesCosimagesGetInternalServerError added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetInternalServerError struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV1CloudinstancesCosimagesGetInternalServerError added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetInternalServerError() *PcloudV1CloudinstancesCosimagesGetInternalServerError

NewPcloudV1CloudinstancesCosimagesGetInternalServerError creates a PcloudV1CloudinstancesCosimagesGetInternalServerError with default headers values

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetNotFound added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetNotFound struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesGetNotFound handles this case with default header values.

Not Found

func NewPcloudV1CloudinstancesCosimagesGetNotFound added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetNotFound() *PcloudV1CloudinstancesCosimagesGetNotFound

NewPcloudV1CloudinstancesCosimagesGetNotFound creates a PcloudV1CloudinstancesCosimagesGetNotFound with default headers values

func (*PcloudV1CloudinstancesCosimagesGetNotFound) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetOK added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetOK struct {
	Payload *models.Job
}

PcloudV1CloudinstancesCosimagesGetOK handles this case with default header values.

OK

func NewPcloudV1CloudinstancesCosimagesGetOK added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetOK() *PcloudV1CloudinstancesCosimagesGetOK

NewPcloudV1CloudinstancesCosimagesGetOK creates a PcloudV1CloudinstancesCosimagesGetOK with default headers values

func (*PcloudV1CloudinstancesCosimagesGetOK) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetParams added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV1CloudinstancesCosimagesGetParams contains all the parameters to send to the API endpoint for the pcloud v1 cloudinstances cosimages get operation typically these are written to a http.Request

func NewPcloudV1CloudinstancesCosimagesGetParams added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetParams() *PcloudV1CloudinstancesCosimagesGetParams

NewPcloudV1CloudinstancesCosimagesGetParams creates a new PcloudV1CloudinstancesCosimagesGetParams object with the default values initialized.

func NewPcloudV1CloudinstancesCosimagesGetParamsWithContext added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesGetParams

NewPcloudV1CloudinstancesCosimagesGetParamsWithContext creates a new PcloudV1CloudinstancesCosimagesGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV1CloudinstancesCosimagesGetParamsWithHTTPClient added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetParamsWithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesGetParams

NewPcloudV1CloudinstancesCosimagesGetParamsWithHTTPClient creates a new PcloudV1CloudinstancesCosimagesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV1CloudinstancesCosimagesGetParamsWithTimeout added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetParamsWithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesGetParams

NewPcloudV1CloudinstancesCosimagesGetParamsWithTimeout creates a new PcloudV1CloudinstancesCosimagesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV1CloudinstancesCosimagesGetParams) SetCloudInstanceID added in v1.0.75

func (o *PcloudV1CloudinstancesCosimagesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) SetContext added in v1.0.75

SetContext adds the context to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) SetHTTPClient added in v1.0.75

func (o *PcloudV1CloudinstancesCosimagesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) SetTimeout added in v1.0.75

SetTimeout adds the timeout to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) WithCloudInstanceID added in v1.0.75

WithCloudInstanceID adds the cloudInstanceID to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) WithContext added in v1.0.75

WithContext adds the context to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) WithHTTPClient added in v1.0.75

WithHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) WithTimeout added in v1.0.75

WithTimeout adds the timeout to the pcloud v1 cloudinstances cosimages get params

func (*PcloudV1CloudinstancesCosimagesGetParams) WriteToRequest added in v1.0.75

WriteToRequest writes these params to a swagger request

type PcloudV1CloudinstancesCosimagesGetReader added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetReader struct {
	// contains filtered or unexported fields
}

PcloudV1CloudinstancesCosimagesGetReader is a Reader for the PcloudV1CloudinstancesCosimagesGet structure.

func (*PcloudV1CloudinstancesCosimagesGetReader) ReadResponse added in v1.0.75

func (o *PcloudV1CloudinstancesCosimagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV1CloudinstancesCosimagesGetUnauthorized added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetUnauthorized struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudV1CloudinstancesCosimagesGetUnauthorized added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetUnauthorized() *PcloudV1CloudinstancesCosimagesGetUnauthorized

NewPcloudV1CloudinstancesCosimagesGetUnauthorized creates a PcloudV1CloudinstancesCosimagesGetUnauthorized with default headers values

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostAccepted added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostAccepted struct {
	Payload *models.JobReference
}

PcloudV1CloudinstancesCosimagesPostAccepted handles this case with default header values.

Accepted, cos-image import successfully added to the jobs queue

func NewPcloudV1CloudinstancesCosimagesPostAccepted added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostAccepted() *PcloudV1CloudinstancesCosimagesPostAccepted

NewPcloudV1CloudinstancesCosimagesPostAccepted creates a PcloudV1CloudinstancesCosimagesPostAccepted with default headers values

func (*PcloudV1CloudinstancesCosimagesPostAccepted) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostBadRequest added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostBadRequest struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudV1CloudinstancesCosimagesPostBadRequest added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostBadRequest() *PcloudV1CloudinstancesCosimagesPostBadRequest

NewPcloudV1CloudinstancesCosimagesPostBadRequest creates a PcloudV1CloudinstancesCosimagesPostBadRequest with default headers values

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostConflict added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostConflict struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesPostConflict handles this case with default header values.

Conflict

func NewPcloudV1CloudinstancesCosimagesPostConflict added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostConflict() *PcloudV1CloudinstancesCosimagesPostConflict

NewPcloudV1CloudinstancesCosimagesPostConflict creates a PcloudV1CloudinstancesCosimagesPostConflict with default headers values

func (*PcloudV1CloudinstancesCosimagesPostConflict) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostForbidden added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostForbidden struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesPostForbidden handles this case with default header values.

Forbidden

func NewPcloudV1CloudinstancesCosimagesPostForbidden added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostForbidden() *PcloudV1CloudinstancesCosimagesPostForbidden

NewPcloudV1CloudinstancesCosimagesPostForbidden creates a PcloudV1CloudinstancesCosimagesPostForbidden with default headers values

func (*PcloudV1CloudinstancesCosimagesPostForbidden) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostInternalServerError added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostInternalServerError struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV1CloudinstancesCosimagesPostInternalServerError added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostInternalServerError() *PcloudV1CloudinstancesCosimagesPostInternalServerError

NewPcloudV1CloudinstancesCosimagesPostInternalServerError creates a PcloudV1CloudinstancesCosimagesPostInternalServerError with default headers values

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostParams added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostParams struct {

	/*Body
	  Parameters for the creation of a new cos-image import job

	*/
	Body *models.CreateCosImageImportJob
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV1CloudinstancesCosimagesPostParams contains all the parameters to send to the API endpoint for the pcloud v1 cloudinstances cosimages post operation typically these are written to a http.Request

func NewPcloudV1CloudinstancesCosimagesPostParams added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostParams() *PcloudV1CloudinstancesCosimagesPostParams

NewPcloudV1CloudinstancesCosimagesPostParams creates a new PcloudV1CloudinstancesCosimagesPostParams object with the default values initialized.

func NewPcloudV1CloudinstancesCosimagesPostParamsWithContext added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesPostParams

NewPcloudV1CloudinstancesCosimagesPostParamsWithContext creates a new PcloudV1CloudinstancesCosimagesPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV1CloudinstancesCosimagesPostParamsWithHTTPClient added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostParamsWithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesPostParams

NewPcloudV1CloudinstancesCosimagesPostParamsWithHTTPClient creates a new PcloudV1CloudinstancesCosimagesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV1CloudinstancesCosimagesPostParamsWithTimeout added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostParamsWithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesPostParams

NewPcloudV1CloudinstancesCosimagesPostParamsWithTimeout creates a new PcloudV1CloudinstancesCosimagesPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV1CloudinstancesCosimagesPostParams) SetBody added in v1.0.75

SetBody adds the body to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) SetCloudInstanceID added in v1.0.75

func (o *PcloudV1CloudinstancesCosimagesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) SetContext added in v1.0.75

SetContext adds the context to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) SetHTTPClient added in v1.0.75

func (o *PcloudV1CloudinstancesCosimagesPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) SetTimeout added in v1.0.75

SetTimeout adds the timeout to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) WithBody added in v1.0.75

WithBody adds the body to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) WithCloudInstanceID added in v1.0.75

WithCloudInstanceID adds the cloudInstanceID to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) WithContext added in v1.0.75

WithContext adds the context to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) WithHTTPClient added in v1.0.75

WithHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) WithTimeout added in v1.0.75

WithTimeout adds the timeout to the pcloud v1 cloudinstances cosimages post params

func (*PcloudV1CloudinstancesCosimagesPostParams) WriteToRequest added in v1.0.75

WriteToRequest writes these params to a swagger request

type PcloudV1CloudinstancesCosimagesPostReader added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostReader struct {
	// contains filtered or unexported fields
}

PcloudV1CloudinstancesCosimagesPostReader is a Reader for the PcloudV1CloudinstancesCosimagesPost structure.

func (*PcloudV1CloudinstancesCosimagesPostReader) ReadResponse added in v1.0.75

func (o *PcloudV1CloudinstancesCosimagesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV1CloudinstancesCosimagesPostUnauthorized added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostUnauthorized struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudV1CloudinstancesCosimagesPostUnauthorized added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostUnauthorized() *PcloudV1CloudinstancesCosimagesPostUnauthorized

NewPcloudV1CloudinstancesCosimagesPostUnauthorized creates a PcloudV1CloudinstancesCosimagesPostUnauthorized with default headers values

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) Error added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostUnprocessableEntity added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudV1CloudinstancesCosimagesPostUnprocessableEntity added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostUnprocessableEntity() *PcloudV1CloudinstancesCosimagesPostUnprocessableEntity

NewPcloudV1CloudinstancesCosimagesPostUnprocessableEntity creates a PcloudV1CloudinstancesCosimagesPostUnprocessableEntity with default headers values

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) Error added in v1.0.75

type PcloudV2ImagesExportGetInternalServerError added in v1.0.75

type PcloudV2ImagesExportGetInternalServerError struct {
	Payload *models.Error
}

PcloudV2ImagesExportGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2ImagesExportGetInternalServerError added in v1.0.75

func NewPcloudV2ImagesExportGetInternalServerError() *PcloudV2ImagesExportGetInternalServerError

NewPcloudV2ImagesExportGetInternalServerError creates a PcloudV2ImagesExportGetInternalServerError with default headers values

func (*PcloudV2ImagesExportGetInternalServerError) Error added in v1.0.75

type PcloudV2ImagesExportGetNotFound added in v1.0.75

type PcloudV2ImagesExportGetNotFound struct {
	Payload *models.Error
}

PcloudV2ImagesExportGetNotFound handles this case with default header values.

Not Found

func NewPcloudV2ImagesExportGetNotFound added in v1.0.75

func NewPcloudV2ImagesExportGetNotFound() *PcloudV2ImagesExportGetNotFound

NewPcloudV2ImagesExportGetNotFound creates a PcloudV2ImagesExportGetNotFound with default headers values

func (*PcloudV2ImagesExportGetNotFound) Error added in v1.0.75

type PcloudV2ImagesExportGetOK added in v1.0.75

type PcloudV2ImagesExportGetOK struct {
	Payload *models.Job
}

PcloudV2ImagesExportGetOK handles this case with default header values.

OK

func NewPcloudV2ImagesExportGetOK added in v1.0.75

func NewPcloudV2ImagesExportGetOK() *PcloudV2ImagesExportGetOK

NewPcloudV2ImagesExportGetOK creates a PcloudV2ImagesExportGetOK with default headers values

func (*PcloudV2ImagesExportGetOK) Error added in v1.0.75

func (o *PcloudV2ImagesExportGetOK) Error() string

type PcloudV2ImagesExportGetParams added in v1.0.75

type PcloudV2ImagesExportGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2ImagesExportGetParams contains all the parameters to send to the API endpoint for the pcloud v2 images export get operation typically these are written to a http.Request

func NewPcloudV2ImagesExportGetParams added in v1.0.75

func NewPcloudV2ImagesExportGetParams() *PcloudV2ImagesExportGetParams

NewPcloudV2ImagesExportGetParams creates a new PcloudV2ImagesExportGetParams object with the default values initialized.

func NewPcloudV2ImagesExportGetParamsWithContext added in v1.0.75

func NewPcloudV2ImagesExportGetParamsWithContext(ctx context.Context) *PcloudV2ImagesExportGetParams

NewPcloudV2ImagesExportGetParamsWithContext creates a new PcloudV2ImagesExportGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2ImagesExportGetParamsWithHTTPClient added in v1.0.75

func NewPcloudV2ImagesExportGetParamsWithHTTPClient(client *http.Client) *PcloudV2ImagesExportGetParams

NewPcloudV2ImagesExportGetParamsWithHTTPClient creates a new PcloudV2ImagesExportGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2ImagesExportGetParamsWithTimeout added in v1.0.75

func NewPcloudV2ImagesExportGetParamsWithTimeout(timeout time.Duration) *PcloudV2ImagesExportGetParams

NewPcloudV2ImagesExportGetParamsWithTimeout creates a new PcloudV2ImagesExportGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2ImagesExportGetParams) SetCloudInstanceID added in v1.0.75

func (o *PcloudV2ImagesExportGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) SetContext added in v1.0.75

func (o *PcloudV2ImagesExportGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) SetHTTPClient added in v1.0.75

func (o *PcloudV2ImagesExportGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) SetImageID added in v1.0.75

func (o *PcloudV2ImagesExportGetParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) SetTimeout added in v1.0.75

func (o *PcloudV2ImagesExportGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) WithCloudInstanceID added in v1.0.75

func (o *PcloudV2ImagesExportGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2ImagesExportGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) WithContext added in v1.0.75

WithContext adds the context to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) WithHTTPClient added in v1.0.75

WithHTTPClient adds the HTTPClient to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) WithImageID added in v1.0.75

WithImageID adds the imageID to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) WithTimeout added in v1.0.75

WithTimeout adds the timeout to the pcloud v2 images export get params

func (*PcloudV2ImagesExportGetParams) WriteToRequest added in v1.0.75

WriteToRequest writes these params to a swagger request

type PcloudV2ImagesExportGetReader added in v1.0.75

type PcloudV2ImagesExportGetReader struct {
	// contains filtered or unexported fields
}

PcloudV2ImagesExportGetReader is a Reader for the PcloudV2ImagesExportGet structure.

func (*PcloudV2ImagesExportGetReader) ReadResponse added in v1.0.75

func (o *PcloudV2ImagesExportGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2ImagesExportGetUnauthorized added in v1.0.75

type PcloudV2ImagesExportGetUnauthorized struct {
	Payload *models.Error
}

PcloudV2ImagesExportGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudV2ImagesExportGetUnauthorized added in v1.0.75

func NewPcloudV2ImagesExportGetUnauthorized() *PcloudV2ImagesExportGetUnauthorized

NewPcloudV2ImagesExportGetUnauthorized creates a PcloudV2ImagesExportGetUnauthorized with default headers values

func (*PcloudV2ImagesExportGetUnauthorized) Error added in v1.0.75

type PcloudV2ImagesExportPostAccepted added in v1.0.75

type PcloudV2ImagesExportPostAccepted struct {
	Payload *models.JobReference
}

PcloudV2ImagesExportPostAccepted handles this case with default header values.

Accepted, image export successfully added to the jobs queue

func NewPcloudV2ImagesExportPostAccepted added in v1.0.75

func NewPcloudV2ImagesExportPostAccepted() *PcloudV2ImagesExportPostAccepted

NewPcloudV2ImagesExportPostAccepted creates a PcloudV2ImagesExportPostAccepted with default headers values

func (*PcloudV2ImagesExportPostAccepted) Error added in v1.0.75

type PcloudV2ImagesExportPostBadRequest added in v1.0.75

type PcloudV2ImagesExportPostBadRequest struct {
	Payload *models.Error
}

PcloudV2ImagesExportPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2ImagesExportPostBadRequest added in v1.0.75

func NewPcloudV2ImagesExportPostBadRequest() *PcloudV2ImagesExportPostBadRequest

NewPcloudV2ImagesExportPostBadRequest creates a PcloudV2ImagesExportPostBadRequest with default headers values

func (*PcloudV2ImagesExportPostBadRequest) Error added in v1.0.75

type PcloudV2ImagesExportPostConflict added in v1.0.75

type PcloudV2ImagesExportPostConflict struct {
	Payload *models.Error
}

PcloudV2ImagesExportPostConflict handles this case with default header values.

Conflict, a conflict has prevented adding image export job

func NewPcloudV2ImagesExportPostConflict added in v1.0.75

func NewPcloudV2ImagesExportPostConflict() *PcloudV2ImagesExportPostConflict

NewPcloudV2ImagesExportPostConflict creates a PcloudV2ImagesExportPostConflict with default headers values

func (*PcloudV2ImagesExportPostConflict) Error added in v1.0.75

type PcloudV2ImagesExportPostInternalServerError added in v1.0.75

type PcloudV2ImagesExportPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2ImagesExportPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2ImagesExportPostInternalServerError added in v1.0.75

func NewPcloudV2ImagesExportPostInternalServerError() *PcloudV2ImagesExportPostInternalServerError

NewPcloudV2ImagesExportPostInternalServerError creates a PcloudV2ImagesExportPostInternalServerError with default headers values

func (*PcloudV2ImagesExportPostInternalServerError) Error added in v1.0.75

type PcloudV2ImagesExportPostNotFound added in v1.0.75

type PcloudV2ImagesExportPostNotFound struct {
	Payload *models.Error
}

PcloudV2ImagesExportPostNotFound handles this case with default header values.

image id not found

func NewPcloudV2ImagesExportPostNotFound added in v1.0.75

func NewPcloudV2ImagesExportPostNotFound() *PcloudV2ImagesExportPostNotFound

NewPcloudV2ImagesExportPostNotFound creates a PcloudV2ImagesExportPostNotFound with default headers values

func (*PcloudV2ImagesExportPostNotFound) Error added in v1.0.75

type PcloudV2ImagesExportPostParams added in v1.0.75

type PcloudV2ImagesExportPostParams struct {

	/*Body
	  Parameters for the export

	*/
	Body *models.ExportImage
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2ImagesExportPostParams contains all the parameters to send to the API endpoint for the pcloud v2 images export post operation typically these are written to a http.Request

func NewPcloudV2ImagesExportPostParams added in v1.0.75

func NewPcloudV2ImagesExportPostParams() *PcloudV2ImagesExportPostParams

NewPcloudV2ImagesExportPostParams creates a new PcloudV2ImagesExportPostParams object with the default values initialized.

func NewPcloudV2ImagesExportPostParamsWithContext added in v1.0.75

func NewPcloudV2ImagesExportPostParamsWithContext(ctx context.Context) *PcloudV2ImagesExportPostParams

NewPcloudV2ImagesExportPostParamsWithContext creates a new PcloudV2ImagesExportPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2ImagesExportPostParamsWithHTTPClient added in v1.0.75

func NewPcloudV2ImagesExportPostParamsWithHTTPClient(client *http.Client) *PcloudV2ImagesExportPostParams

NewPcloudV2ImagesExportPostParamsWithHTTPClient creates a new PcloudV2ImagesExportPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2ImagesExportPostParamsWithTimeout added in v1.0.75

func NewPcloudV2ImagesExportPostParamsWithTimeout(timeout time.Duration) *PcloudV2ImagesExportPostParams

NewPcloudV2ImagesExportPostParamsWithTimeout creates a new PcloudV2ImagesExportPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2ImagesExportPostParams) SetBody added in v1.0.75

SetBody adds the body to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) SetCloudInstanceID added in v1.0.75

func (o *PcloudV2ImagesExportPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) SetContext added in v1.0.75

func (o *PcloudV2ImagesExportPostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) SetHTTPClient added in v1.0.75

func (o *PcloudV2ImagesExportPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) SetImageID added in v1.0.75

func (o *PcloudV2ImagesExportPostParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) SetTimeout added in v1.0.75

func (o *PcloudV2ImagesExportPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) WithBody added in v1.0.75

WithBody adds the body to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) WithCloudInstanceID added in v1.0.75

func (o *PcloudV2ImagesExportPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2ImagesExportPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) WithContext added in v1.0.75

WithContext adds the context to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) WithHTTPClient added in v1.0.75

WithHTTPClient adds the HTTPClient to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) WithImageID added in v1.0.75

WithImageID adds the imageID to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) WithTimeout added in v1.0.75

WithTimeout adds the timeout to the pcloud v2 images export post params

func (*PcloudV2ImagesExportPostParams) WriteToRequest added in v1.0.75

WriteToRequest writes these params to a swagger request

type PcloudV2ImagesExportPostReader added in v1.0.75

type PcloudV2ImagesExportPostReader struct {
	// contains filtered or unexported fields
}

PcloudV2ImagesExportPostReader is a Reader for the PcloudV2ImagesExportPost structure.

func (*PcloudV2ImagesExportPostReader) ReadResponse added in v1.0.75

func (o *PcloudV2ImagesExportPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2ImagesExportPostUnauthorized added in v1.0.75

type PcloudV2ImagesExportPostUnauthorized struct {
	Payload *models.Error
}

PcloudV2ImagesExportPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudV2ImagesExportPostUnauthorized added in v1.0.75

func NewPcloudV2ImagesExportPostUnauthorized() *PcloudV2ImagesExportPostUnauthorized

NewPcloudV2ImagesExportPostUnauthorized creates a PcloudV2ImagesExportPostUnauthorized with default headers values

func (*PcloudV2ImagesExportPostUnauthorized) Error added in v1.0.75

type PcloudV2ImagesExportPostUnprocessableEntity added in v1.0.75

type PcloudV2ImagesExportPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudV2ImagesExportPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudV2ImagesExportPostUnprocessableEntity added in v1.0.75

func NewPcloudV2ImagesExportPostUnprocessableEntity() *PcloudV2ImagesExportPostUnprocessableEntity

NewPcloudV2ImagesExportPostUnprocessableEntity creates a PcloudV2ImagesExportPostUnprocessableEntity with default headers values

func (*PcloudV2ImagesExportPostUnprocessableEntity) Error added in v1.0.75

Jump to

Keyboard shortcuts

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