Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudSppplacementgroupsDelete(params *PcloudSppplacementgroupsDeleteParams, ...) (*PcloudSppplacementgroupsDeleteOK, error)
- func (a *Client) PcloudSppplacementgroupsGet(params *PcloudSppplacementgroupsGetParams, ...) (*PcloudSppplacementgroupsGetOK, error)
- func (a *Client) PcloudSppplacementgroupsGetall(params *PcloudSppplacementgroupsGetallParams, ...) (*PcloudSppplacementgroupsGetallOK, error)
- func (a *Client) PcloudSppplacementgroupsMembersDelete(params *PcloudSppplacementgroupsMembersDeleteParams, ...) (*PcloudSppplacementgroupsMembersDeleteOK, error)
- func (a *Client) PcloudSppplacementgroupsMembersPost(params *PcloudSppplacementgroupsMembersPostParams, ...) (*PcloudSppplacementgroupsMembersPostOK, error)
- func (a *Client) PcloudSppplacementgroupsPost(params *PcloudSppplacementgroupsPostParams, ...) (*PcloudSppplacementgroupsPostOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudSppplacementgroupsDeleteBadRequest
- type PcloudSppplacementgroupsDeleteConflict
- type PcloudSppplacementgroupsDeleteForbidden
- type PcloudSppplacementgroupsDeleteInternalServerError
- type PcloudSppplacementgroupsDeleteNotFound
- type PcloudSppplacementgroupsDeleteOK
- type PcloudSppplacementgroupsDeleteParams
- func NewPcloudSppplacementgroupsDeleteParams() *PcloudSppplacementgroupsDeleteParams
- func NewPcloudSppplacementgroupsDeleteParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsDeleteParams
- func NewPcloudSppplacementgroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsDeleteParams
- func NewPcloudSppplacementgroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsDeleteParams
- func (o *PcloudSppplacementgroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSppplacementgroupsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudSppplacementgroupsDeleteParams) SetDefaults()
- func (o *PcloudSppplacementgroupsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSppplacementgroupsDeleteParams) SetSppPlacementGroupID(sppPlacementGroupID string)
- func (o *PcloudSppplacementgroupsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSppplacementgroupsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsDeleteParams
- func (o *PcloudSppplacementgroupsDeleteParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsDeleteParams
- func (o *PcloudSppplacementgroupsDeleteParams) WithDefaults() *PcloudSppplacementgroupsDeleteParams
- func (o *PcloudSppplacementgroupsDeleteParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsDeleteParams
- func (o *PcloudSppplacementgroupsDeleteParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsDeleteParams
- func (o *PcloudSppplacementgroupsDeleteParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsDeleteParams
- func (o *PcloudSppplacementgroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSppplacementgroupsDeleteReader
- type PcloudSppplacementgroupsDeleteUnauthorized
- type PcloudSppplacementgroupsGetBadRequest
- type PcloudSppplacementgroupsGetInternalServerError
- type PcloudSppplacementgroupsGetNotFound
- type PcloudSppplacementgroupsGetOK
- type PcloudSppplacementgroupsGetParams
- func NewPcloudSppplacementgroupsGetParams() *PcloudSppplacementgroupsGetParams
- func NewPcloudSppplacementgroupsGetParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsGetParams
- func NewPcloudSppplacementgroupsGetParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetParams
- func NewPcloudSppplacementgroupsGetParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetParams
- func (o *PcloudSppplacementgroupsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSppplacementgroupsGetParams) SetContext(ctx context.Context)
- func (o *PcloudSppplacementgroupsGetParams) SetDefaults()
- func (o *PcloudSppplacementgroupsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSppplacementgroupsGetParams) SetSppPlacementGroupID(sppPlacementGroupID string)
- func (o *PcloudSppplacementgroupsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSppplacementgroupsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsGetParams
- func (o *PcloudSppplacementgroupsGetParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsGetParams
- func (o *PcloudSppplacementgroupsGetParams) WithDefaults() *PcloudSppplacementgroupsGetParams
- func (o *PcloudSppplacementgroupsGetParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetParams
- func (o *PcloudSppplacementgroupsGetParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsGetParams
- func (o *PcloudSppplacementgroupsGetParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetParams
- func (o *PcloudSppplacementgroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSppplacementgroupsGetReader
- type PcloudSppplacementgroupsGetUnauthorized
- type PcloudSppplacementgroupsGetallBadRequest
- type PcloudSppplacementgroupsGetallForbidden
- type PcloudSppplacementgroupsGetallInternalServerError
- type PcloudSppplacementgroupsGetallNotFound
- type PcloudSppplacementgroupsGetallOK
- type PcloudSppplacementgroupsGetallParams
- func NewPcloudSppplacementgroupsGetallParams() *PcloudSppplacementgroupsGetallParams
- func NewPcloudSppplacementgroupsGetallParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsGetallParams
- func NewPcloudSppplacementgroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetallParams
- func NewPcloudSppplacementgroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetallParams
- func (o *PcloudSppplacementgroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSppplacementgroupsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudSppplacementgroupsGetallParams) SetDefaults()
- func (o *PcloudSppplacementgroupsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSppplacementgroupsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSppplacementgroupsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsGetallParams
- func (o *PcloudSppplacementgroupsGetallParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsGetallParams
- func (o *PcloudSppplacementgroupsGetallParams) WithDefaults() *PcloudSppplacementgroupsGetallParams
- func (o *PcloudSppplacementgroupsGetallParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetallParams
- func (o *PcloudSppplacementgroupsGetallParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetallParams
- func (o *PcloudSppplacementgroupsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSppplacementgroupsGetallReader
- type PcloudSppplacementgroupsGetallUnauthorized
- type PcloudSppplacementgroupsMembersDeleteBadRequest
- type PcloudSppplacementgroupsMembersDeleteConflict
- type PcloudSppplacementgroupsMembersDeleteForbidden
- type PcloudSppplacementgroupsMembersDeleteInternalServerError
- type PcloudSppplacementgroupsMembersDeleteNotFound
- type PcloudSppplacementgroupsMembersDeleteOK
- type PcloudSppplacementgroupsMembersDeleteParams
- func NewPcloudSppplacementgroupsMembersDeleteParams() *PcloudSppplacementgroupsMembersDeleteParams
- func NewPcloudSppplacementgroupsMembersDeleteParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsMembersDeleteParams
- func NewPcloudSppplacementgroupsMembersDeleteParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersDeleteParams
- func NewPcloudSppplacementgroupsMembersDeleteParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSppplacementgroupsMembersDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudSppplacementgroupsMembersDeleteParams) SetDefaults()
- func (o *PcloudSppplacementgroupsMembersDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSppplacementgroupsMembersDeleteParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)
- func (o *PcloudSppplacementgroupsMembersDeleteParams) SetSppPlacementGroupID(sppPlacementGroupID string)
- func (o *PcloudSppplacementgroupsMembersDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WithDefaults() *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersDeleteParams
- func (o *PcloudSppplacementgroupsMembersDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSppplacementgroupsMembersDeleteReader
- type PcloudSppplacementgroupsMembersDeleteUnauthorized
- type PcloudSppplacementgroupsMembersPostBadRequest
- type PcloudSppplacementgroupsMembersPostConflict
- type PcloudSppplacementgroupsMembersPostForbidden
- type PcloudSppplacementgroupsMembersPostInternalServerError
- type PcloudSppplacementgroupsMembersPostNotFound
- type PcloudSppplacementgroupsMembersPostOK
- type PcloudSppplacementgroupsMembersPostParams
- func NewPcloudSppplacementgroupsMembersPostParams() *PcloudSppplacementgroupsMembersPostParams
- func NewPcloudSppplacementgroupsMembersPostParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsMembersPostParams
- func NewPcloudSppplacementgroupsMembersPostParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersPostParams
- func NewPcloudSppplacementgroupsMembersPostParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSppplacementgroupsMembersPostParams) SetContext(ctx context.Context)
- func (o *PcloudSppplacementgroupsMembersPostParams) SetDefaults()
- func (o *PcloudSppplacementgroupsMembersPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSppplacementgroupsMembersPostParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)
- func (o *PcloudSppplacementgroupsMembersPostParams) SetSppPlacementGroupID(sppPlacementGroupID string)
- func (o *PcloudSppplacementgroupsMembersPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSppplacementgroupsMembersPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) WithDefaults() *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersPostParams
- func (o *PcloudSppplacementgroupsMembersPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSppplacementgroupsMembersPostReader
- type PcloudSppplacementgroupsMembersPostUnauthorized
- type PcloudSppplacementgroupsMembersPostUnprocessableEntity
- type PcloudSppplacementgroupsPostBadRequest
- type PcloudSppplacementgroupsPostConflict
- type PcloudSppplacementgroupsPostForbidden
- type PcloudSppplacementgroupsPostInternalServerError
- type PcloudSppplacementgroupsPostOK
- type PcloudSppplacementgroupsPostParams
- func NewPcloudSppplacementgroupsPostParams() *PcloudSppplacementgroupsPostParams
- func NewPcloudSppplacementgroupsPostParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsPostParams
- func NewPcloudSppplacementgroupsPostParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsPostParams
- func NewPcloudSppplacementgroupsPostParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsPostParams
- func (o *PcloudSppplacementgroupsPostParams) SetBody(body *models.SPPPlacementGroupCreate)
- func (o *PcloudSppplacementgroupsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSppplacementgroupsPostParams) SetContext(ctx context.Context)
- func (o *PcloudSppplacementgroupsPostParams) SetDefaults()
- func (o *PcloudSppplacementgroupsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSppplacementgroupsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSppplacementgroupsPostParams) WithBody(body *models.SPPPlacementGroupCreate) *PcloudSppplacementgroupsPostParams
- func (o *PcloudSppplacementgroupsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsPostParams
- func (o *PcloudSppplacementgroupsPostParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsPostParams
- func (o *PcloudSppplacementgroupsPostParams) WithDefaults() *PcloudSppplacementgroupsPostParams
- func (o *PcloudSppplacementgroupsPostParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsPostParams
- func (o *PcloudSppplacementgroupsPostParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsPostParams
- func (o *PcloudSppplacementgroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSppplacementgroupsPostReader
- type PcloudSppplacementgroupsPostUnauthorized
- type PcloudSppplacementgroupsPostUnprocessableEntity
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 s p p placement groups API
func (*Client) PcloudSppplacementgroupsDelete ¶
func (a *Client) PcloudSppplacementgroupsDelete(params *PcloudSppplacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsDeleteOK, error)
PcloudSppplacementgroupsDelete deletes a shared processor pool placement group from a cloud instance
func (*Client) PcloudSppplacementgroupsGet ¶
func (a *Client) PcloudSppplacementgroupsGet(params *PcloudSppplacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetOK, error)
PcloudSppplacementgroupsGet gets the detail of a shared processor pool placement group for a cloud instance
func (*Client) PcloudSppplacementgroupsGetall ¶
func (a *Client) PcloudSppplacementgroupsGetall(params *PcloudSppplacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetallOK, error)
PcloudSppplacementgroupsGetall gets the list of shared processor pool placement groups for a cloud instance
func (*Client) PcloudSppplacementgroupsMembersDelete ¶
func (a *Client) PcloudSppplacementgroupsMembersDelete(params *PcloudSppplacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersDeleteOK, error)
PcloudSppplacementgroupsMembersDelete deletes shared processor pool member from a shared processor pool placement group
func (*Client) PcloudSppplacementgroupsMembersPost ¶
func (a *Client) PcloudSppplacementgroupsMembersPost(params *PcloudSppplacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersPostOK, error)
PcloudSppplacementgroupsMembersPost adds shared processor pool as a member of a shared processor pool placement group
func (*Client) PcloudSppplacementgroupsPost ¶
func (a *Client) PcloudSppplacementgroupsPost(params *PcloudSppplacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsPostOK, error)
PcloudSppplacementgroupsPost creates a new shared processor pool placement group
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 { PcloudSppplacementgroupsDelete(params *PcloudSppplacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsDeleteOK, error) PcloudSppplacementgroupsGet(params *PcloudSppplacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetOK, error) PcloudSppplacementgroupsGetall(params *PcloudSppplacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetallOK, error) PcloudSppplacementgroupsMembersDelete(params *PcloudSppplacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersDeleteOK, error) PcloudSppplacementgroupsMembersPost(params *PcloudSppplacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersPostOK, error) PcloudSppplacementgroupsPost(params *PcloudSppplacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsPostOK, 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 s p p placement groups API client.
type PcloudSppplacementgroupsDeleteBadRequest ¶
PcloudSppplacementgroupsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudSppplacementgroupsDeleteBadRequest ¶
func NewPcloudSppplacementgroupsDeleteBadRequest() *PcloudSppplacementgroupsDeleteBadRequest
NewPcloudSppplacementgroupsDeleteBadRequest creates a PcloudSppplacementgroupsDeleteBadRequest with default headers values
func (*PcloudSppplacementgroupsDeleteBadRequest) Error ¶
func (o *PcloudSppplacementgroupsDeleteBadRequest) Error() string
func (*PcloudSppplacementgroupsDeleteBadRequest) GetPayload ¶
func (o *PcloudSppplacementgroupsDeleteBadRequest) GetPayload() *models.Error
type PcloudSppplacementgroupsDeleteConflict ¶
PcloudSppplacementgroupsDeleteConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudSppplacementgroupsDeleteConflict ¶
func NewPcloudSppplacementgroupsDeleteConflict() *PcloudSppplacementgroupsDeleteConflict
NewPcloudSppplacementgroupsDeleteConflict creates a PcloudSppplacementgroupsDeleteConflict with default headers values
func (*PcloudSppplacementgroupsDeleteConflict) Error ¶
func (o *PcloudSppplacementgroupsDeleteConflict) Error() string
func (*PcloudSppplacementgroupsDeleteConflict) GetPayload ¶
func (o *PcloudSppplacementgroupsDeleteConflict) GetPayload() *models.Error
type PcloudSppplacementgroupsDeleteForbidden ¶
PcloudSppplacementgroupsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudSppplacementgroupsDeleteForbidden ¶
func NewPcloudSppplacementgroupsDeleteForbidden() *PcloudSppplacementgroupsDeleteForbidden
NewPcloudSppplacementgroupsDeleteForbidden creates a PcloudSppplacementgroupsDeleteForbidden with default headers values
func (*PcloudSppplacementgroupsDeleteForbidden) Error ¶
func (o *PcloudSppplacementgroupsDeleteForbidden) Error() string
func (*PcloudSppplacementgroupsDeleteForbidden) GetPayload ¶
func (o *PcloudSppplacementgroupsDeleteForbidden) GetPayload() *models.Error
type PcloudSppplacementgroupsDeleteInternalServerError ¶
PcloudSppplacementgroupsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudSppplacementgroupsDeleteInternalServerError ¶
func NewPcloudSppplacementgroupsDeleteInternalServerError() *PcloudSppplacementgroupsDeleteInternalServerError
NewPcloudSppplacementgroupsDeleteInternalServerError creates a PcloudSppplacementgroupsDeleteInternalServerError with default headers values
func (*PcloudSppplacementgroupsDeleteInternalServerError) Error ¶
func (o *PcloudSppplacementgroupsDeleteInternalServerError) Error() string
func (*PcloudSppplacementgroupsDeleteInternalServerError) GetPayload ¶
func (o *PcloudSppplacementgroupsDeleteInternalServerError) GetPayload() *models.Error
type PcloudSppplacementgroupsDeleteNotFound ¶
PcloudSppplacementgroupsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudSppplacementgroupsDeleteNotFound ¶
func NewPcloudSppplacementgroupsDeleteNotFound() *PcloudSppplacementgroupsDeleteNotFound
NewPcloudSppplacementgroupsDeleteNotFound creates a PcloudSppplacementgroupsDeleteNotFound with default headers values
func (*PcloudSppplacementgroupsDeleteNotFound) Error ¶
func (o *PcloudSppplacementgroupsDeleteNotFound) Error() string
func (*PcloudSppplacementgroupsDeleteNotFound) GetPayload ¶
func (o *PcloudSppplacementgroupsDeleteNotFound) GetPayload() *models.Error
type PcloudSppplacementgroupsDeleteOK ¶
PcloudSppplacementgroupsDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudSppplacementgroupsDeleteOK ¶
func NewPcloudSppplacementgroupsDeleteOK() *PcloudSppplacementgroupsDeleteOK
NewPcloudSppplacementgroupsDeleteOK creates a PcloudSppplacementgroupsDeleteOK with default headers values
func (*PcloudSppplacementgroupsDeleteOK) Error ¶
func (o *PcloudSppplacementgroupsDeleteOK) Error() string
func (*PcloudSppplacementgroupsDeleteOK) GetPayload ¶
func (o *PcloudSppplacementgroupsDeleteOK) GetPayload() models.Object
type PcloudSppplacementgroupsDeleteParams ¶
type PcloudSppplacementgroupsDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SppPlacementGroupID. Shared Processor Pool Placement Group ID or Name */ SppPlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSppplacementgroupsDeleteParams contains all the parameters to send to the API endpoint
for the pcloud sppplacementgroups delete operation. Typically these are written to a http.Request.
func NewPcloudSppplacementgroupsDeleteParams ¶
func NewPcloudSppplacementgroupsDeleteParams() *PcloudSppplacementgroupsDeleteParams
NewPcloudSppplacementgroupsDeleteParams creates a new PcloudSppplacementgroupsDeleteParams 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 NewPcloudSppplacementgroupsDeleteParamsWithContext ¶
func NewPcloudSppplacementgroupsDeleteParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsDeleteParams
NewPcloudSppplacementgroupsDeleteParamsWithContext creates a new PcloudSppplacementgroupsDeleteParams object with the ability to set a context for a request.
func NewPcloudSppplacementgroupsDeleteParamsWithHTTPClient ¶
func NewPcloudSppplacementgroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsDeleteParams
NewPcloudSppplacementgroupsDeleteParamsWithHTTPClient creates a new PcloudSppplacementgroupsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudSppplacementgroupsDeleteParamsWithTimeout ¶
func NewPcloudSppplacementgroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsDeleteParams
NewPcloudSppplacementgroupsDeleteParamsWithTimeout creates a new PcloudSppplacementgroupsDeleteParams object with the ability to set a timeout on a request.
func (*PcloudSppplacementgroupsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudSppplacementgroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) SetContext ¶
func (o *PcloudSppplacementgroupsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) SetDefaults ¶
func (o *PcloudSppplacementgroupsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud sppplacementgroups delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsDeleteParams) SetHTTPClient ¶
func (o *PcloudSppplacementgroupsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) SetSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsDeleteParams) SetSppPlacementGroupID(sppPlacementGroupID string)
SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) SetTimeout ¶
func (o *PcloudSppplacementgroupsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudSppplacementgroupsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) WithContext ¶
func (o *PcloudSppplacementgroupsDeleteParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsDeleteParams
WithContext adds the context to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) WithDefaults ¶
func (o *PcloudSppplacementgroupsDeleteParams) WithDefaults() *PcloudSppplacementgroupsDeleteParams
WithDefaults hydrates default values in the pcloud sppplacementgroups delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsDeleteParams) WithHTTPClient ¶
func (o *PcloudSppplacementgroupsDeleteParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) WithSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsDeleteParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsDeleteParams
WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) WithTimeout ¶
func (o *PcloudSppplacementgroupsDeleteParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsDeleteParams
WithTimeout adds the timeout to the pcloud sppplacementgroups delete params
func (*PcloudSppplacementgroupsDeleteParams) WriteToRequest ¶
func (o *PcloudSppplacementgroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSppplacementgroupsDeleteReader ¶
type PcloudSppplacementgroupsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudSppplacementgroupsDeleteReader is a Reader for the PcloudSppplacementgroupsDelete structure.
func (*PcloudSppplacementgroupsDeleteReader) ReadResponse ¶
func (o *PcloudSppplacementgroupsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSppplacementgroupsDeleteUnauthorized ¶
type PcloudSppplacementgroupsDeleteUnauthorized struct {
}PcloudSppplacementgroupsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudSppplacementgroupsDeleteUnauthorized ¶
func NewPcloudSppplacementgroupsDeleteUnauthorized() *PcloudSppplacementgroupsDeleteUnauthorized
NewPcloudSppplacementgroupsDeleteUnauthorized creates a PcloudSppplacementgroupsDeleteUnauthorized with default headers values
func (*PcloudSppplacementgroupsDeleteUnauthorized) Error ¶
func (o *PcloudSppplacementgroupsDeleteUnauthorized) Error() string
func (*PcloudSppplacementgroupsDeleteUnauthorized) GetPayload ¶
func (o *PcloudSppplacementgroupsDeleteUnauthorized) GetPayload() *models.Error
type PcloudSppplacementgroupsGetBadRequest ¶
PcloudSppplacementgroupsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudSppplacementgroupsGetBadRequest ¶
func NewPcloudSppplacementgroupsGetBadRequest() *PcloudSppplacementgroupsGetBadRequest
NewPcloudSppplacementgroupsGetBadRequest creates a PcloudSppplacementgroupsGetBadRequest with default headers values
func (*PcloudSppplacementgroupsGetBadRequest) Error ¶
func (o *PcloudSppplacementgroupsGetBadRequest) Error() string
func (*PcloudSppplacementgroupsGetBadRequest) GetPayload ¶
func (o *PcloudSppplacementgroupsGetBadRequest) GetPayload() *models.Error
type PcloudSppplacementgroupsGetInternalServerError ¶
PcloudSppplacementgroupsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudSppplacementgroupsGetInternalServerError ¶
func NewPcloudSppplacementgroupsGetInternalServerError() *PcloudSppplacementgroupsGetInternalServerError
NewPcloudSppplacementgroupsGetInternalServerError creates a PcloudSppplacementgroupsGetInternalServerError with default headers values
func (*PcloudSppplacementgroupsGetInternalServerError) Error ¶
func (o *PcloudSppplacementgroupsGetInternalServerError) Error() string
func (*PcloudSppplacementgroupsGetInternalServerError) GetPayload ¶
func (o *PcloudSppplacementgroupsGetInternalServerError) GetPayload() *models.Error
type PcloudSppplacementgroupsGetNotFound ¶
PcloudSppplacementgroupsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudSppplacementgroupsGetNotFound ¶
func NewPcloudSppplacementgroupsGetNotFound() *PcloudSppplacementgroupsGetNotFound
NewPcloudSppplacementgroupsGetNotFound creates a PcloudSppplacementgroupsGetNotFound with default headers values
func (*PcloudSppplacementgroupsGetNotFound) Error ¶
func (o *PcloudSppplacementgroupsGetNotFound) Error() string
func (*PcloudSppplacementgroupsGetNotFound) GetPayload ¶
func (o *PcloudSppplacementgroupsGetNotFound) GetPayload() *models.Error
type PcloudSppplacementgroupsGetOK ¶
type PcloudSppplacementgroupsGetOK struct {
Payload *models.SPPPlacementGroup
}
PcloudSppplacementgroupsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudSppplacementgroupsGetOK ¶
func NewPcloudSppplacementgroupsGetOK() *PcloudSppplacementgroupsGetOK
NewPcloudSppplacementgroupsGetOK creates a PcloudSppplacementgroupsGetOK with default headers values
func (*PcloudSppplacementgroupsGetOK) Error ¶
func (o *PcloudSppplacementgroupsGetOK) Error() string
func (*PcloudSppplacementgroupsGetOK) GetPayload ¶
func (o *PcloudSppplacementgroupsGetOK) GetPayload() *models.SPPPlacementGroup
type PcloudSppplacementgroupsGetParams ¶
type PcloudSppplacementgroupsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SppPlacementGroupID. Shared Processor Pool Placement Group ID or Name */ SppPlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSppplacementgroupsGetParams contains all the parameters to send to the API endpoint
for the pcloud sppplacementgroups get operation. Typically these are written to a http.Request.
func NewPcloudSppplacementgroupsGetParams ¶
func NewPcloudSppplacementgroupsGetParams() *PcloudSppplacementgroupsGetParams
NewPcloudSppplacementgroupsGetParams creates a new PcloudSppplacementgroupsGetParams 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 NewPcloudSppplacementgroupsGetParamsWithContext ¶
func NewPcloudSppplacementgroupsGetParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsGetParams
NewPcloudSppplacementgroupsGetParamsWithContext creates a new PcloudSppplacementgroupsGetParams object with the ability to set a context for a request.
func NewPcloudSppplacementgroupsGetParamsWithHTTPClient ¶
func NewPcloudSppplacementgroupsGetParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetParams
NewPcloudSppplacementgroupsGetParamsWithHTTPClient creates a new PcloudSppplacementgroupsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudSppplacementgroupsGetParamsWithTimeout ¶
func NewPcloudSppplacementgroupsGetParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetParams
NewPcloudSppplacementgroupsGetParamsWithTimeout creates a new PcloudSppplacementgroupsGetParams object with the ability to set a timeout on a request.
func (*PcloudSppplacementgroupsGetParams) SetCloudInstanceID ¶
func (o *PcloudSppplacementgroupsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) SetContext ¶
func (o *PcloudSppplacementgroupsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) SetDefaults ¶
func (o *PcloudSppplacementgroupsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud sppplacementgroups get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsGetParams) SetHTTPClient ¶
func (o *PcloudSppplacementgroupsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) SetSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsGetParams) SetSppPlacementGroupID(sppPlacementGroupID string)
SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) SetTimeout ¶
func (o *PcloudSppplacementgroupsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) WithCloudInstanceID ¶
func (o *PcloudSppplacementgroupsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) WithContext ¶
func (o *PcloudSppplacementgroupsGetParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsGetParams
WithContext adds the context to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) WithDefaults ¶
func (o *PcloudSppplacementgroupsGetParams) WithDefaults() *PcloudSppplacementgroupsGetParams
WithDefaults hydrates default values in the pcloud sppplacementgroups get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsGetParams) WithHTTPClient ¶
func (o *PcloudSppplacementgroupsGetParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetParams
WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) WithSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsGetParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsGetParams
WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) WithTimeout ¶
func (o *PcloudSppplacementgroupsGetParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetParams
WithTimeout adds the timeout to the pcloud sppplacementgroups get params
func (*PcloudSppplacementgroupsGetParams) WriteToRequest ¶
func (o *PcloudSppplacementgroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSppplacementgroupsGetReader ¶
type PcloudSppplacementgroupsGetReader struct {
// contains filtered or unexported fields
}
PcloudSppplacementgroupsGetReader is a Reader for the PcloudSppplacementgroupsGet structure.
func (*PcloudSppplacementgroupsGetReader) ReadResponse ¶
func (o *PcloudSppplacementgroupsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSppplacementgroupsGetUnauthorized ¶
type PcloudSppplacementgroupsGetUnauthorized struct {
}PcloudSppplacementgroupsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudSppplacementgroupsGetUnauthorized ¶
func NewPcloudSppplacementgroupsGetUnauthorized() *PcloudSppplacementgroupsGetUnauthorized
NewPcloudSppplacementgroupsGetUnauthorized creates a PcloudSppplacementgroupsGetUnauthorized with default headers values
func (*PcloudSppplacementgroupsGetUnauthorized) Error ¶
func (o *PcloudSppplacementgroupsGetUnauthorized) Error() string
func (*PcloudSppplacementgroupsGetUnauthorized) GetPayload ¶
func (o *PcloudSppplacementgroupsGetUnauthorized) GetPayload() *models.Error
type PcloudSppplacementgroupsGetallBadRequest ¶
PcloudSppplacementgroupsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudSppplacementgroupsGetallBadRequest ¶
func NewPcloudSppplacementgroupsGetallBadRequest() *PcloudSppplacementgroupsGetallBadRequest
NewPcloudSppplacementgroupsGetallBadRequest creates a PcloudSppplacementgroupsGetallBadRequest with default headers values
func (*PcloudSppplacementgroupsGetallBadRequest) Error ¶
func (o *PcloudSppplacementgroupsGetallBadRequest) Error() string
func (*PcloudSppplacementgroupsGetallBadRequest) GetPayload ¶
func (o *PcloudSppplacementgroupsGetallBadRequest) GetPayload() *models.Error
type PcloudSppplacementgroupsGetallForbidden ¶
PcloudSppplacementgroupsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudSppplacementgroupsGetallForbidden ¶
func NewPcloudSppplacementgroupsGetallForbidden() *PcloudSppplacementgroupsGetallForbidden
NewPcloudSppplacementgroupsGetallForbidden creates a PcloudSppplacementgroupsGetallForbidden with default headers values
func (*PcloudSppplacementgroupsGetallForbidden) Error ¶
func (o *PcloudSppplacementgroupsGetallForbidden) Error() string
func (*PcloudSppplacementgroupsGetallForbidden) GetPayload ¶
func (o *PcloudSppplacementgroupsGetallForbidden) GetPayload() *models.Error
type PcloudSppplacementgroupsGetallInternalServerError ¶
PcloudSppplacementgroupsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudSppplacementgroupsGetallInternalServerError ¶
func NewPcloudSppplacementgroupsGetallInternalServerError() *PcloudSppplacementgroupsGetallInternalServerError
NewPcloudSppplacementgroupsGetallInternalServerError creates a PcloudSppplacementgroupsGetallInternalServerError with default headers values
func (*PcloudSppplacementgroupsGetallInternalServerError) Error ¶
func (o *PcloudSppplacementgroupsGetallInternalServerError) Error() string
func (*PcloudSppplacementgroupsGetallInternalServerError) GetPayload ¶
func (o *PcloudSppplacementgroupsGetallInternalServerError) GetPayload() *models.Error
type PcloudSppplacementgroupsGetallNotFound ¶
PcloudSppplacementgroupsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudSppplacementgroupsGetallNotFound ¶
func NewPcloudSppplacementgroupsGetallNotFound() *PcloudSppplacementgroupsGetallNotFound
NewPcloudSppplacementgroupsGetallNotFound creates a PcloudSppplacementgroupsGetallNotFound with default headers values
func (*PcloudSppplacementgroupsGetallNotFound) Error ¶
func (o *PcloudSppplacementgroupsGetallNotFound) Error() string
func (*PcloudSppplacementgroupsGetallNotFound) GetPayload ¶
func (o *PcloudSppplacementgroupsGetallNotFound) GetPayload() *models.Error
type PcloudSppplacementgroupsGetallOK ¶
type PcloudSppplacementgroupsGetallOK struct {
Payload *models.SPPPlacementGroups
}
PcloudSppplacementgroupsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudSppplacementgroupsGetallOK ¶
func NewPcloudSppplacementgroupsGetallOK() *PcloudSppplacementgroupsGetallOK
NewPcloudSppplacementgroupsGetallOK creates a PcloudSppplacementgroupsGetallOK with default headers values
func (*PcloudSppplacementgroupsGetallOK) Error ¶
func (o *PcloudSppplacementgroupsGetallOK) Error() string
func (*PcloudSppplacementgroupsGetallOK) GetPayload ¶
func (o *PcloudSppplacementgroupsGetallOK) GetPayload() *models.SPPPlacementGroups
type PcloudSppplacementgroupsGetallParams ¶
type PcloudSppplacementgroupsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSppplacementgroupsGetallParams contains all the parameters to send to the API endpoint
for the pcloud sppplacementgroups getall operation. Typically these are written to a http.Request.
func NewPcloudSppplacementgroupsGetallParams ¶
func NewPcloudSppplacementgroupsGetallParams() *PcloudSppplacementgroupsGetallParams
NewPcloudSppplacementgroupsGetallParams creates a new PcloudSppplacementgroupsGetallParams 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 NewPcloudSppplacementgroupsGetallParamsWithContext ¶
func NewPcloudSppplacementgroupsGetallParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsGetallParams
NewPcloudSppplacementgroupsGetallParamsWithContext creates a new PcloudSppplacementgroupsGetallParams object with the ability to set a context for a request.
func NewPcloudSppplacementgroupsGetallParamsWithHTTPClient ¶
func NewPcloudSppplacementgroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetallParams
NewPcloudSppplacementgroupsGetallParamsWithHTTPClient creates a new PcloudSppplacementgroupsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudSppplacementgroupsGetallParamsWithTimeout ¶
func NewPcloudSppplacementgroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetallParams
NewPcloudSppplacementgroupsGetallParamsWithTimeout creates a new PcloudSppplacementgroupsGetallParams object with the ability to set a timeout on a request.
func (*PcloudSppplacementgroupsGetallParams) SetCloudInstanceID ¶
func (o *PcloudSppplacementgroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) SetContext ¶
func (o *PcloudSppplacementgroupsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) SetDefaults ¶
func (o *PcloudSppplacementgroupsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud sppplacementgroups getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsGetallParams) SetHTTPClient ¶
func (o *PcloudSppplacementgroupsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) SetTimeout ¶
func (o *PcloudSppplacementgroupsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) WithCloudInstanceID ¶
func (o *PcloudSppplacementgroupsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) WithContext ¶
func (o *PcloudSppplacementgroupsGetallParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsGetallParams
WithContext adds the context to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) WithDefaults ¶
func (o *PcloudSppplacementgroupsGetallParams) WithDefaults() *PcloudSppplacementgroupsGetallParams
WithDefaults hydrates default values in the pcloud sppplacementgroups getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsGetallParams) WithHTTPClient ¶
func (o *PcloudSppplacementgroupsGetallParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) WithTimeout ¶
func (o *PcloudSppplacementgroupsGetallParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetallParams
WithTimeout adds the timeout to the pcloud sppplacementgroups getall params
func (*PcloudSppplacementgroupsGetallParams) WriteToRequest ¶
func (o *PcloudSppplacementgroupsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSppplacementgroupsGetallReader ¶
type PcloudSppplacementgroupsGetallReader struct {
// contains filtered or unexported fields
}
PcloudSppplacementgroupsGetallReader is a Reader for the PcloudSppplacementgroupsGetall structure.
func (*PcloudSppplacementgroupsGetallReader) ReadResponse ¶
func (o *PcloudSppplacementgroupsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSppplacementgroupsGetallUnauthorized ¶
type PcloudSppplacementgroupsGetallUnauthorized struct {
}PcloudSppplacementgroupsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudSppplacementgroupsGetallUnauthorized ¶
func NewPcloudSppplacementgroupsGetallUnauthorized() *PcloudSppplacementgroupsGetallUnauthorized
NewPcloudSppplacementgroupsGetallUnauthorized creates a PcloudSppplacementgroupsGetallUnauthorized with default headers values
func (*PcloudSppplacementgroupsGetallUnauthorized) Error ¶
func (o *PcloudSppplacementgroupsGetallUnauthorized) Error() string
func (*PcloudSppplacementgroupsGetallUnauthorized) GetPayload ¶
func (o *PcloudSppplacementgroupsGetallUnauthorized) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersDeleteBadRequest ¶
PcloudSppplacementgroupsMembersDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudSppplacementgroupsMembersDeleteBadRequest ¶
func NewPcloudSppplacementgroupsMembersDeleteBadRequest() *PcloudSppplacementgroupsMembersDeleteBadRequest
NewPcloudSppplacementgroupsMembersDeleteBadRequest creates a PcloudSppplacementgroupsMembersDeleteBadRequest with default headers values
func (*PcloudSppplacementgroupsMembersDeleteBadRequest) Error ¶
func (o *PcloudSppplacementgroupsMembersDeleteBadRequest) Error() string
func (*PcloudSppplacementgroupsMembersDeleteBadRequest) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersDeleteBadRequest) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersDeleteConflict ¶
PcloudSppplacementgroupsMembersDeleteConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudSppplacementgroupsMembersDeleteConflict ¶
func NewPcloudSppplacementgroupsMembersDeleteConflict() *PcloudSppplacementgroupsMembersDeleteConflict
NewPcloudSppplacementgroupsMembersDeleteConflict creates a PcloudSppplacementgroupsMembersDeleteConflict with default headers values
func (*PcloudSppplacementgroupsMembersDeleteConflict) Error ¶
func (o *PcloudSppplacementgroupsMembersDeleteConflict) Error() string
func (*PcloudSppplacementgroupsMembersDeleteConflict) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersDeleteConflict) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersDeleteForbidden ¶
PcloudSppplacementgroupsMembersDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudSppplacementgroupsMembersDeleteForbidden ¶
func NewPcloudSppplacementgroupsMembersDeleteForbidden() *PcloudSppplacementgroupsMembersDeleteForbidden
NewPcloudSppplacementgroupsMembersDeleteForbidden creates a PcloudSppplacementgroupsMembersDeleteForbidden with default headers values
func (*PcloudSppplacementgroupsMembersDeleteForbidden) Error ¶
func (o *PcloudSppplacementgroupsMembersDeleteForbidden) Error() string
func (*PcloudSppplacementgroupsMembersDeleteForbidden) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersDeleteForbidden) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersDeleteInternalServerError ¶
PcloudSppplacementgroupsMembersDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudSppplacementgroupsMembersDeleteInternalServerError ¶
func NewPcloudSppplacementgroupsMembersDeleteInternalServerError() *PcloudSppplacementgroupsMembersDeleteInternalServerError
NewPcloudSppplacementgroupsMembersDeleteInternalServerError creates a PcloudSppplacementgroupsMembersDeleteInternalServerError with default headers values
func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) Error ¶
func (o *PcloudSppplacementgroupsMembersDeleteInternalServerError) Error() string
func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersDeleteInternalServerError) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersDeleteNotFound ¶
PcloudSppplacementgroupsMembersDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudSppplacementgroupsMembersDeleteNotFound ¶
func NewPcloudSppplacementgroupsMembersDeleteNotFound() *PcloudSppplacementgroupsMembersDeleteNotFound
NewPcloudSppplacementgroupsMembersDeleteNotFound creates a PcloudSppplacementgroupsMembersDeleteNotFound with default headers values
func (*PcloudSppplacementgroupsMembersDeleteNotFound) Error ¶
func (o *PcloudSppplacementgroupsMembersDeleteNotFound) Error() string
func (*PcloudSppplacementgroupsMembersDeleteNotFound) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersDeleteNotFound) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersDeleteOK ¶
type PcloudSppplacementgroupsMembersDeleteOK struct {
Payload *models.SPPPlacementGroup
}
PcloudSppplacementgroupsMembersDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudSppplacementgroupsMembersDeleteOK ¶
func NewPcloudSppplacementgroupsMembersDeleteOK() *PcloudSppplacementgroupsMembersDeleteOK
NewPcloudSppplacementgroupsMembersDeleteOK creates a PcloudSppplacementgroupsMembersDeleteOK with default headers values
func (*PcloudSppplacementgroupsMembersDeleteOK) Error ¶
func (o *PcloudSppplacementgroupsMembersDeleteOK) Error() string
func (*PcloudSppplacementgroupsMembersDeleteOK) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersDeleteOK) GetPayload() *models.SPPPlacementGroup
type PcloudSppplacementgroupsMembersDeleteParams ¶
type PcloudSppplacementgroupsMembersDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string SharedProcessorPoolID string /* SppPlacementGroupID. Shared Processor Pool Placement Group ID or Name */ SppPlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSppplacementgroupsMembersDeleteParams contains all the parameters to send to the API endpoint
for the pcloud sppplacementgroups members delete operation. Typically these are written to a http.Request.
func NewPcloudSppplacementgroupsMembersDeleteParams ¶
func NewPcloudSppplacementgroupsMembersDeleteParams() *PcloudSppplacementgroupsMembersDeleteParams
NewPcloudSppplacementgroupsMembersDeleteParams creates a new PcloudSppplacementgroupsMembersDeleteParams 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 NewPcloudSppplacementgroupsMembersDeleteParamsWithContext ¶
func NewPcloudSppplacementgroupsMembersDeleteParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsMembersDeleteParams
NewPcloudSppplacementgroupsMembersDeleteParamsWithContext creates a new PcloudSppplacementgroupsMembersDeleteParams object with the ability to set a context for a request.
func NewPcloudSppplacementgroupsMembersDeleteParamsWithHTTPClient ¶
func NewPcloudSppplacementgroupsMembersDeleteParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersDeleteParams
NewPcloudSppplacementgroupsMembersDeleteParamsWithHTTPClient creates a new PcloudSppplacementgroupsMembersDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudSppplacementgroupsMembersDeleteParamsWithTimeout ¶
func NewPcloudSppplacementgroupsMembersDeleteParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersDeleteParams
NewPcloudSppplacementgroupsMembersDeleteParamsWithTimeout creates a new PcloudSppplacementgroupsMembersDeleteParams object with the ability to set a timeout on a request.
func (*PcloudSppplacementgroupsMembersDeleteParams) SetCloudInstanceID ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) SetContext ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) SetDefaults ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud sppplacementgroups members delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsMembersDeleteParams) SetHTTPClient ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) SetSharedProcessorPoolID ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)
SetSharedProcessorPoolID adds the sharedProcessorPoolId to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) SetSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) SetSppPlacementGroupID(sppPlacementGroupID string)
SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) SetTimeout ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) WithCloudInstanceID ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsMembersDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) WithContext ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsMembersDeleteParams
WithContext adds the context to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) WithDefaults ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WithDefaults() *PcloudSppplacementgroupsMembersDeleteParams
WithDefaults hydrates default values in the pcloud sppplacementgroups members delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsMembersDeleteParams) WithHTTPClient ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) WithSharedProcessorPoolID ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSppplacementgroupsMembersDeleteParams
WithSharedProcessorPoolID adds the sharedProcessorPoolID to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) WithSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsMembersDeleteParams
WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) WithTimeout ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersDeleteParams
WithTimeout adds the timeout to the pcloud sppplacementgroups members delete params
func (*PcloudSppplacementgroupsMembersDeleteParams) WriteToRequest ¶
func (o *PcloudSppplacementgroupsMembersDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSppplacementgroupsMembersDeleteReader ¶
type PcloudSppplacementgroupsMembersDeleteReader struct {
// contains filtered or unexported fields
}
PcloudSppplacementgroupsMembersDeleteReader is a Reader for the PcloudSppplacementgroupsMembersDelete structure.
func (*PcloudSppplacementgroupsMembersDeleteReader) ReadResponse ¶
func (o *PcloudSppplacementgroupsMembersDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSppplacementgroupsMembersDeleteUnauthorized ¶
type PcloudSppplacementgroupsMembersDeleteUnauthorized struct {
}PcloudSppplacementgroupsMembersDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudSppplacementgroupsMembersDeleteUnauthorized ¶
func NewPcloudSppplacementgroupsMembersDeleteUnauthorized() *PcloudSppplacementgroupsMembersDeleteUnauthorized
NewPcloudSppplacementgroupsMembersDeleteUnauthorized creates a PcloudSppplacementgroupsMembersDeleteUnauthorized with default headers values
func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) Error ¶
func (o *PcloudSppplacementgroupsMembersDeleteUnauthorized) Error() string
func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersDeleteUnauthorized) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersPostBadRequest ¶
PcloudSppplacementgroupsMembersPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudSppplacementgroupsMembersPostBadRequest ¶
func NewPcloudSppplacementgroupsMembersPostBadRequest() *PcloudSppplacementgroupsMembersPostBadRequest
NewPcloudSppplacementgroupsMembersPostBadRequest creates a PcloudSppplacementgroupsMembersPostBadRequest with default headers values
func (*PcloudSppplacementgroupsMembersPostBadRequest) Error ¶
func (o *PcloudSppplacementgroupsMembersPostBadRequest) Error() string
func (*PcloudSppplacementgroupsMembersPostBadRequest) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersPostBadRequest) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersPostConflict ¶
PcloudSppplacementgroupsMembersPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudSppplacementgroupsMembersPostConflict ¶
func NewPcloudSppplacementgroupsMembersPostConflict() *PcloudSppplacementgroupsMembersPostConflict
NewPcloudSppplacementgroupsMembersPostConflict creates a PcloudSppplacementgroupsMembersPostConflict with default headers values
func (*PcloudSppplacementgroupsMembersPostConflict) Error ¶
func (o *PcloudSppplacementgroupsMembersPostConflict) Error() string
func (*PcloudSppplacementgroupsMembersPostConflict) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersPostConflict) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersPostForbidden ¶
PcloudSppplacementgroupsMembersPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudSppplacementgroupsMembersPostForbidden ¶
func NewPcloudSppplacementgroupsMembersPostForbidden() *PcloudSppplacementgroupsMembersPostForbidden
NewPcloudSppplacementgroupsMembersPostForbidden creates a PcloudSppplacementgroupsMembersPostForbidden with default headers values
func (*PcloudSppplacementgroupsMembersPostForbidden) Error ¶
func (o *PcloudSppplacementgroupsMembersPostForbidden) Error() string
func (*PcloudSppplacementgroupsMembersPostForbidden) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersPostForbidden) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersPostInternalServerError ¶
PcloudSppplacementgroupsMembersPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudSppplacementgroupsMembersPostInternalServerError ¶
func NewPcloudSppplacementgroupsMembersPostInternalServerError() *PcloudSppplacementgroupsMembersPostInternalServerError
NewPcloudSppplacementgroupsMembersPostInternalServerError creates a PcloudSppplacementgroupsMembersPostInternalServerError with default headers values
func (*PcloudSppplacementgroupsMembersPostInternalServerError) Error ¶
func (o *PcloudSppplacementgroupsMembersPostInternalServerError) Error() string
func (*PcloudSppplacementgroupsMembersPostInternalServerError) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersPostInternalServerError) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersPostNotFound ¶ added in v1.1.11
PcloudSppplacementgroupsMembersPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudSppplacementgroupsMembersPostNotFound ¶ added in v1.1.11
func NewPcloudSppplacementgroupsMembersPostNotFound() *PcloudSppplacementgroupsMembersPostNotFound
NewPcloudSppplacementgroupsMembersPostNotFound creates a PcloudSppplacementgroupsMembersPostNotFound with default headers values
func (*PcloudSppplacementgroupsMembersPostNotFound) Error ¶ added in v1.1.11
func (o *PcloudSppplacementgroupsMembersPostNotFound) Error() string
func (*PcloudSppplacementgroupsMembersPostNotFound) GetPayload ¶ added in v1.1.11
func (o *PcloudSppplacementgroupsMembersPostNotFound) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersPostOK ¶
type PcloudSppplacementgroupsMembersPostOK struct {
Payload *models.SPPPlacementGroup
}
PcloudSppplacementgroupsMembersPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudSppplacementgroupsMembersPostOK ¶
func NewPcloudSppplacementgroupsMembersPostOK() *PcloudSppplacementgroupsMembersPostOK
NewPcloudSppplacementgroupsMembersPostOK creates a PcloudSppplacementgroupsMembersPostOK with default headers values
func (*PcloudSppplacementgroupsMembersPostOK) Error ¶
func (o *PcloudSppplacementgroupsMembersPostOK) Error() string
func (*PcloudSppplacementgroupsMembersPostOK) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersPostOK) GetPayload() *models.SPPPlacementGroup
type PcloudSppplacementgroupsMembersPostParams ¶
type PcloudSppplacementgroupsMembersPostParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string SharedProcessorPoolID string /* SppPlacementGroupID. Shared Processor Pool Placement Group ID or Name */ SppPlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSppplacementgroupsMembersPostParams contains all the parameters to send to the API endpoint
for the pcloud sppplacementgroups members post operation. Typically these are written to a http.Request.
func NewPcloudSppplacementgroupsMembersPostParams ¶
func NewPcloudSppplacementgroupsMembersPostParams() *PcloudSppplacementgroupsMembersPostParams
NewPcloudSppplacementgroupsMembersPostParams creates a new PcloudSppplacementgroupsMembersPostParams 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 NewPcloudSppplacementgroupsMembersPostParamsWithContext ¶
func NewPcloudSppplacementgroupsMembersPostParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsMembersPostParams
NewPcloudSppplacementgroupsMembersPostParamsWithContext creates a new PcloudSppplacementgroupsMembersPostParams object with the ability to set a context for a request.
func NewPcloudSppplacementgroupsMembersPostParamsWithHTTPClient ¶
func NewPcloudSppplacementgroupsMembersPostParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersPostParams
NewPcloudSppplacementgroupsMembersPostParamsWithHTTPClient creates a new PcloudSppplacementgroupsMembersPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudSppplacementgroupsMembersPostParamsWithTimeout ¶
func NewPcloudSppplacementgroupsMembersPostParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersPostParams
NewPcloudSppplacementgroupsMembersPostParamsWithTimeout creates a new PcloudSppplacementgroupsMembersPostParams object with the ability to set a timeout on a request.
func (*PcloudSppplacementgroupsMembersPostParams) SetCloudInstanceID ¶
func (o *PcloudSppplacementgroupsMembersPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) SetContext ¶
func (o *PcloudSppplacementgroupsMembersPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) SetDefaults ¶
func (o *PcloudSppplacementgroupsMembersPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud sppplacementgroups members post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsMembersPostParams) SetHTTPClient ¶
func (o *PcloudSppplacementgroupsMembersPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) SetSharedProcessorPoolID ¶
func (o *PcloudSppplacementgroupsMembersPostParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)
SetSharedProcessorPoolID adds the sharedProcessorPoolId to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) SetSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsMembersPostParams) SetSppPlacementGroupID(sppPlacementGroupID string)
SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) SetTimeout ¶
func (o *PcloudSppplacementgroupsMembersPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) WithCloudInstanceID ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsMembersPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) WithContext ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsMembersPostParams
WithContext adds the context to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) WithDefaults ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WithDefaults() *PcloudSppplacementgroupsMembersPostParams
WithDefaults hydrates default values in the pcloud sppplacementgroups members post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsMembersPostParams) WithHTTPClient ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersPostParams
WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) WithSharedProcessorPoolID ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSppplacementgroupsMembersPostParams
WithSharedProcessorPoolID adds the sharedProcessorPoolID to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) WithSppPlacementGroupID ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsMembersPostParams
WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) WithTimeout ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersPostParams
WithTimeout adds the timeout to the pcloud sppplacementgroups members post params
func (*PcloudSppplacementgroupsMembersPostParams) WriteToRequest ¶
func (o *PcloudSppplacementgroupsMembersPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSppplacementgroupsMembersPostReader ¶
type PcloudSppplacementgroupsMembersPostReader struct {
// contains filtered or unexported fields
}
PcloudSppplacementgroupsMembersPostReader is a Reader for the PcloudSppplacementgroupsMembersPost structure.
func (*PcloudSppplacementgroupsMembersPostReader) ReadResponse ¶
func (o *PcloudSppplacementgroupsMembersPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSppplacementgroupsMembersPostUnauthorized ¶
type PcloudSppplacementgroupsMembersPostUnauthorized struct {
}PcloudSppplacementgroupsMembersPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudSppplacementgroupsMembersPostUnauthorized ¶
func NewPcloudSppplacementgroupsMembersPostUnauthorized() *PcloudSppplacementgroupsMembersPostUnauthorized
NewPcloudSppplacementgroupsMembersPostUnauthorized creates a PcloudSppplacementgroupsMembersPostUnauthorized with default headers values
func (*PcloudSppplacementgroupsMembersPostUnauthorized) Error ¶
func (o *PcloudSppplacementgroupsMembersPostUnauthorized) Error() string
func (*PcloudSppplacementgroupsMembersPostUnauthorized) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersPostUnauthorized) GetPayload() *models.Error
type PcloudSppplacementgroupsMembersPostUnprocessableEntity ¶
PcloudSppplacementgroupsMembersPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudSppplacementgroupsMembersPostUnprocessableEntity ¶
func NewPcloudSppplacementgroupsMembersPostUnprocessableEntity() *PcloudSppplacementgroupsMembersPostUnprocessableEntity
NewPcloudSppplacementgroupsMembersPostUnprocessableEntity creates a PcloudSppplacementgroupsMembersPostUnprocessableEntity with default headers values
func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) Error ¶
func (o *PcloudSppplacementgroupsMembersPostUnprocessableEntity) Error() string
func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) GetPayload ¶
func (o *PcloudSppplacementgroupsMembersPostUnprocessableEntity) GetPayload() *models.Error
type PcloudSppplacementgroupsPostBadRequest ¶
PcloudSppplacementgroupsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudSppplacementgroupsPostBadRequest ¶
func NewPcloudSppplacementgroupsPostBadRequest() *PcloudSppplacementgroupsPostBadRequest
NewPcloudSppplacementgroupsPostBadRequest creates a PcloudSppplacementgroupsPostBadRequest with default headers values
func (*PcloudSppplacementgroupsPostBadRequest) Error ¶
func (o *PcloudSppplacementgroupsPostBadRequest) Error() string
func (*PcloudSppplacementgroupsPostBadRequest) GetPayload ¶
func (o *PcloudSppplacementgroupsPostBadRequest) GetPayload() *models.Error
type PcloudSppplacementgroupsPostConflict ¶
PcloudSppplacementgroupsPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudSppplacementgroupsPostConflict ¶
func NewPcloudSppplacementgroupsPostConflict() *PcloudSppplacementgroupsPostConflict
NewPcloudSppplacementgroupsPostConflict creates a PcloudSppplacementgroupsPostConflict with default headers values
func (*PcloudSppplacementgroupsPostConflict) Error ¶
func (o *PcloudSppplacementgroupsPostConflict) Error() string
func (*PcloudSppplacementgroupsPostConflict) GetPayload ¶
func (o *PcloudSppplacementgroupsPostConflict) GetPayload() *models.Error
type PcloudSppplacementgroupsPostForbidden ¶
PcloudSppplacementgroupsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudSppplacementgroupsPostForbidden ¶
func NewPcloudSppplacementgroupsPostForbidden() *PcloudSppplacementgroupsPostForbidden
NewPcloudSppplacementgroupsPostForbidden creates a PcloudSppplacementgroupsPostForbidden with default headers values
func (*PcloudSppplacementgroupsPostForbidden) Error ¶
func (o *PcloudSppplacementgroupsPostForbidden) Error() string
func (*PcloudSppplacementgroupsPostForbidden) GetPayload ¶
func (o *PcloudSppplacementgroupsPostForbidden) GetPayload() *models.Error
type PcloudSppplacementgroupsPostInternalServerError ¶
PcloudSppplacementgroupsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudSppplacementgroupsPostInternalServerError ¶
func NewPcloudSppplacementgroupsPostInternalServerError() *PcloudSppplacementgroupsPostInternalServerError
NewPcloudSppplacementgroupsPostInternalServerError creates a PcloudSppplacementgroupsPostInternalServerError with default headers values
func (*PcloudSppplacementgroupsPostInternalServerError) Error ¶
func (o *PcloudSppplacementgroupsPostInternalServerError) Error() string
func (*PcloudSppplacementgroupsPostInternalServerError) GetPayload ¶
func (o *PcloudSppplacementgroupsPostInternalServerError) GetPayload() *models.Error
type PcloudSppplacementgroupsPostOK ¶
type PcloudSppplacementgroupsPostOK struct {
Payload *models.SPPPlacementGroup
}
PcloudSppplacementgroupsPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudSppplacementgroupsPostOK ¶
func NewPcloudSppplacementgroupsPostOK() *PcloudSppplacementgroupsPostOK
NewPcloudSppplacementgroupsPostOK creates a PcloudSppplacementgroupsPostOK with default headers values
func (*PcloudSppplacementgroupsPostOK) Error ¶
func (o *PcloudSppplacementgroupsPostOK) Error() string
func (*PcloudSppplacementgroupsPostOK) GetPayload ¶
func (o *PcloudSppplacementgroupsPostOK) GetPayload() *models.SPPPlacementGroup
type PcloudSppplacementgroupsPostParams ¶
type PcloudSppplacementgroupsPostParams struct { /* Body. Parameters for the creation of a Shared Processor Pool Placement Group */ Body *models.SPPPlacementGroupCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSppplacementgroupsPostParams contains all the parameters to send to the API endpoint
for the pcloud sppplacementgroups post operation. Typically these are written to a http.Request.
func NewPcloudSppplacementgroupsPostParams ¶
func NewPcloudSppplacementgroupsPostParams() *PcloudSppplacementgroupsPostParams
NewPcloudSppplacementgroupsPostParams creates a new PcloudSppplacementgroupsPostParams 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 NewPcloudSppplacementgroupsPostParamsWithContext ¶
func NewPcloudSppplacementgroupsPostParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsPostParams
NewPcloudSppplacementgroupsPostParamsWithContext creates a new PcloudSppplacementgroupsPostParams object with the ability to set a context for a request.
func NewPcloudSppplacementgroupsPostParamsWithHTTPClient ¶
func NewPcloudSppplacementgroupsPostParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsPostParams
NewPcloudSppplacementgroupsPostParamsWithHTTPClient creates a new PcloudSppplacementgroupsPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudSppplacementgroupsPostParamsWithTimeout ¶
func NewPcloudSppplacementgroupsPostParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsPostParams
NewPcloudSppplacementgroupsPostParamsWithTimeout creates a new PcloudSppplacementgroupsPostParams object with the ability to set a timeout on a request.
func (*PcloudSppplacementgroupsPostParams) SetBody ¶
func (o *PcloudSppplacementgroupsPostParams) SetBody(body *models.SPPPlacementGroupCreate)
SetBody adds the body to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) SetCloudInstanceID ¶
func (o *PcloudSppplacementgroupsPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) SetContext ¶
func (o *PcloudSppplacementgroupsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) SetDefaults ¶
func (o *PcloudSppplacementgroupsPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud sppplacementgroups post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsPostParams) SetHTTPClient ¶
func (o *PcloudSppplacementgroupsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) SetTimeout ¶
func (o *PcloudSppplacementgroupsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) WithBody ¶
func (o *PcloudSppplacementgroupsPostParams) WithBody(body *models.SPPPlacementGroupCreate) *PcloudSppplacementgroupsPostParams
WithBody adds the body to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) WithCloudInstanceID ¶
func (o *PcloudSppplacementgroupsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) WithContext ¶
func (o *PcloudSppplacementgroupsPostParams) WithContext(ctx context.Context) *PcloudSppplacementgroupsPostParams
WithContext adds the context to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) WithDefaults ¶
func (o *PcloudSppplacementgroupsPostParams) WithDefaults() *PcloudSppplacementgroupsPostParams
WithDefaults hydrates default values in the pcloud sppplacementgroups post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSppplacementgroupsPostParams) WithHTTPClient ¶
func (o *PcloudSppplacementgroupsPostParams) WithHTTPClient(client *http.Client) *PcloudSppplacementgroupsPostParams
WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) WithTimeout ¶
func (o *PcloudSppplacementgroupsPostParams) WithTimeout(timeout time.Duration) *PcloudSppplacementgroupsPostParams
WithTimeout adds the timeout to the pcloud sppplacementgroups post params
func (*PcloudSppplacementgroupsPostParams) WriteToRequest ¶
func (o *PcloudSppplacementgroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSppplacementgroupsPostReader ¶
type PcloudSppplacementgroupsPostReader struct {
// contains filtered or unexported fields
}
PcloudSppplacementgroupsPostReader is a Reader for the PcloudSppplacementgroupsPost structure.
func (*PcloudSppplacementgroupsPostReader) ReadResponse ¶
func (o *PcloudSppplacementgroupsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSppplacementgroupsPostUnauthorized ¶
type PcloudSppplacementgroupsPostUnauthorized struct {
}PcloudSppplacementgroupsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudSppplacementgroupsPostUnauthorized ¶
func NewPcloudSppplacementgroupsPostUnauthorized() *PcloudSppplacementgroupsPostUnauthorized
NewPcloudSppplacementgroupsPostUnauthorized creates a PcloudSppplacementgroupsPostUnauthorized with default headers values
func (*PcloudSppplacementgroupsPostUnauthorized) Error ¶
func (o *PcloudSppplacementgroupsPostUnauthorized) Error() string
func (*PcloudSppplacementgroupsPostUnauthorized) GetPayload ¶
func (o *PcloudSppplacementgroupsPostUnauthorized) GetPayload() *models.Error
type PcloudSppplacementgroupsPostUnprocessableEntity ¶
PcloudSppplacementgroupsPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudSppplacementgroupsPostUnprocessableEntity ¶
func NewPcloudSppplacementgroupsPostUnprocessableEntity() *PcloudSppplacementgroupsPostUnprocessableEntity
NewPcloudSppplacementgroupsPostUnprocessableEntity creates a PcloudSppplacementgroupsPostUnprocessableEntity with default headers values
func (*PcloudSppplacementgroupsPostUnprocessableEntity) Error ¶
func (o *PcloudSppplacementgroupsPostUnprocessableEntity) Error() string
func (*PcloudSppplacementgroupsPostUnprocessableEntity) GetPayload ¶
func (o *PcloudSppplacementgroupsPostUnprocessableEntity) GetPayload() *models.Error
Source Files ¶
- p_cloudspp_placement_groups_client.go
- pcloud_sppplacementgroups_delete_parameters.go
- pcloud_sppplacementgroups_delete_responses.go
- pcloud_sppplacementgroups_get_parameters.go
- pcloud_sppplacementgroups_get_responses.go
- pcloud_sppplacementgroups_getall_parameters.go
- pcloud_sppplacementgroups_getall_responses.go
- pcloud_sppplacementgroups_members_delete_parameters.go
- pcloud_sppplacementgroups_members_delete_responses.go
- pcloud_sppplacementgroups_members_post_parameters.go
- pcloud_sppplacementgroups_members_post_responses.go
- pcloud_sppplacementgroups_post_parameters.go
- pcloud_sppplacementgroups_post_responses.go