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 ClientOption
- type ClientService
- type PcloudPlacementgroupsDeleteBadRequest
- func (o *PcloudPlacementgroupsDeleteBadRequest) Code() int
- func (o *PcloudPlacementgroupsDeleteBadRequest) Error() string
- func (o *PcloudPlacementgroupsDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsDeleteBadRequest) IsClientError() bool
- func (o *PcloudPlacementgroupsDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudPlacementgroupsDeleteBadRequest) IsRedirect() bool
- func (o *PcloudPlacementgroupsDeleteBadRequest) IsServerError() bool
- func (o *PcloudPlacementgroupsDeleteBadRequest) IsSuccess() bool
- func (o *PcloudPlacementgroupsDeleteBadRequest) String() string
- type PcloudPlacementgroupsDeleteForbidden
- func (o *PcloudPlacementgroupsDeleteForbidden) Code() int
- func (o *PcloudPlacementgroupsDeleteForbidden) Error() string
- func (o *PcloudPlacementgroupsDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsDeleteForbidden) IsClientError() bool
- func (o *PcloudPlacementgroupsDeleteForbidden) IsCode(code int) bool
- func (o *PcloudPlacementgroupsDeleteForbidden) IsRedirect() bool
- func (o *PcloudPlacementgroupsDeleteForbidden) IsServerError() bool
- func (o *PcloudPlacementgroupsDeleteForbidden) IsSuccess() bool
- func (o *PcloudPlacementgroupsDeleteForbidden) String() string
- type PcloudPlacementgroupsDeleteInternalServerError
- func (o *PcloudPlacementgroupsDeleteInternalServerError) Code() int
- func (o *PcloudPlacementgroupsDeleteInternalServerError) Error() string
- func (o *PcloudPlacementgroupsDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsDeleteInternalServerError) IsClientError() bool
- func (o *PcloudPlacementgroupsDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudPlacementgroupsDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudPlacementgroupsDeleteInternalServerError) IsServerError() bool
- func (o *PcloudPlacementgroupsDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudPlacementgroupsDeleteInternalServerError) String() string
- type PcloudPlacementgroupsDeleteNotFound
- func (o *PcloudPlacementgroupsDeleteNotFound) Code() int
- func (o *PcloudPlacementgroupsDeleteNotFound) Error() string
- func (o *PcloudPlacementgroupsDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsDeleteNotFound) IsClientError() bool
- func (o *PcloudPlacementgroupsDeleteNotFound) IsCode(code int) bool
- func (o *PcloudPlacementgroupsDeleteNotFound) IsRedirect() bool
- func (o *PcloudPlacementgroupsDeleteNotFound) IsServerError() bool
- func (o *PcloudPlacementgroupsDeleteNotFound) IsSuccess() bool
- func (o *PcloudPlacementgroupsDeleteNotFound) String() string
- type PcloudPlacementgroupsDeleteOK
- func (o *PcloudPlacementgroupsDeleteOK) Code() int
- func (o *PcloudPlacementgroupsDeleteOK) Error() string
- func (o *PcloudPlacementgroupsDeleteOK) GetPayload() models.Object
- func (o *PcloudPlacementgroupsDeleteOK) IsClientError() bool
- func (o *PcloudPlacementgroupsDeleteOK) IsCode(code int) bool
- func (o *PcloudPlacementgroupsDeleteOK) IsRedirect() bool
- func (o *PcloudPlacementgroupsDeleteOK) IsServerError() bool
- func (o *PcloudPlacementgroupsDeleteOK) IsSuccess() bool
- func (o *PcloudPlacementgroupsDeleteOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PcloudPlacementgroupsGetBadRequest) Code() int
- func (o *PcloudPlacementgroupsGetBadRequest) Error() string
- func (o *PcloudPlacementgroupsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetBadRequest) IsClientError() bool
- func (o *PcloudPlacementgroupsGetBadRequest) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetBadRequest) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetBadRequest) IsServerError() bool
- func (o *PcloudPlacementgroupsGetBadRequest) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetBadRequest) String() string
- type PcloudPlacementgroupsGetForbidden
- func (o *PcloudPlacementgroupsGetForbidden) Code() int
- func (o *PcloudPlacementgroupsGetForbidden) Error() string
- func (o *PcloudPlacementgroupsGetForbidden) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetForbidden) IsClientError() bool
- func (o *PcloudPlacementgroupsGetForbidden) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetForbidden) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetForbidden) IsServerError() bool
- func (o *PcloudPlacementgroupsGetForbidden) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetForbidden) String() string
- type PcloudPlacementgroupsGetInternalServerError
- func (o *PcloudPlacementgroupsGetInternalServerError) Code() int
- func (o *PcloudPlacementgroupsGetInternalServerError) Error() string
- func (o *PcloudPlacementgroupsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetInternalServerError) IsClientError() bool
- func (o *PcloudPlacementgroupsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetInternalServerError) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetInternalServerError) IsServerError() bool
- func (o *PcloudPlacementgroupsGetInternalServerError) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetInternalServerError) String() string
- type PcloudPlacementgroupsGetNotFound
- func (o *PcloudPlacementgroupsGetNotFound) Code() int
- func (o *PcloudPlacementgroupsGetNotFound) Error() string
- func (o *PcloudPlacementgroupsGetNotFound) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetNotFound) IsClientError() bool
- func (o *PcloudPlacementgroupsGetNotFound) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetNotFound) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetNotFound) IsServerError() bool
- func (o *PcloudPlacementgroupsGetNotFound) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetNotFound) String() string
- type PcloudPlacementgroupsGetOK
- func (o *PcloudPlacementgroupsGetOK) Code() int
- func (o *PcloudPlacementgroupsGetOK) Error() string
- func (o *PcloudPlacementgroupsGetOK) GetPayload() *models.PlacementGroup
- func (o *PcloudPlacementgroupsGetOK) IsClientError() bool
- func (o *PcloudPlacementgroupsGetOK) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetOK) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetOK) IsServerError() bool
- func (o *PcloudPlacementgroupsGetOK) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PcloudPlacementgroupsGetallBadRequest) Code() int
- func (o *PcloudPlacementgroupsGetallBadRequest) Error() string
- func (o *PcloudPlacementgroupsGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetallBadRequest) IsClientError() bool
- func (o *PcloudPlacementgroupsGetallBadRequest) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetallBadRequest) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetallBadRequest) IsServerError() bool
- func (o *PcloudPlacementgroupsGetallBadRequest) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetallBadRequest) String() string
- type PcloudPlacementgroupsGetallForbidden
- func (o *PcloudPlacementgroupsGetallForbidden) Code() int
- func (o *PcloudPlacementgroupsGetallForbidden) Error() string
- func (o *PcloudPlacementgroupsGetallForbidden) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetallForbidden) IsClientError() bool
- func (o *PcloudPlacementgroupsGetallForbidden) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetallForbidden) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetallForbidden) IsServerError() bool
- func (o *PcloudPlacementgroupsGetallForbidden) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetallForbidden) String() string
- type PcloudPlacementgroupsGetallInternalServerError
- func (o *PcloudPlacementgroupsGetallInternalServerError) Code() int
- func (o *PcloudPlacementgroupsGetallInternalServerError) Error() string
- func (o *PcloudPlacementgroupsGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetallInternalServerError) IsClientError() bool
- func (o *PcloudPlacementgroupsGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetallInternalServerError) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetallInternalServerError) IsServerError() bool
- func (o *PcloudPlacementgroupsGetallInternalServerError) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetallInternalServerError) String() string
- type PcloudPlacementgroupsGetallOK
- func (o *PcloudPlacementgroupsGetallOK) Code() int
- func (o *PcloudPlacementgroupsGetallOK) Error() string
- func (o *PcloudPlacementgroupsGetallOK) GetPayload() *models.PlacementGroups
- func (o *PcloudPlacementgroupsGetallOK) IsClientError() bool
- func (o *PcloudPlacementgroupsGetallOK) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetallOK) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetallOK) IsServerError() bool
- func (o *PcloudPlacementgroupsGetallOK) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetallOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PcloudPlacementgroupsGetallUnauthorized) Code() int
- func (o *PcloudPlacementgroupsGetallUnauthorized) Error() string
- func (o *PcloudPlacementgroupsGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsGetallUnauthorized) IsClientError() bool
- func (o *PcloudPlacementgroupsGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudPlacementgroupsGetallUnauthorized) IsRedirect() bool
- func (o *PcloudPlacementgroupsGetallUnauthorized) IsServerError() bool
- func (o *PcloudPlacementgroupsGetallUnauthorized) IsSuccess() bool
- func (o *PcloudPlacementgroupsGetallUnauthorized) String() string
- type PcloudPlacementgroupsMembersDeleteBadRequest
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) Code() int
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) Error() string
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersDeleteBadRequest) String() string
- type PcloudPlacementgroupsMembersDeleteConflict
- func (o *PcloudPlacementgroupsMembersDeleteConflict) Code() int
- func (o *PcloudPlacementgroupsMembersDeleteConflict) Error() string
- func (o *PcloudPlacementgroupsMembersDeleteConflict) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersDeleteConflict) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersDeleteConflict) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersDeleteConflict) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersDeleteConflict) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersDeleteConflict) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersDeleteConflict) String() string
- type PcloudPlacementgroupsMembersDeleteForbidden
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) Code() int
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) Error() string
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersDeleteForbidden) String() string
- type PcloudPlacementgroupsMembersDeleteInternalServerError
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) Code() int
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) Error() string
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) String() string
- type PcloudPlacementgroupsMembersDeleteNotFound
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) Code() int
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) Error() string
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersDeleteNotFound) String() string
- type PcloudPlacementgroupsMembersDeleteOK
- func (o *PcloudPlacementgroupsMembersDeleteOK) Code() int
- func (o *PcloudPlacementgroupsMembersDeleteOK) Error() string
- func (o *PcloudPlacementgroupsMembersDeleteOK) GetPayload() *models.PlacementGroup
- func (o *PcloudPlacementgroupsMembersDeleteOK) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersDeleteOK) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersDeleteOK) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersDeleteOK) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersDeleteOK) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersDeleteOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Code() int
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Error() string
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) String() string
- type PcloudPlacementgroupsMembersPostBadRequest
- func (o *PcloudPlacementgroupsMembersPostBadRequest) Code() int
- func (o *PcloudPlacementgroupsMembersPostBadRequest) Error() string
- func (o *PcloudPlacementgroupsMembersPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersPostBadRequest) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersPostBadRequest) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersPostBadRequest) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersPostBadRequest) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersPostBadRequest) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersPostBadRequest) String() string
- type PcloudPlacementgroupsMembersPostConflict
- func (o *PcloudPlacementgroupsMembersPostConflict) Code() int
- func (o *PcloudPlacementgroupsMembersPostConflict) Error() string
- func (o *PcloudPlacementgroupsMembersPostConflict) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersPostConflict) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersPostConflict) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersPostConflict) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersPostConflict) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersPostConflict) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersPostConflict) String() string
- type PcloudPlacementgroupsMembersPostForbidden
- func (o *PcloudPlacementgroupsMembersPostForbidden) Code() int
- func (o *PcloudPlacementgroupsMembersPostForbidden) Error() string
- func (o *PcloudPlacementgroupsMembersPostForbidden) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersPostForbidden) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersPostForbidden) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersPostForbidden) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersPostForbidden) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersPostForbidden) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersPostForbidden) String() string
- type PcloudPlacementgroupsMembersPostInternalServerError
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) Code() int
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) Error() string
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersPostInternalServerError) String() string
- type PcloudPlacementgroupsMembersPostNotFound
- func (o *PcloudPlacementgroupsMembersPostNotFound) Code() int
- func (o *PcloudPlacementgroupsMembersPostNotFound) Error() string
- func (o *PcloudPlacementgroupsMembersPostNotFound) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersPostNotFound) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersPostNotFound) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersPostNotFound) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersPostNotFound) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersPostNotFound) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersPostNotFound) String() string
- type PcloudPlacementgroupsMembersPostOK
- func (o *PcloudPlacementgroupsMembersPostOK) Code() int
- func (o *PcloudPlacementgroupsMembersPostOK) Error() string
- func (o *PcloudPlacementgroupsMembersPostOK) GetPayload() *models.PlacementGroup
- func (o *PcloudPlacementgroupsMembersPostOK) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersPostOK) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersPostOK) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersPostOK) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersPostOK) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersPostOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) Code() int
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) Error() string
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) String() string
- type PcloudPlacementgroupsPostBadRequest
- func (o *PcloudPlacementgroupsPostBadRequest) Code() int
- func (o *PcloudPlacementgroupsPostBadRequest) Error() string
- func (o *PcloudPlacementgroupsPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsPostBadRequest) IsClientError() bool
- func (o *PcloudPlacementgroupsPostBadRequest) IsCode(code int) bool
- func (o *PcloudPlacementgroupsPostBadRequest) IsRedirect() bool
- func (o *PcloudPlacementgroupsPostBadRequest) IsServerError() bool
- func (o *PcloudPlacementgroupsPostBadRequest) IsSuccess() bool
- func (o *PcloudPlacementgroupsPostBadRequest) String() string
- type PcloudPlacementgroupsPostConflict
- func (o *PcloudPlacementgroupsPostConflict) Code() int
- func (o *PcloudPlacementgroupsPostConflict) Error() string
- func (o *PcloudPlacementgroupsPostConflict) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsPostConflict) IsClientError() bool
- func (o *PcloudPlacementgroupsPostConflict) IsCode(code int) bool
- func (o *PcloudPlacementgroupsPostConflict) IsRedirect() bool
- func (o *PcloudPlacementgroupsPostConflict) IsServerError() bool
- func (o *PcloudPlacementgroupsPostConflict) IsSuccess() bool
- func (o *PcloudPlacementgroupsPostConflict) String() string
- type PcloudPlacementgroupsPostForbidden
- func (o *PcloudPlacementgroupsPostForbidden) Code() int
- func (o *PcloudPlacementgroupsPostForbidden) Error() string
- func (o *PcloudPlacementgroupsPostForbidden) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsPostForbidden) IsClientError() bool
- func (o *PcloudPlacementgroupsPostForbidden) IsCode(code int) bool
- func (o *PcloudPlacementgroupsPostForbidden) IsRedirect() bool
- func (o *PcloudPlacementgroupsPostForbidden) IsServerError() bool
- func (o *PcloudPlacementgroupsPostForbidden) IsSuccess() bool
- func (o *PcloudPlacementgroupsPostForbidden) String() string
- type PcloudPlacementgroupsPostInternalServerError
- func (o *PcloudPlacementgroupsPostInternalServerError) Code() int
- func (o *PcloudPlacementgroupsPostInternalServerError) Error() string
- func (o *PcloudPlacementgroupsPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsPostInternalServerError) IsClientError() bool
- func (o *PcloudPlacementgroupsPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPlacementgroupsPostInternalServerError) IsRedirect() bool
- func (o *PcloudPlacementgroupsPostInternalServerError) IsServerError() bool
- func (o *PcloudPlacementgroupsPostInternalServerError) IsSuccess() bool
- func (o *PcloudPlacementgroupsPostInternalServerError) String() string
- type PcloudPlacementgroupsPostOK
- func (o *PcloudPlacementgroupsPostOK) Code() int
- func (o *PcloudPlacementgroupsPostOK) Error() string
- func (o *PcloudPlacementgroupsPostOK) GetPayload() *models.PlacementGroup
- func (o *PcloudPlacementgroupsPostOK) IsClientError() bool
- func (o *PcloudPlacementgroupsPostOK) IsCode(code int) bool
- func (o *PcloudPlacementgroupsPostOK) IsRedirect() bool
- func (o *PcloudPlacementgroupsPostOK) IsServerError() bool
- func (o *PcloudPlacementgroupsPostOK) IsSuccess() bool
- func (o *PcloudPlacementgroupsPostOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) Code() int
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) Error() string
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPlacementgroupsPostUnprocessableEntity) String() string
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 (*Client) PcloudPlacementgroupsDelete ¶
func (a *Client) PcloudPlacementgroupsDelete(params *PcloudPlacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsDeleteOK, error)
PcloudPlacementgroupsDelete deletes server placement group
func (*Client) PcloudPlacementgroupsGet ¶
func (a *Client) PcloudPlacementgroupsGet(params *PcloudPlacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetOK, error)
PcloudPlacementgroupsGet gets server placement group detail
func (*Client) PcloudPlacementgroupsGetall ¶
func (a *Client) PcloudPlacementgroupsGetall(params *PcloudPlacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetallOK, error)
PcloudPlacementgroupsGetall gets all server placement groups
func (*Client) PcloudPlacementgroupsMembersDelete ¶
func (a *Client) PcloudPlacementgroupsMembersDelete(params *PcloudPlacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersDeleteOK, error)
PcloudPlacementgroupsMembersDelete removes server from placement group
func (*Client) PcloudPlacementgroupsMembersPost ¶
func (a *Client) PcloudPlacementgroupsMembersPost(params *PcloudPlacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersPostOK, error)
PcloudPlacementgroupsMembersPost adds server to placement group
func (*Client) PcloudPlacementgroupsPost ¶
func (a *Client) PcloudPlacementgroupsPost(params *PcloudPlacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudPlacementgroupsDelete(params *PcloudPlacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsDeleteOK, error) PcloudPlacementgroupsGet(params *PcloudPlacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetOK, error) PcloudPlacementgroupsGetall(params *PcloudPlacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetallOK, error) PcloudPlacementgroupsMembersDelete(params *PcloudPlacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersDeleteOK, error) PcloudPlacementgroupsMembersPost(params *PcloudPlacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersPostOK, error) PcloudPlacementgroupsPost(params *PcloudPlacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsPostOK, 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 placement groups API client.
type PcloudPlacementgroupsDeleteBadRequest ¶
PcloudPlacementgroupsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPlacementgroupsDeleteBadRequest ¶
func NewPcloudPlacementgroupsDeleteBadRequest() *PcloudPlacementgroupsDeleteBadRequest
NewPcloudPlacementgroupsDeleteBadRequest creates a PcloudPlacementgroupsDeleteBadRequest with default headers values
func (*PcloudPlacementgroupsDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsDeleteBadRequest) Code() int
Code gets the status code for the pcloud placementgroups delete bad request response
func (*PcloudPlacementgroupsDeleteBadRequest) Error ¶
func (o *PcloudPlacementgroupsDeleteBadRequest) Error() string
func (*PcloudPlacementgroupsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsDeleteBadRequest) GetPayload() *models.Error
func (*PcloudPlacementgroupsDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud placementgroups delete bad request response has a 4xx status code
func (*PcloudPlacementgroupsDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups delete bad request response a status code equal to that given
func (*PcloudPlacementgroupsDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups delete bad request response has a 3xx status code
func (*PcloudPlacementgroupsDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud placementgroups delete bad request response has a 5xx status code
func (*PcloudPlacementgroupsDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups delete bad request response has a 2xx status code
func (*PcloudPlacementgroupsDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteBadRequest) String() string
type PcloudPlacementgroupsDeleteForbidden ¶ added in v1.2.2
PcloudPlacementgroupsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPlacementgroupsDeleteForbidden ¶ added in v1.2.2
func NewPcloudPlacementgroupsDeleteForbidden() *PcloudPlacementgroupsDeleteForbidden
NewPcloudPlacementgroupsDeleteForbidden creates a PcloudPlacementgroupsDeleteForbidden with default headers values
func (*PcloudPlacementgroupsDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsDeleteForbidden) Code() int
Code gets the status code for the pcloud placementgroups delete forbidden response
func (*PcloudPlacementgroupsDeleteForbidden) Error ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) Error() string
func (*PcloudPlacementgroupsDeleteForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) GetPayload() *models.Error
func (*PcloudPlacementgroupsDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud placementgroups delete forbidden response has a 4xx status code
func (*PcloudPlacementgroupsDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups delete forbidden response a status code equal to that given
func (*PcloudPlacementgroupsDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups delete forbidden response has a 3xx status code
func (*PcloudPlacementgroupsDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud placementgroups delete forbidden response has a 5xx status code
func (*PcloudPlacementgroupsDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups delete forbidden response has a 2xx status code
func (*PcloudPlacementgroupsDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteForbidden) String() string
type PcloudPlacementgroupsDeleteInternalServerError ¶
PcloudPlacementgroupsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPlacementgroupsDeleteInternalServerError ¶
func NewPcloudPlacementgroupsDeleteInternalServerError() *PcloudPlacementgroupsDeleteInternalServerError
NewPcloudPlacementgroupsDeleteInternalServerError creates a PcloudPlacementgroupsDeleteInternalServerError with default headers values
func (*PcloudPlacementgroupsDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsDeleteInternalServerError) Code() int
Code gets the status code for the pcloud placementgroups delete internal server error response
func (*PcloudPlacementgroupsDeleteInternalServerError) Error ¶
func (o *PcloudPlacementgroupsDeleteInternalServerError) Error() string
func (*PcloudPlacementgroupsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudPlacementgroupsDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud placementgroups delete internal server error response has a 4xx status code
func (*PcloudPlacementgroupsDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups delete internal server error response a status code equal to that given
func (*PcloudPlacementgroupsDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups delete internal server error response has a 3xx status code
func (*PcloudPlacementgroupsDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud placementgroups delete internal server error response has a 5xx status code
func (*PcloudPlacementgroupsDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups delete internal server error response has a 2xx status code
func (*PcloudPlacementgroupsDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteInternalServerError) String() string
type PcloudPlacementgroupsDeleteNotFound ¶
PcloudPlacementgroupsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPlacementgroupsDeleteNotFound ¶
func NewPcloudPlacementgroupsDeleteNotFound() *PcloudPlacementgroupsDeleteNotFound
NewPcloudPlacementgroupsDeleteNotFound creates a PcloudPlacementgroupsDeleteNotFound with default headers values
func (*PcloudPlacementgroupsDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsDeleteNotFound) Code() int
Code gets the status code for the pcloud placementgroups delete not found response
func (*PcloudPlacementgroupsDeleteNotFound) Error ¶
func (o *PcloudPlacementgroupsDeleteNotFound) Error() string
func (*PcloudPlacementgroupsDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsDeleteNotFound) GetPayload() *models.Error
func (*PcloudPlacementgroupsDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud placementgroups delete not found response has a 4xx status code
func (*PcloudPlacementgroupsDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups delete not found response a status code equal to that given
func (*PcloudPlacementgroupsDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups delete not found response has a 3xx status code
func (*PcloudPlacementgroupsDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud placementgroups delete not found response has a 5xx status code
func (*PcloudPlacementgroupsDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups delete not found response has a 2xx status code
func (*PcloudPlacementgroupsDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteNotFound) String() string
type PcloudPlacementgroupsDeleteOK ¶
PcloudPlacementgroupsDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudPlacementgroupsDeleteOK ¶
func NewPcloudPlacementgroupsDeleteOK() *PcloudPlacementgroupsDeleteOK
NewPcloudPlacementgroupsDeleteOK creates a PcloudPlacementgroupsDeleteOK with default headers values
func (*PcloudPlacementgroupsDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsDeleteOK) Code() int
Code gets the status code for the pcloud placementgroups delete o k response
func (*PcloudPlacementgroupsDeleteOK) Error ¶
func (o *PcloudPlacementgroupsDeleteOK) Error() string
func (*PcloudPlacementgroupsDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsDeleteOK) GetPayload() models.Object
func (*PcloudPlacementgroupsDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud placementgroups delete o k response has a 4xx status code
func (*PcloudPlacementgroupsDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups delete o k response a status code equal to that given
func (*PcloudPlacementgroupsDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups delete o k response has a 3xx status code
func (*PcloudPlacementgroupsDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud placementgroups delete o k response has a 5xx status code
func (*PcloudPlacementgroupsDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups delete o k response has a 2xx status code
func (*PcloudPlacementgroupsDeleteOK) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsDeleteOK) String() 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 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 NewPcloudPlacementgroupsDeleteParamsWithContext ¶
func NewPcloudPlacementgroupsDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsDeleteParams
NewPcloudPlacementgroupsDeleteParamsWithContext creates a new PcloudPlacementgroupsDeleteParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud placementgroups delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsDeleteParams) WithDefaults() *PcloudPlacementgroupsDeleteParams
WithDefaults hydrates default values in the pcloud placementgroups delete params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPlacementgroupsGetBadRequest ¶
func NewPcloudPlacementgroupsGetBadRequest() *PcloudPlacementgroupsGetBadRequest
NewPcloudPlacementgroupsGetBadRequest creates a PcloudPlacementgroupsGetBadRequest with default headers values
func (*PcloudPlacementgroupsGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetBadRequest) Code() int
Code gets the status code for the pcloud placementgroups get bad request response
func (*PcloudPlacementgroupsGetBadRequest) Error ¶
func (o *PcloudPlacementgroupsGetBadRequest) Error() string
func (*PcloudPlacementgroupsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetBadRequest) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud placementgroups get bad request response has a 4xx status code
func (*PcloudPlacementgroupsGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups get bad request response a status code equal to that given
func (*PcloudPlacementgroupsGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups get bad request response has a 3xx status code
func (*PcloudPlacementgroupsGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud placementgroups get bad request response has a 5xx status code
func (*PcloudPlacementgroupsGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups get bad request response has a 2xx status code
func (*PcloudPlacementgroupsGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetBadRequest) String() string
type PcloudPlacementgroupsGetForbidden ¶ added in v1.2.2
PcloudPlacementgroupsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPlacementgroupsGetForbidden ¶ added in v1.2.2
func NewPcloudPlacementgroupsGetForbidden() *PcloudPlacementgroupsGetForbidden
NewPcloudPlacementgroupsGetForbidden creates a PcloudPlacementgroupsGetForbidden with default headers values
func (*PcloudPlacementgroupsGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetForbidden) Code() int
Code gets the status code for the pcloud placementgroups get forbidden response
func (*PcloudPlacementgroupsGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) Error() string
func (*PcloudPlacementgroupsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud placementgroups get forbidden response has a 4xx status code
func (*PcloudPlacementgroupsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups get forbidden response a status code equal to that given
func (*PcloudPlacementgroupsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups get forbidden response has a 3xx status code
func (*PcloudPlacementgroupsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud placementgroups get forbidden response has a 5xx status code
func (*PcloudPlacementgroupsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups get forbidden response has a 2xx status code
func (*PcloudPlacementgroupsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetForbidden) String() string
type PcloudPlacementgroupsGetInternalServerError ¶
PcloudPlacementgroupsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPlacementgroupsGetInternalServerError ¶
func NewPcloudPlacementgroupsGetInternalServerError() *PcloudPlacementgroupsGetInternalServerError
NewPcloudPlacementgroupsGetInternalServerError creates a PcloudPlacementgroupsGetInternalServerError with default headers values
func (*PcloudPlacementgroupsGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetInternalServerError) Code() int
Code gets the status code for the pcloud placementgroups get internal server error response
func (*PcloudPlacementgroupsGetInternalServerError) Error ¶
func (o *PcloudPlacementgroupsGetInternalServerError) Error() string
func (*PcloudPlacementgroupsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetInternalServerError) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud placementgroups get internal server error response has a 4xx status code
func (*PcloudPlacementgroupsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups get internal server error response a status code equal to that given
func (*PcloudPlacementgroupsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups get internal server error response has a 3xx status code
func (*PcloudPlacementgroupsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud placementgroups get internal server error response has a 5xx status code
func (*PcloudPlacementgroupsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups get internal server error response has a 2xx status code
func (*PcloudPlacementgroupsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetInternalServerError) String() string
type PcloudPlacementgroupsGetNotFound ¶ added in v1.0.76
PcloudPlacementgroupsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPlacementgroupsGetNotFound ¶ added in v1.0.76
func NewPcloudPlacementgroupsGetNotFound() *PcloudPlacementgroupsGetNotFound
NewPcloudPlacementgroupsGetNotFound creates a PcloudPlacementgroupsGetNotFound with default headers values
func (*PcloudPlacementgroupsGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetNotFound) Code() int
Code gets the status code for the pcloud placementgroups get not found response
func (*PcloudPlacementgroupsGetNotFound) Error ¶ added in v1.0.76
func (o *PcloudPlacementgroupsGetNotFound) Error() string
func (*PcloudPlacementgroupsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetNotFound) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud placementgroups get not found response has a 4xx status code
func (*PcloudPlacementgroupsGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups get not found response a status code equal to that given
func (*PcloudPlacementgroupsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups get not found response has a 3xx status code
func (*PcloudPlacementgroupsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud placementgroups get not found response has a 5xx status code
func (*PcloudPlacementgroupsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups get not found response has a 2xx status code
func (*PcloudPlacementgroupsGetNotFound) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetNotFound) String() string
type PcloudPlacementgroupsGetOK ¶
type PcloudPlacementgroupsGetOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudPlacementgroupsGetOK ¶
func NewPcloudPlacementgroupsGetOK() *PcloudPlacementgroupsGetOK
NewPcloudPlacementgroupsGetOK creates a PcloudPlacementgroupsGetOK with default headers values
func (*PcloudPlacementgroupsGetOK) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetOK) Code() int
Code gets the status code for the pcloud placementgroups get o k response
func (*PcloudPlacementgroupsGetOK) Error ¶
func (o *PcloudPlacementgroupsGetOK) Error() string
func (*PcloudPlacementgroupsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetOK) GetPayload() *models.PlacementGroup
func (*PcloudPlacementgroupsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetOK) IsClientError() bool
IsClientError returns true when this pcloud placementgroups get o k response has a 4xx status code
func (*PcloudPlacementgroupsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups get o k response a status code equal to that given
func (*PcloudPlacementgroupsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups get o k response has a 3xx status code
func (*PcloudPlacementgroupsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetOK) IsServerError() bool
IsServerError returns true when this pcloud placementgroups get o k response has a 5xx status code
func (*PcloudPlacementgroupsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups get o k response has a 2xx status code
func (*PcloudPlacementgroupsGetOK) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetOK) String() 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 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 NewPcloudPlacementgroupsGetParamsWithContext ¶
func NewPcloudPlacementgroupsGetParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetParams
NewPcloudPlacementgroupsGetParamsWithContext creates a new PcloudPlacementgroupsGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud placementgroups get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetParams) WithDefaults() *PcloudPlacementgroupsGetParams
WithDefaults hydrates default values in the pcloud placementgroups get params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPlacementgroupsGetallBadRequest ¶
func NewPcloudPlacementgroupsGetallBadRequest() *PcloudPlacementgroupsGetallBadRequest
NewPcloudPlacementgroupsGetallBadRequest creates a PcloudPlacementgroupsGetallBadRequest with default headers values
func (*PcloudPlacementgroupsGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetallBadRequest) Code() int
Code gets the status code for the pcloud placementgroups getall bad request response
func (*PcloudPlacementgroupsGetallBadRequest) Error ¶
func (o *PcloudPlacementgroupsGetallBadRequest) Error() string
func (*PcloudPlacementgroupsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetallBadRequest) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud placementgroups getall bad request response has a 4xx status code
func (*PcloudPlacementgroupsGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups getall bad request response a status code equal to that given
func (*PcloudPlacementgroupsGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups getall bad request response has a 3xx status code
func (*PcloudPlacementgroupsGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud placementgroups getall bad request response has a 5xx status code
func (*PcloudPlacementgroupsGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups getall bad request response has a 2xx status code
func (*PcloudPlacementgroupsGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallBadRequest) String() string
type PcloudPlacementgroupsGetallForbidden ¶ added in v1.2.2
PcloudPlacementgroupsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPlacementgroupsGetallForbidden ¶ added in v1.2.2
func NewPcloudPlacementgroupsGetallForbidden() *PcloudPlacementgroupsGetallForbidden
NewPcloudPlacementgroupsGetallForbidden creates a PcloudPlacementgroupsGetallForbidden with default headers values
func (*PcloudPlacementgroupsGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetallForbidden) Code() int
Code gets the status code for the pcloud placementgroups getall forbidden response
func (*PcloudPlacementgroupsGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) Error() string
func (*PcloudPlacementgroupsGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud placementgroups getall forbidden response has a 4xx status code
func (*PcloudPlacementgroupsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups getall forbidden response a status code equal to that given
func (*PcloudPlacementgroupsGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups getall forbidden response has a 3xx status code
func (*PcloudPlacementgroupsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud placementgroups getall forbidden response has a 5xx status code
func (*PcloudPlacementgroupsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups getall forbidden response has a 2xx status code
func (*PcloudPlacementgroupsGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallForbidden) String() string
type PcloudPlacementgroupsGetallInternalServerError ¶
PcloudPlacementgroupsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPlacementgroupsGetallInternalServerError ¶
func NewPcloudPlacementgroupsGetallInternalServerError() *PcloudPlacementgroupsGetallInternalServerError
NewPcloudPlacementgroupsGetallInternalServerError creates a PcloudPlacementgroupsGetallInternalServerError with default headers values
func (*PcloudPlacementgroupsGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetallInternalServerError) Code() int
Code gets the status code for the pcloud placementgroups getall internal server error response
func (*PcloudPlacementgroupsGetallInternalServerError) Error ¶
func (o *PcloudPlacementgroupsGetallInternalServerError) Error() string
func (*PcloudPlacementgroupsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetallInternalServerError) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud placementgroups getall internal server error response has a 4xx status code
func (*PcloudPlacementgroupsGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups getall internal server error response a status code equal to that given
func (*PcloudPlacementgroupsGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups getall internal server error response has a 3xx status code
func (*PcloudPlacementgroupsGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud placementgroups getall internal server error response has a 5xx status code
func (*PcloudPlacementgroupsGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups getall internal server error response has a 2xx status code
func (*PcloudPlacementgroupsGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallInternalServerError) String() string
type PcloudPlacementgroupsGetallOK ¶
type PcloudPlacementgroupsGetallOK struct {
Payload *models.PlacementGroups
}
PcloudPlacementgroupsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudPlacementgroupsGetallOK ¶
func NewPcloudPlacementgroupsGetallOK() *PcloudPlacementgroupsGetallOK
NewPcloudPlacementgroupsGetallOK creates a PcloudPlacementgroupsGetallOK with default headers values
func (*PcloudPlacementgroupsGetallOK) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetallOK) Code() int
Code gets the status code for the pcloud placementgroups getall o k response
func (*PcloudPlacementgroupsGetallOK) Error ¶
func (o *PcloudPlacementgroupsGetallOK) Error() string
func (*PcloudPlacementgroupsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetallOK) GetPayload() *models.PlacementGroups
func (*PcloudPlacementgroupsGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallOK) IsClientError() bool
IsClientError returns true when this pcloud placementgroups getall o k response has a 4xx status code
func (*PcloudPlacementgroupsGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups getall o k response a status code equal to that given
func (*PcloudPlacementgroupsGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups getall o k response has a 3xx status code
func (*PcloudPlacementgroupsGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallOK) IsServerError() bool
IsServerError returns true when this pcloud placementgroups getall o k response has a 5xx status code
func (*PcloudPlacementgroupsGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups getall o k response has a 2xx status code
func (*PcloudPlacementgroupsGetallOK) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallOK) String() 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 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 NewPcloudPlacementgroupsGetallParamsWithContext ¶
func NewPcloudPlacementgroupsGetallParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetallParams
NewPcloudPlacementgroupsGetallParamsWithContext creates a new PcloudPlacementgroupsGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud placementgroups getall params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetallParams) WithDefaults() *PcloudPlacementgroupsGetallParams
WithDefaults hydrates default values in the pcloud placementgroups getall params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPlacementgroupsGetallUnauthorized ¶
func NewPcloudPlacementgroupsGetallUnauthorized() *PcloudPlacementgroupsGetallUnauthorized
NewPcloudPlacementgroupsGetallUnauthorized creates a PcloudPlacementgroupsGetallUnauthorized with default headers values
func (*PcloudPlacementgroupsGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsGetallUnauthorized) Code() int
Code gets the status code for the pcloud placementgroups getall unauthorized response
func (*PcloudPlacementgroupsGetallUnauthorized) Error ¶
func (o *PcloudPlacementgroupsGetallUnauthorized) Error() string
func (*PcloudPlacementgroupsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsGetallUnauthorized) GetPayload() *models.Error
func (*PcloudPlacementgroupsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud placementgroups getall unauthorized response has a 4xx status code
func (*PcloudPlacementgroupsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups getall unauthorized response a status code equal to that given
func (*PcloudPlacementgroupsGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups getall unauthorized response has a 3xx status code
func (*PcloudPlacementgroupsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud placementgroups getall unauthorized response has a 5xx status code
func (*PcloudPlacementgroupsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups getall unauthorized response has a 2xx status code
func (*PcloudPlacementgroupsGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsGetallUnauthorized) String() string
type PcloudPlacementgroupsMembersDeleteBadRequest ¶
PcloudPlacementgroupsMembersDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPlacementgroupsMembersDeleteBadRequest ¶
func NewPcloudPlacementgroupsMembersDeleteBadRequest() *PcloudPlacementgroupsMembersDeleteBadRequest
NewPcloudPlacementgroupsMembersDeleteBadRequest creates a PcloudPlacementgroupsMembersDeleteBadRequest with default headers values
func (*PcloudPlacementgroupsMembersDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) Code() int
Code gets the status code for the pcloud placementgroups members delete bad request response
func (*PcloudPlacementgroupsMembersDeleteBadRequest) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) Error() string
func (*PcloudPlacementgroupsMembersDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members delete bad request response has a 4xx status code
func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members delete bad request response a status code equal to that given
func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members delete bad request response has a 3xx status code
func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members delete bad request response has a 5xx status code
func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members delete bad request response has a 2xx status code
func (*PcloudPlacementgroupsMembersDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteBadRequest) String() string
type PcloudPlacementgroupsMembersDeleteConflict ¶
PcloudPlacementgroupsMembersDeleteConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPlacementgroupsMembersDeleteConflict ¶
func NewPcloudPlacementgroupsMembersDeleteConflict() *PcloudPlacementgroupsMembersDeleteConflict
NewPcloudPlacementgroupsMembersDeleteConflict creates a PcloudPlacementgroupsMembersDeleteConflict with default headers values
func (*PcloudPlacementgroupsMembersDeleteConflict) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersDeleteConflict) Code() int
Code gets the status code for the pcloud placementgroups members delete conflict response
func (*PcloudPlacementgroupsMembersDeleteConflict) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteConflict) Error() string
func (*PcloudPlacementgroupsMembersDeleteConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteConflict) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersDeleteConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteConflict) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members delete conflict response has a 4xx status code
func (*PcloudPlacementgroupsMembersDeleteConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteConflict) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members delete conflict response a status code equal to that given
func (*PcloudPlacementgroupsMembersDeleteConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteConflict) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members delete conflict response has a 3xx status code
func (*PcloudPlacementgroupsMembersDeleteConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteConflict) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members delete conflict response has a 5xx status code
func (*PcloudPlacementgroupsMembersDeleteConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteConflict) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members delete conflict response has a 2xx status code
func (*PcloudPlacementgroupsMembersDeleteConflict) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteConflict) String() string
type PcloudPlacementgroupsMembersDeleteForbidden ¶ added in v1.2.2
PcloudPlacementgroupsMembersDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPlacementgroupsMembersDeleteForbidden ¶ added in v1.2.2
func NewPcloudPlacementgroupsMembersDeleteForbidden() *PcloudPlacementgroupsMembersDeleteForbidden
NewPcloudPlacementgroupsMembersDeleteForbidden creates a PcloudPlacementgroupsMembersDeleteForbidden with default headers values
func (*PcloudPlacementgroupsMembersDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersDeleteForbidden) Code() int
Code gets the status code for the pcloud placementgroups members delete forbidden response
func (*PcloudPlacementgroupsMembersDeleteForbidden) Error ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) Error() string
func (*PcloudPlacementgroupsMembersDeleteForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members delete forbidden response has a 4xx status code
func (*PcloudPlacementgroupsMembersDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members delete forbidden response a status code equal to that given
func (*PcloudPlacementgroupsMembersDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members delete forbidden response has a 3xx status code
func (*PcloudPlacementgroupsMembersDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members delete forbidden response has a 5xx status code
func (*PcloudPlacementgroupsMembersDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members delete forbidden response has a 2xx status code
func (*PcloudPlacementgroupsMembersDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteForbidden) String() string
type PcloudPlacementgroupsMembersDeleteInternalServerError ¶
PcloudPlacementgroupsMembersDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPlacementgroupsMembersDeleteInternalServerError ¶
func NewPcloudPlacementgroupsMembersDeleteInternalServerError() *PcloudPlacementgroupsMembersDeleteInternalServerError
NewPcloudPlacementgroupsMembersDeleteInternalServerError creates a PcloudPlacementgroupsMembersDeleteInternalServerError with default headers values
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) Code() int
Code gets the status code for the pcloud placementgroups members delete internal server error response
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) Error() string
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members delete internal server error response has a 4xx status code
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members delete internal server error response a status code equal to that given
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members delete internal server error response has a 3xx status code
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members delete internal server error response has a 5xx status code
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members delete internal server error response has a 2xx status code
func (*PcloudPlacementgroupsMembersDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) String() string
type PcloudPlacementgroupsMembersDeleteNotFound ¶ added in v1.1.0
PcloudPlacementgroupsMembersDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPlacementgroupsMembersDeleteNotFound ¶ added in v1.1.0
func NewPcloudPlacementgroupsMembersDeleteNotFound() *PcloudPlacementgroupsMembersDeleteNotFound
NewPcloudPlacementgroupsMembersDeleteNotFound creates a PcloudPlacementgroupsMembersDeleteNotFound with default headers values
func (*PcloudPlacementgroupsMembersDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersDeleteNotFound) Code() int
Code gets the status code for the pcloud placementgroups members delete not found response
func (*PcloudPlacementgroupsMembersDeleteNotFound) Error ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteNotFound) Error() string
func (*PcloudPlacementgroupsMembersDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteNotFound) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members delete not found response has a 4xx status code
func (*PcloudPlacementgroupsMembersDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members delete not found response a status code equal to that given
func (*PcloudPlacementgroupsMembersDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members delete not found response has a 3xx status code
func (*PcloudPlacementgroupsMembersDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members delete not found response has a 5xx status code
func (*PcloudPlacementgroupsMembersDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members delete not found response has a 2xx status code
func (*PcloudPlacementgroupsMembersDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteNotFound) String() string
type PcloudPlacementgroupsMembersDeleteOK ¶
type PcloudPlacementgroupsMembersDeleteOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsMembersDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudPlacementgroupsMembersDeleteOK ¶
func NewPcloudPlacementgroupsMembersDeleteOK() *PcloudPlacementgroupsMembersDeleteOK
NewPcloudPlacementgroupsMembersDeleteOK creates a PcloudPlacementgroupsMembersDeleteOK with default headers values
func (*PcloudPlacementgroupsMembersDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersDeleteOK) Code() int
Code gets the status code for the pcloud placementgroups members delete o k response
func (*PcloudPlacementgroupsMembersDeleteOK) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteOK) Error() string
func (*PcloudPlacementgroupsMembersDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteOK) GetPayload() *models.PlacementGroup
func (*PcloudPlacementgroupsMembersDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members delete o k response has a 4xx status code
func (*PcloudPlacementgroupsMembersDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members delete o k response a status code equal to that given
func (*PcloudPlacementgroupsMembersDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members delete o k response has a 3xx status code
func (*PcloudPlacementgroupsMembersDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members delete o k response has a 5xx status code
func (*PcloudPlacementgroupsMembersDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members delete o k response has a 2xx status code
func (*PcloudPlacementgroupsMembersDeleteOK) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteOK) String() 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 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 NewPcloudPlacementgroupsMembersDeleteParamsWithContext ¶
func NewPcloudPlacementgroupsMembersDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersDeleteParams
NewPcloudPlacementgroupsMembersDeleteParamsWithContext creates a new PcloudPlacementgroupsMembersDeleteParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud placementgroups members delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteParams) WithDefaults() *PcloudPlacementgroupsMembersDeleteParams
WithDefaults hydrates default values in the pcloud placementgroups members delete params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity ¶
func NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity() *PcloudPlacementgroupsMembersDeleteUnprocessableEntity
NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity creates a PcloudPlacementgroupsMembersDeleteUnprocessableEntity with default headers values
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Code() int
Code gets the status code for the pcloud placementgroups members delete unprocessable entity response
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Error ¶
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Error() string
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members delete unprocessable entity response has a 4xx status code
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members delete unprocessable entity response a status code equal to that given
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members delete unprocessable entity response has a 3xx status code
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members delete unprocessable entity response has a 5xx status code
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members delete unprocessable entity response has a 2xx status code
func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) String() string
type PcloudPlacementgroupsMembersPostBadRequest ¶
PcloudPlacementgroupsMembersPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPlacementgroupsMembersPostBadRequest ¶
func NewPcloudPlacementgroupsMembersPostBadRequest() *PcloudPlacementgroupsMembersPostBadRequest
NewPcloudPlacementgroupsMembersPostBadRequest creates a PcloudPlacementgroupsMembersPostBadRequest with default headers values
func (*PcloudPlacementgroupsMembersPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersPostBadRequest) Code() int
Code gets the status code for the pcloud placementgroups members post bad request response
func (*PcloudPlacementgroupsMembersPostBadRequest) Error ¶
func (o *PcloudPlacementgroupsMembersPostBadRequest) Error() string
func (*PcloudPlacementgroupsMembersPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostBadRequest) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members post bad request response has a 4xx status code
func (*PcloudPlacementgroupsMembersPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members post bad request response a status code equal to that given
func (*PcloudPlacementgroupsMembersPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members post bad request response has a 3xx status code
func (*PcloudPlacementgroupsMembersPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members post bad request response has a 5xx status code
func (*PcloudPlacementgroupsMembersPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members post bad request response has a 2xx status code
func (*PcloudPlacementgroupsMembersPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostBadRequest) String() string
type PcloudPlacementgroupsMembersPostConflict ¶
PcloudPlacementgroupsMembersPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPlacementgroupsMembersPostConflict ¶
func NewPcloudPlacementgroupsMembersPostConflict() *PcloudPlacementgroupsMembersPostConflict
NewPcloudPlacementgroupsMembersPostConflict creates a PcloudPlacementgroupsMembersPostConflict with default headers values
func (*PcloudPlacementgroupsMembersPostConflict) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersPostConflict) Code() int
Code gets the status code for the pcloud placementgroups members post conflict response
func (*PcloudPlacementgroupsMembersPostConflict) Error ¶
func (o *PcloudPlacementgroupsMembersPostConflict) Error() string
func (*PcloudPlacementgroupsMembersPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostConflict) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostConflict) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members post conflict response has a 4xx status code
func (*PcloudPlacementgroupsMembersPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members post conflict response a status code equal to that given
func (*PcloudPlacementgroupsMembersPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members post conflict response has a 3xx status code
func (*PcloudPlacementgroupsMembersPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostConflict) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members post conflict response has a 5xx status code
func (*PcloudPlacementgroupsMembersPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members post conflict response has a 2xx status code
func (*PcloudPlacementgroupsMembersPostConflict) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostConflict) String() string
type PcloudPlacementgroupsMembersPostForbidden ¶ added in v1.2.2
PcloudPlacementgroupsMembersPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPlacementgroupsMembersPostForbidden ¶ added in v1.2.2
func NewPcloudPlacementgroupsMembersPostForbidden() *PcloudPlacementgroupsMembersPostForbidden
NewPcloudPlacementgroupsMembersPostForbidden creates a PcloudPlacementgroupsMembersPostForbidden with default headers values
func (*PcloudPlacementgroupsMembersPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersPostForbidden) Code() int
Code gets the status code for the pcloud placementgroups members post forbidden response
func (*PcloudPlacementgroupsMembersPostForbidden) Error ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) Error() string
func (*PcloudPlacementgroupsMembersPostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members post forbidden response has a 4xx status code
func (*PcloudPlacementgroupsMembersPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members post forbidden response a status code equal to that given
func (*PcloudPlacementgroupsMembersPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members post forbidden response has a 3xx status code
func (*PcloudPlacementgroupsMembersPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members post forbidden response has a 5xx status code
func (*PcloudPlacementgroupsMembersPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members post forbidden response has a 2xx status code
func (*PcloudPlacementgroupsMembersPostForbidden) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostForbidden) String() string
type PcloudPlacementgroupsMembersPostInternalServerError ¶
PcloudPlacementgroupsMembersPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPlacementgroupsMembersPostInternalServerError ¶
func NewPcloudPlacementgroupsMembersPostInternalServerError() *PcloudPlacementgroupsMembersPostInternalServerError
NewPcloudPlacementgroupsMembersPostInternalServerError creates a PcloudPlacementgroupsMembersPostInternalServerError with default headers values
func (*PcloudPlacementgroupsMembersPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersPostInternalServerError) Code() int
Code gets the status code for the pcloud placementgroups members post internal server error response
func (*PcloudPlacementgroupsMembersPostInternalServerError) Error ¶
func (o *PcloudPlacementgroupsMembersPostInternalServerError) Error() string
func (*PcloudPlacementgroupsMembersPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostInternalServerError) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members post internal server error response has a 4xx status code
func (*PcloudPlacementgroupsMembersPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members post internal server error response a status code equal to that given
func (*PcloudPlacementgroupsMembersPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members post internal server error response has a 3xx status code
func (*PcloudPlacementgroupsMembersPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members post internal server error response has a 5xx status code
func (*PcloudPlacementgroupsMembersPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members post internal server error response has a 2xx status code
func (*PcloudPlacementgroupsMembersPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostInternalServerError) String() string
type PcloudPlacementgroupsMembersPostNotFound ¶ added in v1.1.0
PcloudPlacementgroupsMembersPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPlacementgroupsMembersPostNotFound ¶ added in v1.1.0
func NewPcloudPlacementgroupsMembersPostNotFound() *PcloudPlacementgroupsMembersPostNotFound
NewPcloudPlacementgroupsMembersPostNotFound creates a PcloudPlacementgroupsMembersPostNotFound with default headers values
func (*PcloudPlacementgroupsMembersPostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersPostNotFound) Code() int
Code gets the status code for the pcloud placementgroups members post not found response
func (*PcloudPlacementgroupsMembersPostNotFound) Error ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostNotFound) Error() string
func (*PcloudPlacementgroupsMembersPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostNotFound) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersPostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members post not found response has a 4xx status code
func (*PcloudPlacementgroupsMembersPostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members post not found response a status code equal to that given
func (*PcloudPlacementgroupsMembersPostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members post not found response has a 3xx status code
func (*PcloudPlacementgroupsMembersPostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members post not found response has a 5xx status code
func (*PcloudPlacementgroupsMembersPostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members post not found response has a 2xx status code
func (*PcloudPlacementgroupsMembersPostNotFound) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostNotFound) String() string
type PcloudPlacementgroupsMembersPostOK ¶
type PcloudPlacementgroupsMembersPostOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsMembersPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudPlacementgroupsMembersPostOK ¶
func NewPcloudPlacementgroupsMembersPostOK() *PcloudPlacementgroupsMembersPostOK
NewPcloudPlacementgroupsMembersPostOK creates a PcloudPlacementgroupsMembersPostOK with default headers values
func (*PcloudPlacementgroupsMembersPostOK) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersPostOK) Code() int
Code gets the status code for the pcloud placementgroups members post o k response
func (*PcloudPlacementgroupsMembersPostOK) Error ¶
func (o *PcloudPlacementgroupsMembersPostOK) Error() string
func (*PcloudPlacementgroupsMembersPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostOK) GetPayload() *models.PlacementGroup
func (*PcloudPlacementgroupsMembersPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostOK) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members post o k response has a 4xx status code
func (*PcloudPlacementgroupsMembersPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostOK) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members post o k response a status code equal to that given
func (*PcloudPlacementgroupsMembersPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members post o k response has a 3xx status code
func (*PcloudPlacementgroupsMembersPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostOK) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members post o k response has a 5xx status code
func (*PcloudPlacementgroupsMembersPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members post o k response has a 2xx status code
func (*PcloudPlacementgroupsMembersPostOK) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostOK) String() 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 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 NewPcloudPlacementgroupsMembersPostParamsWithContext ¶
func NewPcloudPlacementgroupsMembersPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersPostParams
NewPcloudPlacementgroupsMembersPostParamsWithContext creates a new PcloudPlacementgroupsMembersPostParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud placementgroups members post params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostParams) WithDefaults() *PcloudPlacementgroupsMembersPostParams
WithDefaults hydrates default values in the pcloud placementgroups members post params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPlacementgroupsMembersPostUnprocessableEntity ¶
func NewPcloudPlacementgroupsMembersPostUnprocessableEntity() *PcloudPlacementgroupsMembersPostUnprocessableEntity
NewPcloudPlacementgroupsMembersPostUnprocessableEntity creates a PcloudPlacementgroupsMembersPostUnprocessableEntity with default headers values
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud placementgroups members post unprocessable entity response
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) Error ¶
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) Error() string
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud placementgroups members post unprocessable entity response has a 4xx status code
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups members post unprocessable entity response a status code equal to that given
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups members post unprocessable entity response has a 3xx status code
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud placementgroups members post unprocessable entity response has a 5xx status code
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups members post unprocessable entity response has a 2xx status code
func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) String() string
type PcloudPlacementgroupsPostBadRequest ¶
PcloudPlacementgroupsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPlacementgroupsPostBadRequest ¶
func NewPcloudPlacementgroupsPostBadRequest() *PcloudPlacementgroupsPostBadRequest
NewPcloudPlacementgroupsPostBadRequest creates a PcloudPlacementgroupsPostBadRequest with default headers values
func (*PcloudPlacementgroupsPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsPostBadRequest) Code() int
Code gets the status code for the pcloud placementgroups post bad request response
func (*PcloudPlacementgroupsPostBadRequest) Error ¶
func (o *PcloudPlacementgroupsPostBadRequest) Error() string
func (*PcloudPlacementgroupsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsPostBadRequest) GetPayload() *models.Error
func (*PcloudPlacementgroupsPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud placementgroups post bad request response has a 4xx status code
func (*PcloudPlacementgroupsPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups post bad request response a status code equal to that given
func (*PcloudPlacementgroupsPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups post bad request response has a 3xx status code
func (*PcloudPlacementgroupsPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud placementgroups post bad request response has a 5xx status code
func (*PcloudPlacementgroupsPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups post bad request response has a 2xx status code
func (*PcloudPlacementgroupsPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostBadRequest) String() string
type PcloudPlacementgroupsPostConflict ¶
PcloudPlacementgroupsPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPlacementgroupsPostConflict ¶
func NewPcloudPlacementgroupsPostConflict() *PcloudPlacementgroupsPostConflict
NewPcloudPlacementgroupsPostConflict creates a PcloudPlacementgroupsPostConflict with default headers values
func (*PcloudPlacementgroupsPostConflict) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsPostConflict) Code() int
Code gets the status code for the pcloud placementgroups post conflict response
func (*PcloudPlacementgroupsPostConflict) Error ¶
func (o *PcloudPlacementgroupsPostConflict) Error() string
func (*PcloudPlacementgroupsPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsPostConflict) GetPayload() *models.Error
func (*PcloudPlacementgroupsPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostConflict) IsClientError() bool
IsClientError returns true when this pcloud placementgroups post conflict response has a 4xx status code
func (*PcloudPlacementgroupsPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups post conflict response a status code equal to that given
func (*PcloudPlacementgroupsPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups post conflict response has a 3xx status code
func (*PcloudPlacementgroupsPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostConflict) IsServerError() bool
IsServerError returns true when this pcloud placementgroups post conflict response has a 5xx status code
func (*PcloudPlacementgroupsPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups post conflict response has a 2xx status code
func (*PcloudPlacementgroupsPostConflict) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostConflict) String() string
type PcloudPlacementgroupsPostForbidden ¶ added in v1.2.2
PcloudPlacementgroupsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPlacementgroupsPostForbidden ¶ added in v1.2.2
func NewPcloudPlacementgroupsPostForbidden() *PcloudPlacementgroupsPostForbidden
NewPcloudPlacementgroupsPostForbidden creates a PcloudPlacementgroupsPostForbidden with default headers values
func (*PcloudPlacementgroupsPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsPostForbidden) Code() int
Code gets the status code for the pcloud placementgroups post forbidden response
func (*PcloudPlacementgroupsPostForbidden) Error ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) Error() string
func (*PcloudPlacementgroupsPostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) GetPayload() *models.Error
func (*PcloudPlacementgroupsPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud placementgroups post forbidden response has a 4xx status code
func (*PcloudPlacementgroupsPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups post forbidden response a status code equal to that given
func (*PcloudPlacementgroupsPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups post forbidden response has a 3xx status code
func (*PcloudPlacementgroupsPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud placementgroups post forbidden response has a 5xx status code
func (*PcloudPlacementgroupsPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups post forbidden response has a 2xx status code
func (*PcloudPlacementgroupsPostForbidden) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostForbidden) String() string
type PcloudPlacementgroupsPostInternalServerError ¶
PcloudPlacementgroupsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPlacementgroupsPostInternalServerError ¶
func NewPcloudPlacementgroupsPostInternalServerError() *PcloudPlacementgroupsPostInternalServerError
NewPcloudPlacementgroupsPostInternalServerError creates a PcloudPlacementgroupsPostInternalServerError with default headers values
func (*PcloudPlacementgroupsPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsPostInternalServerError) Code() int
Code gets the status code for the pcloud placementgroups post internal server error response
func (*PcloudPlacementgroupsPostInternalServerError) Error ¶
func (o *PcloudPlacementgroupsPostInternalServerError) Error() string
func (*PcloudPlacementgroupsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsPostInternalServerError) GetPayload() *models.Error
func (*PcloudPlacementgroupsPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud placementgroups post internal server error response has a 4xx status code
func (*PcloudPlacementgroupsPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups post internal server error response a status code equal to that given
func (*PcloudPlacementgroupsPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups post internal server error response has a 3xx status code
func (*PcloudPlacementgroupsPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud placementgroups post internal server error response has a 5xx status code
func (*PcloudPlacementgroupsPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups post internal server error response has a 2xx status code
func (*PcloudPlacementgroupsPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostInternalServerError) String() string
type PcloudPlacementgroupsPostOK ¶
type PcloudPlacementgroupsPostOK struct {
Payload *models.PlacementGroup
}
PcloudPlacementgroupsPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudPlacementgroupsPostOK ¶
func NewPcloudPlacementgroupsPostOK() *PcloudPlacementgroupsPostOK
NewPcloudPlacementgroupsPostOK creates a PcloudPlacementgroupsPostOK with default headers values
func (*PcloudPlacementgroupsPostOK) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsPostOK) Code() int
Code gets the status code for the pcloud placementgroups post o k response
func (*PcloudPlacementgroupsPostOK) Error ¶
func (o *PcloudPlacementgroupsPostOK) Error() string
func (*PcloudPlacementgroupsPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsPostOK) GetPayload() *models.PlacementGroup
func (*PcloudPlacementgroupsPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostOK) IsClientError() bool
IsClientError returns true when this pcloud placementgroups post o k response has a 4xx status code
func (*PcloudPlacementgroupsPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostOK) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups post o k response a status code equal to that given
func (*PcloudPlacementgroupsPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups post o k response has a 3xx status code
func (*PcloudPlacementgroupsPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostOK) IsServerError() bool
IsServerError returns true when this pcloud placementgroups post o k response has a 5xx status code
func (*PcloudPlacementgroupsPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups post o k response has a 2xx status code
func (*PcloudPlacementgroupsPostOK) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostOK) String() 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 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 NewPcloudPlacementgroupsPostParamsWithContext ¶
func NewPcloudPlacementgroupsPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsPostParams
NewPcloudPlacementgroupsPostParamsWithContext creates a new PcloudPlacementgroupsPostParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud placementgroups post params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudPlacementgroupsPostParams) WithDefaults() *PcloudPlacementgroupsPostParams
WithDefaults hydrates default values in the pcloud placementgroups post params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPlacementgroupsPostUnprocessableEntity ¶
func NewPcloudPlacementgroupsPostUnprocessableEntity() *PcloudPlacementgroupsPostUnprocessableEntity
NewPcloudPlacementgroupsPostUnprocessableEntity creates a PcloudPlacementgroupsPostUnprocessableEntity with default headers values
func (*PcloudPlacementgroupsPostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPlacementgroupsPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud placementgroups post unprocessable entity response
func (*PcloudPlacementgroupsPostUnprocessableEntity) Error ¶
func (o *PcloudPlacementgroupsPostUnprocessableEntity) Error() string
func (*PcloudPlacementgroupsPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPlacementgroupsPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPlacementgroupsPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud placementgroups post unprocessable entity response has a 4xx status code
func (*PcloudPlacementgroupsPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud placementgroups post unprocessable entity response a status code equal to that given
func (*PcloudPlacementgroupsPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud placementgroups post unprocessable entity response has a 3xx status code
func (*PcloudPlacementgroupsPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud placementgroups post unprocessable entity response has a 5xx status code
func (*PcloudPlacementgroupsPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud placementgroups post unprocessable entity response has a 2xx status code
func (*PcloudPlacementgroupsPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPlacementgroupsPostUnprocessableEntity) String() 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