p_cloud_shared_processor_pools

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for p cloud shared processor pools API

func (*Client) PcloudSharedprocessorpoolsDelete

func (a *Client) PcloudSharedprocessorpoolsDelete(params *PcloudSharedprocessorpoolsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsDeleteOK, error)

PcloudSharedprocessorpoolsDelete deletes a shared processor pool from a cloud instance

func (*Client) PcloudSharedprocessorpoolsGet added in v1.1.9

func (a *Client) PcloudSharedprocessorpoolsGet(params *PcloudSharedprocessorpoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsGetOK, error)

PcloudSharedprocessorpoolsGet gets the detail of a shared processor pool for a cloud instance

func (*Client) PcloudSharedprocessorpoolsGetall added in v1.1.9

func (a *Client) PcloudSharedprocessorpoolsGetall(params *PcloudSharedprocessorpoolsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsGetallOK, error)

PcloudSharedprocessorpoolsGetall gets the list of shared processor pools for a cloud instance

func (*Client) PcloudSharedprocessorpoolsPost

PcloudSharedprocessorpoolsPost creates a new shared processor pool

func (*Client) PcloudSharedprocessorpoolsPut added in v1.1.9

func (a *Client) PcloudSharedprocessorpoolsPut(params *PcloudSharedprocessorpoolsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsPutOK, error)

PcloudSharedprocessorpoolsPut updates a shared processor pool for a cloud instance

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	PcloudSharedprocessorpoolsDelete(params *PcloudSharedprocessorpoolsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsDeleteOK, error)

	PcloudSharedprocessorpoolsGet(params *PcloudSharedprocessorpoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsGetOK, error)

	PcloudSharedprocessorpoolsGetall(params *PcloudSharedprocessorpoolsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsGetallOK, error)

	PcloudSharedprocessorpoolsPost(params *PcloudSharedprocessorpoolsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsPostAccepted, error)

	PcloudSharedprocessorpoolsPut(params *PcloudSharedprocessorpoolsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsPutOK, 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 shared processor pools API client.

type PcloudSharedprocessorpoolsDeleteBadRequest

type PcloudSharedprocessorpoolsDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudSharedprocessorpoolsDeleteBadRequest

func NewPcloudSharedprocessorpoolsDeleteBadRequest() *PcloudSharedprocessorpoolsDeleteBadRequest

NewPcloudSharedprocessorpoolsDeleteBadRequest creates a PcloudSharedprocessorpoolsDeleteBadRequest with default headers values

func (*PcloudSharedprocessorpoolsDeleteBadRequest) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsDeleteBadRequest) Error

func (*PcloudSharedprocessorpoolsDeleteBadRequest) GetPayload

func (*PcloudSharedprocessorpoolsDeleteBadRequest) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteBadRequest) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteBadRequest) String added in v1.2.2

type PcloudSharedprocessorpoolsDeleteConflict

type PcloudSharedprocessorpoolsDeleteConflict struct {
	Payload *models.Error
}

PcloudSharedprocessorpoolsDeleteConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudSharedprocessorpoolsDeleteConflict

func NewPcloudSharedprocessorpoolsDeleteConflict() *PcloudSharedprocessorpoolsDeleteConflict

NewPcloudSharedprocessorpoolsDeleteConflict creates a PcloudSharedprocessorpoolsDeleteConflict with default headers values

func (*PcloudSharedprocessorpoolsDeleteConflict) Code added in v1.2.4

Code gets the status code for the pcloud sharedprocessorpools delete conflict response

func (*PcloudSharedprocessorpoolsDeleteConflict) Error

func (*PcloudSharedprocessorpoolsDeleteConflict) GetPayload

func (*PcloudSharedprocessorpoolsDeleteConflict) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sharedprocessorpools delete conflict response has a 4xx status code

func (*PcloudSharedprocessorpoolsDeleteConflict) IsCode added in v1.2.2

IsCode returns true when this pcloud sharedprocessorpools delete conflict response a status code equal to that given

func (*PcloudSharedprocessorpoolsDeleteConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sharedprocessorpools delete conflict response has a 3xx status code

func (*PcloudSharedprocessorpoolsDeleteConflict) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sharedprocessorpools delete conflict response has a 5xx status code

func (*PcloudSharedprocessorpoolsDeleteConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sharedprocessorpools delete conflict response has a 2xx status code

func (*PcloudSharedprocessorpoolsDeleteConflict) String added in v1.2.2

type PcloudSharedprocessorpoolsDeleteForbidden added in v1.1.9

type PcloudSharedprocessorpoolsDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudSharedprocessorpoolsDeleteForbidden added in v1.1.9

func NewPcloudSharedprocessorpoolsDeleteForbidden() *PcloudSharedprocessorpoolsDeleteForbidden

NewPcloudSharedprocessorpoolsDeleteForbidden creates a PcloudSharedprocessorpoolsDeleteForbidden with default headers values

func (*PcloudSharedprocessorpoolsDeleteForbidden) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsDeleteForbidden) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsDeleteForbidden) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsDeleteForbidden) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteForbidden) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteForbidden) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteForbidden) String added in v1.2.2

type PcloudSharedprocessorpoolsDeleteInternalServerError

type PcloudSharedprocessorpoolsDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudSharedprocessorpoolsDeleteInternalServerError

func NewPcloudSharedprocessorpoolsDeleteInternalServerError() *PcloudSharedprocessorpoolsDeleteInternalServerError

NewPcloudSharedprocessorpoolsDeleteInternalServerError creates a PcloudSharedprocessorpoolsDeleteInternalServerError with default headers values

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) Error

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) GetPayload

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) String added in v1.2.2

type PcloudSharedprocessorpoolsDeleteNotFound added in v1.1.9

type PcloudSharedprocessorpoolsDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudSharedprocessorpoolsDeleteNotFound added in v1.1.9

func NewPcloudSharedprocessorpoolsDeleteNotFound() *PcloudSharedprocessorpoolsDeleteNotFound

NewPcloudSharedprocessorpoolsDeleteNotFound creates a PcloudSharedprocessorpoolsDeleteNotFound with default headers values

func (*PcloudSharedprocessorpoolsDeleteNotFound) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsDeleteNotFound) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsDeleteNotFound) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsDeleteNotFound) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteNotFound) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteNotFound) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteNotFound) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteNotFound) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteNotFound) String added in v1.2.2

type PcloudSharedprocessorpoolsDeleteOK

type PcloudSharedprocessorpoolsDeleteOK struct {
	Payload models.Object
}

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

OK

func NewPcloudSharedprocessorpoolsDeleteOK

func NewPcloudSharedprocessorpoolsDeleteOK() *PcloudSharedprocessorpoolsDeleteOK

NewPcloudSharedprocessorpoolsDeleteOK creates a PcloudSharedprocessorpoolsDeleteOK with default headers values

func (*PcloudSharedprocessorpoolsDeleteOK) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsDeleteOK) Error

func (*PcloudSharedprocessorpoolsDeleteOK) GetPayload

func (*PcloudSharedprocessorpoolsDeleteOK) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsDeleteOK) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsDeleteOK) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteOK) IsRedirect added in v1.2.2

func (o *PcloudSharedprocessorpoolsDeleteOK) IsRedirect() bool

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

func (*PcloudSharedprocessorpoolsDeleteOK) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsDeleteOK) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsDeleteOK) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteOK) String added in v1.2.2

type PcloudSharedprocessorpoolsDeleteParams

type PcloudSharedprocessorpoolsDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SharedProcessorPoolID.

	   Shared Processor Pool ID or Name
	*/
	SharedProcessorPoolID string

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

PcloudSharedprocessorpoolsDeleteParams contains all the parameters to send to the API endpoint

for the pcloud sharedprocessorpools delete operation.

Typically these are written to a http.Request.

func NewPcloudSharedprocessorpoolsDeleteParams

func NewPcloudSharedprocessorpoolsDeleteParams() *PcloudSharedprocessorpoolsDeleteParams

NewPcloudSharedprocessorpoolsDeleteParams creates a new PcloudSharedprocessorpoolsDeleteParams 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 NewPcloudSharedprocessorpoolsDeleteParamsWithContext

func NewPcloudSharedprocessorpoolsDeleteParamsWithContext(ctx context.Context) *PcloudSharedprocessorpoolsDeleteParams

NewPcloudSharedprocessorpoolsDeleteParamsWithContext creates a new PcloudSharedprocessorpoolsDeleteParams object with the ability to set a context for a request.

func NewPcloudSharedprocessorpoolsDeleteParamsWithHTTPClient

func NewPcloudSharedprocessorpoolsDeleteParamsWithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsDeleteParams

NewPcloudSharedprocessorpoolsDeleteParamsWithHTTPClient creates a new PcloudSharedprocessorpoolsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSharedprocessorpoolsDeleteParamsWithTimeout

func NewPcloudSharedprocessorpoolsDeleteParamsWithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsDeleteParams

NewPcloudSharedprocessorpoolsDeleteParamsWithTimeout creates a new PcloudSharedprocessorpoolsDeleteParams object with the ability to set a timeout on a request.

func (*PcloudSharedprocessorpoolsDeleteParams) SetCloudInstanceID

func (o *PcloudSharedprocessorpoolsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) SetContext

SetContext adds the context to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) SetDefaults

func (o *PcloudSharedprocessorpoolsDeleteParams) SetDefaults()

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

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

func (*PcloudSharedprocessorpoolsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) SetSharedProcessorPoolID

func (o *PcloudSharedprocessorpoolsDeleteParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)

SetSharedProcessorPoolID adds the sharedProcessorPoolId to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) WithContext

WithContext adds the context to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) WithDefaults

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

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

func (*PcloudSharedprocessorpoolsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) WithSharedProcessorPoolID

func (o *PcloudSharedprocessorpoolsDeleteParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSharedprocessorpoolsDeleteParams

WithSharedProcessorPoolID adds the sharedProcessorPoolID to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud sharedprocessorpools delete params

func (*PcloudSharedprocessorpoolsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSharedprocessorpoolsDeleteReader

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

PcloudSharedprocessorpoolsDeleteReader is a Reader for the PcloudSharedprocessorpoolsDelete structure.

func (*PcloudSharedprocessorpoolsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudSharedprocessorpoolsDeleteUnauthorized

type PcloudSharedprocessorpoolsDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudSharedprocessorpoolsDeleteUnauthorized

func NewPcloudSharedprocessorpoolsDeleteUnauthorized() *PcloudSharedprocessorpoolsDeleteUnauthorized

NewPcloudSharedprocessorpoolsDeleteUnauthorized creates a PcloudSharedprocessorpoolsDeleteUnauthorized with default headers values

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) Error

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) GetPayload

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) String added in v1.2.2

type PcloudSharedprocessorpoolsGetBadRequest added in v1.1.9

type PcloudSharedprocessorpoolsGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudSharedprocessorpoolsGetBadRequest added in v1.1.9

func NewPcloudSharedprocessorpoolsGetBadRequest() *PcloudSharedprocessorpoolsGetBadRequest

NewPcloudSharedprocessorpoolsGetBadRequest creates a PcloudSharedprocessorpoolsGetBadRequest with default headers values

func (*PcloudSharedprocessorpoolsGetBadRequest) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetBadRequest) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetBadRequest) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetBadRequest) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsGetBadRequest) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetBadRequest) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetBadRequest) String added in v1.2.2

type PcloudSharedprocessorpoolsGetInternalServerError added in v1.1.9

type PcloudSharedprocessorpoolsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudSharedprocessorpoolsGetInternalServerError added in v1.1.9

func NewPcloudSharedprocessorpoolsGetInternalServerError() *PcloudSharedprocessorpoolsGetInternalServerError

NewPcloudSharedprocessorpoolsGetInternalServerError creates a PcloudSharedprocessorpoolsGetInternalServerError with default headers values

func (*PcloudSharedprocessorpoolsGetInternalServerError) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetInternalServerError) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetInternalServerError) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetInternalServerError) String added in v1.2.2

type PcloudSharedprocessorpoolsGetNotFound added in v1.1.9

type PcloudSharedprocessorpoolsGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudSharedprocessorpoolsGetNotFound added in v1.1.9

func NewPcloudSharedprocessorpoolsGetNotFound() *PcloudSharedprocessorpoolsGetNotFound

NewPcloudSharedprocessorpoolsGetNotFound creates a PcloudSharedprocessorpoolsGetNotFound with default headers values

func (*PcloudSharedprocessorpoolsGetNotFound) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetNotFound) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetNotFound) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetNotFound) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetNotFound) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsGetNotFound) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetNotFound) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetNotFound) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetNotFound) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsGetNotFound) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetNotFound) String added in v1.2.2

type PcloudSharedprocessorpoolsGetOK added in v1.1.9

type PcloudSharedprocessorpoolsGetOK struct {
	Payload *models.SharedProcessorPoolDetail
}

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

OK

func NewPcloudSharedprocessorpoolsGetOK added in v1.1.9

func NewPcloudSharedprocessorpoolsGetOK() *PcloudSharedprocessorpoolsGetOK

NewPcloudSharedprocessorpoolsGetOK creates a PcloudSharedprocessorpoolsGetOK with default headers values

func (*PcloudSharedprocessorpoolsGetOK) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetOK) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetOK) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetOK) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetOK) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsGetOK) IsCode added in v1.2.2

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

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

func (*PcloudSharedprocessorpoolsGetOK) IsRedirect added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetOK) IsRedirect() bool

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

func (*PcloudSharedprocessorpoolsGetOK) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetOK) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsGetOK) IsSuccess added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetOK) IsSuccess() bool

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

func (*PcloudSharedprocessorpoolsGetOK) String added in v1.2.2

type PcloudSharedprocessorpoolsGetParams added in v1.1.9

type PcloudSharedprocessorpoolsGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SharedProcessorPoolID.

	   Shared Processor Pool ID or Name
	*/
	SharedProcessorPoolID string

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

PcloudSharedprocessorpoolsGetParams contains all the parameters to send to the API endpoint

for the pcloud sharedprocessorpools get operation.

Typically these are written to a http.Request.

func NewPcloudSharedprocessorpoolsGetParams added in v1.1.9

func NewPcloudSharedprocessorpoolsGetParams() *PcloudSharedprocessorpoolsGetParams

NewPcloudSharedprocessorpoolsGetParams creates a new PcloudSharedprocessorpoolsGetParams 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 NewPcloudSharedprocessorpoolsGetParamsWithContext added in v1.1.9

func NewPcloudSharedprocessorpoolsGetParamsWithContext(ctx context.Context) *PcloudSharedprocessorpoolsGetParams

NewPcloudSharedprocessorpoolsGetParamsWithContext creates a new PcloudSharedprocessorpoolsGetParams object with the ability to set a context for a request.

func NewPcloudSharedprocessorpoolsGetParamsWithHTTPClient added in v1.1.9

func NewPcloudSharedprocessorpoolsGetParamsWithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsGetParams

NewPcloudSharedprocessorpoolsGetParamsWithHTTPClient creates a new PcloudSharedprocessorpoolsGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSharedprocessorpoolsGetParamsWithTimeout added in v1.1.9

func NewPcloudSharedprocessorpoolsGetParamsWithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsGetParams

NewPcloudSharedprocessorpoolsGetParamsWithTimeout creates a new PcloudSharedprocessorpoolsGetParams object with the ability to set a timeout on a request.

func (*PcloudSharedprocessorpoolsGetParams) SetCloudInstanceID added in v1.1.9

func (o *PcloudSharedprocessorpoolsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) SetContext added in v1.1.9

SetContext adds the context to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) SetDefaults added in v1.1.9

func (o *PcloudSharedprocessorpoolsGetParams) SetDefaults()

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

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

func (*PcloudSharedprocessorpoolsGetParams) SetHTTPClient added in v1.1.9

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

SetHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) SetSharedProcessorPoolID added in v1.1.9

func (o *PcloudSharedprocessorpoolsGetParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)

SetSharedProcessorPoolID adds the sharedProcessorPoolId to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) SetTimeout added in v1.1.9

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

SetTimeout adds the timeout to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) WithCloudInstanceID added in v1.1.9

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) WithContext added in v1.1.9

WithContext adds the context to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) WithDefaults added in v1.1.9

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

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

func (*PcloudSharedprocessorpoolsGetParams) WithHTTPClient added in v1.1.9

WithHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) WithSharedProcessorPoolID added in v1.1.9

func (o *PcloudSharedprocessorpoolsGetParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSharedprocessorpoolsGetParams

WithSharedProcessorPoolID adds the sharedProcessorPoolID to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) WithTimeout added in v1.1.9

WithTimeout adds the timeout to the pcloud sharedprocessorpools get params

func (*PcloudSharedprocessorpoolsGetParams) WriteToRequest added in v1.1.9

WriteToRequest writes these params to a swagger request

type PcloudSharedprocessorpoolsGetReader added in v1.1.9

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

PcloudSharedprocessorpoolsGetReader is a Reader for the PcloudSharedprocessorpoolsGet structure.

func (*PcloudSharedprocessorpoolsGetReader) ReadResponse added in v1.1.9

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

ReadResponse reads a server response into the received o.

type PcloudSharedprocessorpoolsGetUnauthorized added in v1.1.9

type PcloudSharedprocessorpoolsGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudSharedprocessorpoolsGetUnauthorized added in v1.1.9

func NewPcloudSharedprocessorpoolsGetUnauthorized() *PcloudSharedprocessorpoolsGetUnauthorized

NewPcloudSharedprocessorpoolsGetUnauthorized creates a PcloudSharedprocessorpoolsGetUnauthorized with default headers values

func (*PcloudSharedprocessorpoolsGetUnauthorized) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetUnauthorized) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetUnauthorized) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetUnauthorized) String added in v1.2.2

type PcloudSharedprocessorpoolsGetallBadRequest added in v1.1.9

type PcloudSharedprocessorpoolsGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudSharedprocessorpoolsGetallBadRequest added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallBadRequest() *PcloudSharedprocessorpoolsGetallBadRequest

NewPcloudSharedprocessorpoolsGetallBadRequest creates a PcloudSharedprocessorpoolsGetallBadRequest with default headers values

func (*PcloudSharedprocessorpoolsGetallBadRequest) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetallBadRequest) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallBadRequest) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallBadRequest) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallBadRequest) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallBadRequest) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallBadRequest) String added in v1.2.2

type PcloudSharedprocessorpoolsGetallForbidden added in v1.1.9

type PcloudSharedprocessorpoolsGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudSharedprocessorpoolsGetallForbidden added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallForbidden() *PcloudSharedprocessorpoolsGetallForbidden

NewPcloudSharedprocessorpoolsGetallForbidden creates a PcloudSharedprocessorpoolsGetallForbidden with default headers values

func (*PcloudSharedprocessorpoolsGetallForbidden) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetallForbidden) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallForbidden) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallForbidden) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallForbidden) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallForbidden) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallForbidden) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallForbidden) String added in v1.2.2

type PcloudSharedprocessorpoolsGetallInternalServerError added in v1.1.9

type PcloudSharedprocessorpoolsGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudSharedprocessorpoolsGetallInternalServerError added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallInternalServerError() *PcloudSharedprocessorpoolsGetallInternalServerError

NewPcloudSharedprocessorpoolsGetallInternalServerError creates a PcloudSharedprocessorpoolsGetallInternalServerError with default headers values

func (*PcloudSharedprocessorpoolsGetallInternalServerError) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetallInternalServerError) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallInternalServerError) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallInternalServerError) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallInternalServerError) String added in v1.2.2

type PcloudSharedprocessorpoolsGetallNotFound added in v1.1.9

type PcloudSharedprocessorpoolsGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudSharedprocessorpoolsGetallNotFound added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallNotFound() *PcloudSharedprocessorpoolsGetallNotFound

NewPcloudSharedprocessorpoolsGetallNotFound creates a PcloudSharedprocessorpoolsGetallNotFound with default headers values

func (*PcloudSharedprocessorpoolsGetallNotFound) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetallNotFound) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallNotFound) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallNotFound) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallNotFound) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallNotFound) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallNotFound) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallNotFound) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallNotFound) String added in v1.2.2

type PcloudSharedprocessorpoolsGetallOK added in v1.1.9

type PcloudSharedprocessorpoolsGetallOK struct {
	Payload *models.SharedProcessorPools
}

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

OK

func NewPcloudSharedprocessorpoolsGetallOK added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallOK() *PcloudSharedprocessorpoolsGetallOK

NewPcloudSharedprocessorpoolsGetallOK creates a PcloudSharedprocessorpoolsGetallOK with default headers values

func (*PcloudSharedprocessorpoolsGetallOK) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetallOK) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallOK) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallOK) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetallOK) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsGetallOK) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallOK) IsRedirect added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetallOK) IsRedirect() bool

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

func (*PcloudSharedprocessorpoolsGetallOK) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsGetallOK) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsGetallOK) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallOK) String added in v1.2.2

type PcloudSharedprocessorpoolsGetallParams added in v1.1.9

type PcloudSharedprocessorpoolsGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudSharedprocessorpoolsGetallParams contains all the parameters to send to the API endpoint

for the pcloud sharedprocessorpools getall operation.

Typically these are written to a http.Request.

func NewPcloudSharedprocessorpoolsGetallParams added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallParams() *PcloudSharedprocessorpoolsGetallParams

NewPcloudSharedprocessorpoolsGetallParams creates a new PcloudSharedprocessorpoolsGetallParams 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 NewPcloudSharedprocessorpoolsGetallParamsWithContext added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallParamsWithContext(ctx context.Context) *PcloudSharedprocessorpoolsGetallParams

NewPcloudSharedprocessorpoolsGetallParamsWithContext creates a new PcloudSharedprocessorpoolsGetallParams object with the ability to set a context for a request.

func NewPcloudSharedprocessorpoolsGetallParamsWithHTTPClient added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallParamsWithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsGetallParams

NewPcloudSharedprocessorpoolsGetallParamsWithHTTPClient creates a new PcloudSharedprocessorpoolsGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSharedprocessorpoolsGetallParamsWithTimeout added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallParamsWithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsGetallParams

NewPcloudSharedprocessorpoolsGetallParamsWithTimeout creates a new PcloudSharedprocessorpoolsGetallParams object with the ability to set a timeout on a request.

func (*PcloudSharedprocessorpoolsGetallParams) SetCloudInstanceID added in v1.1.9

func (o *PcloudSharedprocessorpoolsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) SetContext added in v1.1.9

SetContext adds the context to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) SetDefaults added in v1.1.9

func (o *PcloudSharedprocessorpoolsGetallParams) SetDefaults()

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

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

func (*PcloudSharedprocessorpoolsGetallParams) SetHTTPClient added in v1.1.9

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

SetHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) SetTimeout added in v1.1.9

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

SetTimeout adds the timeout to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) WithCloudInstanceID added in v1.1.9

WithCloudInstanceID adds the cloudInstanceID to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) WithContext added in v1.1.9

WithContext adds the context to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) WithDefaults added in v1.1.9

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

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

func (*PcloudSharedprocessorpoolsGetallParams) WithHTTPClient added in v1.1.9

WithHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) WithTimeout added in v1.1.9

WithTimeout adds the timeout to the pcloud sharedprocessorpools getall params

func (*PcloudSharedprocessorpoolsGetallParams) WriteToRequest added in v1.1.9

WriteToRequest writes these params to a swagger request

type PcloudSharedprocessorpoolsGetallReader added in v1.1.9

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

PcloudSharedprocessorpoolsGetallReader is a Reader for the PcloudSharedprocessorpoolsGetall structure.

func (*PcloudSharedprocessorpoolsGetallReader) ReadResponse added in v1.1.9

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

ReadResponse reads a server response into the received o.

type PcloudSharedprocessorpoolsGetallUnauthorized added in v1.1.9

type PcloudSharedprocessorpoolsGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudSharedprocessorpoolsGetallUnauthorized added in v1.1.9

func NewPcloudSharedprocessorpoolsGetallUnauthorized() *PcloudSharedprocessorpoolsGetallUnauthorized

NewPcloudSharedprocessorpoolsGetallUnauthorized creates a PcloudSharedprocessorpoolsGetallUnauthorized with default headers values

func (*PcloudSharedprocessorpoolsGetallUnauthorized) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsGetallUnauthorized) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallUnauthorized) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallUnauthorized) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsGetallUnauthorized) String added in v1.2.2

type PcloudSharedprocessorpoolsPostAccepted added in v1.1.9

type PcloudSharedprocessorpoolsPostAccepted struct {
	Payload *models.SharedProcessorPool
}

PcloudSharedprocessorpoolsPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudSharedprocessorpoolsPostAccepted added in v1.1.9

func NewPcloudSharedprocessorpoolsPostAccepted() *PcloudSharedprocessorpoolsPostAccepted

NewPcloudSharedprocessorpoolsPostAccepted creates a PcloudSharedprocessorpoolsPostAccepted with default headers values

func (*PcloudSharedprocessorpoolsPostAccepted) Code added in v1.2.4

Code gets the status code for the pcloud sharedprocessorpools post accepted response

func (*PcloudSharedprocessorpoolsPostAccepted) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPostAccepted) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPostAccepted) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud sharedprocessorpools post accepted response has a 4xx status code

func (*PcloudSharedprocessorpoolsPostAccepted) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sharedprocessorpools post accepted response has a 3xx status code

func (*PcloudSharedprocessorpoolsPostAccepted) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud sharedprocessorpools post accepted response has a 5xx status code

func (*PcloudSharedprocessorpoolsPostAccepted) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sharedprocessorpools post accepted response has a 2xx status code

func (*PcloudSharedprocessorpoolsPostAccepted) String added in v1.2.2

type PcloudSharedprocessorpoolsPostBadRequest

type PcloudSharedprocessorpoolsPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudSharedprocessorpoolsPostBadRequest

func NewPcloudSharedprocessorpoolsPostBadRequest() *PcloudSharedprocessorpoolsPostBadRequest

NewPcloudSharedprocessorpoolsPostBadRequest creates a PcloudSharedprocessorpoolsPostBadRequest with default headers values

func (*PcloudSharedprocessorpoolsPostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud sharedprocessorpools post bad request response

func (*PcloudSharedprocessorpoolsPostBadRequest) Error

func (*PcloudSharedprocessorpoolsPostBadRequest) GetPayload

func (*PcloudSharedprocessorpoolsPostBadRequest) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostBadRequest) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostBadRequest) String added in v1.2.2

type PcloudSharedprocessorpoolsPostConflict

type PcloudSharedprocessorpoolsPostConflict struct {
	Payload *models.Error
}

PcloudSharedprocessorpoolsPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudSharedprocessorpoolsPostConflict

func NewPcloudSharedprocessorpoolsPostConflict() *PcloudSharedprocessorpoolsPostConflict

NewPcloudSharedprocessorpoolsPostConflict creates a PcloudSharedprocessorpoolsPostConflict with default headers values

func (*PcloudSharedprocessorpoolsPostConflict) Code added in v1.2.4

Code gets the status code for the pcloud sharedprocessorpools post conflict response

func (*PcloudSharedprocessorpoolsPostConflict) Error

func (*PcloudSharedprocessorpoolsPostConflict) GetPayload

func (*PcloudSharedprocessorpoolsPostConflict) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPostConflict) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsPostConflict) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostConflict) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostConflict) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPostConflict) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsPostConflict) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostConflict) String added in v1.2.2

type PcloudSharedprocessorpoolsPostForbidden added in v1.1.9

type PcloudSharedprocessorpoolsPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudSharedprocessorpoolsPostForbidden added in v1.1.9

func NewPcloudSharedprocessorpoolsPostForbidden() *PcloudSharedprocessorpoolsPostForbidden

NewPcloudSharedprocessorpoolsPostForbidden creates a PcloudSharedprocessorpoolsPostForbidden with default headers values

func (*PcloudSharedprocessorpoolsPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud sharedprocessorpools post forbidden response

func (*PcloudSharedprocessorpoolsPostForbidden) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPostForbidden) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPostForbidden) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPostForbidden) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsPostForbidden) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostForbidden) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostForbidden) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPostForbidden) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsPostForbidden) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostForbidden) String added in v1.2.2

type PcloudSharedprocessorpoolsPostInternalServerError

type PcloudSharedprocessorpoolsPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudSharedprocessorpoolsPostInternalServerError

func NewPcloudSharedprocessorpoolsPostInternalServerError() *PcloudSharedprocessorpoolsPostInternalServerError

NewPcloudSharedprocessorpoolsPostInternalServerError creates a PcloudSharedprocessorpoolsPostInternalServerError with default headers values

func (*PcloudSharedprocessorpoolsPostInternalServerError) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsPostInternalServerError) Error

func (*PcloudSharedprocessorpoolsPostInternalServerError) GetPayload

func (*PcloudSharedprocessorpoolsPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostInternalServerError) String added in v1.2.2

type PcloudSharedprocessorpoolsPostParams

type PcloudSharedprocessorpoolsPostParams struct {

	/* Body.

	   Parameters for the creation of a new Shared Processor Pool
	*/
	Body *models.SharedProcessorPoolCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudSharedprocessorpoolsPostParams contains all the parameters to send to the API endpoint

for the pcloud sharedprocessorpools post operation.

Typically these are written to a http.Request.

func NewPcloudSharedprocessorpoolsPostParams

func NewPcloudSharedprocessorpoolsPostParams() *PcloudSharedprocessorpoolsPostParams

NewPcloudSharedprocessorpoolsPostParams creates a new PcloudSharedprocessorpoolsPostParams 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 NewPcloudSharedprocessorpoolsPostParamsWithContext

func NewPcloudSharedprocessorpoolsPostParamsWithContext(ctx context.Context) *PcloudSharedprocessorpoolsPostParams

NewPcloudSharedprocessorpoolsPostParamsWithContext creates a new PcloudSharedprocessorpoolsPostParams object with the ability to set a context for a request.

func NewPcloudSharedprocessorpoolsPostParamsWithHTTPClient

func NewPcloudSharedprocessorpoolsPostParamsWithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsPostParams

NewPcloudSharedprocessorpoolsPostParamsWithHTTPClient creates a new PcloudSharedprocessorpoolsPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSharedprocessorpoolsPostParamsWithTimeout

func NewPcloudSharedprocessorpoolsPostParamsWithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsPostParams

NewPcloudSharedprocessorpoolsPostParamsWithTimeout creates a new PcloudSharedprocessorpoolsPostParams object with the ability to set a timeout on a request.

func (*PcloudSharedprocessorpoolsPostParams) SetBody

SetBody adds the body to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) SetCloudInstanceID

func (o *PcloudSharedprocessorpoolsPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) SetContext

SetContext adds the context to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) SetDefaults

func (o *PcloudSharedprocessorpoolsPostParams) SetDefaults()

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

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

func (*PcloudSharedprocessorpoolsPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) WithBody

WithBody adds the body to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) WithContext

WithContext adds the context to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) WithDefaults

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

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

func (*PcloudSharedprocessorpoolsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud sharedprocessorpools post params

func (*PcloudSharedprocessorpoolsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSharedprocessorpoolsPostReader

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

PcloudSharedprocessorpoolsPostReader is a Reader for the PcloudSharedprocessorpoolsPost structure.

func (*PcloudSharedprocessorpoolsPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudSharedprocessorpoolsPostUnauthorized added in v1.1.9

type PcloudSharedprocessorpoolsPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudSharedprocessorpoolsPostUnauthorized added in v1.1.9

func NewPcloudSharedprocessorpoolsPostUnauthorized() *PcloudSharedprocessorpoolsPostUnauthorized

NewPcloudSharedprocessorpoolsPostUnauthorized creates a PcloudSharedprocessorpoolsPostUnauthorized with default headers values

func (*PcloudSharedprocessorpoolsPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud sharedprocessorpools post unauthorized response

func (*PcloudSharedprocessorpoolsPostUnauthorized) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPostUnauthorized) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPostUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnauthorized) String added in v1.2.2

type PcloudSharedprocessorpoolsPostUnprocessableEntity

type PcloudSharedprocessorpoolsPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudSharedprocessorpoolsPostUnprocessableEntity

func NewPcloudSharedprocessorpoolsPostUnprocessableEntity() *PcloudSharedprocessorpoolsPostUnprocessableEntity

NewPcloudSharedprocessorpoolsPostUnprocessableEntity creates a PcloudSharedprocessorpoolsPostUnprocessableEntity with default headers values

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud sharedprocessorpools post unprocessable entity response

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) Error

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) GetPayload

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) String added in v1.2.2

type PcloudSharedprocessorpoolsPutBadRequest added in v1.1.9

type PcloudSharedprocessorpoolsPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudSharedprocessorpoolsPutBadRequest added in v1.1.9

func NewPcloudSharedprocessorpoolsPutBadRequest() *PcloudSharedprocessorpoolsPutBadRequest

NewPcloudSharedprocessorpoolsPutBadRequest creates a PcloudSharedprocessorpoolsPutBadRequest with default headers values

func (*PcloudSharedprocessorpoolsPutBadRequest) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsPutBadRequest) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutBadRequest) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPutBadRequest) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutBadRequest) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsPutBadRequest) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutBadRequest) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutBadRequest) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsPutBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutBadRequest) String added in v1.2.2

type PcloudSharedprocessorpoolsPutForbidden added in v1.1.9

type PcloudSharedprocessorpoolsPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudSharedprocessorpoolsPutForbidden added in v1.1.9

func NewPcloudSharedprocessorpoolsPutForbidden() *PcloudSharedprocessorpoolsPutForbidden

NewPcloudSharedprocessorpoolsPutForbidden creates a PcloudSharedprocessorpoolsPutForbidden with default headers values

func (*PcloudSharedprocessorpoolsPutForbidden) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsPutForbidden) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutForbidden) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPutForbidden) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutForbidden) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsPutForbidden) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutForbidden) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutForbidden) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutForbidden) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsPutForbidden) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutForbidden) String added in v1.2.2

type PcloudSharedprocessorpoolsPutInternalServerError added in v1.1.9

type PcloudSharedprocessorpoolsPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudSharedprocessorpoolsPutInternalServerError added in v1.1.9

func NewPcloudSharedprocessorpoolsPutInternalServerError() *PcloudSharedprocessorpoolsPutInternalServerError

NewPcloudSharedprocessorpoolsPutInternalServerError creates a PcloudSharedprocessorpoolsPutInternalServerError with default headers values

func (*PcloudSharedprocessorpoolsPutInternalServerError) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsPutInternalServerError) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutInternalServerError) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutInternalServerError) String added in v1.2.2

type PcloudSharedprocessorpoolsPutNotFound added in v1.1.9

type PcloudSharedprocessorpoolsPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudSharedprocessorpoolsPutNotFound added in v1.1.9

func NewPcloudSharedprocessorpoolsPutNotFound() *PcloudSharedprocessorpoolsPutNotFound

NewPcloudSharedprocessorpoolsPutNotFound creates a PcloudSharedprocessorpoolsPutNotFound with default headers values

func (*PcloudSharedprocessorpoolsPutNotFound) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsPutNotFound) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutNotFound) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPutNotFound) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutNotFound) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsPutNotFound) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutNotFound) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutNotFound) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutNotFound) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsPutNotFound) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutNotFound) String added in v1.2.2

type PcloudSharedprocessorpoolsPutOK added in v1.1.9

type PcloudSharedprocessorpoolsPutOK struct {
	Payload *models.SharedProcessorPool
}

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

OK

func NewPcloudSharedprocessorpoolsPutOK added in v1.1.9

func NewPcloudSharedprocessorpoolsPutOK() *PcloudSharedprocessorpoolsPutOK

NewPcloudSharedprocessorpoolsPutOK creates a PcloudSharedprocessorpoolsPutOK with default headers values

func (*PcloudSharedprocessorpoolsPutOK) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsPutOK) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutOK) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPutOK) IsClientError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutOK) IsClientError() bool

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

func (*PcloudSharedprocessorpoolsPutOK) IsCode added in v1.2.2

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

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

func (*PcloudSharedprocessorpoolsPutOK) IsRedirect added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutOK) IsRedirect() bool

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

func (*PcloudSharedprocessorpoolsPutOK) IsServerError added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutOK) IsServerError() bool

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

func (*PcloudSharedprocessorpoolsPutOK) IsSuccess added in v1.2.2

func (o *PcloudSharedprocessorpoolsPutOK) IsSuccess() bool

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

func (*PcloudSharedprocessorpoolsPutOK) String added in v1.2.2

type PcloudSharedprocessorpoolsPutParams added in v1.1.9

type PcloudSharedprocessorpoolsPutParams struct {

	/* Body.

	   Parameters for the update of a Shared Processor Pool
	*/
	Body *models.SharedProcessorPoolUpdate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SharedProcessorPoolID.

	   Shared Processor Pool ID or Name
	*/
	SharedProcessorPoolID string

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

PcloudSharedprocessorpoolsPutParams contains all the parameters to send to the API endpoint

for the pcloud sharedprocessorpools put operation.

Typically these are written to a http.Request.

func NewPcloudSharedprocessorpoolsPutParams added in v1.1.9

func NewPcloudSharedprocessorpoolsPutParams() *PcloudSharedprocessorpoolsPutParams

NewPcloudSharedprocessorpoolsPutParams creates a new PcloudSharedprocessorpoolsPutParams 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 NewPcloudSharedprocessorpoolsPutParamsWithContext added in v1.1.9

func NewPcloudSharedprocessorpoolsPutParamsWithContext(ctx context.Context) *PcloudSharedprocessorpoolsPutParams

NewPcloudSharedprocessorpoolsPutParamsWithContext creates a new PcloudSharedprocessorpoolsPutParams object with the ability to set a context for a request.

func NewPcloudSharedprocessorpoolsPutParamsWithHTTPClient added in v1.1.9

func NewPcloudSharedprocessorpoolsPutParamsWithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsPutParams

NewPcloudSharedprocessorpoolsPutParamsWithHTTPClient creates a new PcloudSharedprocessorpoolsPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSharedprocessorpoolsPutParamsWithTimeout added in v1.1.9

func NewPcloudSharedprocessorpoolsPutParamsWithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsPutParams

NewPcloudSharedprocessorpoolsPutParamsWithTimeout creates a new PcloudSharedprocessorpoolsPutParams object with the ability to set a timeout on a request.

func (*PcloudSharedprocessorpoolsPutParams) SetBody added in v1.1.9

SetBody adds the body to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) SetCloudInstanceID added in v1.1.9

func (o *PcloudSharedprocessorpoolsPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) SetContext added in v1.1.9

SetContext adds the context to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) SetDefaults added in v1.1.9

func (o *PcloudSharedprocessorpoolsPutParams) SetDefaults()

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

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

func (*PcloudSharedprocessorpoolsPutParams) SetHTTPClient added in v1.1.9

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

SetHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) SetSharedProcessorPoolID added in v1.1.9

func (o *PcloudSharedprocessorpoolsPutParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)

SetSharedProcessorPoolID adds the sharedProcessorPoolId to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) SetTimeout added in v1.1.9

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

SetTimeout adds the timeout to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) WithBody added in v1.1.9

WithBody adds the body to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) WithCloudInstanceID added in v1.1.9

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) WithContext added in v1.1.9

WithContext adds the context to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) WithDefaults added in v1.1.9

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

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

func (*PcloudSharedprocessorpoolsPutParams) WithHTTPClient added in v1.1.9

WithHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) WithSharedProcessorPoolID added in v1.1.9

func (o *PcloudSharedprocessorpoolsPutParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSharedprocessorpoolsPutParams

WithSharedProcessorPoolID adds the sharedProcessorPoolID to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) WithTimeout added in v1.1.9

WithTimeout adds the timeout to the pcloud sharedprocessorpools put params

func (*PcloudSharedprocessorpoolsPutParams) WriteToRequest added in v1.1.9

WriteToRequest writes these params to a swagger request

type PcloudSharedprocessorpoolsPutReader added in v1.1.9

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

PcloudSharedprocessorpoolsPutReader is a Reader for the PcloudSharedprocessorpoolsPut structure.

func (*PcloudSharedprocessorpoolsPutReader) ReadResponse added in v1.1.9

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

ReadResponse reads a server response into the received o.

type PcloudSharedprocessorpoolsPutUnauthorized added in v1.1.9

type PcloudSharedprocessorpoolsPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudSharedprocessorpoolsPutUnauthorized added in v1.1.9

func NewPcloudSharedprocessorpoolsPutUnauthorized() *PcloudSharedprocessorpoolsPutUnauthorized

NewPcloudSharedprocessorpoolsPutUnauthorized creates a PcloudSharedprocessorpoolsPutUnauthorized with default headers values

func (*PcloudSharedprocessorpoolsPutUnauthorized) Code added in v1.2.4

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

func (*PcloudSharedprocessorpoolsPutUnauthorized) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutUnauthorized) GetPayload added in v1.1.9

func (*PcloudSharedprocessorpoolsPutUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutUnauthorized) IsCode added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudSharedprocessorpoolsPutUnauthorized) String added in v1.2.2

Jump to

Keyboard shortcuts

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