p_cloud_images

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 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 (*Client) PcloudCloudinstancesImagesDelete

func (a *Client) PcloudCloudinstancesImagesDelete(params *PcloudCloudinstancesImagesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesDeleteOK, error)

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, opts ...ClientOption) (*PcloudCloudinstancesImagesGetOK, error)

PcloudCloudinstancesImagesGet detaileds info of an image

func (*Client) PcloudCloudinstancesImagesGetall

func (a *Client) PcloudCloudinstancesImagesGetall(params *PcloudCloudinstancesImagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesGetallOK, error)

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

func (a *Client) PcloudCloudinstancesStockimagesGet(params *PcloudCloudinstancesStockimagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStockimagesGetOK, error)

PcloudCloudinstancesStockimagesGet detaileds info of an available stock image

func (*Client) PcloudCloudinstancesStockimagesGetall added in v1.0.53

func (a *Client) PcloudCloudinstancesStockimagesGetall(params *PcloudCloudinstancesStockimagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStockimagesGetallOK, error)

PcloudCloudinstancesStockimagesGetall lists all available stock images

func (*Client) PcloudImagesGet

func (a *Client) PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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

func (a *Client) PcloudV1CloudinstancesCosimagesGet(params *PcloudV1CloudinstancesCosimagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV1CloudinstancesCosimagesGetOK, error)

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, opts ...ClientOption) (*PcloudV2ImagesExportGetOK, error)

PcloudV2ImagesExportGet gets detail of last image export job

func (*Client) PcloudV2ImagesExportPost added in v1.0.75

func (a *Client) PcloudV2ImagesExportPost(params *PcloudV2ImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2ImagesExportPostAccepted, error)

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 ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	PcloudCloudinstancesImagesDelete(params *PcloudCloudinstancesImagesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesDeleteOK, error)

	PcloudCloudinstancesImagesExportPost(params *PcloudCloudinstancesImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesExportPostAccepted, error)

	PcloudCloudinstancesImagesGet(params *PcloudCloudinstancesImagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesGetOK, error)

	PcloudCloudinstancesImagesGetall(params *PcloudCloudinstancesImagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesGetallOK, error)

	PcloudCloudinstancesImagesPost(params *PcloudCloudinstancesImagesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesPostOK, *PcloudCloudinstancesImagesPostCreated, error)

	PcloudCloudinstancesStockimagesGet(params *PcloudCloudinstancesStockimagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStockimagesGetOK, error)

	PcloudCloudinstancesStockimagesGetall(params *PcloudCloudinstancesStockimagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStockimagesGetallOK, error)

	PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudImagesGetOK, error)

	PcloudImagesGetall(params *PcloudImagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudImagesGetallOK, error)

	PcloudV1CloudinstancesCosimagesGet(params *PcloudV1CloudinstancesCosimagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV1CloudinstancesCosimagesGetOK, error)

	PcloudV1CloudinstancesCosimagesPost(params *PcloudV1CloudinstancesCosimagesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV1CloudinstancesCosimagesPostAccepted, error)

	PcloudV2ImagesExportGet(params *PcloudV2ImagesExportGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2ImagesExportGetOK, error)

	PcloudV2ImagesExportPost(params *PcloudV2ImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2ImagesExportPostAccepted, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new p cloud images API client.

type PcloudCloudinstancesImagesDeleteBadRequest

type PcloudCloudinstancesImagesDeleteBadRequest struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudCloudinstancesImagesDeleteBadRequest

func NewPcloudCloudinstancesImagesDeleteBadRequest() *PcloudCloudinstancesImagesDeleteBadRequest

NewPcloudCloudinstancesImagesDeleteBadRequest creates a PcloudCloudinstancesImagesDeleteBadRequest with default headers values

func (*PcloudCloudinstancesImagesDeleteBadRequest) Error

func (*PcloudCloudinstancesImagesDeleteBadRequest) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesDeleteGone

type PcloudCloudinstancesImagesDeleteGone struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudCloudinstancesImagesDeleteGone

func NewPcloudCloudinstancesImagesDeleteGone() *PcloudCloudinstancesImagesDeleteGone

NewPcloudCloudinstancesImagesDeleteGone creates a PcloudCloudinstancesImagesDeleteGone with default headers values

func (*PcloudCloudinstancesImagesDeleteGone) Error

func (*PcloudCloudinstancesImagesDeleteGone) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesDeleteInternalServerError

type PcloudCloudinstancesImagesDeleteInternalServerError struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesDeleteInternalServerError

func NewPcloudCloudinstancesImagesDeleteInternalServerError() *PcloudCloudinstancesImagesDeleteInternalServerError

NewPcloudCloudinstancesImagesDeleteInternalServerError creates a PcloudCloudinstancesImagesDeleteInternalServerError with default headers values

func (*PcloudCloudinstancesImagesDeleteInternalServerError) Error

func (*PcloudCloudinstancesImagesDeleteInternalServerError) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesDeleteOK

type PcloudCloudinstancesImagesDeleteOK struct {
	Payload models.Object
}
PcloudCloudinstancesImagesDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesImagesDeleteOK

func NewPcloudCloudinstancesImagesDeleteOK() *PcloudCloudinstancesImagesDeleteOK

NewPcloudCloudinstancesImagesDeleteOK creates a PcloudCloudinstancesImagesDeleteOK with default headers values

func (*PcloudCloudinstancesImagesDeleteOK) Error

func (*PcloudCloudinstancesImagesDeleteOK) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudCloudinstancesImagesDeleteParamsWithContext

func NewPcloudCloudinstancesImagesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams

NewPcloudCloudinstancesImagesDeleteParamsWithContext creates a new PcloudCloudinstancesImagesDeleteParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudCloudinstancesImagesDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud cloudinstances images delete params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud cloudinstances images delete params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudCloudinstancesImagesDeleteUnauthorized) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesExportPostAccepted

type PcloudCloudinstancesImagesExportPostAccepted struct {
	Payload models.Object
}
PcloudCloudinstancesImagesExportPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudCloudinstancesImagesExportPostAccepted

func NewPcloudCloudinstancesImagesExportPostAccepted() *PcloudCloudinstancesImagesExportPostAccepted

NewPcloudCloudinstancesImagesExportPostAccepted creates a PcloudCloudinstancesImagesExportPostAccepted with default headers values

func (*PcloudCloudinstancesImagesExportPostAccepted) Error

func (*PcloudCloudinstancesImagesExportPostAccepted) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesExportPostBadRequest

type PcloudCloudinstancesImagesExportPostBadRequest struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesExportPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudCloudinstancesImagesExportPostBadRequest

func NewPcloudCloudinstancesImagesExportPostBadRequest() *PcloudCloudinstancesImagesExportPostBadRequest

NewPcloudCloudinstancesImagesExportPostBadRequest creates a PcloudCloudinstancesImagesExportPostBadRequest with default headers values

func (*PcloudCloudinstancesImagesExportPostBadRequest) Error

func (*PcloudCloudinstancesImagesExportPostBadRequest) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesExportPostInternalServerError

type PcloudCloudinstancesImagesExportPostInternalServerError struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesExportPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesExportPostInternalServerError

func NewPcloudCloudinstancesImagesExportPostInternalServerError() *PcloudCloudinstancesImagesExportPostInternalServerError

NewPcloudCloudinstancesImagesExportPostInternalServerError creates a PcloudCloudinstancesImagesExportPostInternalServerError with default headers values

func (*PcloudCloudinstancesImagesExportPostInternalServerError) Error

func (*PcloudCloudinstancesImagesExportPostInternalServerError) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesExportPostNotFound

type PcloudCloudinstancesImagesExportPostNotFound struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesExportPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudCloudinstancesImagesExportPostNotFound

func NewPcloudCloudinstancesImagesExportPostNotFound() *PcloudCloudinstancesImagesExportPostNotFound

NewPcloudCloudinstancesImagesExportPostNotFound creates a PcloudCloudinstancesImagesExportPostNotFound with default headers values

func (*PcloudCloudinstancesImagesExportPostNotFound) Error

func (*PcloudCloudinstancesImagesExportPostNotFound) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudCloudinstancesImagesExportPostParamsWithContext

func NewPcloudCloudinstancesImagesExportPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams

NewPcloudCloudinstancesImagesExportPostParamsWithContext creates a new PcloudCloudinstancesImagesExportPostParams object with 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 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 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) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the pcloud cloudinstances images export post params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud cloudinstances images export post params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudCloudinstancesImagesExportPostUnauthorized) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesExportPostUnprocessableEntity added in v1.0.75

type PcloudCloudinstancesImagesExportPostUnprocessableEntity struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesExportPostUnprocessableEntity describes a response with status code 422, 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

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetBadRequest

type PcloudCloudinstancesImagesGetBadRequest struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudCloudinstancesImagesGetBadRequest

func NewPcloudCloudinstancesImagesGetBadRequest() *PcloudCloudinstancesImagesGetBadRequest

NewPcloudCloudinstancesImagesGetBadRequest creates a PcloudCloudinstancesImagesGetBadRequest with default headers values

func (*PcloudCloudinstancesImagesGetBadRequest) Error

func (*PcloudCloudinstancesImagesGetBadRequest) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetInternalServerError

type PcloudCloudinstancesImagesGetInternalServerError struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesGetInternalServerError

func NewPcloudCloudinstancesImagesGetInternalServerError() *PcloudCloudinstancesImagesGetInternalServerError

NewPcloudCloudinstancesImagesGetInternalServerError creates a PcloudCloudinstancesImagesGetInternalServerError with default headers values

func (*PcloudCloudinstancesImagesGetInternalServerError) Error

func (*PcloudCloudinstancesImagesGetInternalServerError) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetNotFound

type PcloudCloudinstancesImagesGetNotFound struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudCloudinstancesImagesGetNotFound

func NewPcloudCloudinstancesImagesGetNotFound() *PcloudCloudinstancesImagesGetNotFound

NewPcloudCloudinstancesImagesGetNotFound creates a PcloudCloudinstancesImagesGetNotFound with default headers values

func (*PcloudCloudinstancesImagesGetNotFound) Error

func (*PcloudCloudinstancesImagesGetNotFound) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetOK

type PcloudCloudinstancesImagesGetOK struct {
	Payload *models.Image
}
PcloudCloudinstancesImagesGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesImagesGetOK

func NewPcloudCloudinstancesImagesGetOK() *PcloudCloudinstancesImagesGetOK

NewPcloudCloudinstancesImagesGetOK creates a PcloudCloudinstancesImagesGetOK with default headers values

func (*PcloudCloudinstancesImagesGetOK) Error

func (*PcloudCloudinstancesImagesGetOK) GetPayload added in v1.1.0

func (o *PcloudCloudinstancesImagesGetOK) GetPayload() *models.Image

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudCloudinstancesImagesGetParamsWithContext

func NewPcloudCloudinstancesImagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams

NewPcloudCloudinstancesImagesGetParamsWithContext creates a new PcloudCloudinstancesImagesGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudCloudinstancesImagesGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud cloudinstances images get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud cloudinstances images get params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudCloudinstancesImagesGetUnauthorized) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetallBadRequest

type PcloudCloudinstancesImagesGetallBadRequest struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudCloudinstancesImagesGetallBadRequest

func NewPcloudCloudinstancesImagesGetallBadRequest() *PcloudCloudinstancesImagesGetallBadRequest

NewPcloudCloudinstancesImagesGetallBadRequest creates a PcloudCloudinstancesImagesGetallBadRequest with default headers values

func (*PcloudCloudinstancesImagesGetallBadRequest) Error

func (*PcloudCloudinstancesImagesGetallBadRequest) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetallInternalServerError

type PcloudCloudinstancesImagesGetallInternalServerError struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesGetallInternalServerError

func NewPcloudCloudinstancesImagesGetallInternalServerError() *PcloudCloudinstancesImagesGetallInternalServerError

NewPcloudCloudinstancesImagesGetallInternalServerError creates a PcloudCloudinstancesImagesGetallInternalServerError with default headers values

func (*PcloudCloudinstancesImagesGetallInternalServerError) Error

func (*PcloudCloudinstancesImagesGetallInternalServerError) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetallNotFound

type PcloudCloudinstancesImagesGetallNotFound struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudCloudinstancesImagesGetallNotFound

func NewPcloudCloudinstancesImagesGetallNotFound() *PcloudCloudinstancesImagesGetallNotFound

NewPcloudCloudinstancesImagesGetallNotFound creates a PcloudCloudinstancesImagesGetallNotFound with default headers values

func (*PcloudCloudinstancesImagesGetallNotFound) Error

func (*PcloudCloudinstancesImagesGetallNotFound) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesGetallOK

type PcloudCloudinstancesImagesGetallOK struct {
	Payload *models.Images
}
PcloudCloudinstancesImagesGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesImagesGetallOK

func NewPcloudCloudinstancesImagesGetallOK() *PcloudCloudinstancesImagesGetallOK

NewPcloudCloudinstancesImagesGetallOK creates a PcloudCloudinstancesImagesGetallOK with default headers values

func (*PcloudCloudinstancesImagesGetallOK) Error

func (*PcloudCloudinstancesImagesGetallOK) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudCloudinstancesImagesGetallParamsWithContext

func NewPcloudCloudinstancesImagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams

NewPcloudCloudinstancesImagesGetallParamsWithContext creates a new PcloudCloudinstancesImagesGetallParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudCloudinstancesImagesGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud cloudinstances images getall params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud cloudinstances images getall params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudCloudinstancesImagesGetallUnauthorized) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesPostBadRequest

type PcloudCloudinstancesImagesPostBadRequest struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudCloudinstancesImagesPostBadRequest

func NewPcloudCloudinstancesImagesPostBadRequest() *PcloudCloudinstancesImagesPostBadRequest

NewPcloudCloudinstancesImagesPostBadRequest creates a PcloudCloudinstancesImagesPostBadRequest with default headers values

func (*PcloudCloudinstancesImagesPostBadRequest) Error

func (*PcloudCloudinstancesImagesPostBadRequest) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesPostConflict

type PcloudCloudinstancesImagesPostConflict struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudCloudinstancesImagesPostConflict

func NewPcloudCloudinstancesImagesPostConflict() *PcloudCloudinstancesImagesPostConflict

NewPcloudCloudinstancesImagesPostConflict creates a PcloudCloudinstancesImagesPostConflict with default headers values

func (*PcloudCloudinstancesImagesPostConflict) Error

func (*PcloudCloudinstancesImagesPostConflict) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesPostCreated

type PcloudCloudinstancesImagesPostCreated struct {
	Payload *models.Image
}
PcloudCloudinstancesImagesPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudCloudinstancesImagesPostCreated

func NewPcloudCloudinstancesImagesPostCreated() *PcloudCloudinstancesImagesPostCreated

NewPcloudCloudinstancesImagesPostCreated creates a PcloudCloudinstancesImagesPostCreated with default headers values

func (*PcloudCloudinstancesImagesPostCreated) Error

func (*PcloudCloudinstancesImagesPostCreated) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesPostInternalServerError

type PcloudCloudinstancesImagesPostInternalServerError struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesPostInternalServerError

func NewPcloudCloudinstancesImagesPostInternalServerError() *PcloudCloudinstancesImagesPostInternalServerError

NewPcloudCloudinstancesImagesPostInternalServerError creates a PcloudCloudinstancesImagesPostInternalServerError with default headers values

func (*PcloudCloudinstancesImagesPostInternalServerError) Error

func (*PcloudCloudinstancesImagesPostInternalServerError) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesPostOK

type PcloudCloudinstancesImagesPostOK struct {
	Payload *models.Image
}
PcloudCloudinstancesImagesPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesImagesPostOK

func NewPcloudCloudinstancesImagesPostOK() *PcloudCloudinstancesImagesPostOK

NewPcloudCloudinstancesImagesPostOK creates a PcloudCloudinstancesImagesPostOK with default headers values

func (*PcloudCloudinstancesImagesPostOK) Error

func (*PcloudCloudinstancesImagesPostOK) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudCloudinstancesImagesPostParamsWithContext

func NewPcloudCloudinstancesImagesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams

NewPcloudCloudinstancesImagesPostParamsWithContext creates a new PcloudCloudinstancesImagesPostParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudCloudinstancesImagesPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud cloudinstances images post params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud cloudinstances images post params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudCloudinstancesImagesPostUnauthorized) GetPayload added in v1.1.0

type PcloudCloudinstancesImagesPostUnprocessableEntity

type PcloudCloudinstancesImagesPostUnprocessableEntity struct {
	Payload *models.Error
}
PcloudCloudinstancesImagesPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudCloudinstancesImagesPostUnprocessableEntity

func NewPcloudCloudinstancesImagesPostUnprocessableEntity() *PcloudCloudinstancesImagesPostUnprocessableEntity

NewPcloudCloudinstancesImagesPostUnprocessableEntity creates a PcloudCloudinstancesImagesPostUnprocessableEntity with default headers values

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) Error

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetBadRequest added in v1.0.53

type PcloudCloudinstancesStockimagesGetBadRequest struct {
	Payload *models.Error
}
PcloudCloudinstancesStockimagesGetBadRequest describes a response with status code 400, 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

func (*PcloudCloudinstancesStockimagesGetBadRequest) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetInternalServerError added in v1.0.53

type PcloudCloudinstancesStockimagesGetInternalServerError struct {
	Payload *models.Error
}
PcloudCloudinstancesStockimagesGetInternalServerError describes a response with status code 500, 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

func (*PcloudCloudinstancesStockimagesGetInternalServerError) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetNotFound added in v1.0.53

type PcloudCloudinstancesStockimagesGetNotFound struct {
	Payload *models.Error
}
PcloudCloudinstancesStockimagesGetNotFound describes a response with status code 404, 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

func (*PcloudCloudinstancesStockimagesGetNotFound) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetOK added in v1.0.53

type PcloudCloudinstancesStockimagesGetOK struct {
	Payload *models.Image
}
PcloudCloudinstancesStockimagesGetOK describes a response with status code 200, 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

func (*PcloudCloudinstancesStockimagesGetOK) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudCloudinstancesStockimagesGetParamsWithContext added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetParams

NewPcloudCloudinstancesStockimagesGetParamsWithContext creates a new PcloudCloudinstancesStockimagesGetParams object with 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 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 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) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the pcloud cloudinstances stockimages get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud cloudinstances stockimages get params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudCloudinstancesStockimagesGetUnauthorized) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetallBadRequest added in v1.0.53

type PcloudCloudinstancesStockimagesGetallBadRequest struct {
	Payload *models.Error
}
PcloudCloudinstancesStockimagesGetallBadRequest describes a response with status code 400, 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

func (*PcloudCloudinstancesStockimagesGetallBadRequest) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetallInternalServerError added in v1.0.53

type PcloudCloudinstancesStockimagesGetallInternalServerError struct {
	Payload *models.Error
}
PcloudCloudinstancesStockimagesGetallInternalServerError describes a response with status code 500, 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

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetallNotFound added in v1.0.53

type PcloudCloudinstancesStockimagesGetallNotFound struct {
	Payload *models.Error
}
PcloudCloudinstancesStockimagesGetallNotFound describes a response with status code 404, 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

func (*PcloudCloudinstancesStockimagesGetallNotFound) GetPayload added in v1.1.0

type PcloudCloudinstancesStockimagesGetallOK added in v1.0.53

type PcloudCloudinstancesStockimagesGetallOK struct {
	Payload *models.Images
}
PcloudCloudinstancesStockimagesGetallOK describes a response with status code 200, 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

func (*PcloudCloudinstancesStockimagesGetallOK) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudCloudinstancesStockimagesGetallParamsWithContext added in v1.0.53

func NewPcloudCloudinstancesStockimagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams

NewPcloudCloudinstancesStockimagesGetallParamsWithContext creates a new PcloudCloudinstancesStockimagesGetallParams object with 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 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 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) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the pcloud cloudinstances stockimages getall params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud cloudinstances stockimages getall params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) GetPayload added in v1.1.0

type PcloudImagesGetBadRequest

type PcloudImagesGetBadRequest struct {
	Payload *models.Error
}
PcloudImagesGetBadRequest describes a response with status code 400, 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

func (*PcloudImagesGetBadRequest) GetPayload added in v1.1.0

func (o *PcloudImagesGetBadRequest) GetPayload() *models.Error

type PcloudImagesGetInternalServerError

type PcloudImagesGetInternalServerError struct {
	Payload *models.Error
}
PcloudImagesGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudImagesGetInternalServerError

func NewPcloudImagesGetInternalServerError() *PcloudImagesGetInternalServerError

NewPcloudImagesGetInternalServerError creates a PcloudImagesGetInternalServerError with default headers values

func (*PcloudImagesGetInternalServerError) Error

func (*PcloudImagesGetInternalServerError) GetPayload added in v1.1.0

type PcloudImagesGetNotFound

type PcloudImagesGetNotFound struct {
	Payload *models.Error
}
PcloudImagesGetNotFound describes a response with status code 404, 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

func (*PcloudImagesGetNotFound) GetPayload added in v1.1.0

func (o *PcloudImagesGetNotFound) GetPayload() *models.Error

type PcloudImagesGetOK

type PcloudImagesGetOK struct {
	Payload *models.Image
}
PcloudImagesGetOK describes a response with status code 200, 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

func (*PcloudImagesGetOK) GetPayload added in v1.1.0

func (o *PcloudImagesGetOK) GetPayload() *models.Image

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudImagesGetParamsWithContext

func NewPcloudImagesGetParamsWithContext(ctx context.Context) *PcloudImagesGetParams

NewPcloudImagesGetParamsWithContext creates a new PcloudImagesGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudImagesGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud images get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

func (o *PcloudImagesGetParams) WithDefaults() *PcloudImagesGetParams

WithDefaults hydrates default values in the pcloud images get params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudImagesGetUnauthorized) GetPayload added in v1.1.0

func (o *PcloudImagesGetUnauthorized) GetPayload() *models.Error

type PcloudImagesGetallBadRequest

type PcloudImagesGetallBadRequest struct {
	Payload *models.Error
}
PcloudImagesGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudImagesGetallBadRequest

func NewPcloudImagesGetallBadRequest() *PcloudImagesGetallBadRequest

NewPcloudImagesGetallBadRequest creates a PcloudImagesGetallBadRequest with default headers values

func (*PcloudImagesGetallBadRequest) Error

func (*PcloudImagesGetallBadRequest) GetPayload added in v1.1.0

func (o *PcloudImagesGetallBadRequest) GetPayload() *models.Error

type PcloudImagesGetallInternalServerError

type PcloudImagesGetallInternalServerError struct {
	Payload *models.Error
}
PcloudImagesGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudImagesGetallInternalServerError

func NewPcloudImagesGetallInternalServerError() *PcloudImagesGetallInternalServerError

NewPcloudImagesGetallInternalServerError creates a PcloudImagesGetallInternalServerError with default headers values

func (*PcloudImagesGetallInternalServerError) Error

func (*PcloudImagesGetallInternalServerError) GetPayload added in v1.1.0

type PcloudImagesGetallNotFound

type PcloudImagesGetallNotFound struct {
	Payload *models.Error
}
PcloudImagesGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudImagesGetallNotFound

func NewPcloudImagesGetallNotFound() *PcloudImagesGetallNotFound

NewPcloudImagesGetallNotFound creates a PcloudImagesGetallNotFound with default headers values

func (*PcloudImagesGetallNotFound) Error

func (*PcloudImagesGetallNotFound) GetPayload added in v1.1.0

func (o *PcloudImagesGetallNotFound) GetPayload() *models.Error

type PcloudImagesGetallOK

type PcloudImagesGetallOK struct {
	Payload *models.Images
}
PcloudImagesGetallOK describes a response with status code 200, 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

func (*PcloudImagesGetallOK) GetPayload added in v1.1.0

func (o *PcloudImagesGetallOK) GetPayload() *models.Images

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudImagesGetallParamsWithContext

func NewPcloudImagesGetallParamsWithContext(ctx context.Context) *PcloudImagesGetallParams

NewPcloudImagesGetallParamsWithContext creates a new PcloudImagesGetallParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudImagesGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud images getall params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud images getall params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudImagesGetallUnauthorized) GetPayload added in v1.1.0

func (o *PcloudImagesGetallUnauthorized) GetPayload() *models.Error

type PcloudV1CloudinstancesCosimagesGetInternalServerError added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetInternalServerError struct {
	Payload *models.Error
}
PcloudV1CloudinstancesCosimagesGetInternalServerError describes a response with status code 500, 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

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesGetNotFound added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetNotFound struct {
	Payload *models.Error
}
PcloudV1CloudinstancesCosimagesGetNotFound describes a response with status code 404, 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

func (*PcloudV1CloudinstancesCosimagesGetNotFound) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesGetOK added in v1.0.75

type PcloudV1CloudinstancesCosimagesGetOK struct {
	Payload *models.Job
}
PcloudV1CloudinstancesCosimagesGetOK describes a response with status code 200, 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

func (*PcloudV1CloudinstancesCosimagesGetOK) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudV1CloudinstancesCosimagesGetParamsWithContext added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesGetParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesGetParams

NewPcloudV1CloudinstancesCosimagesGetParamsWithContext creates a new PcloudV1CloudinstancesCosimagesGetParams object with 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 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 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) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the pcloud v1 cloudinstances cosimages get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud v1 cloudinstances cosimages get params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesPostAccepted added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostAccepted struct {
	Payload *models.JobReference
}
PcloudV1CloudinstancesCosimagesPostAccepted describes a response with status code 202, 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

func (*PcloudV1CloudinstancesCosimagesPostAccepted) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesPostBadRequest added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostBadRequest struct {
	Payload *models.Error
}
PcloudV1CloudinstancesCosimagesPostBadRequest describes a response with status code 400, 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

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesPostConflict added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostConflict struct {
	Payload *models.Error
}
PcloudV1CloudinstancesCosimagesPostConflict describes a response with status code 409, 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

func (*PcloudV1CloudinstancesCosimagesPostConflict) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesPostForbidden added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostForbidden struct {
	Payload *models.Error
}
PcloudV1CloudinstancesCosimagesPostForbidden describes a response with status code 403, 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

func (*PcloudV1CloudinstancesCosimagesPostForbidden) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesPostInternalServerError added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostInternalServerError struct {
	Payload *models.Error
}
PcloudV1CloudinstancesCosimagesPostInternalServerError describes a response with status code 500, 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

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudV1CloudinstancesCosimagesPostParamsWithContext added in v1.0.75

func NewPcloudV1CloudinstancesCosimagesPostParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesPostParams

NewPcloudV1CloudinstancesCosimagesPostParamsWithContext creates a new PcloudV1CloudinstancesCosimagesPostParams object with 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 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 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) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the pcloud v1 cloudinstances cosimages post params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud v1 cloudinstances cosimages post params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) GetPayload added in v1.1.0

type PcloudV1CloudinstancesCosimagesPostUnprocessableEntity added in v1.0.75

type PcloudV1CloudinstancesCosimagesPostUnprocessableEntity struct {
	Payload *models.Error
}
PcloudV1CloudinstancesCosimagesPostUnprocessableEntity describes a response with status code 422, 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

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) GetPayload added in v1.1.0

type PcloudV2ImagesExportGetInternalServerError added in v1.0.75

type PcloudV2ImagesExportGetInternalServerError struct {
	Payload *models.Error
}
PcloudV2ImagesExportGetInternalServerError describes a response with status code 500, 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

func (*PcloudV2ImagesExportGetInternalServerError) GetPayload added in v1.1.0

type PcloudV2ImagesExportGetNotFound added in v1.0.75

type PcloudV2ImagesExportGetNotFound struct {
	Payload *models.Error
}
PcloudV2ImagesExportGetNotFound describes a response with status code 404, 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

func (*PcloudV2ImagesExportGetNotFound) GetPayload added in v1.1.0

func (o *PcloudV2ImagesExportGetNotFound) GetPayload() *models.Error

type PcloudV2ImagesExportGetOK added in v1.0.75

type PcloudV2ImagesExportGetOK struct {
	Payload *models.Job
}
PcloudV2ImagesExportGetOK describes a response with status code 200, 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

func (*PcloudV2ImagesExportGetOK) GetPayload added in v1.1.0

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

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudV2ImagesExportGetParamsWithContext added in v1.0.75

func NewPcloudV2ImagesExportGetParamsWithContext(ctx context.Context) *PcloudV2ImagesExportGetParams

NewPcloudV2ImagesExportGetParamsWithContext creates a new PcloudV2ImagesExportGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudV2ImagesExportGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 images export get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud v2 images export get params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudV2ImagesExportGetUnauthorized) GetPayload added in v1.1.0

type PcloudV2ImagesExportPostAccepted added in v1.0.75

type PcloudV2ImagesExportPostAccepted struct {
	Payload *models.JobReference
}
PcloudV2ImagesExportPostAccepted describes a response with status code 202, 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

func (*PcloudV2ImagesExportPostAccepted) GetPayload added in v1.1.0

type PcloudV2ImagesExportPostBadRequest added in v1.0.75

type PcloudV2ImagesExportPostBadRequest struct {
	Payload *models.Error
}
PcloudV2ImagesExportPostBadRequest describes a response with status code 400, 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

func (*PcloudV2ImagesExportPostBadRequest) GetPayload added in v1.1.0

type PcloudV2ImagesExportPostConflict added in v1.0.75

type PcloudV2ImagesExportPostConflict struct {
	Payload *models.Error
}
PcloudV2ImagesExportPostConflict describes a response with status code 409, 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

func (*PcloudV2ImagesExportPostConflict) GetPayload added in v1.1.0

type PcloudV2ImagesExportPostInternalServerError added in v1.0.75

type PcloudV2ImagesExportPostInternalServerError struct {
	Payload *models.Error
}
PcloudV2ImagesExportPostInternalServerError describes a response with status code 500, 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

func (*PcloudV2ImagesExportPostInternalServerError) GetPayload added in v1.1.0

type PcloudV2ImagesExportPostNotFound added in v1.0.75

type PcloudV2ImagesExportPostNotFound struct {
	Payload *models.Error
}
PcloudV2ImagesExportPostNotFound describes a response with status code 404, 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

func (*PcloudV2ImagesExportPostNotFound) GetPayload added in v1.1.0

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudV2ImagesExportPostParamsWithContext added in v1.0.75

func NewPcloudV2ImagesExportPostParamsWithContext(ctx context.Context) *PcloudV2ImagesExportPostParams

NewPcloudV2ImagesExportPostParamsWithContext creates a new PcloudV2ImagesExportPostParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudV2ImagesExportPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 images export post params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud v2 images export post params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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

func (*PcloudV2ImagesExportPostUnauthorized) GetPayload added in v1.1.0

type PcloudV2ImagesExportPostUnprocessableEntity added in v1.0.75

type PcloudV2ImagesExportPostUnprocessableEntity struct {
	Payload *models.Error
}
PcloudV2ImagesExportPostUnprocessableEntity describes a response with status code 422, 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

func (*PcloudV2ImagesExportPostUnprocessableEntity) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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