Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudPlacementgroupsDelete(params *PcloudPlacementgroupsDeleteParams, ...) (*PcloudPlacementgroupsDeleteOK, error)
- func (a *Client) PcloudPlacementgroupsGet(params *PcloudPlacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsGetOK, error)
- func (a *Client) PcloudPlacementgroupsGetall(params *PcloudPlacementgroupsGetallParams, ...) (*PcloudPlacementgroupsGetallOK, error)
- func (a *Client) PcloudPlacementgroupsMembersDelete(params *PcloudPlacementgroupsMembersDeleteParams, ...) (*PcloudPlacementgroupsMembersDeleteOK, error)
- func (a *Client) PcloudPlacementgroupsMembersPost(params *PcloudPlacementgroupsMembersPostParams, ...) (*PcloudPlacementgroupsMembersPostOK, error)
- func (a *Client) PcloudPlacementgroupsPost(params *PcloudPlacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsPostOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudPlacementgroupsDeleteBadRequest
- type PcloudPlacementgroupsDeleteInternalServerError
- type PcloudPlacementgroupsDeleteNotFound
- type PcloudPlacementgroupsDeleteOK
- type PcloudPlacementgroupsDeleteParams
- func NewPcloudPlacementgroupsDeleteParams() *PcloudPlacementgroupsDeleteParams
- func NewPcloudPlacementgroupsDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsDeleteParams
- func NewPcloudPlacementgroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsDeleteParams
- func NewPcloudPlacementgroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsDeleteParams
- func (o *PcloudPlacementgroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPlacementgroupsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudPlacementgroupsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPlacementgroupsDeleteParams) SetPlacementGroupID(placementGroupID string)
- func (o *PcloudPlacementgroupsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPlacementgroupsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsDeleteParams
- func (o *PcloudPlacementgroupsDeleteParams) WithContext(ctx context.Context) *PcloudPlacementgroupsDeleteParams
- func (o *PcloudPlacementgroupsDeleteParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsDeleteParams
- func (o *PcloudPlacementgroupsDeleteParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsDeleteParams
- func (o *PcloudPlacementgroupsDeleteParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsDeleteParams
- func (o *PcloudPlacementgroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPlacementgroupsDeleteReader
- type PcloudPlacementgroupsGetBadRequest
- type PcloudPlacementgroupsGetInternalServerError
- type PcloudPlacementgroupsGetOK
- type PcloudPlacementgroupsGetParams
- func NewPcloudPlacementgroupsGetParams() *PcloudPlacementgroupsGetParams
- func NewPcloudPlacementgroupsGetParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetParams
- func NewPcloudPlacementgroupsGetParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetParams
- func NewPcloudPlacementgroupsGetParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetParams
- func (o *PcloudPlacementgroupsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPlacementgroupsGetParams) SetContext(ctx context.Context)
- func (o *PcloudPlacementgroupsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPlacementgroupsGetParams) SetPlacementGroupID(placementGroupID string)
- func (o *PcloudPlacementgroupsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPlacementgroupsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsGetParams
- func (o *PcloudPlacementgroupsGetParams) WithContext(ctx context.Context) *PcloudPlacementgroupsGetParams
- func (o *PcloudPlacementgroupsGetParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetParams
- func (o *PcloudPlacementgroupsGetParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsGetParams
- func (o *PcloudPlacementgroupsGetParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetParams
- func (o *PcloudPlacementgroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPlacementgroupsGetReader
- type PcloudPlacementgroupsGetallBadRequest
- type PcloudPlacementgroupsGetallInternalServerError
- type PcloudPlacementgroupsGetallOK
- type PcloudPlacementgroupsGetallParams
- func NewPcloudPlacementgroupsGetallParams() *PcloudPlacementgroupsGetallParams
- func NewPcloudPlacementgroupsGetallParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetallParams
- func NewPcloudPlacementgroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetallParams
- func NewPcloudPlacementgroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetallParams
- func (o *PcloudPlacementgroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPlacementgroupsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudPlacementgroupsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPlacementgroupsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPlacementgroupsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsGetallParams
- func (o *PcloudPlacementgroupsGetallParams) WithContext(ctx context.Context) *PcloudPlacementgroupsGetallParams
- func (o *PcloudPlacementgroupsGetallParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetallParams
- func (o *PcloudPlacementgroupsGetallParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetallParams
- func (o *PcloudPlacementgroupsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPlacementgroupsGetallReader
- type PcloudPlacementgroupsGetallUnauthorized
- type PcloudPlacementgroupsMembersDeleteBadRequest
- type PcloudPlacementgroupsMembersDeleteConflict
- type PcloudPlacementgroupsMembersDeleteInternalServerError
- type PcloudPlacementgroupsMembersDeleteOK
- type PcloudPlacementgroupsMembersDeleteParams
- func NewPcloudPlacementgroupsMembersDeleteParams() *PcloudPlacementgroupsMembersDeleteParams
- func NewPcloudPlacementgroupsMembersDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersDeleteParams
- func NewPcloudPlacementgroupsMembersDeleteParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersDeleteParams
- func NewPcloudPlacementgroupsMembersDeleteParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersDeleteParams
- func (o *PcloudPlacementgroupsMembersDeleteParams) SetBody(body *models.PlacementGroupServer)
- func (o *PcloudPlacementgroupsMembersDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPlacementgroupsMembersDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudPlacementgroupsMembersDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPlacementgroupsMembersDeleteParams) SetPlacementGroupID(placementGroupID string)
- func (o *PcloudPlacementgroupsMembersDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPlacementgroupsMembersDeleteParams) WithBody(body *models.PlacementGroupServer) *PcloudPlacementgroupsMembersDeleteParams
- func (o *PcloudPlacementgroupsMembersDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsMembersDeleteParams
- func (o *PcloudPlacementgroupsMembersDeleteParams) WithContext(ctx context.Context) *PcloudPlacementgroupsMembersDeleteParams
- func (o *PcloudPlacementgroupsMembersDeleteParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersDeleteParams
- func (o *PcloudPlacementgroupsMembersDeleteParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsMembersDeleteParams
- func (o *PcloudPlacementgroupsMembersDeleteParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersDeleteParams
- func (o *PcloudPlacementgroupsMembersDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPlacementgroupsMembersDeleteReader
- type PcloudPlacementgroupsMembersDeleteUnprocessableEntity
- type PcloudPlacementgroupsMembersPostBadRequest
- type PcloudPlacementgroupsMembersPostConflict
- type PcloudPlacementgroupsMembersPostInternalServerError
- type PcloudPlacementgroupsMembersPostOK
- type PcloudPlacementgroupsMembersPostParams
- func NewPcloudPlacementgroupsMembersPostParams() *PcloudPlacementgroupsMembersPostParams
- func NewPcloudPlacementgroupsMembersPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersPostParams
- func NewPcloudPlacementgroupsMembersPostParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersPostParams
- func NewPcloudPlacementgroupsMembersPostParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersPostParams
- func (o *PcloudPlacementgroupsMembersPostParams) SetBody(body *models.PlacementGroupServer)
- func (o *PcloudPlacementgroupsMembersPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPlacementgroupsMembersPostParams) SetContext(ctx context.Context)
- func (o *PcloudPlacementgroupsMembersPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPlacementgroupsMembersPostParams) SetPlacementGroupID(placementGroupID string)
- func (o *PcloudPlacementgroupsMembersPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPlacementgroupsMembersPostParams) WithBody(body *models.PlacementGroupServer) *PcloudPlacementgroupsMembersPostParams
- func (o *PcloudPlacementgroupsMembersPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsMembersPostParams
- func (o *PcloudPlacementgroupsMembersPostParams) WithContext(ctx context.Context) *PcloudPlacementgroupsMembersPostParams
- func (o *PcloudPlacementgroupsMembersPostParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersPostParams
- func (o *PcloudPlacementgroupsMembersPostParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsMembersPostParams
- func (o *PcloudPlacementgroupsMembersPostParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersPostParams
- func (o *PcloudPlacementgroupsMembersPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPlacementgroupsMembersPostReader
- type PcloudPlacementgroupsMembersPostUnprocessableEntity
- type PcloudPlacementgroupsPostBadRequest
- type PcloudPlacementgroupsPostConflict
- type PcloudPlacementgroupsPostInternalServerError
- type PcloudPlacementgroupsPostOK
- type PcloudPlacementgroupsPostParams
- func NewPcloudPlacementgroupsPostParams() *PcloudPlacementgroupsPostParams
- func NewPcloudPlacementgroupsPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsPostParams
- func NewPcloudPlacementgroupsPostParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsPostParams
- func NewPcloudPlacementgroupsPostParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsPostParams
- func (o *PcloudPlacementgroupsPostParams) SetBody(body *models.PlacementGroupCreate)
- func (o *PcloudPlacementgroupsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPlacementgroupsPostParams) SetContext(ctx context.Context)
- func (o *PcloudPlacementgroupsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPlacementgroupsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPlacementgroupsPostParams) WithBody(body *models.PlacementGroupCreate) *PcloudPlacementgroupsPostParams
- func (o *PcloudPlacementgroupsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsPostParams
- func (o *PcloudPlacementgroupsPostParams) WithContext(ctx context.Context) *PcloudPlacementgroupsPostParams
- func (o *PcloudPlacementgroupsPostParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsPostParams
- func (o *PcloudPlacementgroupsPostParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsPostParams
- func (o *PcloudPlacementgroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPlacementgroupsPostReader
- type PcloudPlacementgroupsPostUnprocessableEntity
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 placement groups API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud placement groups API client.
func (*Client) PcloudPlacementgroupsDelete ¶
func (a *Client) PcloudPlacementgroupsDelete(params *PcloudPlacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsDeleteOK, error)
PcloudPlacementgroupsDelete deletes server placement group
func (*Client) PcloudPlacementgroupsGet ¶
func (a *Client) PcloudPlacementgroupsGet(params *PcloudPlacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsGetOK, error)
PcloudPlacementgroupsGet gets server placement group detail
func (*Client) PcloudPlacementgroupsGetall ¶
func (a *Client) PcloudPlacementgroupsGetall(params *PcloudPlacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsGetallOK, error)
PcloudPlacementgroupsGetall gets all server placement groups
func (*Client) PcloudPlacementgroupsMembersDelete ¶
func (a *Client) PcloudPlacementgroupsMembersDelete(params *PcloudPlacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsMembersDeleteOK, error)
PcloudPlacementgroupsMembersDelete removes server from placement group
func (*Client) PcloudPlacementgroupsMembersPost ¶
func (a *Client) PcloudPlacementgroupsMembersPost(params *PcloudPlacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsMembersPostOK, error)
PcloudPlacementgroupsMembersPost adds server to placement group
func (*Client) PcloudPlacementgroupsPost ¶
func (a *Client) PcloudPlacementgroupsPost(params *PcloudPlacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPlacementgroupsPostOK, error)
PcloudPlacementgroupsPost creates a new server placement group
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudPlacementgroupsDeleteBadRequest ¶
PcloudPlacementgroupsDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudPlacementgroupsDeleteBadRequest ¶
func NewPcloudPlacementgroupsDeleteBadRequest() *PcloudPlacementgroupsDeleteBadRequest
NewPcloudPlacementgroupsDeleteBadRequest creates a PcloudPlacementgroupsDeleteBadRequest with default headers values
func (*PcloudPlacementgroupsDeleteBadRequest) Error ¶
func (o *PcloudPlacementgroupsDeleteBadRequest) Error() string
type PcloudPlacementgroupsDeleteInternalServerError ¶
PcloudPlacementgroupsDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudPlacementgroupsDeleteInternalServerError ¶
func NewPcloudPlacementgroupsDeleteInternalServerError() *PcloudPlacementgroupsDeleteInternalServerError
NewPcloudPlacementgroupsDeleteInternalServerError creates a PcloudPlacementgroupsDeleteInternalServerError with default headers values
func (*PcloudPlacementgroupsDeleteInternalServerError) Error ¶
func (o *PcloudPlacementgroupsDeleteInternalServerError) Error() string
type PcloudPlacementgroupsDeleteNotFound ¶
PcloudPlacementgroupsDeleteNotFound handles this case with default header values.
Not Found
func NewPcloudPlacementgroupsDeleteNotFound ¶
func NewPcloudPlacementgroupsDeleteNotFound() *PcloudPlacementgroupsDeleteNotFound
NewPcloudPlacementgroupsDeleteNotFound creates a PcloudPlacementgroupsDeleteNotFound with default headers values
func (*PcloudPlacementgroupsDeleteNotFound) Error ¶
func (o *PcloudPlacementgroupsDeleteNotFound) Error() string
type PcloudPlacementgroupsDeleteOK ¶
PcloudPlacementgroupsDeleteOK handles this case with default header values.
OK
func NewPcloudPlacementgroupsDeleteOK ¶
func NewPcloudPlacementgroupsDeleteOK() *PcloudPlacementgroupsDeleteOK
NewPcloudPlacementgroupsDeleteOK creates a PcloudPlacementgroupsDeleteOK with default headers values
func (*PcloudPlacementgroupsDeleteOK) Error ¶
func (o *PcloudPlacementgroupsDeleteOK) Error() string
type PcloudPlacementgroupsDeleteParams ¶
type PcloudPlacementgroupsDeleteParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*PlacementGroupID Placement Group ID */ PlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPlacementgroupsDeleteParams contains all the parameters to send to the API endpoint for the pcloud placementgroups delete operation typically these are written to a http.Request
func NewPcloudPlacementgroupsDeleteParams ¶
func NewPcloudPlacementgroupsDeleteParams() *PcloudPlacementgroupsDeleteParams
NewPcloudPlacementgroupsDeleteParams creates a new PcloudPlacementgroupsDeleteParams object with the default values initialized.
func NewPcloudPlacementgroupsDeleteParamsWithContext ¶
func NewPcloudPlacementgroupsDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsDeleteParams
NewPcloudPlacementgroupsDeleteParamsWithContext creates a new PcloudPlacementgroupsDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudPlacementgroupsDeleteParamsWithHTTPClient ¶
func NewPcloudPlacementgroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsDeleteParams
NewPcloudPlacementgroupsDeleteParamsWithHTTPClient creates a new PcloudPlacementgroupsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudPlacementgroupsDeleteParamsWithTimeout ¶
func NewPcloudPlacementgroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsDeleteParams
NewPcloudPlacementgroupsDeleteParamsWithTimeout creates a new PcloudPlacementgroupsDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudPlacementgroupsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudPlacementgroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) SetContext ¶
func (o *PcloudPlacementgroupsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) SetHTTPClient ¶
func (o *PcloudPlacementgroupsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) SetPlacementGroupID ¶
func (o *PcloudPlacementgroupsDeleteParams) SetPlacementGroupID(placementGroupID string)
SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) SetTimeout ¶
func (o *PcloudPlacementgroupsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudPlacementgroupsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) WithContext ¶
func (o *PcloudPlacementgroupsDeleteParams) WithContext(ctx context.Context) *PcloudPlacementgroupsDeleteParams
WithContext adds the context to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) WithHTTPClient ¶
func (o *PcloudPlacementgroupsDeleteParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) WithPlacementGroupID ¶
func (o *PcloudPlacementgroupsDeleteParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsDeleteParams
WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) WithTimeout ¶
func (o *PcloudPlacementgroupsDeleteParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsDeleteParams
WithTimeout adds the timeout to the pcloud placementgroups delete params
func (*PcloudPlacementgroupsDeleteParams) WriteToRequest ¶
func (o *PcloudPlacementgroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPlacementgroupsDeleteReader ¶
type PcloudPlacementgroupsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudPlacementgroupsDeleteReader is a Reader for the PcloudPlacementgroupsDelete structure.
func (*PcloudPlacementgroupsDeleteReader) ReadResponse ¶
func (o *PcloudPlacementgroupsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPlacementgroupsGetBadRequest ¶
PcloudPlacementgroupsGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudPlacementgroupsGetBadRequest ¶
func NewPcloudPlacementgroupsGetBadRequest() *PcloudPlacementgroupsGetBadRequest
NewPcloudPlacementgroupsGetBadRequest creates a PcloudPlacementgroupsGetBadRequest with default headers values
func (*PcloudPlacementgroupsGetBadRequest) Error ¶
func (o *PcloudPlacementgroupsGetBadRequest) Error() string
type PcloudPlacementgroupsGetInternalServerError ¶
PcloudPlacementgroupsGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudPlacementgroupsGetInternalServerError ¶
func NewPcloudPlacementgroupsGetInternalServerError() *PcloudPlacementgroupsGetInternalServerError
NewPcloudPlacementgroupsGetInternalServerError creates a PcloudPlacementgroupsGetInternalServerError with default headers values
func (*PcloudPlacementgroupsGetInternalServerError) Error ¶
func (o *PcloudPlacementgroupsGetInternalServerError) Error() string
type PcloudPlacementgroupsGetOK ¶
type PcloudPlacementgroupsGetOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsGetOK handles this case with default header values.
OK
func NewPcloudPlacementgroupsGetOK ¶
func NewPcloudPlacementgroupsGetOK() *PcloudPlacementgroupsGetOK
NewPcloudPlacementgroupsGetOK creates a PcloudPlacementgroupsGetOK with default headers values
func (*PcloudPlacementgroupsGetOK) Error ¶
func (o *PcloudPlacementgroupsGetOK) Error() string
type PcloudPlacementgroupsGetParams ¶
type PcloudPlacementgroupsGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*PlacementGroupID Placement Group ID */ PlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPlacementgroupsGetParams contains all the parameters to send to the API endpoint for the pcloud placementgroups get operation typically these are written to a http.Request
func NewPcloudPlacementgroupsGetParams ¶
func NewPcloudPlacementgroupsGetParams() *PcloudPlacementgroupsGetParams
NewPcloudPlacementgroupsGetParams creates a new PcloudPlacementgroupsGetParams object with the default values initialized.
func NewPcloudPlacementgroupsGetParamsWithContext ¶
func NewPcloudPlacementgroupsGetParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetParams
NewPcloudPlacementgroupsGetParamsWithContext creates a new PcloudPlacementgroupsGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudPlacementgroupsGetParamsWithHTTPClient ¶
func NewPcloudPlacementgroupsGetParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetParams
NewPcloudPlacementgroupsGetParamsWithHTTPClient creates a new PcloudPlacementgroupsGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudPlacementgroupsGetParamsWithTimeout ¶
func NewPcloudPlacementgroupsGetParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetParams
NewPcloudPlacementgroupsGetParamsWithTimeout creates a new PcloudPlacementgroupsGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudPlacementgroupsGetParams) SetCloudInstanceID ¶
func (o *PcloudPlacementgroupsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) SetContext ¶
func (o *PcloudPlacementgroupsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) SetHTTPClient ¶
func (o *PcloudPlacementgroupsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) SetPlacementGroupID ¶
func (o *PcloudPlacementgroupsGetParams) SetPlacementGroupID(placementGroupID string)
SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) SetTimeout ¶
func (o *PcloudPlacementgroupsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) WithCloudInstanceID ¶
func (o *PcloudPlacementgroupsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) WithContext ¶
func (o *PcloudPlacementgroupsGetParams) WithContext(ctx context.Context) *PcloudPlacementgroupsGetParams
WithContext adds the context to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) WithHTTPClient ¶
func (o *PcloudPlacementgroupsGetParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetParams
WithHTTPClient adds the HTTPClient to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) WithPlacementGroupID ¶
func (o *PcloudPlacementgroupsGetParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsGetParams
WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) WithTimeout ¶
func (o *PcloudPlacementgroupsGetParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetParams
WithTimeout adds the timeout to the pcloud placementgroups get params
func (*PcloudPlacementgroupsGetParams) WriteToRequest ¶
func (o *PcloudPlacementgroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPlacementgroupsGetReader ¶
type PcloudPlacementgroupsGetReader struct {
// contains filtered or unexported fields
}
PcloudPlacementgroupsGetReader is a Reader for the PcloudPlacementgroupsGet structure.
func (*PcloudPlacementgroupsGetReader) ReadResponse ¶
func (o *PcloudPlacementgroupsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPlacementgroupsGetallBadRequest ¶
PcloudPlacementgroupsGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudPlacementgroupsGetallBadRequest ¶
func NewPcloudPlacementgroupsGetallBadRequest() *PcloudPlacementgroupsGetallBadRequest
NewPcloudPlacementgroupsGetallBadRequest creates a PcloudPlacementgroupsGetallBadRequest with default headers values
func (*PcloudPlacementgroupsGetallBadRequest) Error ¶
func (o *PcloudPlacementgroupsGetallBadRequest) Error() string
type PcloudPlacementgroupsGetallInternalServerError ¶
PcloudPlacementgroupsGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudPlacementgroupsGetallInternalServerError ¶
func NewPcloudPlacementgroupsGetallInternalServerError() *PcloudPlacementgroupsGetallInternalServerError
NewPcloudPlacementgroupsGetallInternalServerError creates a PcloudPlacementgroupsGetallInternalServerError with default headers values
func (*PcloudPlacementgroupsGetallInternalServerError) Error ¶
func (o *PcloudPlacementgroupsGetallInternalServerError) Error() string
type PcloudPlacementgroupsGetallOK ¶
type PcloudPlacementgroupsGetallOK struct {
Payload *models.PlacementGroups
}
PcloudPlacementgroupsGetallOK handles this case with default header values.
OK
func NewPcloudPlacementgroupsGetallOK ¶
func NewPcloudPlacementgroupsGetallOK() *PcloudPlacementgroupsGetallOK
NewPcloudPlacementgroupsGetallOK creates a PcloudPlacementgroupsGetallOK with default headers values
func (*PcloudPlacementgroupsGetallOK) Error ¶
func (o *PcloudPlacementgroupsGetallOK) Error() string
type PcloudPlacementgroupsGetallParams ¶
type PcloudPlacementgroupsGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPlacementgroupsGetallParams contains all the parameters to send to the API endpoint for the pcloud placementgroups getall operation typically these are written to a http.Request
func NewPcloudPlacementgroupsGetallParams ¶
func NewPcloudPlacementgroupsGetallParams() *PcloudPlacementgroupsGetallParams
NewPcloudPlacementgroupsGetallParams creates a new PcloudPlacementgroupsGetallParams object with the default values initialized.
func NewPcloudPlacementgroupsGetallParamsWithContext ¶
func NewPcloudPlacementgroupsGetallParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetallParams
NewPcloudPlacementgroupsGetallParamsWithContext creates a new PcloudPlacementgroupsGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudPlacementgroupsGetallParamsWithHTTPClient ¶
func NewPcloudPlacementgroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetallParams
NewPcloudPlacementgroupsGetallParamsWithHTTPClient creates a new PcloudPlacementgroupsGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudPlacementgroupsGetallParamsWithTimeout ¶
func NewPcloudPlacementgroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetallParams
NewPcloudPlacementgroupsGetallParamsWithTimeout creates a new PcloudPlacementgroupsGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudPlacementgroupsGetallParams) SetCloudInstanceID ¶
func (o *PcloudPlacementgroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) SetContext ¶
func (o *PcloudPlacementgroupsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) SetHTTPClient ¶
func (o *PcloudPlacementgroupsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) SetTimeout ¶
func (o *PcloudPlacementgroupsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) WithCloudInstanceID ¶
func (o *PcloudPlacementgroupsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) WithContext ¶
func (o *PcloudPlacementgroupsGetallParams) WithContext(ctx context.Context) *PcloudPlacementgroupsGetallParams
WithContext adds the context to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) WithHTTPClient ¶
func (o *PcloudPlacementgroupsGetallParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) WithTimeout ¶
func (o *PcloudPlacementgroupsGetallParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetallParams
WithTimeout adds the timeout to the pcloud placementgroups getall params
func (*PcloudPlacementgroupsGetallParams) WriteToRequest ¶
func (o *PcloudPlacementgroupsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPlacementgroupsGetallReader ¶
type PcloudPlacementgroupsGetallReader struct {
// contains filtered or unexported fields
}
PcloudPlacementgroupsGetallReader is a Reader for the PcloudPlacementgroupsGetall structure.
func (*PcloudPlacementgroupsGetallReader) ReadResponse ¶
func (o *PcloudPlacementgroupsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPlacementgroupsGetallUnauthorized ¶
type PcloudPlacementgroupsGetallUnauthorized struct {
}PcloudPlacementgroupsGetallUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudPlacementgroupsGetallUnauthorized ¶
func NewPcloudPlacementgroupsGetallUnauthorized() *PcloudPlacementgroupsGetallUnauthorized
NewPcloudPlacementgroupsGetallUnauthorized creates a PcloudPlacementgroupsGetallUnauthorized with default headers values
func (*PcloudPlacementgroupsGetallUnauthorized) Error ¶
func (o *PcloudPlacementgroupsGetallUnauthorized) Error() string
type PcloudPlacementgroupsMembersDeleteBadRequest ¶
PcloudPlacementgroupsMembersDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudPlacementgroupsMembersDeleteBadRequest ¶
func NewPcloudPlacementgroupsMembersDeleteBadRequest() *PcloudPlacementgroupsMembersDeleteBadRequest
NewPcloudPlacementgroupsMembersDeleteBadRequest creates a PcloudPlacementgroupsMembersDeleteBadRequest with default headers values
func (*PcloudPlacementgroupsMembersDeleteBadRequest) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) Error() string
type PcloudPlacementgroupsMembersDeleteConflict ¶
PcloudPlacementgroupsMembersDeleteConflict handles this case with default header values.
Conflict
func NewPcloudPlacementgroupsMembersDeleteConflict ¶
func NewPcloudPlacementgroupsMembersDeleteConflict() *PcloudPlacementgroupsMembersDeleteConflict
NewPcloudPlacementgroupsMembersDeleteConflict creates a PcloudPlacementgroupsMembersDeleteConflict with default headers values
func (*PcloudPlacementgroupsMembersDeleteConflict) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteConflict) Error() string
type PcloudPlacementgroupsMembersDeleteInternalServerError ¶
PcloudPlacementgroupsMembersDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudPlacementgroupsMembersDeleteInternalServerError ¶
func NewPcloudPlacementgroupsMembersDeleteInternalServerError() *PcloudPlacementgroupsMembersDeleteInternalServerError
NewPcloudPlacementgroupsMembersDeleteInternalServerError creates a PcloudPlacementgroupsMembersDeleteInternalServerError with default headers values
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) Error() string
type PcloudPlacementgroupsMembersDeleteOK ¶
type PcloudPlacementgroupsMembersDeleteOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsMembersDeleteOK handles this case with default header values.
OK
func NewPcloudPlacementgroupsMembersDeleteOK ¶
func NewPcloudPlacementgroupsMembersDeleteOK() *PcloudPlacementgroupsMembersDeleteOK
NewPcloudPlacementgroupsMembersDeleteOK creates a PcloudPlacementgroupsMembersDeleteOK with default headers values
func (*PcloudPlacementgroupsMembersDeleteOK) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteOK) Error() string
type PcloudPlacementgroupsMembersDeleteParams ¶
type PcloudPlacementgroupsMembersDeleteParams struct { /*Body Parameters for removing a Server in a Placement Group */ Body *models.PlacementGroupServer /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*PlacementGroupID Placement Group ID */ PlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPlacementgroupsMembersDeleteParams contains all the parameters to send to the API endpoint for the pcloud placementgroups members delete operation typically these are written to a http.Request
func NewPcloudPlacementgroupsMembersDeleteParams ¶
func NewPcloudPlacementgroupsMembersDeleteParams() *PcloudPlacementgroupsMembersDeleteParams
NewPcloudPlacementgroupsMembersDeleteParams creates a new PcloudPlacementgroupsMembersDeleteParams object with the default values initialized.
func NewPcloudPlacementgroupsMembersDeleteParamsWithContext ¶
func NewPcloudPlacementgroupsMembersDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersDeleteParams
NewPcloudPlacementgroupsMembersDeleteParamsWithContext creates a new PcloudPlacementgroupsMembersDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudPlacementgroupsMembersDeleteParamsWithHTTPClient ¶
func NewPcloudPlacementgroupsMembersDeleteParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersDeleteParams
NewPcloudPlacementgroupsMembersDeleteParamsWithHTTPClient creates a new PcloudPlacementgroupsMembersDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudPlacementgroupsMembersDeleteParamsWithTimeout ¶
func NewPcloudPlacementgroupsMembersDeleteParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersDeleteParams
NewPcloudPlacementgroupsMembersDeleteParamsWithTimeout creates a new PcloudPlacementgroupsMembersDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudPlacementgroupsMembersDeleteParams) SetBody ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) SetBody(body *models.PlacementGroupServer)
SetBody adds the body to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) SetCloudInstanceID ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) SetContext ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) SetHTTPClient ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) SetPlacementGroupID ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) SetPlacementGroupID(placementGroupID string)
SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) SetTimeout ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) WithBody ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) WithBody(body *models.PlacementGroupServer) *PcloudPlacementgroupsMembersDeleteParams
WithBody adds the body to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) WithCloudInstanceID ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsMembersDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) WithContext ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) WithContext(ctx context.Context) *PcloudPlacementgroupsMembersDeleteParams
WithContext adds the context to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) WithHTTPClient ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) WithPlacementGroupID ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsMembersDeleteParams
WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) WithTimeout ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersDeleteParams
WithTimeout adds the timeout to the pcloud placementgroups members delete params
func (*PcloudPlacementgroupsMembersDeleteParams) WriteToRequest ¶
func (o *PcloudPlacementgroupsMembersDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPlacementgroupsMembersDeleteReader ¶
type PcloudPlacementgroupsMembersDeleteReader struct {
// contains filtered or unexported fields
}
PcloudPlacementgroupsMembersDeleteReader is a Reader for the PcloudPlacementgroupsMembersDelete structure.
func (*PcloudPlacementgroupsMembersDeleteReader) ReadResponse ¶
func (o *PcloudPlacementgroupsMembersDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPlacementgroupsMembersDeleteUnprocessableEntity ¶
PcloudPlacementgroupsMembersDeleteUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity ¶
func NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity() *PcloudPlacementgroupsMembersDeleteUnprocessableEntity
NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity creates a PcloudPlacementgroupsMembersDeleteUnprocessableEntity with default headers values
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Error() string
type PcloudPlacementgroupsMembersPostBadRequest ¶
PcloudPlacementgroupsMembersPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudPlacementgroupsMembersPostBadRequest ¶
func NewPcloudPlacementgroupsMembersPostBadRequest() *PcloudPlacementgroupsMembersPostBadRequest
NewPcloudPlacementgroupsMembersPostBadRequest creates a PcloudPlacementgroupsMembersPostBadRequest with default headers values
func (*PcloudPlacementgroupsMembersPostBadRequest) Error ¶
func (o *PcloudPlacementgroupsMembersPostBadRequest) Error() string
type PcloudPlacementgroupsMembersPostConflict ¶
PcloudPlacementgroupsMembersPostConflict handles this case with default header values.
Conflict
func NewPcloudPlacementgroupsMembersPostConflict ¶
func NewPcloudPlacementgroupsMembersPostConflict() *PcloudPlacementgroupsMembersPostConflict
NewPcloudPlacementgroupsMembersPostConflict creates a PcloudPlacementgroupsMembersPostConflict with default headers values
func (*PcloudPlacementgroupsMembersPostConflict) Error ¶
func (o *PcloudPlacementgroupsMembersPostConflict) Error() string
type PcloudPlacementgroupsMembersPostInternalServerError ¶
PcloudPlacementgroupsMembersPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudPlacementgroupsMembersPostInternalServerError ¶
func NewPcloudPlacementgroupsMembersPostInternalServerError() *PcloudPlacementgroupsMembersPostInternalServerError
NewPcloudPlacementgroupsMembersPostInternalServerError creates a PcloudPlacementgroupsMembersPostInternalServerError with default headers values
func (*PcloudPlacementgroupsMembersPostInternalServerError) Error ¶
func (o *PcloudPlacementgroupsMembersPostInternalServerError) Error() string
type PcloudPlacementgroupsMembersPostOK ¶
type PcloudPlacementgroupsMembersPostOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsMembersPostOK handles this case with default header values.
OK
func NewPcloudPlacementgroupsMembersPostOK ¶
func NewPcloudPlacementgroupsMembersPostOK() *PcloudPlacementgroupsMembersPostOK
NewPcloudPlacementgroupsMembersPostOK creates a PcloudPlacementgroupsMembersPostOK with default headers values
func (*PcloudPlacementgroupsMembersPostOK) Error ¶
func (o *PcloudPlacementgroupsMembersPostOK) Error() string
type PcloudPlacementgroupsMembersPostParams ¶
type PcloudPlacementgroupsMembersPostParams struct { /*Body Parameters for adding a server to a Server Placement Group */ Body *models.PlacementGroupServer /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*PlacementGroupID Placement Group ID */ PlacementGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPlacementgroupsMembersPostParams contains all the parameters to send to the API endpoint for the pcloud placementgroups members post operation typically these are written to a http.Request
func NewPcloudPlacementgroupsMembersPostParams ¶
func NewPcloudPlacementgroupsMembersPostParams() *PcloudPlacementgroupsMembersPostParams
NewPcloudPlacementgroupsMembersPostParams creates a new PcloudPlacementgroupsMembersPostParams object with the default values initialized.
func NewPcloudPlacementgroupsMembersPostParamsWithContext ¶
func NewPcloudPlacementgroupsMembersPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersPostParams
NewPcloudPlacementgroupsMembersPostParamsWithContext creates a new PcloudPlacementgroupsMembersPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudPlacementgroupsMembersPostParamsWithHTTPClient ¶
func NewPcloudPlacementgroupsMembersPostParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersPostParams
NewPcloudPlacementgroupsMembersPostParamsWithHTTPClient creates a new PcloudPlacementgroupsMembersPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudPlacementgroupsMembersPostParamsWithTimeout ¶
func NewPcloudPlacementgroupsMembersPostParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersPostParams
NewPcloudPlacementgroupsMembersPostParamsWithTimeout creates a new PcloudPlacementgroupsMembersPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudPlacementgroupsMembersPostParams) SetBody ¶
func (o *PcloudPlacementgroupsMembersPostParams) SetBody(body *models.PlacementGroupServer)
SetBody adds the body to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) SetCloudInstanceID ¶
func (o *PcloudPlacementgroupsMembersPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) SetContext ¶
func (o *PcloudPlacementgroupsMembersPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) SetHTTPClient ¶
func (o *PcloudPlacementgroupsMembersPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) SetPlacementGroupID ¶
func (o *PcloudPlacementgroupsMembersPostParams) SetPlacementGroupID(placementGroupID string)
SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) SetTimeout ¶
func (o *PcloudPlacementgroupsMembersPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) WithBody ¶
func (o *PcloudPlacementgroupsMembersPostParams) WithBody(body *models.PlacementGroupServer) *PcloudPlacementgroupsMembersPostParams
WithBody adds the body to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) WithCloudInstanceID ¶
func (o *PcloudPlacementgroupsMembersPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsMembersPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) WithContext ¶
func (o *PcloudPlacementgroupsMembersPostParams) WithContext(ctx context.Context) *PcloudPlacementgroupsMembersPostParams
WithContext adds the context to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) WithHTTPClient ¶
func (o *PcloudPlacementgroupsMembersPostParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersPostParams
WithHTTPClient adds the HTTPClient to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) WithPlacementGroupID ¶
func (o *PcloudPlacementgroupsMembersPostParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsMembersPostParams
WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) WithTimeout ¶
func (o *PcloudPlacementgroupsMembersPostParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersPostParams
WithTimeout adds the timeout to the pcloud placementgroups members post params
func (*PcloudPlacementgroupsMembersPostParams) WriteToRequest ¶
func (o *PcloudPlacementgroupsMembersPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPlacementgroupsMembersPostReader ¶
type PcloudPlacementgroupsMembersPostReader struct {
// contains filtered or unexported fields
}
PcloudPlacementgroupsMembersPostReader is a Reader for the PcloudPlacementgroupsMembersPost structure.
func (*PcloudPlacementgroupsMembersPostReader) ReadResponse ¶
func (o *PcloudPlacementgroupsMembersPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPlacementgroupsMembersPostUnprocessableEntity ¶
PcloudPlacementgroupsMembersPostUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudPlacementgroupsMembersPostUnprocessableEntity ¶
func NewPcloudPlacementgroupsMembersPostUnprocessableEntity() *PcloudPlacementgroupsMembersPostUnprocessableEntity
NewPcloudPlacementgroupsMembersPostUnprocessableEntity creates a PcloudPlacementgroupsMembersPostUnprocessableEntity with default headers values
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) Error ¶
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) Error() string
type PcloudPlacementgroupsPostBadRequest ¶
PcloudPlacementgroupsPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudPlacementgroupsPostBadRequest ¶
func NewPcloudPlacementgroupsPostBadRequest() *PcloudPlacementgroupsPostBadRequest
NewPcloudPlacementgroupsPostBadRequest creates a PcloudPlacementgroupsPostBadRequest with default headers values
func (*PcloudPlacementgroupsPostBadRequest) Error ¶
func (o *PcloudPlacementgroupsPostBadRequest) Error() string
type PcloudPlacementgroupsPostConflict ¶
PcloudPlacementgroupsPostConflict handles this case with default header values.
Conflict
func NewPcloudPlacementgroupsPostConflict ¶
func NewPcloudPlacementgroupsPostConflict() *PcloudPlacementgroupsPostConflict
NewPcloudPlacementgroupsPostConflict creates a PcloudPlacementgroupsPostConflict with default headers values
func (*PcloudPlacementgroupsPostConflict) Error ¶
func (o *PcloudPlacementgroupsPostConflict) Error() string
type PcloudPlacementgroupsPostInternalServerError ¶
PcloudPlacementgroupsPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudPlacementgroupsPostInternalServerError ¶
func NewPcloudPlacementgroupsPostInternalServerError() *PcloudPlacementgroupsPostInternalServerError
NewPcloudPlacementgroupsPostInternalServerError creates a PcloudPlacementgroupsPostInternalServerError with default headers values
func (*PcloudPlacementgroupsPostInternalServerError) Error ¶
func (o *PcloudPlacementgroupsPostInternalServerError) Error() string
type PcloudPlacementgroupsPostOK ¶
type PcloudPlacementgroupsPostOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsPostOK handles this case with default header values.
OK
func NewPcloudPlacementgroupsPostOK ¶
func NewPcloudPlacementgroupsPostOK() *PcloudPlacementgroupsPostOK
NewPcloudPlacementgroupsPostOK creates a PcloudPlacementgroupsPostOK with default headers values
func (*PcloudPlacementgroupsPostOK) Error ¶
func (o *PcloudPlacementgroupsPostOK) Error() string
type PcloudPlacementgroupsPostParams ¶
type PcloudPlacementgroupsPostParams struct { /*Body Parameters for the creation of a new Server Placement Group */ Body *models.PlacementGroupCreate /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPlacementgroupsPostParams contains all the parameters to send to the API endpoint for the pcloud placementgroups post operation typically these are written to a http.Request
func NewPcloudPlacementgroupsPostParams ¶
func NewPcloudPlacementgroupsPostParams() *PcloudPlacementgroupsPostParams
NewPcloudPlacementgroupsPostParams creates a new PcloudPlacementgroupsPostParams object with the default values initialized.
func NewPcloudPlacementgroupsPostParamsWithContext ¶
func NewPcloudPlacementgroupsPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsPostParams
NewPcloudPlacementgroupsPostParamsWithContext creates a new PcloudPlacementgroupsPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudPlacementgroupsPostParamsWithHTTPClient ¶
func NewPcloudPlacementgroupsPostParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsPostParams
NewPcloudPlacementgroupsPostParamsWithHTTPClient creates a new PcloudPlacementgroupsPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudPlacementgroupsPostParamsWithTimeout ¶
func NewPcloudPlacementgroupsPostParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsPostParams
NewPcloudPlacementgroupsPostParamsWithTimeout creates a new PcloudPlacementgroupsPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudPlacementgroupsPostParams) SetBody ¶
func (o *PcloudPlacementgroupsPostParams) SetBody(body *models.PlacementGroupCreate)
SetBody adds the body to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) SetCloudInstanceID ¶
func (o *PcloudPlacementgroupsPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) SetContext ¶
func (o *PcloudPlacementgroupsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) SetHTTPClient ¶
func (o *PcloudPlacementgroupsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) SetTimeout ¶
func (o *PcloudPlacementgroupsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) WithBody ¶
func (o *PcloudPlacementgroupsPostParams) WithBody(body *models.PlacementGroupCreate) *PcloudPlacementgroupsPostParams
WithBody adds the body to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) WithCloudInstanceID ¶
func (o *PcloudPlacementgroupsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPlacementgroupsPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) WithContext ¶
func (o *PcloudPlacementgroupsPostParams) WithContext(ctx context.Context) *PcloudPlacementgroupsPostParams
WithContext adds the context to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) WithHTTPClient ¶
func (o *PcloudPlacementgroupsPostParams) WithHTTPClient(client *http.Client) *PcloudPlacementgroupsPostParams
WithHTTPClient adds the HTTPClient to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) WithTimeout ¶
func (o *PcloudPlacementgroupsPostParams) WithTimeout(timeout time.Duration) *PcloudPlacementgroupsPostParams
WithTimeout adds the timeout to the pcloud placementgroups post params
func (*PcloudPlacementgroupsPostParams) WriteToRequest ¶
func (o *PcloudPlacementgroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPlacementgroupsPostReader ¶
type PcloudPlacementgroupsPostReader struct {
// contains filtered or unexported fields
}
PcloudPlacementgroupsPostReader is a Reader for the PcloudPlacementgroupsPost structure.
func (*PcloudPlacementgroupsPostReader) ReadResponse ¶
func (o *PcloudPlacementgroupsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPlacementgroupsPostUnprocessableEntity ¶
PcloudPlacementgroupsPostUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudPlacementgroupsPostUnprocessableEntity ¶
func NewPcloudPlacementgroupsPostUnprocessableEntity() *PcloudPlacementgroupsPostUnprocessableEntity
NewPcloudPlacementgroupsPostUnprocessableEntity creates a PcloudPlacementgroupsPostUnprocessableEntity with default headers values
func (*PcloudPlacementgroupsPostUnprocessableEntity) Error ¶
func (o *PcloudPlacementgroupsPostUnprocessableEntity) Error() string
Source Files ¶
- p_cloud_placement_groups_client.go
- pcloud_placementgroups_delete_parameters.go
- pcloud_placementgroups_delete_responses.go
- pcloud_placementgroups_get_parameters.go
- pcloud_placementgroups_get_responses.go
- pcloud_placementgroups_getall_parameters.go
- pcloud_placementgroups_getall_responses.go
- pcloud_placementgroups_members_delete_parameters.go
- pcloud_placementgroups_members_delete_responses.go
- pcloud_placementgroups_members_post_parameters.go
- pcloud_placementgroups_members_post_responses.go
- pcloud_placementgroups_post_parameters.go
- pcloud_placementgroups_post_responses.go