Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudSharedprocessorpoolsDelete(params *PcloudSharedprocessorpoolsDeleteParams, ...) (*PcloudSharedprocessorpoolsDeleteOK, error)
- func (a *Client) PcloudSharedprocessorpoolsPost(params *PcloudSharedprocessorpoolsPostParams, ...) (*PcloudSharedprocessorpoolsPostOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudSharedprocessorpoolsDeleteBadRequest
- type PcloudSharedprocessorpoolsDeleteConflict
- type PcloudSharedprocessorpoolsDeleteInternalServerError
- type PcloudSharedprocessorpoolsDeleteOK
- type PcloudSharedprocessorpoolsDeleteParams
- func NewPcloudSharedprocessorpoolsDeleteParams() *PcloudSharedprocessorpoolsDeleteParams
- func NewPcloudSharedprocessorpoolsDeleteParamsWithContext(ctx context.Context) *PcloudSharedprocessorpoolsDeleteParams
- func NewPcloudSharedprocessorpoolsDeleteParamsWithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsDeleteParams
- func NewPcloudSharedprocessorpoolsDeleteParamsWithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsDeleteParams
- func (o *PcloudSharedprocessorpoolsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSharedprocessorpoolsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudSharedprocessorpoolsDeleteParams) SetDefaults()
- func (o *PcloudSharedprocessorpoolsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSharedprocessorpoolsDeleteParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)
- func (o *PcloudSharedprocessorpoolsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSharedprocessorpoolsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSharedprocessorpoolsDeleteParams
- func (o *PcloudSharedprocessorpoolsDeleteParams) WithContext(ctx context.Context) *PcloudSharedprocessorpoolsDeleteParams
- func (o *PcloudSharedprocessorpoolsDeleteParams) WithDefaults() *PcloudSharedprocessorpoolsDeleteParams
- func (o *PcloudSharedprocessorpoolsDeleteParams) WithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsDeleteParams
- func (o *PcloudSharedprocessorpoolsDeleteParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSharedprocessorpoolsDeleteParams
- func (o *PcloudSharedprocessorpoolsDeleteParams) WithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsDeleteParams
- func (o *PcloudSharedprocessorpoolsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSharedprocessorpoolsDeleteReader
- type PcloudSharedprocessorpoolsDeleteUnauthorized
- type PcloudSharedprocessorpoolsPostBadRequest
- type PcloudSharedprocessorpoolsPostConflict
- type PcloudSharedprocessorpoolsPostInternalServerError
- type PcloudSharedprocessorpoolsPostOK
- type PcloudSharedprocessorpoolsPostParams
- func NewPcloudSharedprocessorpoolsPostParams() *PcloudSharedprocessorpoolsPostParams
- func NewPcloudSharedprocessorpoolsPostParamsWithContext(ctx context.Context) *PcloudSharedprocessorpoolsPostParams
- func NewPcloudSharedprocessorpoolsPostParamsWithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsPostParams
- func NewPcloudSharedprocessorpoolsPostParamsWithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsPostParams
- func (o *PcloudSharedprocessorpoolsPostParams) SetBody(body *models.SharedProcessorPoolCreate)
- func (o *PcloudSharedprocessorpoolsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSharedprocessorpoolsPostParams) SetContext(ctx context.Context)
- func (o *PcloudSharedprocessorpoolsPostParams) SetDefaults()
- func (o *PcloudSharedprocessorpoolsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSharedprocessorpoolsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSharedprocessorpoolsPostParams) WithBody(body *models.SharedProcessorPoolCreate) *PcloudSharedprocessorpoolsPostParams
- func (o *PcloudSharedprocessorpoolsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSharedprocessorpoolsPostParams
- func (o *PcloudSharedprocessorpoolsPostParams) WithContext(ctx context.Context) *PcloudSharedprocessorpoolsPostParams
- func (o *PcloudSharedprocessorpoolsPostParams) WithDefaults() *PcloudSharedprocessorpoolsPostParams
- func (o *PcloudSharedprocessorpoolsPostParams) WithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsPostParams
- func (o *PcloudSharedprocessorpoolsPostParams) WithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsPostParams
- func (o *PcloudSharedprocessorpoolsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSharedprocessorpoolsPostReader
- type PcloudSharedprocessorpoolsPostUnprocessableEntity
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) PcloudSharedprocessorpoolsPost ¶
func (a *Client) PcloudSharedprocessorpoolsPost(params *PcloudSharedprocessorpoolsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSharedprocessorpoolsPostOK, error)
PcloudSharedprocessorpoolsPost creates a new shared processor pool
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 { 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 {
}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 (o *PcloudSharedprocessorpoolsDeleteBadRequest) Error() string
func (*PcloudSharedprocessorpoolsDeleteBadRequest) GetPayload ¶
func (o *PcloudSharedprocessorpoolsDeleteBadRequest) GetPayload() *models.Error
type PcloudSharedprocessorpoolsDeleteConflict ¶
type PcloudSharedprocessorpoolsDeleteConflict struct {
}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 (o *PcloudSharedprocessorpoolsDeleteConflict) Error() string
func (*PcloudSharedprocessorpoolsDeleteConflict) GetPayload ¶
func (o *PcloudSharedprocessorpoolsDeleteConflict) GetPayload() *models.Error
type PcloudSharedprocessorpoolsDeleteInternalServerError ¶
type PcloudSharedprocessorpoolsDeleteInternalServerError struct {
}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 (o *PcloudSharedprocessorpoolsDeleteInternalServerError) Error() string
func (*PcloudSharedprocessorpoolsDeleteInternalServerError) GetPayload ¶
func (o *PcloudSharedprocessorpoolsDeleteInternalServerError) GetPayload() *models.Error
type PcloudSharedprocessorpoolsDeleteOK ¶
type PcloudSharedprocessorpoolsDeleteOK struct {
}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 (o *PcloudSharedprocessorpoolsDeleteOK) Error() string
func (*PcloudSharedprocessorpoolsDeleteOK) GetPayload ¶
func (o *PcloudSharedprocessorpoolsDeleteOK) GetPayload() models.Object
type PcloudSharedprocessorpoolsDeleteParams ¶
type PcloudSharedprocessorpoolsDeleteParams struct { string SharedProcessorPoolID string // contains filtered or unexported fields }CloudInstanceID
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 ¶
func (o *PcloudSharedprocessorpoolsDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudSharedprocessorpoolsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSharedprocessorpoolsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sharedprocessorpools delete params
func (*PcloudSharedprocessorpoolsDeleteParams) WithContext ¶
func (o *PcloudSharedprocessorpoolsDeleteParams) WithContext(ctx context.Context) *PcloudSharedprocessorpoolsDeleteParams
WithContext adds the context to the pcloud sharedprocessorpools delete params
func (*PcloudSharedprocessorpoolsDeleteParams) WithDefaults ¶
func (o *PcloudSharedprocessorpoolsDeleteParams) WithDefaults() *PcloudSharedprocessorpoolsDeleteParams
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 ¶
func (o *PcloudSharedprocessorpoolsDeleteParams) WithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsDeleteParams
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 ¶
func (o *PcloudSharedprocessorpoolsDeleteParams) WithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsDeleteParams
WithTimeout adds the timeout to the pcloud sharedprocessorpools delete params
func (*PcloudSharedprocessorpoolsDeleteParams) WriteToRequest ¶
func (o *PcloudSharedprocessorpoolsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PcloudSharedprocessorpoolsDeleteUnauthorized) Error() string
func (*PcloudSharedprocessorpoolsDeleteUnauthorized) GetPayload ¶
func (o *PcloudSharedprocessorpoolsDeleteUnauthorized) GetPayload() *models.Error
type PcloudSharedprocessorpoolsPostBadRequest ¶
type PcloudSharedprocessorpoolsPostBadRequest struct {
}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 (o *PcloudSharedprocessorpoolsPostBadRequest) Error() string
func (*PcloudSharedprocessorpoolsPostBadRequest) GetPayload ¶
func (o *PcloudSharedprocessorpoolsPostBadRequest) GetPayload() *models.Error
type PcloudSharedprocessorpoolsPostConflict ¶
type PcloudSharedprocessorpoolsPostConflict struct {
}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 (o *PcloudSharedprocessorpoolsPostConflict) Error() string
func (*PcloudSharedprocessorpoolsPostConflict) GetPayload ¶
func (o *PcloudSharedprocessorpoolsPostConflict) GetPayload() *models.Error
type PcloudSharedprocessorpoolsPostInternalServerError ¶
type PcloudSharedprocessorpoolsPostInternalServerError struct {
}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 (o *PcloudSharedprocessorpoolsPostInternalServerError) Error() string
func (*PcloudSharedprocessorpoolsPostInternalServerError) GetPayload ¶
func (o *PcloudSharedprocessorpoolsPostInternalServerError) GetPayload() *models.Error
type PcloudSharedprocessorpoolsPostOK ¶
type PcloudSharedprocessorpoolsPostOK struct {
}PcloudSharedprocessorpoolsPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudSharedprocessorpoolsPostOK ¶
func NewPcloudSharedprocessorpoolsPostOK() *PcloudSharedprocessorpoolsPostOK
NewPcloudSharedprocessorpoolsPostOK creates a PcloudSharedprocessorpoolsPostOK with default headers values
func (*PcloudSharedprocessorpoolsPostOK) Error ¶
func (o *PcloudSharedprocessorpoolsPostOK) Error() string
func (*PcloudSharedprocessorpoolsPostOK) GetPayload ¶
func (o *PcloudSharedprocessorpoolsPostOK) GetPayload() *models.SharedProcessorPool
type PcloudSharedprocessorpoolsPostParams ¶
type PcloudSharedprocessorpoolsPostParams struct { models.SharedProcessorPoolCreate CloudInstanceID string // contains filtered or unexported fields }Body *
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 ¶
func (o *PcloudSharedprocessorpoolsPostParams) SetBody(body *models.SharedProcessorPoolCreate)
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 ¶
func (o *PcloudSharedprocessorpoolsPostParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudSharedprocessorpoolsPostParams) WithBody(body *models.SharedProcessorPoolCreate) *PcloudSharedprocessorpoolsPostParams
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 ¶
func (o *PcloudSharedprocessorpoolsPostParams) WithContext(ctx context.Context) *PcloudSharedprocessorpoolsPostParams
WithContext adds the context to the pcloud sharedprocessorpools post params
func (*PcloudSharedprocessorpoolsPostParams) WithDefaults ¶
func (o *PcloudSharedprocessorpoolsPostParams) WithDefaults() *PcloudSharedprocessorpoolsPostParams
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 ¶
func (o *PcloudSharedprocessorpoolsPostParams) WithHTTPClient(client *http.Client) *PcloudSharedprocessorpoolsPostParams
WithHTTPClient adds the HTTPClient to the pcloud sharedprocessorpools post params
func (*PcloudSharedprocessorpoolsPostParams) WithTimeout ¶
func (o *PcloudSharedprocessorpoolsPostParams) WithTimeout(timeout time.Duration) *PcloudSharedprocessorpoolsPostParams
WithTimeout adds the timeout to the pcloud sharedprocessorpools post params
func (*PcloudSharedprocessorpoolsPostParams) WriteToRequest ¶
func (o *PcloudSharedprocessorpoolsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 PcloudSharedprocessorpoolsPostUnprocessableEntity ¶
type PcloudSharedprocessorpoolsPostUnprocessableEntity struct {
}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 (o *PcloudSharedprocessorpoolsPostUnprocessableEntity) Error() string
func (*PcloudSharedprocessorpoolsPostUnprocessableEntity) GetPayload ¶
func (o *PcloudSharedprocessorpoolsPostUnprocessableEntity) GetPayload() *models.Error