p_cloud_instances

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

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

func (*Client) PcloudCloudinstancesDelete

func (a *Client) PcloudCloudinstancesDelete(params *PcloudCloudinstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesDeleteOK, error)

PcloudCloudinstancesDelete deletes a power cloud instance

func (*Client) PcloudCloudinstancesGet

func (a *Client) PcloudCloudinstancesGet(params *PcloudCloudinstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesGetOK, error)

PcloudCloudinstancesGet gets a cloud instance s current state information

func (*Client) PcloudCloudinstancesPut

func (a *Client) PcloudCloudinstancesPut(params *PcloudCloudinstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesPutOK, error)

PcloudCloudinstancesPut updates upgrade a cloud instance

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService added in v1.1.0

type ClientService interface {
	PcloudCloudinstancesDelete(params *PcloudCloudinstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesDeleteOK, error)

	PcloudCloudinstancesGet(params *PcloudCloudinstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesGetOK, error)

	PcloudCloudinstancesPut(params *PcloudCloudinstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesPutOK, 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 instances API client.

func NewClientWithBasicAuth added in v1.7.0

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

New creates a new p cloud instances 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 instances 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 PcloudCloudinstancesDeleteBadRequest

type PcloudCloudinstancesDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesDeleteBadRequest

func NewPcloudCloudinstancesDeleteBadRequest() *PcloudCloudinstancesDeleteBadRequest

NewPcloudCloudinstancesDeleteBadRequest creates a PcloudCloudinstancesDeleteBadRequest with default headers values

func (*PcloudCloudinstancesDeleteBadRequest) Code added in v1.2.4

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

func (*PcloudCloudinstancesDeleteBadRequest) Error

func (*PcloudCloudinstancesDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesDeleteBadRequest) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesDeleteBadRequest) IsClientError() bool

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

func (*PcloudCloudinstancesDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesDeleteBadRequest) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesDeleteBadRequest) IsServerError() bool

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

func (*PcloudCloudinstancesDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesDeleteBadRequest) String added in v1.2.2

type PcloudCloudinstancesDeleteForbidden added in v1.4.2

type PcloudCloudinstancesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesDeleteForbidden added in v1.4.2

func NewPcloudCloudinstancesDeleteForbidden() *PcloudCloudinstancesDeleteForbidden

NewPcloudCloudinstancesDeleteForbidden creates a PcloudCloudinstancesDeleteForbidden with default headers values

func (*PcloudCloudinstancesDeleteForbidden) Code added in v1.4.2

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

func (*PcloudCloudinstancesDeleteForbidden) Error added in v1.4.2

func (*PcloudCloudinstancesDeleteForbidden) GetPayload added in v1.4.2

func (*PcloudCloudinstancesDeleteForbidden) IsClientError added in v1.4.2

func (o *PcloudCloudinstancesDeleteForbidden) IsClientError() bool

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

func (*PcloudCloudinstancesDeleteForbidden) IsCode added in v1.4.2

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

func (*PcloudCloudinstancesDeleteForbidden) IsRedirect added in v1.4.2

func (o *PcloudCloudinstancesDeleteForbidden) IsRedirect() bool

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

func (*PcloudCloudinstancesDeleteForbidden) IsServerError added in v1.4.2

func (o *PcloudCloudinstancesDeleteForbidden) IsServerError() bool

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

func (*PcloudCloudinstancesDeleteForbidden) IsSuccess added in v1.4.2

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

func (*PcloudCloudinstancesDeleteForbidden) String added in v1.4.2

type PcloudCloudinstancesDeleteGone

type PcloudCloudinstancesDeleteGone struct {
	Payload *models.Error
}

PcloudCloudinstancesDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudCloudinstancesDeleteGone

func NewPcloudCloudinstancesDeleteGone() *PcloudCloudinstancesDeleteGone

NewPcloudCloudinstancesDeleteGone creates a PcloudCloudinstancesDeleteGone with default headers values

func (*PcloudCloudinstancesDeleteGone) Code added in v1.2.4

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

func (*PcloudCloudinstancesDeleteGone) Error

func (*PcloudCloudinstancesDeleteGone) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesDeleteGone) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesDeleteGone) IsClientError() bool

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

func (*PcloudCloudinstancesDeleteGone) IsCode added in v1.2.2

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

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

func (*PcloudCloudinstancesDeleteGone) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesDeleteGone) IsRedirect() bool

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

func (*PcloudCloudinstancesDeleteGone) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesDeleteGone) IsServerError() bool

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

func (*PcloudCloudinstancesDeleteGone) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesDeleteGone) IsSuccess() bool

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

func (*PcloudCloudinstancesDeleteGone) String added in v1.2.2

type PcloudCloudinstancesDeleteInternalServerError

type PcloudCloudinstancesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesDeleteInternalServerError

func NewPcloudCloudinstancesDeleteInternalServerError() *PcloudCloudinstancesDeleteInternalServerError

NewPcloudCloudinstancesDeleteInternalServerError creates a PcloudCloudinstancesDeleteInternalServerError with default headers values

func (*PcloudCloudinstancesDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudCloudinstancesDeleteInternalServerError) Error

func (*PcloudCloudinstancesDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesDeleteInternalServerError) String added in v1.2.2

type PcloudCloudinstancesDeleteNotFound added in v1.4.2

type PcloudCloudinstancesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesDeleteNotFound added in v1.4.2

func NewPcloudCloudinstancesDeleteNotFound() *PcloudCloudinstancesDeleteNotFound

NewPcloudCloudinstancesDeleteNotFound creates a PcloudCloudinstancesDeleteNotFound with default headers values

func (*PcloudCloudinstancesDeleteNotFound) Code added in v1.4.2

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

func (*PcloudCloudinstancesDeleteNotFound) Error added in v1.4.2

func (*PcloudCloudinstancesDeleteNotFound) GetPayload added in v1.4.2

func (*PcloudCloudinstancesDeleteNotFound) IsClientError added in v1.4.2

func (o *PcloudCloudinstancesDeleteNotFound) IsClientError() bool

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

func (*PcloudCloudinstancesDeleteNotFound) IsCode added in v1.4.2

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

func (*PcloudCloudinstancesDeleteNotFound) IsRedirect added in v1.4.2

func (o *PcloudCloudinstancesDeleteNotFound) IsRedirect() bool

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

func (*PcloudCloudinstancesDeleteNotFound) IsServerError added in v1.4.2

func (o *PcloudCloudinstancesDeleteNotFound) IsServerError() bool

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

func (*PcloudCloudinstancesDeleteNotFound) IsSuccess added in v1.4.2

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

func (*PcloudCloudinstancesDeleteNotFound) String added in v1.4.2

type PcloudCloudinstancesDeleteOK

type PcloudCloudinstancesDeleteOK struct {
	Payload models.Object
}

PcloudCloudinstancesDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesDeleteOK

func NewPcloudCloudinstancesDeleteOK() *PcloudCloudinstancesDeleteOK

NewPcloudCloudinstancesDeleteOK creates a PcloudCloudinstancesDeleteOK with default headers values

func (*PcloudCloudinstancesDeleteOK) Code added in v1.2.4

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

func (*PcloudCloudinstancesDeleteOK) Error

func (*PcloudCloudinstancesDeleteOK) GetPayload added in v1.1.0

func (o *PcloudCloudinstancesDeleteOK) GetPayload() models.Object

func (*PcloudCloudinstancesDeleteOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesDeleteOK) IsClientError() bool

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

func (*PcloudCloudinstancesDeleteOK) IsCode added in v1.2.2

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

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

func (*PcloudCloudinstancesDeleteOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesDeleteOK) IsRedirect() bool

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

func (*PcloudCloudinstancesDeleteOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesDeleteOK) IsServerError() bool

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

func (*PcloudCloudinstancesDeleteOK) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesDeleteOK) IsSuccess() bool

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

func (*PcloudCloudinstancesDeleteOK) String added in v1.2.2

type PcloudCloudinstancesDeleteParams

type PcloudCloudinstancesDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudCloudinstancesDeleteParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances delete operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesDeleteParams

func NewPcloudCloudinstancesDeleteParams() *PcloudCloudinstancesDeleteParams

NewPcloudCloudinstancesDeleteParams creates a new PcloudCloudinstancesDeleteParams 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 NewPcloudCloudinstancesDeleteParamsWithContext

func NewPcloudCloudinstancesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams

NewPcloudCloudinstancesDeleteParamsWithContext creates a new PcloudCloudinstancesDeleteParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesDeleteParamsWithHTTPClient

func NewPcloudCloudinstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams

NewPcloudCloudinstancesDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesDeleteParamsWithTimeout

func NewPcloudCloudinstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams

NewPcloudCloudinstancesDeleteParamsWithTimeout creates a new PcloudCloudinstancesDeleteParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesDeleteParams) SetCloudInstanceID

func (o *PcloudCloudinstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) SetContext

SetContext adds the context to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) SetDefaults added in v1.1.0

func (o *PcloudCloudinstancesDeleteParams) SetDefaults()

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

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

func (*PcloudCloudinstancesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) WithContext

WithContext adds the context to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) WithDefaults added in v1.1.0

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

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

func (*PcloudCloudinstancesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances delete params

func (*PcloudCloudinstancesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesDeleteReader

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

PcloudCloudinstancesDeleteReader is a Reader for the PcloudCloudinstancesDelete structure.

func (*PcloudCloudinstancesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesDeleteUnauthorized added in v1.0.59

type PcloudCloudinstancesDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudCloudinstancesDeleteUnauthorized added in v1.0.59

func NewPcloudCloudinstancesDeleteUnauthorized() *PcloudCloudinstancesDeleteUnauthorized

NewPcloudCloudinstancesDeleteUnauthorized creates a PcloudCloudinstancesDeleteUnauthorized with default headers values

func (*PcloudCloudinstancesDeleteUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesDeleteUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesDeleteUnauthorized) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesDeleteUnauthorized) IsClientError() bool

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

func (*PcloudCloudinstancesDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesDeleteUnauthorized) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesDeleteUnauthorized) IsServerError() bool

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

func (*PcloudCloudinstancesDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesDeleteUnauthorized) String added in v1.2.2

type PcloudCloudinstancesGetBadRequest

type PcloudCloudinstancesGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesGetBadRequest

func NewPcloudCloudinstancesGetBadRequest() *PcloudCloudinstancesGetBadRequest

NewPcloudCloudinstancesGetBadRequest creates a PcloudCloudinstancesGetBadRequest with default headers values

func (*PcloudCloudinstancesGetBadRequest) Code added in v1.2.4

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

func (*PcloudCloudinstancesGetBadRequest) Error

func (*PcloudCloudinstancesGetBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesGetBadRequest) IsClientError() bool

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

func (*PcloudCloudinstancesGetBadRequest) IsCode added in v1.2.2

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

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

func (*PcloudCloudinstancesGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesGetBadRequest) IsRedirect() bool

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

func (*PcloudCloudinstancesGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesGetBadRequest) IsServerError() bool

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

func (*PcloudCloudinstancesGetBadRequest) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesGetBadRequest) IsSuccess() bool

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

func (*PcloudCloudinstancesGetBadRequest) String added in v1.2.2

type PcloudCloudinstancesGetForbidden added in v1.4.2

type PcloudCloudinstancesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesGetForbidden added in v1.4.2

func NewPcloudCloudinstancesGetForbidden() *PcloudCloudinstancesGetForbidden

NewPcloudCloudinstancesGetForbidden creates a PcloudCloudinstancesGetForbidden with default headers values

func (*PcloudCloudinstancesGetForbidden) Code added in v1.4.2

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

func (*PcloudCloudinstancesGetForbidden) Error added in v1.4.2

func (*PcloudCloudinstancesGetForbidden) GetPayload added in v1.4.2

func (*PcloudCloudinstancesGetForbidden) IsClientError added in v1.4.2

func (o *PcloudCloudinstancesGetForbidden) IsClientError() bool

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

func (*PcloudCloudinstancesGetForbidden) IsCode added in v1.4.2

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

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

func (*PcloudCloudinstancesGetForbidden) IsRedirect added in v1.4.2

func (o *PcloudCloudinstancesGetForbidden) IsRedirect() bool

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

func (*PcloudCloudinstancesGetForbidden) IsServerError added in v1.4.2

func (o *PcloudCloudinstancesGetForbidden) IsServerError() bool

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

func (*PcloudCloudinstancesGetForbidden) IsSuccess added in v1.4.2

func (o *PcloudCloudinstancesGetForbidden) IsSuccess() bool

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

func (*PcloudCloudinstancesGetForbidden) String added in v1.4.2

type PcloudCloudinstancesGetInternalServerError

type PcloudCloudinstancesGetInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesGetInternalServerError

func NewPcloudCloudinstancesGetInternalServerError() *PcloudCloudinstancesGetInternalServerError

NewPcloudCloudinstancesGetInternalServerError creates a PcloudCloudinstancesGetInternalServerError with default headers values

func (*PcloudCloudinstancesGetInternalServerError) Code added in v1.2.4

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

func (*PcloudCloudinstancesGetInternalServerError) Error

func (*PcloudCloudinstancesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesGetInternalServerError) String added in v1.2.2

type PcloudCloudinstancesGetNotFound

type PcloudCloudinstancesGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesGetNotFound

func NewPcloudCloudinstancesGetNotFound() *PcloudCloudinstancesGetNotFound

NewPcloudCloudinstancesGetNotFound creates a PcloudCloudinstancesGetNotFound with default headers values

func (*PcloudCloudinstancesGetNotFound) Code added in v1.2.4

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

func (*PcloudCloudinstancesGetNotFound) Error

func (*PcloudCloudinstancesGetNotFound) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesGetNotFound) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesGetNotFound) IsClientError() bool

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

func (*PcloudCloudinstancesGetNotFound) IsCode added in v1.2.2

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

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

func (*PcloudCloudinstancesGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesGetNotFound) IsRedirect() bool

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

func (*PcloudCloudinstancesGetNotFound) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesGetNotFound) IsServerError() bool

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

func (*PcloudCloudinstancesGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesGetNotFound) IsSuccess() bool

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

func (*PcloudCloudinstancesGetNotFound) String added in v1.2.2

type PcloudCloudinstancesGetOK

type PcloudCloudinstancesGetOK struct {
	Payload *models.CloudInstance
}

PcloudCloudinstancesGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesGetOK

func NewPcloudCloudinstancesGetOK() *PcloudCloudinstancesGetOK

NewPcloudCloudinstancesGetOK creates a PcloudCloudinstancesGetOK with default headers values

func (*PcloudCloudinstancesGetOK) Code added in v1.2.4

func (o *PcloudCloudinstancesGetOK) Code() int

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

func (*PcloudCloudinstancesGetOK) Error

func (o *PcloudCloudinstancesGetOK) Error() string

func (*PcloudCloudinstancesGetOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesGetOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesGetOK) IsClientError() bool

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

func (*PcloudCloudinstancesGetOK) IsCode added in v1.2.2

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

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

func (*PcloudCloudinstancesGetOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesGetOK) IsRedirect() bool

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

func (*PcloudCloudinstancesGetOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesGetOK) IsServerError() bool

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

func (*PcloudCloudinstancesGetOK) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesGetOK) IsSuccess() bool

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

func (*PcloudCloudinstancesGetOK) String added in v1.2.2

func (o *PcloudCloudinstancesGetOK) String() string

type PcloudCloudinstancesGetParams

type PcloudCloudinstancesGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudCloudinstancesGetParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances get operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesGetParams

func NewPcloudCloudinstancesGetParams() *PcloudCloudinstancesGetParams

NewPcloudCloudinstancesGetParams creates a new PcloudCloudinstancesGetParams 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 NewPcloudCloudinstancesGetParamsWithContext

func NewPcloudCloudinstancesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesGetParams

NewPcloudCloudinstancesGetParamsWithContext creates a new PcloudCloudinstancesGetParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesGetParamsWithHTTPClient

func NewPcloudCloudinstancesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams

NewPcloudCloudinstancesGetParamsWithHTTPClient creates a new PcloudCloudinstancesGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesGetParamsWithTimeout

func NewPcloudCloudinstancesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams

NewPcloudCloudinstancesGetParamsWithTimeout creates a new PcloudCloudinstancesGetParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesGetParams) SetCloudInstanceID

func (o *PcloudCloudinstancesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) SetContext

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

SetContext adds the context to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) SetDefaults added in v1.1.0

func (o *PcloudCloudinstancesGetParams) SetDefaults()

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

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

func (*PcloudCloudinstancesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) WithDefaults added in v1.1.0

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

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

func (*PcloudCloudinstancesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances get params

func (*PcloudCloudinstancesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesGetReader

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

PcloudCloudinstancesGetReader is a Reader for the PcloudCloudinstancesGet structure.

func (*PcloudCloudinstancesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesGetUnauthorized added in v1.0.59

type PcloudCloudinstancesGetUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudCloudinstancesGetUnauthorized added in v1.0.59

func NewPcloudCloudinstancesGetUnauthorized() *PcloudCloudinstancesGetUnauthorized

NewPcloudCloudinstancesGetUnauthorized creates a PcloudCloudinstancesGetUnauthorized with default headers values

func (*PcloudCloudinstancesGetUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesGetUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesGetUnauthorized) IsClientError() bool

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

func (*PcloudCloudinstancesGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesGetUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesGetUnauthorized) IsRedirect() bool

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

func (*PcloudCloudinstancesGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesGetUnauthorized) IsServerError() bool

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

func (*PcloudCloudinstancesGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesGetUnauthorized) String added in v1.2.2

type PcloudCloudinstancesPutBadRequest

type PcloudCloudinstancesPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesPutBadRequest

func NewPcloudCloudinstancesPutBadRequest() *PcloudCloudinstancesPutBadRequest

NewPcloudCloudinstancesPutBadRequest creates a PcloudCloudinstancesPutBadRequest with default headers values

func (*PcloudCloudinstancesPutBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances put bad request response

func (*PcloudCloudinstancesPutBadRequest) Error

func (*PcloudCloudinstancesPutBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesPutBadRequest) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesPutBadRequest) IsClientError() bool

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

func (*PcloudCloudinstancesPutBadRequest) IsCode added in v1.2.2

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

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

func (*PcloudCloudinstancesPutBadRequest) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesPutBadRequest) IsRedirect() bool

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

func (*PcloudCloudinstancesPutBadRequest) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesPutBadRequest) IsServerError() bool

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

func (*PcloudCloudinstancesPutBadRequest) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesPutBadRequest) IsSuccess() bool

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

func (*PcloudCloudinstancesPutBadRequest) String added in v1.2.2

type PcloudCloudinstancesPutForbidden added in v1.4.2

type PcloudCloudinstancesPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesPutForbidden added in v1.4.2

func NewPcloudCloudinstancesPutForbidden() *PcloudCloudinstancesPutForbidden

NewPcloudCloudinstancesPutForbidden creates a PcloudCloudinstancesPutForbidden with default headers values

func (*PcloudCloudinstancesPutForbidden) Code added in v1.4.2

Code gets the status code for the pcloud cloudinstances put forbidden response

func (*PcloudCloudinstancesPutForbidden) Error added in v1.4.2

func (*PcloudCloudinstancesPutForbidden) GetPayload added in v1.4.2

func (*PcloudCloudinstancesPutForbidden) IsClientError added in v1.4.2

func (o *PcloudCloudinstancesPutForbidden) IsClientError() bool

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

func (*PcloudCloudinstancesPutForbidden) IsCode added in v1.4.2

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

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

func (*PcloudCloudinstancesPutForbidden) IsRedirect added in v1.4.2

func (o *PcloudCloudinstancesPutForbidden) IsRedirect() bool

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

func (*PcloudCloudinstancesPutForbidden) IsServerError added in v1.4.2

func (o *PcloudCloudinstancesPutForbidden) IsServerError() bool

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

func (*PcloudCloudinstancesPutForbidden) IsSuccess added in v1.4.2

func (o *PcloudCloudinstancesPutForbidden) IsSuccess() bool

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

func (*PcloudCloudinstancesPutForbidden) String added in v1.4.2

type PcloudCloudinstancesPutInternalServerError

type PcloudCloudinstancesPutInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesPutInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesPutInternalServerError

func NewPcloudCloudinstancesPutInternalServerError() *PcloudCloudinstancesPutInternalServerError

NewPcloudCloudinstancesPutInternalServerError creates a PcloudCloudinstancesPutInternalServerError with default headers values

func (*PcloudCloudinstancesPutInternalServerError) Code added in v1.2.4

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

func (*PcloudCloudinstancesPutInternalServerError) Error

func (*PcloudCloudinstancesPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesPutInternalServerError) String added in v1.2.2

type PcloudCloudinstancesPutNotFound added in v1.4.2

type PcloudCloudinstancesPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesPutNotFound added in v1.4.2

func NewPcloudCloudinstancesPutNotFound() *PcloudCloudinstancesPutNotFound

NewPcloudCloudinstancesPutNotFound creates a PcloudCloudinstancesPutNotFound with default headers values

func (*PcloudCloudinstancesPutNotFound) Code added in v1.4.2

Code gets the status code for the pcloud cloudinstances put not found response

func (*PcloudCloudinstancesPutNotFound) Error added in v1.4.2

func (*PcloudCloudinstancesPutNotFound) GetPayload added in v1.4.2

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

func (*PcloudCloudinstancesPutNotFound) IsClientError added in v1.4.2

func (o *PcloudCloudinstancesPutNotFound) IsClientError() bool

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

func (*PcloudCloudinstancesPutNotFound) IsCode added in v1.4.2

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

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

func (*PcloudCloudinstancesPutNotFound) IsRedirect added in v1.4.2

func (o *PcloudCloudinstancesPutNotFound) IsRedirect() bool

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

func (*PcloudCloudinstancesPutNotFound) IsServerError added in v1.4.2

func (o *PcloudCloudinstancesPutNotFound) IsServerError() bool

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

func (*PcloudCloudinstancesPutNotFound) IsSuccess added in v1.4.2

func (o *PcloudCloudinstancesPutNotFound) IsSuccess() bool

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

func (*PcloudCloudinstancesPutNotFound) String added in v1.4.2

type PcloudCloudinstancesPutOK

type PcloudCloudinstancesPutOK struct {
	Payload *models.CloudInstance
}

PcloudCloudinstancesPutOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesPutOK

func NewPcloudCloudinstancesPutOK() *PcloudCloudinstancesPutOK

NewPcloudCloudinstancesPutOK creates a PcloudCloudinstancesPutOK with default headers values

func (*PcloudCloudinstancesPutOK) Code added in v1.2.4

func (o *PcloudCloudinstancesPutOK) Code() int

Code gets the status code for the pcloud cloudinstances put o k response

func (*PcloudCloudinstancesPutOK) Error

func (o *PcloudCloudinstancesPutOK) Error() string

func (*PcloudCloudinstancesPutOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesPutOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesPutOK) IsClientError() bool

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

func (*PcloudCloudinstancesPutOK) IsCode added in v1.2.2

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

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

func (*PcloudCloudinstancesPutOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesPutOK) IsRedirect() bool

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

func (*PcloudCloudinstancesPutOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesPutOK) IsServerError() bool

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

func (*PcloudCloudinstancesPutOK) IsSuccess added in v1.2.2

func (o *PcloudCloudinstancesPutOK) IsSuccess() bool

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

func (*PcloudCloudinstancesPutOK) String added in v1.2.2

func (o *PcloudCloudinstancesPutOK) String() string

type PcloudCloudinstancesPutParams

type PcloudCloudinstancesPutParams struct {

	/* Body.

	   Parameters for updating a Power Cloud Instance
	*/
	Body *models.CloudInstanceUpdate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudCloudinstancesPutParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances put operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesPutParams

func NewPcloudCloudinstancesPutParams() *PcloudCloudinstancesPutParams

NewPcloudCloudinstancesPutParams creates a new PcloudCloudinstancesPutParams 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 NewPcloudCloudinstancesPutParamsWithContext

func NewPcloudCloudinstancesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesPutParams

NewPcloudCloudinstancesPutParamsWithContext creates a new PcloudCloudinstancesPutParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesPutParamsWithHTTPClient

func NewPcloudCloudinstancesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams

NewPcloudCloudinstancesPutParamsWithHTTPClient creates a new PcloudCloudinstancesPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesPutParamsWithTimeout

func NewPcloudCloudinstancesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams

NewPcloudCloudinstancesPutParamsWithTimeout creates a new PcloudCloudinstancesPutParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesPutParams) SetBody

SetBody adds the body to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) SetCloudInstanceID

func (o *PcloudCloudinstancesPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) SetContext

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

SetContext adds the context to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) SetDefaults added in v1.1.0

func (o *PcloudCloudinstancesPutParams) SetDefaults()

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

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

func (*PcloudCloudinstancesPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) WithBody

WithBody adds the body to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) WithContext

WithContext adds the context to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) WithDefaults added in v1.1.0

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

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

func (*PcloudCloudinstancesPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances put params

func (*PcloudCloudinstancesPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesPutReader

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

PcloudCloudinstancesPutReader is a Reader for the PcloudCloudinstancesPut structure.

func (*PcloudCloudinstancesPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesPutUnauthorized added in v1.0.59

type PcloudCloudinstancesPutUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesPutUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudCloudinstancesPutUnauthorized added in v1.0.59

func NewPcloudCloudinstancesPutUnauthorized() *PcloudCloudinstancesPutUnauthorized

NewPcloudCloudinstancesPutUnauthorized creates a PcloudCloudinstancesPutUnauthorized with default headers values

func (*PcloudCloudinstancesPutUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances put unauthorized response

func (*PcloudCloudinstancesPutUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesPutUnauthorized) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesPutUnauthorized) IsClientError() bool

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

func (*PcloudCloudinstancesPutUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesPutUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesPutUnauthorized) IsRedirect() bool

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

func (*PcloudCloudinstancesPutUnauthorized) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesPutUnauthorized) IsServerError() bool

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

func (*PcloudCloudinstancesPutUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesPutUnauthorized) String added in v1.2.2

type PcloudCloudinstancesPutUnprocessableEntity

type PcloudCloudinstancesPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudCloudinstancesPutUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudCloudinstancesPutUnprocessableEntity

func NewPcloudCloudinstancesPutUnprocessableEntity() *PcloudCloudinstancesPutUnprocessableEntity

NewPcloudCloudinstancesPutUnprocessableEntity creates a PcloudCloudinstancesPutUnprocessableEntity with default headers values

func (*PcloudCloudinstancesPutUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances put unprocessable entity response

func (*PcloudCloudinstancesPutUnprocessableEntity) Error

func (*PcloudCloudinstancesPutUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudCloudinstancesPutUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesPutUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesPutUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesPutUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesPutUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesPutUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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