p_cloud_shared_processor_pools

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 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) Error

func (*PcloudSharedprocessorpoolsDeleteBadRequest) GetPayload

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) Error

func (*PcloudSharedprocessorpoolsDeleteConflict) GetPayload

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsDeleteForbidden) GetPayload added in v1.1.9

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) Error

func (*PcloudSharedprocessorpoolsDeleteInternalServerError) GetPayload

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsDeleteNotFound) GetPayload added in v1.1.9

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) Error

func (*PcloudSharedprocessorpoolsDeleteOK) GetPayload

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) Error

func (*PcloudSharedprocessorpoolsDeleteUnauthorized) GetPayload

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetBadRequest) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetInternalServerError) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetNotFound) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetOK) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetUnauthorized) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallBadRequest) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallForbidden) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallInternalServerError) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallNotFound) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallOK) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsGetallUnauthorized) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPostAccepted) GetPayload added in v1.1.9

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) Error

func (*PcloudSharedprocessorpoolsPostBadRequest) GetPayload

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) Error

func (*PcloudSharedprocessorpoolsPostConflict) GetPayload

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPostForbidden) GetPayload added in v1.1.9

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) Error

func (*PcloudSharedprocessorpoolsPostInternalServerError) GetPayload

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPostUnauthorized) GetPayload added in v1.1.9

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) Error

func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) GetPayload

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutBadRequest) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutForbidden) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutInternalServerError) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutNotFound) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutOK) GetPayload added in v1.1.9

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) Error added in v1.1.9

func (*PcloudSharedprocessorpoolsPutUnauthorized) GetPayload added in v1.1.9

Jump to

Keyboard shortcuts

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