p_cloud_images

package
v1.9.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 12 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

This API is deprecated for /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export.

>*Note*: Support for this API is available till Oct 2022.

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 detaileds info of an image in the image catalog

This API is deprecated for /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images/{image_id}.

>*Note*: Support for this API will be available till 31st March 2023.

func (*Client) PcloudImagesGetall

func (a *Client) PcloudImagesGetall(params *PcloudImagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudImagesGetallOK, error)
PcloudImagesGetall lists all the images in the image catalog

This API is deprecated for /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images.

>*Note*: Support for this API will be available till 31st March 2023.

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 may be used to customize the behavior of 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.

func NewClientWithBasicAuth added in v1.7.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new p cloud images API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v1.7.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new p cloud images API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesDeleteBadRequest) Error

func (*PcloudCloudinstancesImagesDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesDeleteBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images delete bad request response has a 4xx status code

func (*PcloudCloudinstancesImagesDeleteBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images delete bad request response a status code equal to that given

func (*PcloudCloudinstancesImagesDeleteBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images delete bad request response has a 3xx status code

func (*PcloudCloudinstancesImagesDeleteBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images delete bad request response has a 5xx status code

func (*PcloudCloudinstancesImagesDeleteBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images delete bad request response has a 2xx status code

func (*PcloudCloudinstancesImagesDeleteBadRequest) String added in v1.2.2

type PcloudCloudinstancesImagesDeleteForbidden added in v1.2.2

type PcloudCloudinstancesImagesDeleteForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesImagesDeleteForbidden added in v1.2.2

func NewPcloudCloudinstancesImagesDeleteForbidden() *PcloudCloudinstancesImagesDeleteForbidden

NewPcloudCloudinstancesImagesDeleteForbidden creates a PcloudCloudinstancesImagesDeleteForbidden with default headers values

func (*PcloudCloudinstancesImagesDeleteForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesDeleteForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesImagesDeleteForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesImagesDeleteForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images delete forbidden response has a 4xx status code

func (*PcloudCloudinstancesImagesDeleteForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images delete forbidden response a status code equal to that given

func (*PcloudCloudinstancesImagesDeleteForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images delete forbidden response has a 3xx status code

func (*PcloudCloudinstancesImagesDeleteForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images delete forbidden response has a 5xx status code

func (*PcloudCloudinstancesImagesDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesImagesDeleteForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images delete gone response

func (*PcloudCloudinstancesImagesDeleteGone) Error

func (*PcloudCloudinstancesImagesDeleteGone) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesDeleteGone) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesDeleteGone) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images delete gone response has a 4xx status code

func (*PcloudCloudinstancesImagesDeleteGone) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images delete gone response a status code equal to that given

func (*PcloudCloudinstancesImagesDeleteGone) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images delete gone response has a 3xx status code

func (*PcloudCloudinstancesImagesDeleteGone) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesDeleteGone) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images delete gone response has a 5xx status code

func (*PcloudCloudinstancesImagesDeleteGone) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images delete gone response has a 2xx status code

func (*PcloudCloudinstancesImagesDeleteGone) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesDeleteInternalServerError) Error

func (*PcloudCloudinstancesImagesDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesDeleteInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images delete internal server error response has a 4xx status code

func (*PcloudCloudinstancesImagesDeleteInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images delete internal server error response a status code equal to that given

func (*PcloudCloudinstancesImagesDeleteInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images delete internal server error response has a 3xx status code

func (*PcloudCloudinstancesImagesDeleteInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images delete internal server error response has a 5xx status code

func (*PcloudCloudinstancesImagesDeleteInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images delete internal server error response has a 2xx status code

func (*PcloudCloudinstancesImagesDeleteInternalServerError) String added in v1.2.2

type PcloudCloudinstancesImagesDeleteNotFound added in v1.2.2

type PcloudCloudinstancesImagesDeleteNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudCloudinstancesImagesDeleteNotFound added in v1.2.2

func NewPcloudCloudinstancesImagesDeleteNotFound() *PcloudCloudinstancesImagesDeleteNotFound

NewPcloudCloudinstancesImagesDeleteNotFound creates a PcloudCloudinstancesImagesDeleteNotFound with default headers values

func (*PcloudCloudinstancesImagesDeleteNotFound) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesDeleteNotFound) Error added in v1.2.2

func (*PcloudCloudinstancesImagesDeleteNotFound) GetPayload added in v1.2.2

func (*PcloudCloudinstancesImagesDeleteNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images delete not found response has a 4xx status code

func (*PcloudCloudinstancesImagesDeleteNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images delete not found response a status code equal to that given

func (*PcloudCloudinstancesImagesDeleteNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images delete not found response has a 3xx status code

func (*PcloudCloudinstancesImagesDeleteNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images delete not found response has a 5xx status code

func (*PcloudCloudinstancesImagesDeleteNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images delete not found response has a 2xx status code

func (*PcloudCloudinstancesImagesDeleteNotFound) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesDeleteOK) Error

func (*PcloudCloudinstancesImagesDeleteOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesDeleteOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images delete o k response has a 4xx status code

func (*PcloudCloudinstancesImagesDeleteOK) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images delete o k response a status code equal to that given

func (*PcloudCloudinstancesImagesDeleteOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesImagesDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud cloudinstances images delete o k response has a 3xx status code

func (*PcloudCloudinstancesImagesDeleteOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images delete o k response has a 5xx status code

func (*PcloudCloudinstancesImagesDeleteOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images delete o k response has a 2xx status code

func (*PcloudCloudinstancesImagesDeleteOK) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesDeleteUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesImagesDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesDeleteUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesImagesDeleteUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images delete unauthorized response a status code equal to that given

func (*PcloudCloudinstancesImagesDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesImagesDeleteUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesImagesDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesImagesDeleteUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images export post accepted response

func (*PcloudCloudinstancesImagesExportPostAccepted) Error

func (*PcloudCloudinstancesImagesExportPostAccepted) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesExportPostAccepted) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images export post accepted response has a 4xx status code

func (*PcloudCloudinstancesImagesExportPostAccepted) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images export post accepted response a status code equal to that given

func (*PcloudCloudinstancesImagesExportPostAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images export post accepted response has a 3xx status code

func (*PcloudCloudinstancesImagesExportPostAccepted) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images export post accepted response has a 5xx status code

func (*PcloudCloudinstancesImagesExportPostAccepted) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images export post accepted response has a 2xx status code

func (*PcloudCloudinstancesImagesExportPostAccepted) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images export post bad request response

func (*PcloudCloudinstancesImagesExportPostBadRequest) Error

func (*PcloudCloudinstancesImagesExportPostBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesExportPostBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images export post bad request response has a 4xx status code

func (*PcloudCloudinstancesImagesExportPostBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images export post bad request response a status code equal to that given

func (*PcloudCloudinstancesImagesExportPostBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images export post bad request response has a 3xx status code

func (*PcloudCloudinstancesImagesExportPostBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images export post bad request response has a 5xx status code

func (*PcloudCloudinstancesImagesExportPostBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images export post bad request response has a 2xx status code

func (*PcloudCloudinstancesImagesExportPostBadRequest) String added in v1.2.2

type PcloudCloudinstancesImagesExportPostForbidden added in v1.2.2

type PcloudCloudinstancesImagesExportPostForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesImagesExportPostForbidden added in v1.2.2

func NewPcloudCloudinstancesImagesExportPostForbidden() *PcloudCloudinstancesImagesExportPostForbidden

NewPcloudCloudinstancesImagesExportPostForbidden creates a PcloudCloudinstancesImagesExportPostForbidden with default headers values

func (*PcloudCloudinstancesImagesExportPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images export post forbidden response

func (*PcloudCloudinstancesImagesExportPostForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesImagesExportPostForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesImagesExportPostForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images export post forbidden response has a 4xx status code

func (*PcloudCloudinstancesImagesExportPostForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images export post forbidden response a status code equal to that given

func (*PcloudCloudinstancesImagesExportPostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images export post forbidden response has a 3xx status code

func (*PcloudCloudinstancesImagesExportPostForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images export post forbidden response has a 5xx status code

func (*PcloudCloudinstancesImagesExportPostForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images export post forbidden response has a 2xx status code

func (*PcloudCloudinstancesImagesExportPostForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images export post internal server error response

func (*PcloudCloudinstancesImagesExportPostInternalServerError) Error

func (*PcloudCloudinstancesImagesExportPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesExportPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images export post internal server error response has a 4xx status code

func (*PcloudCloudinstancesImagesExportPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images export post internal server error response a status code equal to that given

func (*PcloudCloudinstancesImagesExportPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images export post internal server error response has a 3xx status code

func (*PcloudCloudinstancesImagesExportPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images export post internal server error response has a 5xx status code

func (*PcloudCloudinstancesImagesExportPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images export post internal server error response has a 2xx status code

func (*PcloudCloudinstancesImagesExportPostInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images export post not found response

func (*PcloudCloudinstancesImagesExportPostNotFound) Error

func (*PcloudCloudinstancesImagesExportPostNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesExportPostNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images export post not found response has a 4xx status code

func (*PcloudCloudinstancesImagesExportPostNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images export post not found response a status code equal to that given

func (*PcloudCloudinstancesImagesExportPostNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images export post not found response has a 3xx status code

func (*PcloudCloudinstancesImagesExportPostNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images export post not found response has a 5xx status code

func (*PcloudCloudinstancesImagesExportPostNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images export post not found response has a 2xx status code

func (*PcloudCloudinstancesImagesExportPostNotFound) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images export post unauthorized response

func (*PcloudCloudinstancesImagesExportPostUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesImagesExportPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesExportPostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images export post unauthorized response has a 4xx status code

func (*PcloudCloudinstancesImagesExportPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images export post unauthorized response a status code equal to that given

func (*PcloudCloudinstancesImagesExportPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images export post unauthorized response has a 3xx status code

func (*PcloudCloudinstancesImagesExportPostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images export post unauthorized response has a 5xx status code

func (*PcloudCloudinstancesImagesExportPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images export post unauthorized response has a 2xx status code

func (*PcloudCloudinstancesImagesExportPostUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images export post unprocessable entity response

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) Error added in v1.0.75

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images export post unprocessable entity response has a 4xx status code

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images export post unprocessable entity response a status code equal to that given

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images export post unprocessable entity response has a 3xx status code

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images export post unprocessable entity response has a 5xx status code

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images export post unprocessable entity response has a 2xx status code

func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetBadRequest) Error

func (*PcloudCloudinstancesImagesGetBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images get bad request response has a 4xx status code

func (*PcloudCloudinstancesImagesGetBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images get bad request response a status code equal to that given

func (*PcloudCloudinstancesImagesGetBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images get bad request response has a 3xx status code

func (*PcloudCloudinstancesImagesGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images get bad request response has a 5xx status code

func (*PcloudCloudinstancesImagesGetBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images get bad request response has a 2xx status code

func (*PcloudCloudinstancesImagesGetBadRequest) String added in v1.2.2

type PcloudCloudinstancesImagesGetForbidden added in v1.2.2

type PcloudCloudinstancesImagesGetForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesImagesGetForbidden added in v1.2.2

func NewPcloudCloudinstancesImagesGetForbidden() *PcloudCloudinstancesImagesGetForbidden

NewPcloudCloudinstancesImagesGetForbidden creates a PcloudCloudinstancesImagesGetForbidden with default headers values

func (*PcloudCloudinstancesImagesGetForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesImagesGetForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesImagesGetForbidden) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images get forbidden response has a 4xx status code

func (*PcloudCloudinstancesImagesGetForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images get forbidden response a status code equal to that given

func (*PcloudCloudinstancesImagesGetForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images get forbidden response has a 3xx status code

func (*PcloudCloudinstancesImagesGetForbidden) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images get forbidden response has a 5xx status code

func (*PcloudCloudinstancesImagesGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesImagesGetForbidden) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetInternalServerError) Error

func (*PcloudCloudinstancesImagesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images get internal server error response has a 4xx status code

func (*PcloudCloudinstancesImagesGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images get internal server error response a status code equal to that given

func (*PcloudCloudinstancesImagesGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images get internal server error response has a 3xx status code

func (*PcloudCloudinstancesImagesGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images get internal server error response has a 5xx status code

func (*PcloudCloudinstancesImagesGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images get internal server error response has a 2xx status code

func (*PcloudCloudinstancesImagesGetInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetNotFound) Error

func (*PcloudCloudinstancesImagesGetNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetNotFound) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images get not found response has a 4xx status code

func (*PcloudCloudinstancesImagesGetNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images get not found response a status code equal to that given

func (*PcloudCloudinstancesImagesGetNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images get not found response has a 3xx status code

func (*PcloudCloudinstancesImagesGetNotFound) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images get not found response has a 5xx status code

func (*PcloudCloudinstancesImagesGetNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images get not found response has a 2xx status code

func (*PcloudCloudinstancesImagesGetNotFound) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetOK) Error

func (*PcloudCloudinstancesImagesGetOK) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesImagesGetOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images get o k response has a 4xx status code

func (*PcloudCloudinstancesImagesGetOK) IsCode added in v1.2.2

func (o *PcloudCloudinstancesImagesGetOK) IsCode(code int) bool

IsCode returns true when this pcloud cloudinstances images get o k response a status code equal to that given

func (*PcloudCloudinstancesImagesGetOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesImagesGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud cloudinstances images get o k response has a 3xx status code

func (*PcloudCloudinstancesImagesGetOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images get o k response has a 5xx status code

func (*PcloudCloudinstancesImagesGetOK) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesImagesGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud cloudinstances images get o k response has a 2xx status code

func (*PcloudCloudinstancesImagesGetOK) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesImagesGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images get unauthorized response has a 4xx status code

func (*PcloudCloudinstancesImagesGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images get unauthorized response a status code equal to that given

func (*PcloudCloudinstancesImagesGetUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images get unauthorized response has a 3xx status code

func (*PcloudCloudinstancesImagesGetUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images get unauthorized response has a 5xx status code

func (*PcloudCloudinstancesImagesGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesImagesGetUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetallBadRequest) Error

func (*PcloudCloudinstancesImagesGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetallBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images getall bad request response has a 4xx status code

func (*PcloudCloudinstancesImagesGetallBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images getall bad request response a status code equal to that given

func (*PcloudCloudinstancesImagesGetallBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images getall bad request response has a 3xx status code

func (*PcloudCloudinstancesImagesGetallBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images getall bad request response has a 5xx status code

func (*PcloudCloudinstancesImagesGetallBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images getall bad request response has a 2xx status code

func (*PcloudCloudinstancesImagesGetallBadRequest) String added in v1.2.2

type PcloudCloudinstancesImagesGetallForbidden added in v1.2.2

type PcloudCloudinstancesImagesGetallForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesImagesGetallForbidden added in v1.2.2

func NewPcloudCloudinstancesImagesGetallForbidden() *PcloudCloudinstancesImagesGetallForbidden

NewPcloudCloudinstancesImagesGetallForbidden creates a PcloudCloudinstancesImagesGetallForbidden with default headers values

func (*PcloudCloudinstancesImagesGetallForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetallForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesImagesGetallForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesImagesGetallForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images getall forbidden response has a 4xx status code

func (*PcloudCloudinstancesImagesGetallForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images getall forbidden response a status code equal to that given

func (*PcloudCloudinstancesImagesGetallForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images getall forbidden response has a 3xx status code

func (*PcloudCloudinstancesImagesGetallForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images getall forbidden response has a 5xx status code

func (*PcloudCloudinstancesImagesGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesImagesGetallForbidden) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetallInternalServerError) Error

func (*PcloudCloudinstancesImagesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetallInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images getall internal server error response has a 4xx status code

func (*PcloudCloudinstancesImagesGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images getall internal server error response a status code equal to that given

func (*PcloudCloudinstancesImagesGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images getall internal server error response has a 3xx status code

func (*PcloudCloudinstancesImagesGetallInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images getall internal server error response has a 5xx status code

func (*PcloudCloudinstancesImagesGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images getall internal server error response has a 2xx status code

func (*PcloudCloudinstancesImagesGetallInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetallNotFound) Error

func (*PcloudCloudinstancesImagesGetallNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetallNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images getall not found response has a 4xx status code

func (*PcloudCloudinstancesImagesGetallNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images getall not found response a status code equal to that given

func (*PcloudCloudinstancesImagesGetallNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images getall not found response has a 3xx status code

func (*PcloudCloudinstancesImagesGetallNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images getall not found response has a 5xx status code

func (*PcloudCloudinstancesImagesGetallNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images getall not found response has a 2xx status code

func (*PcloudCloudinstancesImagesGetallNotFound) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetallOK) Error

func (*PcloudCloudinstancesImagesGetallOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetallOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetallOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images getall o k response has a 4xx status code

func (*PcloudCloudinstancesImagesGetallOK) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images getall o k response a status code equal to that given

func (*PcloudCloudinstancesImagesGetallOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesImagesGetallOK) IsRedirect() bool

IsRedirect returns true when this pcloud cloudinstances images getall o k response has a 3xx status code

func (*PcloudCloudinstancesImagesGetallOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesGetallOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images getall o k response has a 5xx status code

func (*PcloudCloudinstancesImagesGetallOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images getall o k response has a 2xx status code

func (*PcloudCloudinstancesImagesGetallOK) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesImagesGetallUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesImagesGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesGetallUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesImagesGetallUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images getall unauthorized response a status code equal to that given

func (*PcloudCloudinstancesImagesGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesImagesGetallUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesImagesGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesImagesGetallUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post bad request response

func (*PcloudCloudinstancesImagesPostBadRequest) Error

func (*PcloudCloudinstancesImagesPostBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesPostBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images post bad request response has a 4xx status code

func (*PcloudCloudinstancesImagesPostBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images post bad request response a status code equal to that given

func (*PcloudCloudinstancesImagesPostBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images post bad request response has a 3xx status code

func (*PcloudCloudinstancesImagesPostBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images post bad request response has a 5xx status code

func (*PcloudCloudinstancesImagesPostBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images post bad request response has a 2xx status code

func (*PcloudCloudinstancesImagesPostBadRequest) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post conflict response

func (*PcloudCloudinstancesImagesPostConflict) Error

func (*PcloudCloudinstancesImagesPostConflict) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesPostConflict) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostConflict) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images post conflict response has a 4xx status code

func (*PcloudCloudinstancesImagesPostConflict) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images post conflict response a status code equal to that given

func (*PcloudCloudinstancesImagesPostConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images post conflict response has a 3xx status code

func (*PcloudCloudinstancesImagesPostConflict) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostConflict) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images post conflict response has a 5xx status code

func (*PcloudCloudinstancesImagesPostConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images post conflict response has a 2xx status code

func (*PcloudCloudinstancesImagesPostConflict) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post created response

func (*PcloudCloudinstancesImagesPostCreated) Error

func (*PcloudCloudinstancesImagesPostCreated) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesPostCreated) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostCreated) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images post created response has a 4xx status code

func (*PcloudCloudinstancesImagesPostCreated) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images post created response a status code equal to that given

func (*PcloudCloudinstancesImagesPostCreated) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images post created response has a 3xx status code

func (*PcloudCloudinstancesImagesPostCreated) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostCreated) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images post created response has a 5xx status code

func (*PcloudCloudinstancesImagesPostCreated) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images post created response has a 2xx status code

func (*PcloudCloudinstancesImagesPostCreated) String added in v1.2.2

type PcloudCloudinstancesImagesPostForbidden added in v1.2.2

type PcloudCloudinstancesImagesPostForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesImagesPostForbidden added in v1.2.2

func NewPcloudCloudinstancesImagesPostForbidden() *PcloudCloudinstancesImagesPostForbidden

NewPcloudCloudinstancesImagesPostForbidden creates a PcloudCloudinstancesImagesPostForbidden with default headers values

func (*PcloudCloudinstancesImagesPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post forbidden response

func (*PcloudCloudinstancesImagesPostForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesImagesPostForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesImagesPostForbidden) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images post forbidden response has a 4xx status code

func (*PcloudCloudinstancesImagesPostForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images post forbidden response a status code equal to that given

func (*PcloudCloudinstancesImagesPostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images post forbidden response has a 3xx status code

func (*PcloudCloudinstancesImagesPostForbidden) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images post forbidden response has a 5xx status code

func (*PcloudCloudinstancesImagesPostForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images post forbidden response has a 2xx status code

func (*PcloudCloudinstancesImagesPostForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post internal server error response

func (*PcloudCloudinstancesImagesPostInternalServerError) Error

func (*PcloudCloudinstancesImagesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images post internal server error response has a 4xx status code

func (*PcloudCloudinstancesImagesPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images post internal server error response a status code equal to that given

func (*PcloudCloudinstancesImagesPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images post internal server error response has a 3xx status code

func (*PcloudCloudinstancesImagesPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images post internal server error response has a 5xx status code

func (*PcloudCloudinstancesImagesPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images post internal server error response has a 2xx status code

func (*PcloudCloudinstancesImagesPostInternalServerError) String added in v1.2.2

type PcloudCloudinstancesImagesPostNotFound added in v1.4.2

type PcloudCloudinstancesImagesPostNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudCloudinstancesImagesPostNotFound added in v1.4.2

func NewPcloudCloudinstancesImagesPostNotFound() *PcloudCloudinstancesImagesPostNotFound

NewPcloudCloudinstancesImagesPostNotFound creates a PcloudCloudinstancesImagesPostNotFound with default headers values

func (*PcloudCloudinstancesImagesPostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud cloudinstances images post not found response

func (*PcloudCloudinstancesImagesPostNotFound) Error added in v1.4.2

func (*PcloudCloudinstancesImagesPostNotFound) GetPayload added in v1.4.2

func (*PcloudCloudinstancesImagesPostNotFound) IsClientError added in v1.4.2

func (o *PcloudCloudinstancesImagesPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images post not found response has a 4xx status code

func (*PcloudCloudinstancesImagesPostNotFound) IsCode added in v1.4.2

IsCode returns true when this pcloud cloudinstances images post not found response a status code equal to that given

func (*PcloudCloudinstancesImagesPostNotFound) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud cloudinstances images post not found response has a 3xx status code

func (*PcloudCloudinstancesImagesPostNotFound) IsServerError added in v1.4.2

func (o *PcloudCloudinstancesImagesPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images post not found response has a 5xx status code

func (*PcloudCloudinstancesImagesPostNotFound) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud cloudinstances images post not found response has a 2xx status code

func (*PcloudCloudinstancesImagesPostNotFound) String added in v1.4.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post o k response

func (*PcloudCloudinstancesImagesPostOK) Error

func (*PcloudCloudinstancesImagesPostOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesPostOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances images post o k response has a 4xx status code

func (*PcloudCloudinstancesImagesPostOK) IsCode added in v1.2.2

func (o *PcloudCloudinstancesImagesPostOK) IsCode(code int) bool

IsCode returns true when this pcloud cloudinstances images post o k response a status code equal to that given

func (*PcloudCloudinstancesImagesPostOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesImagesPostOK) IsRedirect() bool

IsRedirect returns true when this pcloud cloudinstances images post o k response has a 3xx status code

func (*PcloudCloudinstancesImagesPostOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesImagesPostOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances images post o k response has a 5xx status code

func (*PcloudCloudinstancesImagesPostOK) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesImagesPostOK) IsSuccess() bool

IsSuccess returns true when this pcloud cloudinstances images post o k response has a 2xx status code

func (*PcloudCloudinstancesImagesPostOK) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post unauthorized response

func (*PcloudCloudinstancesImagesPostUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesImagesPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesPostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images post unauthorized response has a 4xx status code

func (*PcloudCloudinstancesImagesPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images post unauthorized response a status code equal to that given

func (*PcloudCloudinstancesImagesPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images post unauthorized response has a 3xx status code

func (*PcloudCloudinstancesImagesPostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images post unauthorized response has a 5xx status code

func (*PcloudCloudinstancesImagesPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images post unauthorized response has a 2xx status code

func (*PcloudCloudinstancesImagesPostUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances images post unprocessable entity response

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) Error

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances images post unprocessable entity response has a 4xx status code

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances images post unprocessable entity response a status code equal to that given

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances images post unprocessable entity response has a 3xx status code

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances images post unprocessable entity response has a 5xx status code

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances images post unprocessable entity response has a 2xx status code

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetBadRequest) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances stockimages get bad request response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages get bad request response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages get bad request response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances stockimages get bad request response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages get bad request response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetBadRequest) String added in v1.2.2

type PcloudCloudinstancesStockimagesGetForbidden added in v1.4.2

type PcloudCloudinstancesStockimagesGetForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesStockimagesGetForbidden added in v1.4.2

func NewPcloudCloudinstancesStockimagesGetForbidden() *PcloudCloudinstancesStockimagesGetForbidden

NewPcloudCloudinstancesStockimagesGetForbidden creates a PcloudCloudinstancesStockimagesGetForbidden with default headers values

func (*PcloudCloudinstancesStockimagesGetForbidden) Code added in v1.4.2

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

func (*PcloudCloudinstancesStockimagesGetForbidden) Error added in v1.4.2

func (*PcloudCloudinstancesStockimagesGetForbidden) GetPayload added in v1.4.2

func (*PcloudCloudinstancesStockimagesGetForbidden) IsClientError added in v1.4.2

IsClientError returns true when this pcloud cloudinstances stockimages get forbidden response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetForbidden) IsCode added in v1.4.2

IsCode returns true when this pcloud cloudinstances stockimages get forbidden response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetForbidden) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud cloudinstances stockimages get forbidden response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetForbidden) IsServerError added in v1.4.2

IsServerError returns true when this pcloud cloudinstances stockimages get forbidden response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetForbidden) IsSuccess added in v1.4.2

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

func (*PcloudCloudinstancesStockimagesGetForbidden) String added in v1.4.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetInternalServerError) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances stockimages get internal server error response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages get internal server error response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages get internal server error response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances stockimages get internal server error response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages get internal server error response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetNotFound) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances stockimages get not found response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages get not found response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages get not found response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances stockimages get not found response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages get not found response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetNotFound) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetOK) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesStockimagesGetOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances stockimages get o k response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetOK) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages get o k response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetOK) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages get o k response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesStockimagesGetOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances stockimages get o k response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages get o k response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetOK) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesStockimagesGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances stockimages get unauthorized response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages get unauthorized response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages get unauthorized response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances stockimages get unauthorized response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesStockimagesGetUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetallBadRequest) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetallBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances stockimages getall bad request response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetallBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages getall bad request response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetallBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages getall bad request response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetallBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances stockimages getall bad request response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetallBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages getall bad request response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetallBadRequest) String added in v1.2.2

type PcloudCloudinstancesStockimagesGetallForbidden added in v1.4.2

type PcloudCloudinstancesStockimagesGetallForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesStockimagesGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesStockimagesGetallForbidden added in v1.4.2

func NewPcloudCloudinstancesStockimagesGetallForbidden() *PcloudCloudinstancesStockimagesGetallForbidden

NewPcloudCloudinstancesStockimagesGetallForbidden creates a PcloudCloudinstancesStockimagesGetallForbidden with default headers values

func (*PcloudCloudinstancesStockimagesGetallForbidden) Code added in v1.4.2

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

func (*PcloudCloudinstancesStockimagesGetallForbidden) Error added in v1.4.2

func (*PcloudCloudinstancesStockimagesGetallForbidden) GetPayload added in v1.4.2

func (*PcloudCloudinstancesStockimagesGetallForbidden) IsClientError added in v1.4.2

IsClientError returns true when this pcloud cloudinstances stockimages getall forbidden response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetallForbidden) IsCode added in v1.4.2

IsCode returns true when this pcloud cloudinstances stockimages getall forbidden response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetallForbidden) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud cloudinstances stockimages getall forbidden response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetallForbidden) IsServerError added in v1.4.2

IsServerError returns true when this pcloud cloudinstances stockimages getall forbidden response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetallForbidden) IsSuccess added in v1.4.2

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

func (*PcloudCloudinstancesStockimagesGetallForbidden) String added in v1.4.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances stockimages getall internal server error response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages getall internal server error response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages getall internal server error response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances stockimages getall internal server error response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages getall internal server error response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetallInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetallNotFound) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetallNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetallNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances stockimages getall not found response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetallNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages getall not found response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetallNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages getall not found response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetallNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances stockimages getall not found response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetallNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages getall not found response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetallNotFound) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetallOK) Error added in v1.0.53

func (*PcloudCloudinstancesStockimagesGetallOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetallOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesStockimagesGetallOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances stockimages getall o k response has a 4xx status code

func (*PcloudCloudinstancesStockimagesGetallOK) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages getall o k response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetallOK) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances stockimages getall o k response has a 3xx status code

func (*PcloudCloudinstancesStockimagesGetallOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesStockimagesGetallOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances stockimages getall o k response has a 5xx status code

func (*PcloudCloudinstancesStockimagesGetallOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances stockimages getall o k response has a 2xx status code

func (*PcloudCloudinstancesStockimagesGetallOK) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances stockimages getall unauthorized response a status code equal to that given

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesStockimagesGetallUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

func (o *PcloudImagesGetBadRequest) Code() int

Code gets the status code for the pcloud images get bad request response

func (*PcloudImagesGetBadRequest) Error

func (o *PcloudImagesGetBadRequest) Error() string

func (*PcloudImagesGetBadRequest) GetPayload added in v1.1.0

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

func (*PcloudImagesGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudImagesGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud images get bad request response has a 4xx status code

func (*PcloudImagesGetBadRequest) IsCode added in v1.2.2

func (o *PcloudImagesGetBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud images get bad request response a status code equal to that given

func (*PcloudImagesGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudImagesGetBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud images get bad request response has a 3xx status code

func (*PcloudImagesGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudImagesGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud images get bad request response has a 5xx status code

func (*PcloudImagesGetBadRequest) IsSuccess added in v1.2.2

func (o *PcloudImagesGetBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud images get bad request response has a 2xx status code

func (*PcloudImagesGetBadRequest) String added in v1.2.2

func (o *PcloudImagesGetBadRequest) String() string

type PcloudImagesGetForbidden added in v1.2.2

type PcloudImagesGetForbidden struct {
	Payload *models.Error
}

PcloudImagesGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudImagesGetForbidden added in v1.2.2

func NewPcloudImagesGetForbidden() *PcloudImagesGetForbidden

NewPcloudImagesGetForbidden creates a PcloudImagesGetForbidden with default headers values

func (*PcloudImagesGetForbidden) Code added in v1.2.4

func (o *PcloudImagesGetForbidden) Code() int

Code gets the status code for the pcloud images get forbidden response

func (*PcloudImagesGetForbidden) Error added in v1.2.2

func (o *PcloudImagesGetForbidden) Error() string

func (*PcloudImagesGetForbidden) GetPayload added in v1.2.2

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

func (*PcloudImagesGetForbidden) IsClientError added in v1.2.2

func (o *PcloudImagesGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud images get forbidden response has a 4xx status code

func (*PcloudImagesGetForbidden) IsCode added in v1.2.2

func (o *PcloudImagesGetForbidden) IsCode(code int) bool

IsCode returns true when this pcloud images get forbidden response a status code equal to that given

func (*PcloudImagesGetForbidden) IsRedirect added in v1.2.2

func (o *PcloudImagesGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud images get forbidden response has a 3xx status code

func (*PcloudImagesGetForbidden) IsServerError added in v1.2.2

func (o *PcloudImagesGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud images get forbidden response has a 5xx status code

func (*PcloudImagesGetForbidden) IsSuccess added in v1.2.2

func (o *PcloudImagesGetForbidden) IsSuccess() bool

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

func (*PcloudImagesGetForbidden) String added in v1.2.2

func (o *PcloudImagesGetForbidden) String() string

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) Code added in v1.2.4

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

func (*PcloudImagesGetInternalServerError) Error

func (*PcloudImagesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudImagesGetInternalServerError) IsClientError added in v1.2.2

func (o *PcloudImagesGetInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud images get internal server error response has a 4xx status code

func (*PcloudImagesGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud images get internal server error response a status code equal to that given

func (*PcloudImagesGetInternalServerError) IsRedirect added in v1.2.2

func (o *PcloudImagesGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this pcloud images get internal server error response has a 3xx status code

func (*PcloudImagesGetInternalServerError) IsServerError added in v1.2.2

func (o *PcloudImagesGetInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud images get internal server error response has a 5xx status code

func (*PcloudImagesGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud images get internal server error response has a 2xx status code

func (*PcloudImagesGetInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

func (o *PcloudImagesGetNotFound) Code() int

Code gets the status code for the pcloud images get not found response

func (*PcloudImagesGetNotFound) Error

func (o *PcloudImagesGetNotFound) Error() string

func (*PcloudImagesGetNotFound) GetPayload added in v1.1.0

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

func (*PcloudImagesGetNotFound) IsClientError added in v1.2.2

func (o *PcloudImagesGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud images get not found response has a 4xx status code

func (*PcloudImagesGetNotFound) IsCode added in v1.2.2

func (o *PcloudImagesGetNotFound) IsCode(code int) bool

IsCode returns true when this pcloud images get not found response a status code equal to that given

func (*PcloudImagesGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudImagesGetNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud images get not found response has a 3xx status code

func (*PcloudImagesGetNotFound) IsServerError added in v1.2.2

func (o *PcloudImagesGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud images get not found response has a 5xx status code

func (*PcloudImagesGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudImagesGetNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud images get not found response has a 2xx status code

func (*PcloudImagesGetNotFound) String added in v1.2.2

func (o *PcloudImagesGetNotFound) String() string

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) Code added in v1.2.4

func (o *PcloudImagesGetOK) Code() int

Code gets the status code for the pcloud images get o k response

func (*PcloudImagesGetOK) Error

func (o *PcloudImagesGetOK) Error() string

func (*PcloudImagesGetOK) GetPayload added in v1.1.0

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

func (*PcloudImagesGetOK) IsClientError added in v1.2.2

func (o *PcloudImagesGetOK) IsClientError() bool

IsClientError returns true when this pcloud images get o k response has a 4xx status code

func (*PcloudImagesGetOK) IsCode added in v1.2.2

func (o *PcloudImagesGetOK) IsCode(code int) bool

IsCode returns true when this pcloud images get o k response a status code equal to that given

func (*PcloudImagesGetOK) IsRedirect added in v1.2.2

func (o *PcloudImagesGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud images get o k response has a 3xx status code

func (*PcloudImagesGetOK) IsServerError added in v1.2.2

func (o *PcloudImagesGetOK) IsServerError() bool

IsServerError returns true when this pcloud images get o k response has a 5xx status code

func (*PcloudImagesGetOK) IsSuccess added in v1.2.2

func (o *PcloudImagesGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud images get o k response has a 2xx status code

func (*PcloudImagesGetOK) String added in v1.2.2

func (o *PcloudImagesGetOK) String() string

type PcloudImagesGetParams

type PcloudImagesGetParams struct {

	/* ImageID.

	   Image ID of a image
	*/
	ImageID string

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

PcloudImagesGetParams contains all the parameters to send to the API endpoint

for the pcloud images get operation.

Typically these are written to a http.Request.

func NewPcloudImagesGetParams

func NewPcloudImagesGetParams() *PcloudImagesGetParams

NewPcloudImagesGetParams creates a new PcloudImagesGetParams object, with the default 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) Code added in v1.2.4

func (o *PcloudImagesGetUnauthorized) Code() int

Code gets the status code for the pcloud images get unauthorized response

func (*PcloudImagesGetUnauthorized) Error added in v1.0.59

func (*PcloudImagesGetUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudImagesGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudImagesGetUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud images get unauthorized response has a 4xx status code

func (*PcloudImagesGetUnauthorized) IsCode added in v1.2.2

func (o *PcloudImagesGetUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud images get unauthorized response a status code equal to that given

func (*PcloudImagesGetUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudImagesGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud images get unauthorized response has a 3xx status code

func (*PcloudImagesGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudImagesGetUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud images get unauthorized response has a 5xx status code

func (*PcloudImagesGetUnauthorized) IsSuccess added in v1.2.2

func (o *PcloudImagesGetUnauthorized) IsSuccess() bool

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

func (*PcloudImagesGetUnauthorized) String added in v1.2.2

func (o *PcloudImagesGetUnauthorized) String() string

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) Code added in v1.2.4

Code gets the status code for the pcloud images getall bad request response

func (*PcloudImagesGetallBadRequest) Error

func (*PcloudImagesGetallBadRequest) GetPayload added in v1.1.0

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

func (*PcloudImagesGetallBadRequest) IsClientError added in v1.2.2

func (o *PcloudImagesGetallBadRequest) IsClientError() bool

IsClientError returns true when this pcloud images getall bad request response has a 4xx status code

func (*PcloudImagesGetallBadRequest) IsCode added in v1.2.2

func (o *PcloudImagesGetallBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud images getall bad request response a status code equal to that given

func (*PcloudImagesGetallBadRequest) IsRedirect added in v1.2.2

func (o *PcloudImagesGetallBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud images getall bad request response has a 3xx status code

func (*PcloudImagesGetallBadRequest) IsServerError added in v1.2.2

func (o *PcloudImagesGetallBadRequest) IsServerError() bool

IsServerError returns true when this pcloud images getall bad request response has a 5xx status code

func (*PcloudImagesGetallBadRequest) IsSuccess added in v1.2.2

func (o *PcloudImagesGetallBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud images getall bad request response has a 2xx status code

func (*PcloudImagesGetallBadRequest) String added in v1.2.2

type PcloudImagesGetallForbidden added in v1.2.2

type PcloudImagesGetallForbidden struct {
	Payload *models.Error
}

PcloudImagesGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudImagesGetallForbidden added in v1.2.2

func NewPcloudImagesGetallForbidden() *PcloudImagesGetallForbidden

NewPcloudImagesGetallForbidden creates a PcloudImagesGetallForbidden with default headers values

func (*PcloudImagesGetallForbidden) Code added in v1.2.4

func (o *PcloudImagesGetallForbidden) Code() int

Code gets the status code for the pcloud images getall forbidden response

func (*PcloudImagesGetallForbidden) Error added in v1.2.2

func (*PcloudImagesGetallForbidden) GetPayload added in v1.2.2

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

func (*PcloudImagesGetallForbidden) IsClientError added in v1.2.2

func (o *PcloudImagesGetallForbidden) IsClientError() bool

IsClientError returns true when this pcloud images getall forbidden response has a 4xx status code

func (*PcloudImagesGetallForbidden) IsCode added in v1.2.2

func (o *PcloudImagesGetallForbidden) IsCode(code int) bool

IsCode returns true when this pcloud images getall forbidden response a status code equal to that given

func (*PcloudImagesGetallForbidden) IsRedirect added in v1.2.2

func (o *PcloudImagesGetallForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud images getall forbidden response has a 3xx status code

func (*PcloudImagesGetallForbidden) IsServerError added in v1.2.2

func (o *PcloudImagesGetallForbidden) IsServerError() bool

IsServerError returns true when this pcloud images getall forbidden response has a 5xx status code

func (*PcloudImagesGetallForbidden) IsSuccess added in v1.2.2

func (o *PcloudImagesGetallForbidden) IsSuccess() bool

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

func (*PcloudImagesGetallForbidden) String added in v1.2.2

func (o *PcloudImagesGetallForbidden) String() string

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) Code added in v1.2.4

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

func (*PcloudImagesGetallInternalServerError) Error

func (*PcloudImagesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudImagesGetallInternalServerError) IsClientError added in v1.2.2

func (o *PcloudImagesGetallInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud images getall internal server error response has a 4xx status code

func (*PcloudImagesGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud images getall internal server error response a status code equal to that given

func (*PcloudImagesGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud images getall internal server error response has a 3xx status code

func (*PcloudImagesGetallInternalServerError) IsServerError added in v1.2.2

func (o *PcloudImagesGetallInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud images getall internal server error response has a 5xx status code

func (*PcloudImagesGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud images getall internal server error response has a 2xx status code

func (*PcloudImagesGetallInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

func (o *PcloudImagesGetallNotFound) Code() int

Code gets the status code for the pcloud images getall not found response

func (*PcloudImagesGetallNotFound) Error

func (*PcloudImagesGetallNotFound) GetPayload added in v1.1.0

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

func (*PcloudImagesGetallNotFound) IsClientError added in v1.2.2

func (o *PcloudImagesGetallNotFound) IsClientError() bool

IsClientError returns true when this pcloud images getall not found response has a 4xx status code

func (*PcloudImagesGetallNotFound) IsCode added in v1.2.2

func (o *PcloudImagesGetallNotFound) IsCode(code int) bool

IsCode returns true when this pcloud images getall not found response a status code equal to that given

func (*PcloudImagesGetallNotFound) IsRedirect added in v1.2.2

func (o *PcloudImagesGetallNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud images getall not found response has a 3xx status code

func (*PcloudImagesGetallNotFound) IsServerError added in v1.2.2

func (o *PcloudImagesGetallNotFound) IsServerError() bool

IsServerError returns true when this pcloud images getall not found response has a 5xx status code

func (*PcloudImagesGetallNotFound) IsSuccess added in v1.2.2

func (o *PcloudImagesGetallNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud images getall not found response has a 2xx status code

func (*PcloudImagesGetallNotFound) String added in v1.2.2

func (o *PcloudImagesGetallNotFound) String() string

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) Code added in v1.2.4

func (o *PcloudImagesGetallOK) Code() int

Code gets the status code for the pcloud images getall o k response

func (*PcloudImagesGetallOK) Error

func (o *PcloudImagesGetallOK) Error() string

func (*PcloudImagesGetallOK) GetPayload added in v1.1.0

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

func (*PcloudImagesGetallOK) IsClientError added in v1.2.2

func (o *PcloudImagesGetallOK) IsClientError() bool

IsClientError returns true when this pcloud images getall o k response has a 4xx status code

func (*PcloudImagesGetallOK) IsCode added in v1.2.2

func (o *PcloudImagesGetallOK) IsCode(code int) bool

IsCode returns true when this pcloud images getall o k response a status code equal to that given

func (*PcloudImagesGetallOK) IsRedirect added in v1.2.2

func (o *PcloudImagesGetallOK) IsRedirect() bool

IsRedirect returns true when this pcloud images getall o k response has a 3xx status code

func (*PcloudImagesGetallOK) IsServerError added in v1.2.2

func (o *PcloudImagesGetallOK) IsServerError() bool

IsServerError returns true when this pcloud images getall o k response has a 5xx status code

func (*PcloudImagesGetallOK) IsSuccess added in v1.2.2

func (o *PcloudImagesGetallOK) IsSuccess() bool

IsSuccess returns true when this pcloud images getall o k response has a 2xx status code

func (*PcloudImagesGetallOK) String added in v1.2.2

func (o *PcloudImagesGetallOK) String() string

type PcloudImagesGetallParams

type PcloudImagesGetallParams struct {

	/* Sap.

	   Include SAP images with get available stock images
	*/
	Sap *bool

	/* Vtl.

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

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

PcloudImagesGetallParams contains all the parameters to send to the API endpoint

for the pcloud images getall operation.

Typically these are written to a http.Request.

func NewPcloudImagesGetallParams

func NewPcloudImagesGetallParams() *PcloudImagesGetallParams

NewPcloudImagesGetallParams creates a new PcloudImagesGetallParams object, with the default 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) Code added in v1.2.4

Code gets the status code for the pcloud images getall unauthorized response

func (*PcloudImagesGetallUnauthorized) Error added in v1.0.59

func (*PcloudImagesGetallUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudImagesGetallUnauthorized) IsClientError added in v1.2.2

func (o *PcloudImagesGetallUnauthorized) IsClientError() bool

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

func (*PcloudImagesGetallUnauthorized) IsCode added in v1.2.2

func (o *PcloudImagesGetallUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud images getall unauthorized response a status code equal to that given

func (*PcloudImagesGetallUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudImagesGetallUnauthorized) IsRedirect() bool

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

func (*PcloudImagesGetallUnauthorized) IsServerError added in v1.2.2

func (o *PcloudImagesGetallUnauthorized) IsServerError() bool

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

func (*PcloudImagesGetallUnauthorized) IsSuccess added in v1.2.2

func (o *PcloudImagesGetallUnauthorized) IsSuccess() bool

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

func (*PcloudImagesGetallUnauthorized) String added in v1.2.2

type PcloudV1CloudinstancesCosimagesGetBadRequest added in v1.4.2

type PcloudV1CloudinstancesCosimagesGetBadRequest struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV1CloudinstancesCosimagesGetBadRequest added in v1.4.2

func NewPcloudV1CloudinstancesCosimagesGetBadRequest() *PcloudV1CloudinstancesCosimagesGetBadRequest

NewPcloudV1CloudinstancesCosimagesGetBadRequest creates a PcloudV1CloudinstancesCosimagesGetBadRequest with default headers values

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) Code added in v1.4.2

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

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) Error added in v1.4.2

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) GetPayload added in v1.4.2

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) IsClientError added in v1.4.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages get bad request response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) IsCode added in v1.4.2

IsCode returns true when this pcloud v1 cloudinstances cosimages get bad request response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages get bad request response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) IsServerError added in v1.4.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages get bad request response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages get bad request response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesGetBadRequest) String added in v1.4.2

type PcloudV1CloudinstancesCosimagesGetForbidden added in v1.2.2

type PcloudV1CloudinstancesCosimagesGetForbidden struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV1CloudinstancesCosimagesGetForbidden added in v1.2.2

func NewPcloudV1CloudinstancesCosimagesGetForbidden() *PcloudV1CloudinstancesCosimagesGetForbidden

NewPcloudV1CloudinstancesCosimagesGetForbidden creates a PcloudV1CloudinstancesCosimagesGetForbidden with default headers values

func (*PcloudV1CloudinstancesCosimagesGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages get forbidden response

func (*PcloudV1CloudinstancesCosimagesGetForbidden) Error added in v1.2.2

func (*PcloudV1CloudinstancesCosimagesGetForbidden) GetPayload added in v1.2.2

func (*PcloudV1CloudinstancesCosimagesGetForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages get forbidden response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesGetForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages get forbidden response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesGetForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages get forbidden response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesGetForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages get forbidden response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudV1CloudinstancesCosimagesGetForbidden) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages get internal server error response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages get internal server error response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages get internal server error response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages get internal server error response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages get internal server error response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudV1CloudinstancesCosimagesGetNotFound) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesGetNotFound) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesGetNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages get not found response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesGetNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages get not found response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesGetNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages get not found response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesGetNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages get not found response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesGetNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages get not found response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesGetNotFound) String added in v1.2.2

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) Code added in v1.2.4

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

func (*PcloudV1CloudinstancesCosimagesGetOK) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesGetOK) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesGetOK) IsClientError added in v1.2.2

func (o *PcloudV1CloudinstancesCosimagesGetOK) IsClientError() bool

IsClientError returns true when this pcloud v1 cloudinstances cosimages get o k response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesGetOK) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages get o k response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesGetOK) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages get o k response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesGetOK) IsServerError added in v1.2.2

func (o *PcloudV1CloudinstancesCosimagesGetOK) IsServerError() bool

IsServerError returns true when this pcloud v1 cloudinstances cosimages get o k response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesGetOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages get o k response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesGetOK) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages get unauthorized response

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages get unauthorized response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages get unauthorized response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages get unauthorized response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages get unauthorized response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages post accepted response

func (*PcloudV1CloudinstancesCosimagesPostAccepted) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesPostAccepted) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesPostAccepted) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post accepted response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostAccepted) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post accepted response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post accepted response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostAccepted) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post accepted response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostAccepted) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post accepted response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostAccepted) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages post bad request response

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post bad request response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post bad request response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post bad request response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post bad request response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post bad request response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostBadRequest) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages post conflict response

func (*PcloudV1CloudinstancesCosimagesPostConflict) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesPostConflict) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesPostConflict) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post conflict response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostConflict) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post conflict response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post conflict response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostConflict) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post conflict response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post conflict response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostConflict) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages post forbidden response

func (*PcloudV1CloudinstancesCosimagesPostForbidden) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesPostForbidden) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesPostForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post forbidden response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post forbidden response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post forbidden response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post forbidden response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post forbidden response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages post internal server error response

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post internal server error response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post internal server error response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post internal server error response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post internal server error response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post internal server error response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) String added in v1.2.2

type PcloudV1CloudinstancesCosimagesPostNotFound added in v1.4.2

type PcloudV1CloudinstancesCosimagesPostNotFound struct {
	Payload *models.Error
}

PcloudV1CloudinstancesCosimagesPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV1CloudinstancesCosimagesPostNotFound added in v1.4.2

func NewPcloudV1CloudinstancesCosimagesPostNotFound() *PcloudV1CloudinstancesCosimagesPostNotFound

NewPcloudV1CloudinstancesCosimagesPostNotFound creates a PcloudV1CloudinstancesCosimagesPostNotFound with default headers values

func (*PcloudV1CloudinstancesCosimagesPostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud v1 cloudinstances cosimages post not found response

func (*PcloudV1CloudinstancesCosimagesPostNotFound) Error added in v1.4.2

func (*PcloudV1CloudinstancesCosimagesPostNotFound) GetPayload added in v1.4.2

func (*PcloudV1CloudinstancesCosimagesPostNotFound) IsClientError added in v1.4.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post not found response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostNotFound) IsCode added in v1.4.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post not found response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostNotFound) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post not found response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostNotFound) IsServerError added in v1.4.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post not found response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostNotFound) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post not found response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostNotFound) String added in v1.4.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages post unauthorized response

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post unauthorized response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post unauthorized response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post unauthorized response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post unauthorized response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post unauthorized response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v1 cloudinstances cosimages post unprocessable entity response

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) Error added in v1.0.75

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v1 cloudinstances cosimages post unprocessable entity response has a 4xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud v1 cloudinstances cosimages post unprocessable entity response a status code equal to that given

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v1 cloudinstances cosimages post unprocessable entity response has a 3xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v1 cloudinstances cosimages post unprocessable entity response has a 5xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v1 cloudinstances cosimages post unprocessable entity response has a 2xx status code

func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) String added in v1.2.2

type PcloudV2ImagesExportGetBadRequest added in v1.4.2

type PcloudV2ImagesExportGetBadRequest struct {
	Payload *models.Error
}

PcloudV2ImagesExportGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2ImagesExportGetBadRequest added in v1.4.2

func NewPcloudV2ImagesExportGetBadRequest() *PcloudV2ImagesExportGetBadRequest

NewPcloudV2ImagesExportGetBadRequest creates a PcloudV2ImagesExportGetBadRequest with default headers values

func (*PcloudV2ImagesExportGetBadRequest) Code added in v1.4.2

Code gets the status code for the pcloud v2 images export get bad request response

func (*PcloudV2ImagesExportGetBadRequest) Error added in v1.4.2

func (*PcloudV2ImagesExportGetBadRequest) GetPayload added in v1.4.2

func (*PcloudV2ImagesExportGetBadRequest) IsClientError added in v1.4.2

func (o *PcloudV2ImagesExportGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 images export get bad request response has a 4xx status code

func (*PcloudV2ImagesExportGetBadRequest) IsCode added in v1.4.2

func (o *PcloudV2ImagesExportGetBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export get bad request response a status code equal to that given

func (*PcloudV2ImagesExportGetBadRequest) IsRedirect added in v1.4.2

func (o *PcloudV2ImagesExportGetBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export get bad request response has a 3xx status code

func (*PcloudV2ImagesExportGetBadRequest) IsServerError added in v1.4.2

func (o *PcloudV2ImagesExportGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 images export get bad request response has a 5xx status code

func (*PcloudV2ImagesExportGetBadRequest) IsSuccess added in v1.4.2

func (o *PcloudV2ImagesExportGetBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export get bad request response has a 2xx status code

func (*PcloudV2ImagesExportGetBadRequest) String added in v1.4.2

type PcloudV2ImagesExportGetForbidden added in v1.4.2

type PcloudV2ImagesExportGetForbidden struct {
	Payload *models.Error
}

PcloudV2ImagesExportGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2ImagesExportGetForbidden added in v1.4.2

func NewPcloudV2ImagesExportGetForbidden() *PcloudV2ImagesExportGetForbidden

NewPcloudV2ImagesExportGetForbidden creates a PcloudV2ImagesExportGetForbidden with default headers values

func (*PcloudV2ImagesExportGetForbidden) Code added in v1.4.2

Code gets the status code for the pcloud v2 images export get forbidden response

func (*PcloudV2ImagesExportGetForbidden) Error added in v1.4.2

func (*PcloudV2ImagesExportGetForbidden) GetPayload added in v1.4.2

func (*PcloudV2ImagesExportGetForbidden) IsClientError added in v1.4.2

func (o *PcloudV2ImagesExportGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 images export get forbidden response has a 4xx status code

func (*PcloudV2ImagesExportGetForbidden) IsCode added in v1.4.2

func (o *PcloudV2ImagesExportGetForbidden) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export get forbidden response a status code equal to that given

func (*PcloudV2ImagesExportGetForbidden) IsRedirect added in v1.4.2

func (o *PcloudV2ImagesExportGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export get forbidden response has a 3xx status code

func (*PcloudV2ImagesExportGetForbidden) IsServerError added in v1.4.2

func (o *PcloudV2ImagesExportGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 images export get forbidden response has a 5xx status code

func (*PcloudV2ImagesExportGetForbidden) IsSuccess added in v1.4.2

func (o *PcloudV2ImagesExportGetForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export get forbidden response has a 2xx status code

func (*PcloudV2ImagesExportGetForbidden) String added in v1.4.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export get internal server error response

func (*PcloudV2ImagesExportGetInternalServerError) Error added in v1.0.75

func (*PcloudV2ImagesExportGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 images export get internal server error response has a 4xx status code

func (*PcloudV2ImagesExportGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 images export get internal server error response a status code equal to that given

func (*PcloudV2ImagesExportGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 images export get internal server error response has a 3xx status code

func (*PcloudV2ImagesExportGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 images export get internal server error response has a 5xx status code

func (*PcloudV2ImagesExportGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 images export get internal server error response has a 2xx status code

func (*PcloudV2ImagesExportGetInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export get not found response

func (*PcloudV2ImagesExportGetNotFound) Error added in v1.0.75

func (*PcloudV2ImagesExportGetNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2ImagesExportGetNotFound) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 images export get not found response has a 4xx status code

func (*PcloudV2ImagesExportGetNotFound) IsCode added in v1.2.2

func (o *PcloudV2ImagesExportGetNotFound) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export get not found response a status code equal to that given

func (*PcloudV2ImagesExportGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudV2ImagesExportGetNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export get not found response has a 3xx status code

func (*PcloudV2ImagesExportGetNotFound) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 images export get not found response has a 5xx status code

func (*PcloudV2ImagesExportGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudV2ImagesExportGetNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export get not found response has a 2xx status code

func (*PcloudV2ImagesExportGetNotFound) String added in v1.2.2

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) Code added in v1.2.4

func (o *PcloudV2ImagesExportGetOK) Code() int

Code gets the status code for the pcloud v2 images export get o k response

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

func (*PcloudV2ImagesExportGetOK) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportGetOK) IsClientError() bool

IsClientError returns true when this pcloud v2 images export get o k response has a 4xx status code

func (*PcloudV2ImagesExportGetOK) IsCode added in v1.2.2

func (o *PcloudV2ImagesExportGetOK) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export get o k response a status code equal to that given

func (*PcloudV2ImagesExportGetOK) IsRedirect added in v1.2.2

func (o *PcloudV2ImagesExportGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export get o k response has a 3xx status code

func (*PcloudV2ImagesExportGetOK) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportGetOK) IsServerError() bool

IsServerError returns true when this pcloud v2 images export get o k response has a 5xx status code

func (*PcloudV2ImagesExportGetOK) IsSuccess added in v1.2.2

func (o *PcloudV2ImagesExportGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export get o k response has a 2xx status code

func (*PcloudV2ImagesExportGetOK) String added in v1.2.2

func (o *PcloudV2ImagesExportGetOK) String() string

type PcloudV2ImagesExportGetParams added in v1.0.75

type PcloudV2ImagesExportGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* ImageID.

	   Image ID of a image
	*/
	ImageID string

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

PcloudV2ImagesExportGetParams contains all the parameters to send to the API endpoint

for the pcloud v2 images export get operation.

Typically these are written to a http.Request.

func NewPcloudV2ImagesExportGetParams added in v1.0.75

func NewPcloudV2ImagesExportGetParams() *PcloudV2ImagesExportGetParams

NewPcloudV2ImagesExportGetParams creates a new PcloudV2ImagesExportGetParams object, with the default 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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export get unauthorized response

func (*PcloudV2ImagesExportGetUnauthorized) Error added in v1.0.75

func (*PcloudV2ImagesExportGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportGetUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 images export get unauthorized response has a 4xx status code

func (*PcloudV2ImagesExportGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 images export get unauthorized response a status code equal to that given

func (*PcloudV2ImagesExportGetUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudV2ImagesExportGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export get unauthorized response has a 3xx status code

func (*PcloudV2ImagesExportGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportGetUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 images export get unauthorized response has a 5xx status code

func (*PcloudV2ImagesExportGetUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 images export get unauthorized response has a 2xx status code

func (*PcloudV2ImagesExportGetUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export post accepted response

func (*PcloudV2ImagesExportPostAccepted) Error added in v1.0.75

func (*PcloudV2ImagesExportPostAccepted) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportPostAccepted) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud v2 images export post accepted response has a 4xx status code

func (*PcloudV2ImagesExportPostAccepted) IsCode added in v1.2.2

func (o *PcloudV2ImagesExportPostAccepted) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export post accepted response a status code equal to that given

func (*PcloudV2ImagesExportPostAccepted) IsRedirect added in v1.2.2

func (o *PcloudV2ImagesExportPostAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export post accepted response has a 3xx status code

func (*PcloudV2ImagesExportPostAccepted) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud v2 images export post accepted response has a 5xx status code

func (*PcloudV2ImagesExportPostAccepted) IsSuccess added in v1.2.2

func (o *PcloudV2ImagesExportPostAccepted) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export post accepted response has a 2xx status code

func (*PcloudV2ImagesExportPostAccepted) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export post bad request response

func (*PcloudV2ImagesExportPostBadRequest) Error added in v1.0.75

func (*PcloudV2ImagesExportPostBadRequest) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportPostBadRequest) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportPostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 images export post bad request response has a 4xx status code

func (*PcloudV2ImagesExportPostBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 images export post bad request response a status code equal to that given

func (*PcloudV2ImagesExportPostBadRequest) IsRedirect added in v1.2.2

func (o *PcloudV2ImagesExportPostBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export post bad request response has a 3xx status code

func (*PcloudV2ImagesExportPostBadRequest) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportPostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 images export post bad request response has a 5xx status code

func (*PcloudV2ImagesExportPostBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 images export post bad request response has a 2xx status code

func (*PcloudV2ImagesExportPostBadRequest) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export post conflict response

func (*PcloudV2ImagesExportPostConflict) Error added in v1.0.75

func (*PcloudV2ImagesExportPostConflict) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportPostConflict) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportPostConflict) IsClientError() bool

IsClientError returns true when this pcloud v2 images export post conflict response has a 4xx status code

func (*PcloudV2ImagesExportPostConflict) IsCode added in v1.2.2

func (o *PcloudV2ImagesExportPostConflict) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export post conflict response a status code equal to that given

func (*PcloudV2ImagesExportPostConflict) IsRedirect added in v1.2.2

func (o *PcloudV2ImagesExportPostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export post conflict response has a 3xx status code

func (*PcloudV2ImagesExportPostConflict) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportPostConflict) IsServerError() bool

IsServerError returns true when this pcloud v2 images export post conflict response has a 5xx status code

func (*PcloudV2ImagesExportPostConflict) IsSuccess added in v1.2.2

func (o *PcloudV2ImagesExportPostConflict) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export post conflict response has a 2xx status code

func (*PcloudV2ImagesExportPostConflict) String added in v1.2.2

type PcloudV2ImagesExportPostForbidden added in v1.4.2

type PcloudV2ImagesExportPostForbidden struct {
	Payload *models.Error
}

PcloudV2ImagesExportPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2ImagesExportPostForbidden added in v1.4.2

func NewPcloudV2ImagesExportPostForbidden() *PcloudV2ImagesExportPostForbidden

NewPcloudV2ImagesExportPostForbidden creates a PcloudV2ImagesExportPostForbidden with default headers values

func (*PcloudV2ImagesExportPostForbidden) Code added in v1.4.2

Code gets the status code for the pcloud v2 images export post forbidden response

func (*PcloudV2ImagesExportPostForbidden) Error added in v1.4.2

func (*PcloudV2ImagesExportPostForbidden) GetPayload added in v1.4.2

func (*PcloudV2ImagesExportPostForbidden) IsClientError added in v1.4.2

func (o *PcloudV2ImagesExportPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 images export post forbidden response has a 4xx status code

func (*PcloudV2ImagesExportPostForbidden) IsCode added in v1.4.2

func (o *PcloudV2ImagesExportPostForbidden) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export post forbidden response a status code equal to that given

func (*PcloudV2ImagesExportPostForbidden) IsRedirect added in v1.4.2

func (o *PcloudV2ImagesExportPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export post forbidden response has a 3xx status code

func (*PcloudV2ImagesExportPostForbidden) IsServerError added in v1.4.2

func (o *PcloudV2ImagesExportPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 images export post forbidden response has a 5xx status code

func (*PcloudV2ImagesExportPostForbidden) IsSuccess added in v1.4.2

func (o *PcloudV2ImagesExportPostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export post forbidden response has a 2xx status code

func (*PcloudV2ImagesExportPostForbidden) String added in v1.4.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export post internal server error response

func (*PcloudV2ImagesExportPostInternalServerError) Error added in v1.0.75

func (*PcloudV2ImagesExportPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 images export post internal server error response has a 4xx status code

func (*PcloudV2ImagesExportPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 images export post internal server error response a status code equal to that given

func (*PcloudV2ImagesExportPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 images export post internal server error response has a 3xx status code

func (*PcloudV2ImagesExportPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 images export post internal server error response has a 5xx status code

func (*PcloudV2ImagesExportPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 images export post internal server error response has a 2xx status code

func (*PcloudV2ImagesExportPostInternalServerError) String added in v1.2.2

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.

Not Found

func NewPcloudV2ImagesExportPostNotFound added in v1.0.75

func NewPcloudV2ImagesExportPostNotFound() *PcloudV2ImagesExportPostNotFound

NewPcloudV2ImagesExportPostNotFound creates a PcloudV2ImagesExportPostNotFound with default headers values

func (*PcloudV2ImagesExportPostNotFound) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export post not found response

func (*PcloudV2ImagesExportPostNotFound) Error added in v1.0.75

func (*PcloudV2ImagesExportPostNotFound) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportPostNotFound) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 images export post not found response has a 4xx status code

func (*PcloudV2ImagesExportPostNotFound) IsCode added in v1.2.2

func (o *PcloudV2ImagesExportPostNotFound) IsCode(code int) bool

IsCode returns true when this pcloud v2 images export post not found response a status code equal to that given

func (*PcloudV2ImagesExportPostNotFound) IsRedirect added in v1.2.2

func (o *PcloudV2ImagesExportPostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 images export post not found response has a 3xx status code

func (*PcloudV2ImagesExportPostNotFound) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 images export post not found response has a 5xx status code

func (*PcloudV2ImagesExportPostNotFound) IsSuccess added in v1.2.2

func (o *PcloudV2ImagesExportPostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud v2 images export post not found response has a 2xx status code

func (*PcloudV2ImagesExportPostNotFound) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export post unauthorized response

func (*PcloudV2ImagesExportPostUnauthorized) Error added in v1.0.75

func (*PcloudV2ImagesExportPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportPostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudV2ImagesExportPostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 images export post unauthorized response has a 4xx status code

func (*PcloudV2ImagesExportPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 images export post unauthorized response a status code equal to that given

func (*PcloudV2ImagesExportPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 images export post unauthorized response has a 3xx status code

func (*PcloudV2ImagesExportPostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudV2ImagesExportPostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 images export post unauthorized response has a 5xx status code

func (*PcloudV2ImagesExportPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 images export post unauthorized response has a 2xx status code

func (*PcloudV2ImagesExportPostUnauthorized) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud v2 images export post unprocessable entity response

func (*PcloudV2ImagesExportPostUnprocessableEntity) Error added in v1.0.75

func (*PcloudV2ImagesExportPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudV2ImagesExportPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 images export post unprocessable entity response has a 4xx status code

func (*PcloudV2ImagesExportPostUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 images export post unprocessable entity response a status code equal to that given

func (*PcloudV2ImagesExportPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 images export post unprocessable entity response has a 3xx status code

func (*PcloudV2ImagesExportPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 images export post unprocessable entity response has a 5xx status code

func (*PcloudV2ImagesExportPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 images export post unprocessable entity response has a 2xx status code

func (*PcloudV2ImagesExportPostUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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