Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudPvminstancesVirtualserialnumberDelete(params *PcloudPvminstancesVirtualserialnumberDeleteParams, ...) (*PcloudPvminstancesVirtualserialnumberDeleteAccepted, error)
- func (a *Client) PcloudPvminstancesVirtualserialnumberGet(params *PcloudPvminstancesVirtualserialnumberGetParams, ...) (*PcloudPvminstancesVirtualserialnumberGetOK, error)
- func (a *Client) PcloudPvminstancesVirtualserialnumberPost(params *PcloudPvminstancesVirtualserialnumberPostParams, ...) (*PcloudPvminstancesVirtualserialnumberPostAccepted, error)
- func (a *Client) PcloudPvminstancesVirtualserialnumberPut(params *PcloudPvminstancesVirtualserialnumberPutParams, ...) (*PcloudPvminstancesVirtualserialnumberPutOK, error)
- func (a *Client) PcloudVirtualserialnumberDelete(params *PcloudVirtualserialnumberDeleteParams, ...) (*PcloudVirtualserialnumberDeleteOK, error)
- func (a *Client) PcloudVirtualserialnumberGet(params *PcloudVirtualserialnumberGetParams, ...) (*PcloudVirtualserialnumberGetOK, error)
- func (a *Client) PcloudVirtualserialnumberGetall(params *PcloudVirtualserialnumberGetallParams, ...) (*PcloudVirtualserialnumberGetallOK, error)
- func (a *Client) PcloudVirtualserialnumberPut(params *PcloudVirtualserialnumberPutParams, ...) (*PcloudVirtualserialnumberPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudPvminstancesVirtualserialnumberDeleteAccepted
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) GetPayload() models.Object
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) String() string
- type PcloudPvminstancesVirtualserialnumberDeleteBadRequest
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) String() string
- type PcloudPvminstancesVirtualserialnumberDeleteForbidden
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) String() string
- type PcloudPvminstancesVirtualserialnumberDeleteGone
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) String() string
- type PcloudPvminstancesVirtualserialnumberDeleteInternalServerError
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) String() string
- type PcloudPvminstancesVirtualserialnumberDeleteNotFound
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) String() string
- type PcloudPvminstancesVirtualserialnumberDeleteParams
- func NewPcloudPvminstancesVirtualserialnumberDeleteParams() *PcloudPvminstancesVirtualserialnumberDeleteParams
- func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetBody(body *models.DeleteServerVirtualSerialNumber)
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetDefaults()
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithBody(body *models.DeleteServerVirtualSerialNumber) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberDeleteParams
- func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVirtualserialnumberDeleteReader
- type PcloudPvminstancesVirtualserialnumberDeleteUnauthorized
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) String() string
- type PcloudPvminstancesVirtualserialnumberGetBadRequest
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) String() string
- type PcloudPvminstancesVirtualserialnumberGetForbidden
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) String() string
- type PcloudPvminstancesVirtualserialnumberGetInternalServerError
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) String() string
- type PcloudPvminstancesVirtualserialnumberGetNotFound
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) String() string
- type PcloudPvminstancesVirtualserialnumberGetOK
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) GetPayload() *models.VirtualSerialNumber
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetOK) String() string
- type PcloudPvminstancesVirtualserialnumberGetParams
- func NewPcloudPvminstancesVirtualserialnumberGetParams() *PcloudPvminstancesVirtualserialnumberGetParams
- func NewPcloudPvminstancesVirtualserialnumberGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberGetParams
- func NewPcloudPvminstancesVirtualserialnumberGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberGetParams
- func NewPcloudPvminstancesVirtualserialnumberGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberGetParams
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetDefaults()
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberGetParams
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberGetParams
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberGetParams
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberGetParams
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberGetParams
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberGetParams
- func (o *PcloudPvminstancesVirtualserialnumberGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVirtualserialnumberGetReader
- type PcloudPvminstancesVirtualserialnumberGetUnauthorized
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) String() string
- type PcloudPvminstancesVirtualserialnumberPostAccepted
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) GetPayload() models.Object
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) String() string
- type PcloudPvminstancesVirtualserialnumberPostBadRequest
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) String() string
- type PcloudPvminstancesVirtualserialnumberPostConflict
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostConflict) String() string
- type PcloudPvminstancesVirtualserialnumberPostForbidden
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) String() string
- type PcloudPvminstancesVirtualserialnumberPostGatewayTimeout
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) String() string
- type PcloudPvminstancesVirtualserialnumberPostInternalServerError
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) String() string
- type PcloudPvminstancesVirtualserialnumberPostNotFound
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) String() string
- type PcloudPvminstancesVirtualserialnumberPostParams
- func NewPcloudPvminstancesVirtualserialnumberPostParams() *PcloudPvminstancesVirtualserialnumberPostParams
- func NewPcloudPvminstancesVirtualserialnumberPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPostParams
- func NewPcloudPvminstancesVirtualserialnumberPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPostParams
- func NewPcloudPvminstancesVirtualserialnumberPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetBody(body *models.AddServerVirtualSerialNumber)
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetDefaults()
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithBody(body *models.AddServerVirtualSerialNumber) *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPostParams
- func (o *PcloudPvminstancesVirtualserialnumberPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVirtualserialnumberPostReader
- type PcloudPvminstancesVirtualserialnumberPostUnauthorized
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) String() string
- type PcloudPvminstancesVirtualserialnumberPutBadRequest
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) String() string
- type PcloudPvminstancesVirtualserialnumberPutForbidden
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) String() string
- type PcloudPvminstancesVirtualserialnumberPutInternalServerError
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) String() string
- type PcloudPvminstancesVirtualserialnumberPutNotFound
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) String() string
- type PcloudPvminstancesVirtualserialnumberPutOK
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) GetPayload() *models.VirtualSerialNumber
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutOK) String() string
- type PcloudPvminstancesVirtualserialnumberPutParams
- func NewPcloudPvminstancesVirtualserialnumberPutParams() *PcloudPvminstancesVirtualserialnumberPutParams
- func NewPcloudPvminstancesVirtualserialnumberPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPutParams
- func NewPcloudPvminstancesVirtualserialnumberPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPutParams
- func NewPcloudPvminstancesVirtualserialnumberPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetBody(body *models.UpdateServerVirtualSerialNumber)
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetDefaults()
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithBody(body *models.UpdateServerVirtualSerialNumber) *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPutParams
- func (o *PcloudPvminstancesVirtualserialnumberPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVirtualserialnumberPutReader
- type PcloudPvminstancesVirtualserialnumberPutUnauthorized
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) String() string
- type PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) String() string
- type PcloudVirtualserialnumberDeleteBadRequest
- func (o *PcloudVirtualserialnumberDeleteBadRequest) Code() int
- func (o *PcloudVirtualserialnumberDeleteBadRequest) Error() string
- func (o *PcloudVirtualserialnumberDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberDeleteBadRequest) IsClientError() bool
- func (o *PcloudVirtualserialnumberDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberDeleteBadRequest) IsRedirect() bool
- func (o *PcloudVirtualserialnumberDeleteBadRequest) IsServerError() bool
- func (o *PcloudVirtualserialnumberDeleteBadRequest) IsSuccess() bool
- func (o *PcloudVirtualserialnumberDeleteBadRequest) String() string
- type PcloudVirtualserialnumberDeleteForbidden
- func (o *PcloudVirtualserialnumberDeleteForbidden) Code() int
- func (o *PcloudVirtualserialnumberDeleteForbidden) Error() string
- func (o *PcloudVirtualserialnumberDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberDeleteForbidden) IsClientError() bool
- func (o *PcloudVirtualserialnumberDeleteForbidden) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberDeleteForbidden) IsRedirect() bool
- func (o *PcloudVirtualserialnumberDeleteForbidden) IsServerError() bool
- func (o *PcloudVirtualserialnumberDeleteForbidden) IsSuccess() bool
- func (o *PcloudVirtualserialnumberDeleteForbidden) String() string
- type PcloudVirtualserialnumberDeleteGone
- func (o *PcloudVirtualserialnumberDeleteGone) Code() int
- func (o *PcloudVirtualserialnumberDeleteGone) Error() string
- func (o *PcloudVirtualserialnumberDeleteGone) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberDeleteGone) IsClientError() bool
- func (o *PcloudVirtualserialnumberDeleteGone) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberDeleteGone) IsRedirect() bool
- func (o *PcloudVirtualserialnumberDeleteGone) IsServerError() bool
- func (o *PcloudVirtualserialnumberDeleteGone) IsSuccess() bool
- func (o *PcloudVirtualserialnumberDeleteGone) String() string
- type PcloudVirtualserialnumberDeleteInternalServerError
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) Code() int
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) Error() string
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsClientError() bool
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsServerError() bool
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudVirtualserialnumberDeleteInternalServerError) String() string
- type PcloudVirtualserialnumberDeleteNotFound
- func (o *PcloudVirtualserialnumberDeleteNotFound) Code() int
- func (o *PcloudVirtualserialnumberDeleteNotFound) Error() string
- func (o *PcloudVirtualserialnumberDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberDeleteNotFound) IsClientError() bool
- func (o *PcloudVirtualserialnumberDeleteNotFound) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberDeleteNotFound) IsRedirect() bool
- func (o *PcloudVirtualserialnumberDeleteNotFound) IsServerError() bool
- func (o *PcloudVirtualserialnumberDeleteNotFound) IsSuccess() bool
- func (o *PcloudVirtualserialnumberDeleteNotFound) String() string
- type PcloudVirtualserialnumberDeleteOK
- func (o *PcloudVirtualserialnumberDeleteOK) Code() int
- func (o *PcloudVirtualserialnumberDeleteOK) Error() string
- func (o *PcloudVirtualserialnumberDeleteOK) GetPayload() models.Object
- func (o *PcloudVirtualserialnumberDeleteOK) IsClientError() bool
- func (o *PcloudVirtualserialnumberDeleteOK) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberDeleteOK) IsRedirect() bool
- func (o *PcloudVirtualserialnumberDeleteOK) IsServerError() bool
- func (o *PcloudVirtualserialnumberDeleteOK) IsSuccess() bool
- func (o *PcloudVirtualserialnumberDeleteOK) String() string
- type PcloudVirtualserialnumberDeleteParams
- func NewPcloudVirtualserialnumberDeleteParams() *PcloudVirtualserialnumberDeleteParams
- func NewPcloudVirtualserialnumberDeleteParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberDeleteParams
- func NewPcloudVirtualserialnumberDeleteParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberDeleteParams
- func NewPcloudVirtualserialnumberDeleteParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberDeleteParams
- func (o *PcloudVirtualserialnumberDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudVirtualserialnumberDeleteParams) SetDefaults()
- func (o *PcloudVirtualserialnumberDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVirtualserialnumberDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVirtualserialnumberDeleteParams) SetVirtualSerialNumber(virtualSerialNumber string)
- func (o *PcloudVirtualserialnumberDeleteParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberDeleteParams
- func (o *PcloudVirtualserialnumberDeleteParams) WithDefaults() *PcloudVirtualserialnumberDeleteParams
- func (o *PcloudVirtualserialnumberDeleteParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberDeleteParams
- func (o *PcloudVirtualserialnumberDeleteParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberDeleteParams
- func (o *PcloudVirtualserialnumberDeleteParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberDeleteParams
- func (o *PcloudVirtualserialnumberDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVirtualserialnumberDeleteReader
- type PcloudVirtualserialnumberDeleteUnauthorized
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) Code() int
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) Error() string
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsClientError() bool
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsServerError() bool
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudVirtualserialnumberDeleteUnauthorized) String() string
- type PcloudVirtualserialnumberGetBadRequest
- func (o *PcloudVirtualserialnumberGetBadRequest) Code() int
- func (o *PcloudVirtualserialnumberGetBadRequest) Error() string
- func (o *PcloudVirtualserialnumberGetBadRequest) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetBadRequest) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetBadRequest) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetBadRequest) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetBadRequest) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetBadRequest) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetBadRequest) String() string
- type PcloudVirtualserialnumberGetForbidden
- func (o *PcloudVirtualserialnumberGetForbidden) Code() int
- func (o *PcloudVirtualserialnumberGetForbidden) Error() string
- func (o *PcloudVirtualserialnumberGetForbidden) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetForbidden) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetForbidden) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetForbidden) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetForbidden) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetForbidden) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetForbidden) String() string
- type PcloudVirtualserialnumberGetInternalServerError
- func (o *PcloudVirtualserialnumberGetInternalServerError) Code() int
- func (o *PcloudVirtualserialnumberGetInternalServerError) Error() string
- func (o *PcloudVirtualserialnumberGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetInternalServerError) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetInternalServerError) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetInternalServerError) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetInternalServerError) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetInternalServerError) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetInternalServerError) String() string
- type PcloudVirtualserialnumberGetNotFound
- func (o *PcloudVirtualserialnumberGetNotFound) Code() int
- func (o *PcloudVirtualserialnumberGetNotFound) Error() string
- func (o *PcloudVirtualserialnumberGetNotFound) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetNotFound) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetNotFound) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetNotFound) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetNotFound) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetNotFound) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetNotFound) String() string
- type PcloudVirtualserialnumberGetOK
- func (o *PcloudVirtualserialnumberGetOK) Code() int
- func (o *PcloudVirtualserialnumberGetOK) Error() string
- func (o *PcloudVirtualserialnumberGetOK) GetPayload() *models.VirtualSerialNumber
- func (o *PcloudVirtualserialnumberGetOK) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetOK) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetOK) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetOK) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetOK) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetOK) String() string
- type PcloudVirtualserialnumberGetParams
- func NewPcloudVirtualserialnumberGetParams() *PcloudVirtualserialnumberGetParams
- func NewPcloudVirtualserialnumberGetParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberGetParams
- func NewPcloudVirtualserialnumberGetParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetParams
- func NewPcloudVirtualserialnumberGetParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetParams
- func (o *PcloudVirtualserialnumberGetParams) SetContext(ctx context.Context)
- func (o *PcloudVirtualserialnumberGetParams) SetDefaults()
- func (o *PcloudVirtualserialnumberGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVirtualserialnumberGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVirtualserialnumberGetParams) SetVirtualSerialNumber(virtualSerialNumber string)
- func (o *PcloudVirtualserialnumberGetParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberGetParams
- func (o *PcloudVirtualserialnumberGetParams) WithDefaults() *PcloudVirtualserialnumberGetParams
- func (o *PcloudVirtualserialnumberGetParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetParams
- func (o *PcloudVirtualserialnumberGetParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetParams
- func (o *PcloudVirtualserialnumberGetParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberGetParams
- func (o *PcloudVirtualserialnumberGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVirtualserialnumberGetReader
- type PcloudVirtualserialnumberGetUnauthorized
- func (o *PcloudVirtualserialnumberGetUnauthorized) Code() int
- func (o *PcloudVirtualserialnumberGetUnauthorized) Error() string
- func (o *PcloudVirtualserialnumberGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetUnauthorized) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetUnauthorized) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetUnauthorized) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetUnauthorized) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetUnauthorized) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetUnauthorized) String() string
- type PcloudVirtualserialnumberGetallBadRequest
- func (o *PcloudVirtualserialnumberGetallBadRequest) Code() int
- func (o *PcloudVirtualserialnumberGetallBadRequest) Error() string
- func (o *PcloudVirtualserialnumberGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetallBadRequest) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetallBadRequest) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetallBadRequest) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetallBadRequest) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetallBadRequest) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetallBadRequest) String() string
- type PcloudVirtualserialnumberGetallForbidden
- func (o *PcloudVirtualserialnumberGetallForbidden) Code() int
- func (o *PcloudVirtualserialnumberGetallForbidden) Error() string
- func (o *PcloudVirtualserialnumberGetallForbidden) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetallForbidden) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetallForbidden) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetallForbidden) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetallForbidden) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetallForbidden) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetallForbidden) String() string
- type PcloudVirtualserialnumberGetallInternalServerError
- func (o *PcloudVirtualserialnumberGetallInternalServerError) Code() int
- func (o *PcloudVirtualserialnumberGetallInternalServerError) Error() string
- func (o *PcloudVirtualserialnumberGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetallInternalServerError) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetallInternalServerError) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetallInternalServerError) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetallInternalServerError) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetallInternalServerError) String() string
- type PcloudVirtualserialnumberGetallNotFound
- func (o *PcloudVirtualserialnumberGetallNotFound) Code() int
- func (o *PcloudVirtualserialnumberGetallNotFound) Error() string
- func (o *PcloudVirtualserialnumberGetallNotFound) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetallNotFound) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetallNotFound) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetallNotFound) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetallNotFound) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetallNotFound) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetallNotFound) String() string
- type PcloudVirtualserialnumberGetallOK
- func (o *PcloudVirtualserialnumberGetallOK) Code() int
- func (o *PcloudVirtualserialnumberGetallOK) Error() string
- func (o *PcloudVirtualserialnumberGetallOK) GetPayload() models.VirtualSerialNumberList
- func (o *PcloudVirtualserialnumberGetallOK) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetallOK) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetallOK) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetallOK) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetallOK) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetallOK) String() string
- type PcloudVirtualserialnumberGetallParams
- func NewPcloudVirtualserialnumberGetallParams() *PcloudVirtualserialnumberGetallParams
- func NewPcloudVirtualserialnumberGetallParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberGetallParams
- func NewPcloudVirtualserialnumberGetallParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetallParams
- func NewPcloudVirtualserialnumberGetallParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetallParams
- func (o *PcloudVirtualserialnumberGetallParams) SetContext(ctx context.Context)
- func (o *PcloudVirtualserialnumberGetallParams) SetDefaults()
- func (o *PcloudVirtualserialnumberGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVirtualserialnumberGetallParams) SetPvmInstanceID(pvmInstanceID *string)
- func (o *PcloudVirtualserialnumberGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVirtualserialnumberGetallParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberGetallParams
- func (o *PcloudVirtualserialnumberGetallParams) WithDefaults() *PcloudVirtualserialnumberGetallParams
- func (o *PcloudVirtualserialnumberGetallParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetallParams
- func (o *PcloudVirtualserialnumberGetallParams) WithPvmInstanceID(pvmInstanceID *string) *PcloudVirtualserialnumberGetallParams
- func (o *PcloudVirtualserialnumberGetallParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetallParams
- func (o *PcloudVirtualserialnumberGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVirtualserialnumberGetallReader
- type PcloudVirtualserialnumberGetallUnauthorized
- func (o *PcloudVirtualserialnumberGetallUnauthorized) Code() int
- func (o *PcloudVirtualserialnumberGetallUnauthorized) Error() string
- func (o *PcloudVirtualserialnumberGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberGetallUnauthorized) IsClientError() bool
- func (o *PcloudVirtualserialnumberGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberGetallUnauthorized) IsRedirect() bool
- func (o *PcloudVirtualserialnumberGetallUnauthorized) IsServerError() bool
- func (o *PcloudVirtualserialnumberGetallUnauthorized) IsSuccess() bool
- func (o *PcloudVirtualserialnumberGetallUnauthorized) String() string
- type PcloudVirtualserialnumberPutBadRequest
- func (o *PcloudVirtualserialnumberPutBadRequest) Code() int
- func (o *PcloudVirtualserialnumberPutBadRequest) Error() string
- func (o *PcloudVirtualserialnumberPutBadRequest) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberPutBadRequest) IsClientError() bool
- func (o *PcloudVirtualserialnumberPutBadRequest) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberPutBadRequest) IsRedirect() bool
- func (o *PcloudVirtualserialnumberPutBadRequest) IsServerError() bool
- func (o *PcloudVirtualserialnumberPutBadRequest) IsSuccess() bool
- func (o *PcloudVirtualserialnumberPutBadRequest) String() string
- type PcloudVirtualserialnumberPutForbidden
- func (o *PcloudVirtualserialnumberPutForbidden) Code() int
- func (o *PcloudVirtualserialnumberPutForbidden) Error() string
- func (o *PcloudVirtualserialnumberPutForbidden) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberPutForbidden) IsClientError() bool
- func (o *PcloudVirtualserialnumberPutForbidden) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberPutForbidden) IsRedirect() bool
- func (o *PcloudVirtualserialnumberPutForbidden) IsServerError() bool
- func (o *PcloudVirtualserialnumberPutForbidden) IsSuccess() bool
- func (o *PcloudVirtualserialnumberPutForbidden) String() string
- type PcloudVirtualserialnumberPutGone
- func (o *PcloudVirtualserialnumberPutGone) Code() int
- func (o *PcloudVirtualserialnumberPutGone) Error() string
- func (o *PcloudVirtualserialnumberPutGone) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberPutGone) IsClientError() bool
- func (o *PcloudVirtualserialnumberPutGone) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberPutGone) IsRedirect() bool
- func (o *PcloudVirtualserialnumberPutGone) IsServerError() bool
- func (o *PcloudVirtualserialnumberPutGone) IsSuccess() bool
- func (o *PcloudVirtualserialnumberPutGone) String() string
- type PcloudVirtualserialnumberPutInternalServerError
- func (o *PcloudVirtualserialnumberPutInternalServerError) Code() int
- func (o *PcloudVirtualserialnumberPutInternalServerError) Error() string
- func (o *PcloudVirtualserialnumberPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberPutInternalServerError) IsClientError() bool
- func (o *PcloudVirtualserialnumberPutInternalServerError) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberPutInternalServerError) IsRedirect() bool
- func (o *PcloudVirtualserialnumberPutInternalServerError) IsServerError() bool
- func (o *PcloudVirtualserialnumberPutInternalServerError) IsSuccess() bool
- func (o *PcloudVirtualserialnumberPutInternalServerError) String() string
- type PcloudVirtualserialnumberPutNotFound
- func (o *PcloudVirtualserialnumberPutNotFound) Code() int
- func (o *PcloudVirtualserialnumberPutNotFound) Error() string
- func (o *PcloudVirtualserialnumberPutNotFound) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberPutNotFound) IsClientError() bool
- func (o *PcloudVirtualserialnumberPutNotFound) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberPutNotFound) IsRedirect() bool
- func (o *PcloudVirtualserialnumberPutNotFound) IsServerError() bool
- func (o *PcloudVirtualserialnumberPutNotFound) IsSuccess() bool
- func (o *PcloudVirtualserialnumberPutNotFound) String() string
- type PcloudVirtualserialnumberPutOK
- func (o *PcloudVirtualserialnumberPutOK) Code() int
- func (o *PcloudVirtualserialnumberPutOK) Error() string
- func (o *PcloudVirtualserialnumberPutOK) GetPayload() *models.GetServerVirtualSerialNumber
- func (o *PcloudVirtualserialnumberPutOK) IsClientError() bool
- func (o *PcloudVirtualserialnumberPutOK) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberPutOK) IsRedirect() bool
- func (o *PcloudVirtualserialnumberPutOK) IsServerError() bool
- func (o *PcloudVirtualserialnumberPutOK) IsSuccess() bool
- func (o *PcloudVirtualserialnumberPutOK) String() string
- type PcloudVirtualserialnumberPutParams
- func NewPcloudVirtualserialnumberPutParams() *PcloudVirtualserialnumberPutParams
- func NewPcloudVirtualserialnumberPutParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberPutParams
- func NewPcloudVirtualserialnumberPutParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberPutParams
- func NewPcloudVirtualserialnumberPutParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberPutParams
- func (o *PcloudVirtualserialnumberPutParams) SetBody(body *models.UpdateVirtualSerialNumber)
- func (o *PcloudVirtualserialnumberPutParams) SetContext(ctx context.Context)
- func (o *PcloudVirtualserialnumberPutParams) SetDefaults()
- func (o *PcloudVirtualserialnumberPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVirtualserialnumberPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVirtualserialnumberPutParams) SetVirtualSerialNumber(virtualSerialNumber string)
- func (o *PcloudVirtualserialnumberPutParams) WithBody(body *models.UpdateVirtualSerialNumber) *PcloudVirtualserialnumberPutParams
- func (o *PcloudVirtualserialnumberPutParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberPutParams
- func (o *PcloudVirtualserialnumberPutParams) WithDefaults() *PcloudVirtualserialnumberPutParams
- func (o *PcloudVirtualserialnumberPutParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberPutParams
- func (o *PcloudVirtualserialnumberPutParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberPutParams
- func (o *PcloudVirtualserialnumberPutParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberPutParams
- func (o *PcloudVirtualserialnumberPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVirtualserialnumberPutReader
- type PcloudVirtualserialnumberPutUnauthorized
- func (o *PcloudVirtualserialnumberPutUnauthorized) Code() int
- func (o *PcloudVirtualserialnumberPutUnauthorized) Error() string
- func (o *PcloudVirtualserialnumberPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudVirtualserialnumberPutUnauthorized) IsClientError() bool
- func (o *PcloudVirtualserialnumberPutUnauthorized) IsCode(code int) bool
- func (o *PcloudVirtualserialnumberPutUnauthorized) IsRedirect() bool
- func (o *PcloudVirtualserialnumberPutUnauthorized) IsServerError() bool
- func (o *PcloudVirtualserialnumberPutUnauthorized) IsSuccess() bool
- func (o *PcloudVirtualserialnumberPutUnauthorized) 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 virtual serial number API
func (*Client) PcloudPvminstancesVirtualserialnumberDelete ¶
func (a *Client) PcloudPvminstancesVirtualserialnumberDelete(params *PcloudPvminstancesVirtualserialnumberDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberDeleteAccepted, error)
PcloudPvminstancesVirtualserialnumberDelete unassigns virtual serial number from a p VM instance
func (*Client) PcloudPvminstancesVirtualserialnumberGet ¶
func (a *Client) PcloudPvminstancesVirtualserialnumberGet(params *PcloudPvminstancesVirtualserialnumberGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberGetOK, error)
PcloudPvminstancesVirtualserialnumberGet gets a p VM instance s virtual serial number information
func (*Client) PcloudPvminstancesVirtualserialnumberPost ¶
func (a *Client) PcloudPvminstancesVirtualserialnumberPost(params *PcloudPvminstancesVirtualserialnumberPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberPostAccepted, error)
PcloudPvminstancesVirtualserialnumberPost assigns virtual serial number to a p VM instance
func (*Client) PcloudPvminstancesVirtualserialnumberPut ¶
func (a *Client) PcloudPvminstancesVirtualserialnumberPut(params *PcloudPvminstancesVirtualserialnumberPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberPutOK, error)
PcloudPvminstancesVirtualserialnumberPut updates description of a virtual serial number
func (*Client) PcloudVirtualserialnumberDelete ¶
func (a *Client) PcloudVirtualserialnumberDelete(params *PcloudVirtualserialnumberDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberDeleteOK, error)
PcloudVirtualserialnumberDelete unreserves a retained virtual serial number
func (*Client) PcloudVirtualserialnumberGet ¶
func (a *Client) PcloudVirtualserialnumberGet(params *PcloudVirtualserialnumberGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetOK, error)
PcloudVirtualserialnumberGet gets information for a virtual serial number
func (*Client) PcloudVirtualserialnumberGetall ¶
func (a *Client) PcloudVirtualserialnumberGetall(params *PcloudVirtualserialnumberGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetallOK, error)
PcloudVirtualserialnumberGetall lists all utilized and retained v s ns
func (*Client) PcloudVirtualserialnumberPut ¶
func (a *Client) PcloudVirtualserialnumberPut(params *PcloudVirtualserialnumberPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberPutOK, error)
PcloudVirtualserialnumberPut updates description of a reserved virtual serial number
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { PcloudPvminstancesVirtualserialnumberDelete(params *PcloudPvminstancesVirtualserialnumberDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberDeleteAccepted, error) PcloudPvminstancesVirtualserialnumberGet(params *PcloudPvminstancesVirtualserialnumberGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberGetOK, error) PcloudPvminstancesVirtualserialnumberPost(params *PcloudPvminstancesVirtualserialnumberPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberPostAccepted, error) PcloudPvminstancesVirtualserialnumberPut(params *PcloudPvminstancesVirtualserialnumberPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberPutOK, error) PcloudVirtualserialnumberDelete(params *PcloudVirtualserialnumberDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberDeleteOK, error) PcloudVirtualserialnumberGet(params *PcloudVirtualserialnumberGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetOK, error) PcloudVirtualserialnumberGetall(params *PcloudVirtualserialnumberGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetallOK, error) PcloudVirtualserialnumberPut(params *PcloudVirtualserialnumberPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberPutOK, 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 virtual serial number API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud virtual serial number API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud virtual serial number API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type PcloudPvminstancesVirtualserialnumberDeleteAccepted ¶
PcloudPvminstancesVirtualserialnumberDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudPvminstancesVirtualserialnumberDeleteAccepted ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteAccepted() *PcloudPvminstancesVirtualserialnumberDeleteAccepted
NewPcloudPvminstancesVirtualserialnumberDeleteAccepted creates a PcloudPvminstancesVirtualserialnumberDeleteAccepted with default headers values
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber delete accepted response
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) Error() string
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) GetPayload() models.Object
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber delete accepted response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) String ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteAccepted) String() string
type PcloudPvminstancesVirtualserialnumberDeleteBadRequest ¶
PcloudPvminstancesVirtualserialnumberDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVirtualserialnumberDeleteBadRequest ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteBadRequest() *PcloudPvminstancesVirtualserialnumberDeleteBadRequest
NewPcloudPvminstancesVirtualserialnumberDeleteBadRequest creates a PcloudPvminstancesVirtualserialnumberDeleteBadRequest with default headers values
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber delete bad request response
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Error() string
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber delete bad request response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) String ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteBadRequest) String() string
type PcloudPvminstancesVirtualserialnumberDeleteForbidden ¶
PcloudPvminstancesVirtualserialnumberDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesVirtualserialnumberDeleteForbidden ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteForbidden() *PcloudPvminstancesVirtualserialnumberDeleteForbidden
NewPcloudPvminstancesVirtualserialnumberDeleteForbidden creates a PcloudPvminstancesVirtualserialnumberDeleteForbidden with default headers values
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber delete forbidden response
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) Error() string
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber delete forbidden response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) String ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteForbidden) String() string
type PcloudPvminstancesVirtualserialnumberDeleteGone ¶
PcloudPvminstancesVirtualserialnumberDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudPvminstancesVirtualserialnumberDeleteGone ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteGone() *PcloudPvminstancesVirtualserialnumberDeleteGone
NewPcloudPvminstancesVirtualserialnumberDeleteGone creates a PcloudPvminstancesVirtualserialnumberDeleteGone with default headers values
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber delete gone response
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) Error() string
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber delete gone response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteGone) String ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteGone) String() string
type PcloudPvminstancesVirtualserialnumberDeleteInternalServerError ¶
type PcloudPvminstancesVirtualserialnumberDeleteInternalServerError struct {
Payload *models.Error
}
PcloudPvminstancesVirtualserialnumberDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVirtualserialnumberDeleteInternalServerError ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteInternalServerError() *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError
NewPcloudPvminstancesVirtualserialnumberDeleteInternalServerError creates a PcloudPvminstancesVirtualserialnumberDeleteInternalServerError with default headers values
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber delete internal server error response
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Error() string
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber delete internal server error response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) String ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) String() string
type PcloudPvminstancesVirtualserialnumberDeleteNotFound ¶
PcloudPvminstancesVirtualserialnumberDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVirtualserialnumberDeleteNotFound ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteNotFound() *PcloudPvminstancesVirtualserialnumberDeleteNotFound
NewPcloudPvminstancesVirtualserialnumberDeleteNotFound creates a PcloudPvminstancesVirtualserialnumberDeleteNotFound with default headers values
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber delete not found response
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) Error() string
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber delete not found response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) String ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteNotFound) String() string
type PcloudPvminstancesVirtualserialnumberDeleteParams ¶
type PcloudPvminstancesVirtualserialnumberDeleteParams struct { /* Body. Parameters to unassign a Virtual Serial Number attached to a PVM Instance */ Body *models.DeleteServerVirtualSerialNumber /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVirtualserialnumberDeleteParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances virtualserialnumber delete operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVirtualserialnumberDeleteParams ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteParams() *PcloudPvminstancesVirtualserialnumberDeleteParams
NewPcloudPvminstancesVirtualserialnumberDeleteParams creates a new PcloudPvminstancesVirtualserialnumberDeleteParams 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 NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithContext ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberDeleteParams
NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberDeleteParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithHTTPClient ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberDeleteParams
NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithTimeout ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberDeleteParams
NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberDeleteParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetBody ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetBody(body *models.DeleteServerVirtualSerialNumber)
SetBody adds the body to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetContext ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithBody ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithBody(body *models.DeleteServerVirtualSerialNumber) *PcloudPvminstancesVirtualserialnumberDeleteParams
WithBody adds the body to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithContext ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberDeleteParams
WithContext adds the context to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberDeleteParams
WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberDeleteParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberDeleteParams
WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber delete params
func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WriteToRequest ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVirtualserialnumberDeleteReader ¶
type PcloudPvminstancesVirtualserialnumberDeleteReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVirtualserialnumberDeleteReader is a Reader for the PcloudPvminstancesVirtualserialnumberDelete structure.
func (*PcloudPvminstancesVirtualserialnumberDeleteReader) ReadResponse ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVirtualserialnumberDeleteUnauthorized ¶
type PcloudPvminstancesVirtualserialnumberDeleteUnauthorized struct {
}PcloudPvminstancesVirtualserialnumberDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVirtualserialnumberDeleteUnauthorized ¶
func NewPcloudPvminstancesVirtualserialnumberDeleteUnauthorized() *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized
NewPcloudPvminstancesVirtualserialnumberDeleteUnauthorized creates a PcloudPvminstancesVirtualserialnumberDeleteUnauthorized with default headers values
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber delete unauthorized response
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Error() string
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) String ¶
func (o *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) String() string
type PcloudPvminstancesVirtualserialnumberGetBadRequest ¶
PcloudPvminstancesVirtualserialnumberGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVirtualserialnumberGetBadRequest ¶
func NewPcloudPvminstancesVirtualserialnumberGetBadRequest() *PcloudPvminstancesVirtualserialnumberGetBadRequest
NewPcloudPvminstancesVirtualserialnumberGetBadRequest creates a PcloudPvminstancesVirtualserialnumberGetBadRequest with default headers values
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber get bad request response
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) Error() string
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber get bad request response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) String ¶
func (o *PcloudPvminstancesVirtualserialnumberGetBadRequest) String() string
type PcloudPvminstancesVirtualserialnumberGetForbidden ¶
PcloudPvminstancesVirtualserialnumberGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesVirtualserialnumberGetForbidden ¶
func NewPcloudPvminstancesVirtualserialnumberGetForbidden() *PcloudPvminstancesVirtualserialnumberGetForbidden
NewPcloudPvminstancesVirtualserialnumberGetForbidden creates a PcloudPvminstancesVirtualserialnumberGetForbidden with default headers values
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber get forbidden response
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) Error() string
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber get forbidden response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberGetForbidden) String ¶
func (o *PcloudPvminstancesVirtualserialnumberGetForbidden) String() string
type PcloudPvminstancesVirtualserialnumberGetInternalServerError ¶
PcloudPvminstancesVirtualserialnumberGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVirtualserialnumberGetInternalServerError ¶
func NewPcloudPvminstancesVirtualserialnumberGetInternalServerError() *PcloudPvminstancesVirtualserialnumberGetInternalServerError
NewPcloudPvminstancesVirtualserialnumberGetInternalServerError creates a PcloudPvminstancesVirtualserialnumberGetInternalServerError with default headers values
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber get internal server error response
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) Error() string
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber get internal server error response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) String ¶
func (o *PcloudPvminstancesVirtualserialnumberGetInternalServerError) String() string
type PcloudPvminstancesVirtualserialnumberGetNotFound ¶
PcloudPvminstancesVirtualserialnumberGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVirtualserialnumberGetNotFound ¶
func NewPcloudPvminstancesVirtualserialnumberGetNotFound() *PcloudPvminstancesVirtualserialnumberGetNotFound
NewPcloudPvminstancesVirtualserialnumberGetNotFound creates a PcloudPvminstancesVirtualserialnumberGetNotFound with default headers values
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber get not found response
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) Error() string
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber get not found response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber get not found response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber get not found response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber get not found response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber get not found response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberGetNotFound) String ¶
func (o *PcloudPvminstancesVirtualserialnumberGetNotFound) String() string
type PcloudPvminstancesVirtualserialnumberGetOK ¶
type PcloudPvminstancesVirtualserialnumberGetOK struct {
Payload *models.VirtualSerialNumber
}
PcloudPvminstancesVirtualserialnumberGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesVirtualserialnumberGetOK ¶
func NewPcloudPvminstancesVirtualserialnumberGetOK() *PcloudPvminstancesVirtualserialnumberGetOK
NewPcloudPvminstancesVirtualserialnumberGetOK creates a PcloudPvminstancesVirtualserialnumberGetOK with default headers values
func (*PcloudPvminstancesVirtualserialnumberGetOK) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber get o k response
func (*PcloudPvminstancesVirtualserialnumberGetOK) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) Error() string
func (*PcloudPvminstancesVirtualserialnumberGetOK) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) GetPayload() *models.VirtualSerialNumber
func (*PcloudPvminstancesVirtualserialnumberGetOK) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber get o k response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberGetOK) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber get o k response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberGetOK) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber get o k response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberGetOK) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber get o k response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberGetOK) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber get o k response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberGetOK) String ¶
func (o *PcloudPvminstancesVirtualserialnumberGetOK) String() string
type PcloudPvminstancesVirtualserialnumberGetParams ¶
type PcloudPvminstancesVirtualserialnumberGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVirtualserialnumberGetParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances virtualserialnumber get operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVirtualserialnumberGetParams ¶
func NewPcloudPvminstancesVirtualserialnumberGetParams() *PcloudPvminstancesVirtualserialnumberGetParams
NewPcloudPvminstancesVirtualserialnumberGetParams creates a new PcloudPvminstancesVirtualserialnumberGetParams 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 NewPcloudPvminstancesVirtualserialnumberGetParamsWithContext ¶
func NewPcloudPvminstancesVirtualserialnumberGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberGetParams
NewPcloudPvminstancesVirtualserialnumberGetParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberGetParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVirtualserialnumberGetParamsWithHTTPClient ¶
func NewPcloudPvminstancesVirtualserialnumberGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberGetParams
NewPcloudPvminstancesVirtualserialnumberGetParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVirtualserialnumberGetParamsWithTimeout ¶
func NewPcloudPvminstancesVirtualserialnumberGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberGetParams
NewPcloudPvminstancesVirtualserialnumberGetParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberGetParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVirtualserialnumberGetParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) SetContext ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) SetDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberGetParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) SetTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) WithContext ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberGetParams
WithContext adds the context to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) WithDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberGetParams
WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberGetParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberGetParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberGetParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) WithTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberGetParams
WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber get params
func (*PcloudPvminstancesVirtualserialnumberGetParams) WriteToRequest ¶
func (o *PcloudPvminstancesVirtualserialnumberGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVirtualserialnumberGetReader ¶
type PcloudPvminstancesVirtualserialnumberGetReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVirtualserialnumberGetReader is a Reader for the PcloudPvminstancesVirtualserialnumberGet structure.
func (*PcloudPvminstancesVirtualserialnumberGetReader) ReadResponse ¶
func (o *PcloudPvminstancesVirtualserialnumberGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVirtualserialnumberGetUnauthorized ¶
type PcloudPvminstancesVirtualserialnumberGetUnauthorized struct {
}PcloudPvminstancesVirtualserialnumberGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVirtualserialnumberGetUnauthorized ¶
func NewPcloudPvminstancesVirtualserialnumberGetUnauthorized() *PcloudPvminstancesVirtualserialnumberGetUnauthorized
NewPcloudPvminstancesVirtualserialnumberGetUnauthorized creates a PcloudPvminstancesVirtualserialnumberGetUnauthorized with default headers values
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber get unauthorized response
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) Error() string
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber get unauthorized response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) String ¶
func (o *PcloudPvminstancesVirtualserialnumberGetUnauthorized) String() string
type PcloudPvminstancesVirtualserialnumberPostAccepted ¶
PcloudPvminstancesVirtualserialnumberPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudPvminstancesVirtualserialnumberPostAccepted ¶
func NewPcloudPvminstancesVirtualserialnumberPostAccepted() *PcloudPvminstancesVirtualserialnumberPostAccepted
NewPcloudPvminstancesVirtualserialnumberPostAccepted creates a PcloudPvminstancesVirtualserialnumberPostAccepted with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post accepted response
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) GetPayload() models.Object
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post accepted response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostAccepted) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostAccepted) String() string
type PcloudPvminstancesVirtualserialnumberPostBadRequest ¶
PcloudPvminstancesVirtualserialnumberPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVirtualserialnumberPostBadRequest ¶
func NewPcloudPvminstancesVirtualserialnumberPostBadRequest() *PcloudPvminstancesVirtualserialnumberPostBadRequest
NewPcloudPvminstancesVirtualserialnumberPostBadRequest creates a PcloudPvminstancesVirtualserialnumberPostBadRequest with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post bad request response
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post bad request response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostBadRequest) String() string
type PcloudPvminstancesVirtualserialnumberPostConflict ¶
PcloudPvminstancesVirtualserialnumberPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesVirtualserialnumberPostConflict ¶
func NewPcloudPvminstancesVirtualserialnumberPostConflict() *PcloudPvminstancesVirtualserialnumberPostConflict
NewPcloudPvminstancesVirtualserialnumberPostConflict creates a PcloudPvminstancesVirtualserialnumberPostConflict with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostConflict) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post conflict response
func (*PcloudPvminstancesVirtualserialnumberPostConflict) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostConflict) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post conflict response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostConflict) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostConflict) String() string
type PcloudPvminstancesVirtualserialnumberPostForbidden ¶
PcloudPvminstancesVirtualserialnumberPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesVirtualserialnumberPostForbidden ¶
func NewPcloudPvminstancesVirtualserialnumberPostForbidden() *PcloudPvminstancesVirtualserialnumberPostForbidden
NewPcloudPvminstancesVirtualserialnumberPostForbidden creates a PcloudPvminstancesVirtualserialnumberPostForbidden with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post forbidden response
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post forbidden response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostForbidden) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostForbidden) String() string
type PcloudPvminstancesVirtualserialnumberPostGatewayTimeout ¶
PcloudPvminstancesVirtualserialnumberPostGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout
func NewPcloudPvminstancesVirtualserialnumberPostGatewayTimeout ¶
func NewPcloudPvminstancesVirtualserialnumberPostGatewayTimeout() *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout
NewPcloudPvminstancesVirtualserialnumberPostGatewayTimeout creates a PcloudPvminstancesVirtualserialnumberPostGatewayTimeout with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post gateway timeout response
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) String() string
type PcloudPvminstancesVirtualserialnumberPostInternalServerError ¶
PcloudPvminstancesVirtualserialnumberPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVirtualserialnumberPostInternalServerError ¶
func NewPcloudPvminstancesVirtualserialnumberPostInternalServerError() *PcloudPvminstancesVirtualserialnumberPostInternalServerError
NewPcloudPvminstancesVirtualserialnumberPostInternalServerError creates a PcloudPvminstancesVirtualserialnumberPostInternalServerError with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post internal server error response
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post internal server error response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostInternalServerError) String() string
type PcloudPvminstancesVirtualserialnumberPostNotFound ¶
PcloudPvminstancesVirtualserialnumberPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVirtualserialnumberPostNotFound ¶
func NewPcloudPvminstancesVirtualserialnumberPostNotFound() *PcloudPvminstancesVirtualserialnumberPostNotFound
NewPcloudPvminstancesVirtualserialnumberPostNotFound creates a PcloudPvminstancesVirtualserialnumberPostNotFound with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post not found response
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post not found response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post not found response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post not found response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post not found response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post not found response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostNotFound) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostNotFound) String() string
type PcloudPvminstancesVirtualserialnumberPostParams ¶
type PcloudPvminstancesVirtualserialnumberPostParams struct { /* Body. Parameters to assign Virtual Serial Number to a PVM Instance */ Body *models.AddServerVirtualSerialNumber /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVirtualserialnumberPostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances virtualserialnumber post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVirtualserialnumberPostParams ¶
func NewPcloudPvminstancesVirtualserialnumberPostParams() *PcloudPvminstancesVirtualserialnumberPostParams
NewPcloudPvminstancesVirtualserialnumberPostParams creates a new PcloudPvminstancesVirtualserialnumberPostParams 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 NewPcloudPvminstancesVirtualserialnumberPostParamsWithContext ¶
func NewPcloudPvminstancesVirtualserialnumberPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPostParams
NewPcloudPvminstancesVirtualserialnumberPostParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberPostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVirtualserialnumberPostParamsWithHTTPClient ¶
func NewPcloudPvminstancesVirtualserialnumberPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPostParams
NewPcloudPvminstancesVirtualserialnumberPostParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVirtualserialnumberPostParamsWithTimeout ¶
func NewPcloudPvminstancesVirtualserialnumberPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPostParams
NewPcloudPvminstancesVirtualserialnumberPostParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberPostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVirtualserialnumberPostParams) SetBody ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetBody(body *models.AddServerVirtualSerialNumber)
SetBody adds the body to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) SetContext ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) SetDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberPostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) SetTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) WithBody ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithBody(body *models.AddServerVirtualSerialNumber) *PcloudPvminstancesVirtualserialnumberPostParams
WithBody adds the body to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) WithContext ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPostParams
WithContext adds the context to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) WithDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberPostParams
WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberPostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberPostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) WithTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPostParams
WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber post params
func (*PcloudPvminstancesVirtualserialnumberPostParams) WriteToRequest ¶
func (o *PcloudPvminstancesVirtualserialnumberPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVirtualserialnumberPostReader ¶
type PcloudPvminstancesVirtualserialnumberPostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVirtualserialnumberPostReader is a Reader for the PcloudPvminstancesVirtualserialnumberPost structure.
func (*PcloudPvminstancesVirtualserialnumberPostReader) ReadResponse ¶
func (o *PcloudPvminstancesVirtualserialnumberPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVirtualserialnumberPostUnauthorized ¶
type PcloudPvminstancesVirtualserialnumberPostUnauthorized struct {
}PcloudPvminstancesVirtualserialnumberPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVirtualserialnumberPostUnauthorized ¶
func NewPcloudPvminstancesVirtualserialnumberPostUnauthorized() *PcloudPvminstancesVirtualserialnumberPostUnauthorized
NewPcloudPvminstancesVirtualserialnumberPostUnauthorized creates a PcloudPvminstancesVirtualserialnumberPostUnauthorized with default headers values
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber post unauthorized response
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) Error() string
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber post unauthorized response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPostUnauthorized) String() string
type PcloudPvminstancesVirtualserialnumberPutBadRequest ¶
PcloudPvminstancesVirtualserialnumberPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVirtualserialnumberPutBadRequest ¶
func NewPcloudPvminstancesVirtualserialnumberPutBadRequest() *PcloudPvminstancesVirtualserialnumberPutBadRequest
NewPcloudPvminstancesVirtualserialnumberPutBadRequest creates a PcloudPvminstancesVirtualserialnumberPutBadRequest with default headers values
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber put bad request response
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) Error() string
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber put bad request response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPutBadRequest) String() string
type PcloudPvminstancesVirtualserialnumberPutForbidden ¶
PcloudPvminstancesVirtualserialnumberPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesVirtualserialnumberPutForbidden ¶
func NewPcloudPvminstancesVirtualserialnumberPutForbidden() *PcloudPvminstancesVirtualserialnumberPutForbidden
NewPcloudPvminstancesVirtualserialnumberPutForbidden creates a PcloudPvminstancesVirtualserialnumberPutForbidden with default headers values
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber put forbidden response
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) Error() string
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber put forbidden response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPutForbidden) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPutForbidden) String() string
type PcloudPvminstancesVirtualserialnumberPutInternalServerError ¶
PcloudPvminstancesVirtualserialnumberPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVirtualserialnumberPutInternalServerError ¶
func NewPcloudPvminstancesVirtualserialnumberPutInternalServerError() *PcloudPvminstancesVirtualserialnumberPutInternalServerError
NewPcloudPvminstancesVirtualserialnumberPutInternalServerError creates a PcloudPvminstancesVirtualserialnumberPutInternalServerError with default headers values
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber put internal server error response
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) Error() string
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber put internal server error response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPutInternalServerError) String() string
type PcloudPvminstancesVirtualserialnumberPutNotFound ¶
PcloudPvminstancesVirtualserialnumberPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVirtualserialnumberPutNotFound ¶
func NewPcloudPvminstancesVirtualserialnumberPutNotFound() *PcloudPvminstancesVirtualserialnumberPutNotFound
NewPcloudPvminstancesVirtualserialnumberPutNotFound creates a PcloudPvminstancesVirtualserialnumberPutNotFound with default headers values
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber put not found response
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) Error() string
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber put not found response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber put not found response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber put not found response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber put not found response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber put not found response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPutNotFound) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPutNotFound) String() string
type PcloudPvminstancesVirtualserialnumberPutOK ¶
type PcloudPvminstancesVirtualserialnumberPutOK struct {
Payload *models.VirtualSerialNumber
}
PcloudPvminstancesVirtualserialnumberPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesVirtualserialnumberPutOK ¶
func NewPcloudPvminstancesVirtualserialnumberPutOK() *PcloudPvminstancesVirtualserialnumberPutOK
NewPcloudPvminstancesVirtualserialnumberPutOK creates a PcloudPvminstancesVirtualserialnumberPutOK with default headers values
func (*PcloudPvminstancesVirtualserialnumberPutOK) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber put o k response
func (*PcloudPvminstancesVirtualserialnumberPutOK) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) Error() string
func (*PcloudPvminstancesVirtualserialnumberPutOK) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) GetPayload() *models.VirtualSerialNumber
func (*PcloudPvminstancesVirtualserialnumberPutOK) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber put o k response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPutOK) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber put o k response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPutOK) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber put o k response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPutOK) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber put o k response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPutOK) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber put o k response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPutOK) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPutOK) String() string
type PcloudPvminstancesVirtualserialnumberPutParams ¶
type PcloudPvminstancesVirtualserialnumberPutParams struct { /* Body. Parameters to update a Virtual Serial Number description */ Body *models.UpdateServerVirtualSerialNumber /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVirtualserialnumberPutParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances virtualserialnumber put operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVirtualserialnumberPutParams ¶
func NewPcloudPvminstancesVirtualserialnumberPutParams() *PcloudPvminstancesVirtualserialnumberPutParams
NewPcloudPvminstancesVirtualserialnumberPutParams creates a new PcloudPvminstancesVirtualserialnumberPutParams 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 NewPcloudPvminstancesVirtualserialnumberPutParamsWithContext ¶
func NewPcloudPvminstancesVirtualserialnumberPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPutParams
NewPcloudPvminstancesVirtualserialnumberPutParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberPutParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVirtualserialnumberPutParamsWithHTTPClient ¶
func NewPcloudPvminstancesVirtualserialnumberPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPutParams
NewPcloudPvminstancesVirtualserialnumberPutParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVirtualserialnumberPutParamsWithTimeout ¶
func NewPcloudPvminstancesVirtualserialnumberPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPutParams
NewPcloudPvminstancesVirtualserialnumberPutParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberPutParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVirtualserialnumberPutParams) SetBody ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetBody(body *models.UpdateServerVirtualSerialNumber)
SetBody adds the body to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) SetContext ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) SetDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberPutParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) SetTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) WithBody ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithBody(body *models.UpdateServerVirtualSerialNumber) *PcloudPvminstancesVirtualserialnumberPutParams
WithBody adds the body to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVirtualserialnumberPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) WithContext ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPutParams
WithContext adds the context to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) WithDefaults ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithDefaults() *PcloudPvminstancesVirtualserialnumberPutParams
WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVirtualserialnumberPutParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPutParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVirtualserialnumberPutParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) WithTimeout ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPutParams
WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber put params
func (*PcloudPvminstancesVirtualserialnumberPutParams) WriteToRequest ¶
func (o *PcloudPvminstancesVirtualserialnumberPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVirtualserialnumberPutReader ¶
type PcloudPvminstancesVirtualserialnumberPutReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVirtualserialnumberPutReader is a Reader for the PcloudPvminstancesVirtualserialnumberPut structure.
func (*PcloudPvminstancesVirtualserialnumberPutReader) ReadResponse ¶
func (o *PcloudPvminstancesVirtualserialnumberPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVirtualserialnumberPutUnauthorized ¶
type PcloudPvminstancesVirtualserialnumberPutUnauthorized struct {
}PcloudPvminstancesVirtualserialnumberPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVirtualserialnumberPutUnauthorized ¶
func NewPcloudPvminstancesVirtualserialnumberPutUnauthorized() *PcloudPvminstancesVirtualserialnumberPutUnauthorized
NewPcloudPvminstancesVirtualserialnumberPutUnauthorized creates a PcloudPvminstancesVirtualserialnumberPutUnauthorized with default headers values
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber put unauthorized response
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) Error() string
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber put unauthorized response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnauthorized) String() string
type PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity ¶
PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesVirtualserialnumberPutUnprocessableEntity ¶
func NewPcloudPvminstancesVirtualserialnumberPutUnprocessableEntity() *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity
NewPcloudPvminstancesVirtualserialnumberPutUnprocessableEntity creates a PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity with default headers values
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Code ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances virtualserialnumber put unprocessable entity response
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Error ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Error() string
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) GetPayload ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsClientError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsCode ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsRedirect ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsServerError ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsSuccess ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) String ¶
func (o *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) String() string
type PcloudVirtualserialnumberDeleteBadRequest ¶
PcloudVirtualserialnumberDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVirtualserialnumberDeleteBadRequest ¶
func NewPcloudVirtualserialnumberDeleteBadRequest() *PcloudVirtualserialnumberDeleteBadRequest
NewPcloudVirtualserialnumberDeleteBadRequest creates a PcloudVirtualserialnumberDeleteBadRequest with default headers values
func (*PcloudVirtualserialnumberDeleteBadRequest) Code ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) Code() int
Code gets the status code for the pcloud virtualserialnumber delete bad request response
func (*PcloudVirtualserialnumberDeleteBadRequest) Error ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) Error() string
func (*PcloudVirtualserialnumberDeleteBadRequest) GetPayload ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) GetPayload() *models.Error
func (*PcloudVirtualserialnumberDeleteBadRequest) IsClientError ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber delete bad request response has a 4xx status code
func (*PcloudVirtualserialnumberDeleteBadRequest) IsCode ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber delete bad request response a status code equal to that given
func (*PcloudVirtualserialnumberDeleteBadRequest) IsRedirect ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber delete bad request response has a 3xx status code
func (*PcloudVirtualserialnumberDeleteBadRequest) IsServerError ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber delete bad request response has a 5xx status code
func (*PcloudVirtualserialnumberDeleteBadRequest) IsSuccess ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber delete bad request response has a 2xx status code
func (*PcloudVirtualserialnumberDeleteBadRequest) String ¶
func (o *PcloudVirtualserialnumberDeleteBadRequest) String() string
type PcloudVirtualserialnumberDeleteForbidden ¶
PcloudVirtualserialnumberDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudVirtualserialnumberDeleteForbidden ¶
func NewPcloudVirtualserialnumberDeleteForbidden() *PcloudVirtualserialnumberDeleteForbidden
NewPcloudVirtualserialnumberDeleteForbidden creates a PcloudVirtualserialnumberDeleteForbidden with default headers values
func (*PcloudVirtualserialnumberDeleteForbidden) Code ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) Code() int
Code gets the status code for the pcloud virtualserialnumber delete forbidden response
func (*PcloudVirtualserialnumberDeleteForbidden) Error ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) Error() string
func (*PcloudVirtualserialnumberDeleteForbidden) GetPayload ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) GetPayload() *models.Error
func (*PcloudVirtualserialnumberDeleteForbidden) IsClientError ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber delete forbidden response has a 4xx status code
func (*PcloudVirtualserialnumberDeleteForbidden) IsCode ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber delete forbidden response a status code equal to that given
func (*PcloudVirtualserialnumberDeleteForbidden) IsRedirect ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber delete forbidden response has a 3xx status code
func (*PcloudVirtualserialnumberDeleteForbidden) IsServerError ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber delete forbidden response has a 5xx status code
func (*PcloudVirtualserialnumberDeleteForbidden) IsSuccess ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber delete forbidden response has a 2xx status code
func (*PcloudVirtualserialnumberDeleteForbidden) String ¶
func (o *PcloudVirtualserialnumberDeleteForbidden) String() string
type PcloudVirtualserialnumberDeleteGone ¶
PcloudVirtualserialnumberDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudVirtualserialnumberDeleteGone ¶
func NewPcloudVirtualserialnumberDeleteGone() *PcloudVirtualserialnumberDeleteGone
NewPcloudVirtualserialnumberDeleteGone creates a PcloudVirtualserialnumberDeleteGone with default headers values
func (*PcloudVirtualserialnumberDeleteGone) Code ¶
func (o *PcloudVirtualserialnumberDeleteGone) Code() int
Code gets the status code for the pcloud virtualserialnumber delete gone response
func (*PcloudVirtualserialnumberDeleteGone) Error ¶
func (o *PcloudVirtualserialnumberDeleteGone) Error() string
func (*PcloudVirtualserialnumberDeleteGone) GetPayload ¶
func (o *PcloudVirtualserialnumberDeleteGone) GetPayload() *models.Error
func (*PcloudVirtualserialnumberDeleteGone) IsClientError ¶
func (o *PcloudVirtualserialnumberDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber delete gone response has a 4xx status code
func (*PcloudVirtualserialnumberDeleteGone) IsCode ¶
func (o *PcloudVirtualserialnumberDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber delete gone response a status code equal to that given
func (*PcloudVirtualserialnumberDeleteGone) IsRedirect ¶
func (o *PcloudVirtualserialnumberDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber delete gone response has a 3xx status code
func (*PcloudVirtualserialnumberDeleteGone) IsServerError ¶
func (o *PcloudVirtualserialnumberDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber delete gone response has a 5xx status code
func (*PcloudVirtualserialnumberDeleteGone) IsSuccess ¶
func (o *PcloudVirtualserialnumberDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber delete gone response has a 2xx status code
func (*PcloudVirtualserialnumberDeleteGone) String ¶
func (o *PcloudVirtualserialnumberDeleteGone) String() string
type PcloudVirtualserialnumberDeleteInternalServerError ¶
PcloudVirtualserialnumberDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVirtualserialnumberDeleteInternalServerError ¶
func NewPcloudVirtualserialnumberDeleteInternalServerError() *PcloudVirtualserialnumberDeleteInternalServerError
NewPcloudVirtualserialnumberDeleteInternalServerError creates a PcloudVirtualserialnumberDeleteInternalServerError with default headers values
func (*PcloudVirtualserialnumberDeleteInternalServerError) Code ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) Code() int
Code gets the status code for the pcloud virtualserialnumber delete internal server error response
func (*PcloudVirtualserialnumberDeleteInternalServerError) Error ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) Error() string
func (*PcloudVirtualserialnumberDeleteInternalServerError) GetPayload ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudVirtualserialnumberDeleteInternalServerError) IsClientError ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber delete internal server error response has a 4xx status code
func (*PcloudVirtualserialnumberDeleteInternalServerError) IsCode ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber delete internal server error response a status code equal to that given
func (*PcloudVirtualserialnumberDeleteInternalServerError) IsRedirect ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber delete internal server error response has a 3xx status code
func (*PcloudVirtualserialnumberDeleteInternalServerError) IsServerError ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber delete internal server error response has a 5xx status code
func (*PcloudVirtualserialnumberDeleteInternalServerError) IsSuccess ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber delete internal server error response has a 2xx status code
func (*PcloudVirtualserialnumberDeleteInternalServerError) String ¶
func (o *PcloudVirtualserialnumberDeleteInternalServerError) String() string
type PcloudVirtualserialnumberDeleteNotFound ¶
PcloudVirtualserialnumberDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVirtualserialnumberDeleteNotFound ¶
func NewPcloudVirtualserialnumberDeleteNotFound() *PcloudVirtualserialnumberDeleteNotFound
NewPcloudVirtualserialnumberDeleteNotFound creates a PcloudVirtualserialnumberDeleteNotFound with default headers values
func (*PcloudVirtualserialnumberDeleteNotFound) Code ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) Code() int
Code gets the status code for the pcloud virtualserialnumber delete not found response
func (*PcloudVirtualserialnumberDeleteNotFound) Error ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) Error() string
func (*PcloudVirtualserialnumberDeleteNotFound) GetPayload ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) GetPayload() *models.Error
func (*PcloudVirtualserialnumberDeleteNotFound) IsClientError ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber delete not found response has a 4xx status code
func (*PcloudVirtualserialnumberDeleteNotFound) IsCode ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber delete not found response a status code equal to that given
func (*PcloudVirtualserialnumberDeleteNotFound) IsRedirect ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber delete not found response has a 3xx status code
func (*PcloudVirtualserialnumberDeleteNotFound) IsServerError ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber delete not found response has a 5xx status code
func (*PcloudVirtualserialnumberDeleteNotFound) IsSuccess ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber delete not found response has a 2xx status code
func (*PcloudVirtualserialnumberDeleteNotFound) String ¶
func (o *PcloudVirtualserialnumberDeleteNotFound) String() string
type PcloudVirtualserialnumberDeleteOK ¶
PcloudVirtualserialnumberDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudVirtualserialnumberDeleteOK ¶
func NewPcloudVirtualserialnumberDeleteOK() *PcloudVirtualserialnumberDeleteOK
NewPcloudVirtualserialnumberDeleteOK creates a PcloudVirtualserialnumberDeleteOK with default headers values
func (*PcloudVirtualserialnumberDeleteOK) Code ¶
func (o *PcloudVirtualserialnumberDeleteOK) Code() int
Code gets the status code for the pcloud virtualserialnumber delete o k response
func (*PcloudVirtualserialnumberDeleteOK) Error ¶
func (o *PcloudVirtualserialnumberDeleteOK) Error() string
func (*PcloudVirtualserialnumberDeleteOK) GetPayload ¶
func (o *PcloudVirtualserialnumberDeleteOK) GetPayload() models.Object
func (*PcloudVirtualserialnumberDeleteOK) IsClientError ¶
func (o *PcloudVirtualserialnumberDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber delete o k response has a 4xx status code
func (*PcloudVirtualserialnumberDeleteOK) IsCode ¶
func (o *PcloudVirtualserialnumberDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber delete o k response a status code equal to that given
func (*PcloudVirtualserialnumberDeleteOK) IsRedirect ¶
func (o *PcloudVirtualserialnumberDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber delete o k response has a 3xx status code
func (*PcloudVirtualserialnumberDeleteOK) IsServerError ¶
func (o *PcloudVirtualserialnumberDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber delete o k response has a 5xx status code
func (*PcloudVirtualserialnumberDeleteOK) IsSuccess ¶
func (o *PcloudVirtualserialnumberDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber delete o k response has a 2xx status code
func (*PcloudVirtualserialnumberDeleteOK) String ¶
func (o *PcloudVirtualserialnumberDeleteOK) String() string
type PcloudVirtualserialnumberDeleteParams ¶
type PcloudVirtualserialnumberDeleteParams struct { /* VirtualSerialNumber. Virtual Serial Number */ VirtualSerialNumber string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVirtualserialnumberDeleteParams contains all the parameters to send to the API endpoint
for the pcloud virtualserialnumber delete operation. Typically these are written to a http.Request.
func NewPcloudVirtualserialnumberDeleteParams ¶
func NewPcloudVirtualserialnumberDeleteParams() *PcloudVirtualserialnumberDeleteParams
NewPcloudVirtualserialnumberDeleteParams creates a new PcloudVirtualserialnumberDeleteParams 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 NewPcloudVirtualserialnumberDeleteParamsWithContext ¶
func NewPcloudVirtualserialnumberDeleteParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberDeleteParams
NewPcloudVirtualserialnumberDeleteParamsWithContext creates a new PcloudVirtualserialnumberDeleteParams object with the ability to set a context for a request.
func NewPcloudVirtualserialnumberDeleteParamsWithHTTPClient ¶
func NewPcloudVirtualserialnumberDeleteParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberDeleteParams
NewPcloudVirtualserialnumberDeleteParamsWithHTTPClient creates a new PcloudVirtualserialnumberDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVirtualserialnumberDeleteParamsWithTimeout ¶
func NewPcloudVirtualserialnumberDeleteParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberDeleteParams
NewPcloudVirtualserialnumberDeleteParamsWithTimeout creates a new PcloudVirtualserialnumberDeleteParams object with the ability to set a timeout on a request.
func (*PcloudVirtualserialnumberDeleteParams) SetContext ¶
func (o *PcloudVirtualserialnumberDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) SetDefaults ¶
func (o *PcloudVirtualserialnumberDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud virtualserialnumber delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberDeleteParams) SetHTTPClient ¶
func (o *PcloudVirtualserialnumberDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) SetTimeout ¶
func (o *PcloudVirtualserialnumberDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) SetVirtualSerialNumber ¶
func (o *PcloudVirtualserialnumberDeleteParams) SetVirtualSerialNumber(virtualSerialNumber string)
SetVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) WithContext ¶
func (o *PcloudVirtualserialnumberDeleteParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberDeleteParams
WithContext adds the context to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) WithDefaults ¶
func (o *PcloudVirtualserialnumberDeleteParams) WithDefaults() *PcloudVirtualserialnumberDeleteParams
WithDefaults hydrates default values in the pcloud virtualserialnumber delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberDeleteParams) WithHTTPClient ¶
func (o *PcloudVirtualserialnumberDeleteParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) WithTimeout ¶
func (o *PcloudVirtualserialnumberDeleteParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberDeleteParams
WithTimeout adds the timeout to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) WithVirtualSerialNumber ¶
func (o *PcloudVirtualserialnumberDeleteParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberDeleteParams
WithVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber delete params
func (*PcloudVirtualserialnumberDeleteParams) WriteToRequest ¶
func (o *PcloudVirtualserialnumberDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVirtualserialnumberDeleteReader ¶
type PcloudVirtualserialnumberDeleteReader struct {
// contains filtered or unexported fields
}
PcloudVirtualserialnumberDeleteReader is a Reader for the PcloudVirtualserialnumberDelete structure.
func (*PcloudVirtualserialnumberDeleteReader) ReadResponse ¶
func (o *PcloudVirtualserialnumberDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVirtualserialnumberDeleteUnauthorized ¶
type PcloudVirtualserialnumberDeleteUnauthorized struct {
}PcloudVirtualserialnumberDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVirtualserialnumberDeleteUnauthorized ¶
func NewPcloudVirtualserialnumberDeleteUnauthorized() *PcloudVirtualserialnumberDeleteUnauthorized
NewPcloudVirtualserialnumberDeleteUnauthorized creates a PcloudVirtualserialnumberDeleteUnauthorized with default headers values
func (*PcloudVirtualserialnumberDeleteUnauthorized) Code ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) Code() int
Code gets the status code for the pcloud virtualserialnumber delete unauthorized response
func (*PcloudVirtualserialnumberDeleteUnauthorized) Error ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) Error() string
func (*PcloudVirtualserialnumberDeleteUnauthorized) GetPayload ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudVirtualserialnumberDeleteUnauthorized) IsClientError ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber delete unauthorized response has a 4xx status code
func (*PcloudVirtualserialnumberDeleteUnauthorized) IsCode ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber delete unauthorized response a status code equal to that given
func (*PcloudVirtualserialnumberDeleteUnauthorized) IsRedirect ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber delete unauthorized response has a 3xx status code
func (*PcloudVirtualserialnumberDeleteUnauthorized) IsServerError ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber delete unauthorized response has a 5xx status code
func (*PcloudVirtualserialnumberDeleteUnauthorized) IsSuccess ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber delete unauthorized response has a 2xx status code
func (*PcloudVirtualserialnumberDeleteUnauthorized) String ¶
func (o *PcloudVirtualserialnumberDeleteUnauthorized) String() string
type PcloudVirtualserialnumberGetBadRequest ¶
PcloudVirtualserialnumberGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVirtualserialnumberGetBadRequest ¶
func NewPcloudVirtualserialnumberGetBadRequest() *PcloudVirtualserialnumberGetBadRequest
NewPcloudVirtualserialnumberGetBadRequest creates a PcloudVirtualserialnumberGetBadRequest with default headers values
func (*PcloudVirtualserialnumberGetBadRequest) Code ¶
func (o *PcloudVirtualserialnumberGetBadRequest) Code() int
Code gets the status code for the pcloud virtualserialnumber get bad request response
func (*PcloudVirtualserialnumberGetBadRequest) Error ¶
func (o *PcloudVirtualserialnumberGetBadRequest) Error() string
func (*PcloudVirtualserialnumberGetBadRequest) GetPayload ¶
func (o *PcloudVirtualserialnumberGetBadRequest) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetBadRequest) IsClientError ¶
func (o *PcloudVirtualserialnumberGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber get bad request response has a 4xx status code
func (*PcloudVirtualserialnumberGetBadRequest) IsCode ¶
func (o *PcloudVirtualserialnumberGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber get bad request response a status code equal to that given
func (*PcloudVirtualserialnumberGetBadRequest) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber get bad request response has a 3xx status code
func (*PcloudVirtualserialnumberGetBadRequest) IsServerError ¶
func (o *PcloudVirtualserialnumberGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber get bad request response has a 5xx status code
func (*PcloudVirtualserialnumberGetBadRequest) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber get bad request response has a 2xx status code
func (*PcloudVirtualserialnumberGetBadRequest) String ¶
func (o *PcloudVirtualserialnumberGetBadRequest) String() string
type PcloudVirtualserialnumberGetForbidden ¶
PcloudVirtualserialnumberGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudVirtualserialnumberGetForbidden ¶
func NewPcloudVirtualserialnumberGetForbidden() *PcloudVirtualserialnumberGetForbidden
NewPcloudVirtualserialnumberGetForbidden creates a PcloudVirtualserialnumberGetForbidden with default headers values
func (*PcloudVirtualserialnumberGetForbidden) Code ¶
func (o *PcloudVirtualserialnumberGetForbidden) Code() int
Code gets the status code for the pcloud virtualserialnumber get forbidden response
func (*PcloudVirtualserialnumberGetForbidden) Error ¶
func (o *PcloudVirtualserialnumberGetForbidden) Error() string
func (*PcloudVirtualserialnumberGetForbidden) GetPayload ¶
func (o *PcloudVirtualserialnumberGetForbidden) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetForbidden) IsClientError ¶
func (o *PcloudVirtualserialnumberGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber get forbidden response has a 4xx status code
func (*PcloudVirtualserialnumberGetForbidden) IsCode ¶
func (o *PcloudVirtualserialnumberGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber get forbidden response a status code equal to that given
func (*PcloudVirtualserialnumberGetForbidden) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber get forbidden response has a 3xx status code
func (*PcloudVirtualserialnumberGetForbidden) IsServerError ¶
func (o *PcloudVirtualserialnumberGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber get forbidden response has a 5xx status code
func (*PcloudVirtualserialnumberGetForbidden) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber get forbidden response has a 2xx status code
func (*PcloudVirtualserialnumberGetForbidden) String ¶
func (o *PcloudVirtualserialnumberGetForbidden) String() string
type PcloudVirtualserialnumberGetInternalServerError ¶
PcloudVirtualserialnumberGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVirtualserialnumberGetInternalServerError ¶
func NewPcloudVirtualserialnumberGetInternalServerError() *PcloudVirtualserialnumberGetInternalServerError
NewPcloudVirtualserialnumberGetInternalServerError creates a PcloudVirtualserialnumberGetInternalServerError with default headers values
func (*PcloudVirtualserialnumberGetInternalServerError) Code ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) Code() int
Code gets the status code for the pcloud virtualserialnumber get internal server error response
func (*PcloudVirtualserialnumberGetInternalServerError) Error ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) Error() string
func (*PcloudVirtualserialnumberGetInternalServerError) GetPayload ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetInternalServerError) IsClientError ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber get internal server error response has a 4xx status code
func (*PcloudVirtualserialnumberGetInternalServerError) IsCode ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber get internal server error response a status code equal to that given
func (*PcloudVirtualserialnumberGetInternalServerError) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber get internal server error response has a 3xx status code
func (*PcloudVirtualserialnumberGetInternalServerError) IsServerError ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber get internal server error response has a 5xx status code
func (*PcloudVirtualserialnumberGetInternalServerError) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber get internal server error response has a 2xx status code
func (*PcloudVirtualserialnumberGetInternalServerError) String ¶
func (o *PcloudVirtualserialnumberGetInternalServerError) String() string
type PcloudVirtualserialnumberGetNotFound ¶
PcloudVirtualserialnumberGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVirtualserialnumberGetNotFound ¶
func NewPcloudVirtualserialnumberGetNotFound() *PcloudVirtualserialnumberGetNotFound
NewPcloudVirtualserialnumberGetNotFound creates a PcloudVirtualserialnumberGetNotFound with default headers values
func (*PcloudVirtualserialnumberGetNotFound) Code ¶
func (o *PcloudVirtualserialnumberGetNotFound) Code() int
Code gets the status code for the pcloud virtualserialnumber get not found response
func (*PcloudVirtualserialnumberGetNotFound) Error ¶
func (o *PcloudVirtualserialnumberGetNotFound) Error() string
func (*PcloudVirtualserialnumberGetNotFound) GetPayload ¶
func (o *PcloudVirtualserialnumberGetNotFound) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetNotFound) IsClientError ¶
func (o *PcloudVirtualserialnumberGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber get not found response has a 4xx status code
func (*PcloudVirtualserialnumberGetNotFound) IsCode ¶
func (o *PcloudVirtualserialnumberGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber get not found response a status code equal to that given
func (*PcloudVirtualserialnumberGetNotFound) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber get not found response has a 3xx status code
func (*PcloudVirtualserialnumberGetNotFound) IsServerError ¶
func (o *PcloudVirtualserialnumberGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber get not found response has a 5xx status code
func (*PcloudVirtualserialnumberGetNotFound) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber get not found response has a 2xx status code
func (*PcloudVirtualserialnumberGetNotFound) String ¶
func (o *PcloudVirtualserialnumberGetNotFound) String() string
type PcloudVirtualserialnumberGetOK ¶
type PcloudVirtualserialnumberGetOK struct {
Payload *models.VirtualSerialNumber
}
PcloudVirtualserialnumberGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudVirtualserialnumberGetOK ¶
func NewPcloudVirtualserialnumberGetOK() *PcloudVirtualserialnumberGetOK
NewPcloudVirtualserialnumberGetOK creates a PcloudVirtualserialnumberGetOK with default headers values
func (*PcloudVirtualserialnumberGetOK) Code ¶
func (o *PcloudVirtualserialnumberGetOK) Code() int
Code gets the status code for the pcloud virtualserialnumber get o k response
func (*PcloudVirtualserialnumberGetOK) Error ¶
func (o *PcloudVirtualserialnumberGetOK) Error() string
func (*PcloudVirtualserialnumberGetOK) GetPayload ¶
func (o *PcloudVirtualserialnumberGetOK) GetPayload() *models.VirtualSerialNumber
func (*PcloudVirtualserialnumberGetOK) IsClientError ¶
func (o *PcloudVirtualserialnumberGetOK) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber get o k response has a 4xx status code
func (*PcloudVirtualserialnumberGetOK) IsCode ¶
func (o *PcloudVirtualserialnumberGetOK) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber get o k response a status code equal to that given
func (*PcloudVirtualserialnumberGetOK) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber get o k response has a 3xx status code
func (*PcloudVirtualserialnumberGetOK) IsServerError ¶
func (o *PcloudVirtualserialnumberGetOK) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber get o k response has a 5xx status code
func (*PcloudVirtualserialnumberGetOK) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber get o k response has a 2xx status code
func (*PcloudVirtualserialnumberGetOK) String ¶
func (o *PcloudVirtualserialnumberGetOK) String() string
type PcloudVirtualserialnumberGetParams ¶
type PcloudVirtualserialnumberGetParams struct { /* VirtualSerialNumber. Virtual Serial Number */ VirtualSerialNumber string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVirtualserialnumberGetParams contains all the parameters to send to the API endpoint
for the pcloud virtualserialnumber get operation. Typically these are written to a http.Request.
func NewPcloudVirtualserialnumberGetParams ¶
func NewPcloudVirtualserialnumberGetParams() *PcloudVirtualserialnumberGetParams
NewPcloudVirtualserialnumberGetParams creates a new PcloudVirtualserialnumberGetParams 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 NewPcloudVirtualserialnumberGetParamsWithContext ¶
func NewPcloudVirtualserialnumberGetParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberGetParams
NewPcloudVirtualserialnumberGetParamsWithContext creates a new PcloudVirtualserialnumberGetParams object with the ability to set a context for a request.
func NewPcloudVirtualserialnumberGetParamsWithHTTPClient ¶
func NewPcloudVirtualserialnumberGetParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetParams
NewPcloudVirtualserialnumberGetParamsWithHTTPClient creates a new PcloudVirtualserialnumberGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVirtualserialnumberGetParamsWithTimeout ¶
func NewPcloudVirtualserialnumberGetParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetParams
NewPcloudVirtualserialnumberGetParamsWithTimeout creates a new PcloudVirtualserialnumberGetParams object with the ability to set a timeout on a request.
func (*PcloudVirtualserialnumberGetParams) SetContext ¶
func (o *PcloudVirtualserialnumberGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) SetDefaults ¶
func (o *PcloudVirtualserialnumberGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud virtualserialnumber get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberGetParams) SetHTTPClient ¶
func (o *PcloudVirtualserialnumberGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) SetTimeout ¶
func (o *PcloudVirtualserialnumberGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) SetVirtualSerialNumber ¶
func (o *PcloudVirtualserialnumberGetParams) SetVirtualSerialNumber(virtualSerialNumber string)
SetVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) WithContext ¶
func (o *PcloudVirtualserialnumberGetParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberGetParams
WithContext adds the context to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) WithDefaults ¶
func (o *PcloudVirtualserialnumberGetParams) WithDefaults() *PcloudVirtualserialnumberGetParams
WithDefaults hydrates default values in the pcloud virtualserialnumber get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberGetParams) WithHTTPClient ¶
func (o *PcloudVirtualserialnumberGetParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetParams
WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) WithTimeout ¶
func (o *PcloudVirtualserialnumberGetParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetParams
WithTimeout adds the timeout to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) WithVirtualSerialNumber ¶
func (o *PcloudVirtualserialnumberGetParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberGetParams
WithVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber get params
func (*PcloudVirtualserialnumberGetParams) WriteToRequest ¶
func (o *PcloudVirtualserialnumberGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVirtualserialnumberGetReader ¶
type PcloudVirtualserialnumberGetReader struct {
// contains filtered or unexported fields
}
PcloudVirtualserialnumberGetReader is a Reader for the PcloudVirtualserialnumberGet structure.
func (*PcloudVirtualserialnumberGetReader) ReadResponse ¶
func (o *PcloudVirtualserialnumberGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVirtualserialnumberGetUnauthorized ¶
type PcloudVirtualserialnumberGetUnauthorized struct {
}PcloudVirtualserialnumberGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVirtualserialnumberGetUnauthorized ¶
func NewPcloudVirtualserialnumberGetUnauthorized() *PcloudVirtualserialnumberGetUnauthorized
NewPcloudVirtualserialnumberGetUnauthorized creates a PcloudVirtualserialnumberGetUnauthorized with default headers values
func (*PcloudVirtualserialnumberGetUnauthorized) Code ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) Code() int
Code gets the status code for the pcloud virtualserialnumber get unauthorized response
func (*PcloudVirtualserialnumberGetUnauthorized) Error ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) Error() string
func (*PcloudVirtualserialnumberGetUnauthorized) GetPayload ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetUnauthorized) IsClientError ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber get unauthorized response has a 4xx status code
func (*PcloudVirtualserialnumberGetUnauthorized) IsCode ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber get unauthorized response a status code equal to that given
func (*PcloudVirtualserialnumberGetUnauthorized) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber get unauthorized response has a 3xx status code
func (*PcloudVirtualserialnumberGetUnauthorized) IsServerError ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber get unauthorized response has a 5xx status code
func (*PcloudVirtualserialnumberGetUnauthorized) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber get unauthorized response has a 2xx status code
func (*PcloudVirtualserialnumberGetUnauthorized) String ¶
func (o *PcloudVirtualserialnumberGetUnauthorized) String() string
type PcloudVirtualserialnumberGetallBadRequest ¶
PcloudVirtualserialnumberGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVirtualserialnumberGetallBadRequest ¶
func NewPcloudVirtualserialnumberGetallBadRequest() *PcloudVirtualserialnumberGetallBadRequest
NewPcloudVirtualserialnumberGetallBadRequest creates a PcloudVirtualserialnumberGetallBadRequest with default headers values
func (*PcloudVirtualserialnumberGetallBadRequest) Code ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) Code() int
Code gets the status code for the pcloud virtualserialnumber getall bad request response
func (*PcloudVirtualserialnumberGetallBadRequest) Error ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) Error() string
func (*PcloudVirtualserialnumberGetallBadRequest) GetPayload ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetallBadRequest) IsClientError ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber getall bad request response has a 4xx status code
func (*PcloudVirtualserialnumberGetallBadRequest) IsCode ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber getall bad request response a status code equal to that given
func (*PcloudVirtualserialnumberGetallBadRequest) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber getall bad request response has a 3xx status code
func (*PcloudVirtualserialnumberGetallBadRequest) IsServerError ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber getall bad request response has a 5xx status code
func (*PcloudVirtualserialnumberGetallBadRequest) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber getall bad request response has a 2xx status code
func (*PcloudVirtualserialnumberGetallBadRequest) String ¶
func (o *PcloudVirtualserialnumberGetallBadRequest) String() string
type PcloudVirtualserialnumberGetallForbidden ¶
PcloudVirtualserialnumberGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudVirtualserialnumberGetallForbidden ¶
func NewPcloudVirtualserialnumberGetallForbidden() *PcloudVirtualserialnumberGetallForbidden
NewPcloudVirtualserialnumberGetallForbidden creates a PcloudVirtualserialnumberGetallForbidden with default headers values
func (*PcloudVirtualserialnumberGetallForbidden) Code ¶
func (o *PcloudVirtualserialnumberGetallForbidden) Code() int
Code gets the status code for the pcloud virtualserialnumber getall forbidden response
func (*PcloudVirtualserialnumberGetallForbidden) Error ¶
func (o *PcloudVirtualserialnumberGetallForbidden) Error() string
func (*PcloudVirtualserialnumberGetallForbidden) GetPayload ¶
func (o *PcloudVirtualserialnumberGetallForbidden) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetallForbidden) IsClientError ¶
func (o *PcloudVirtualserialnumberGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber getall forbidden response has a 4xx status code
func (*PcloudVirtualserialnumberGetallForbidden) IsCode ¶
func (o *PcloudVirtualserialnumberGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber getall forbidden response a status code equal to that given
func (*PcloudVirtualserialnumberGetallForbidden) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber getall forbidden response has a 3xx status code
func (*PcloudVirtualserialnumberGetallForbidden) IsServerError ¶
func (o *PcloudVirtualserialnumberGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber getall forbidden response has a 5xx status code
func (*PcloudVirtualserialnumberGetallForbidden) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber getall forbidden response has a 2xx status code
func (*PcloudVirtualserialnumberGetallForbidden) String ¶
func (o *PcloudVirtualserialnumberGetallForbidden) String() string
type PcloudVirtualserialnumberGetallInternalServerError ¶
PcloudVirtualserialnumberGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVirtualserialnumberGetallInternalServerError ¶
func NewPcloudVirtualserialnumberGetallInternalServerError() *PcloudVirtualserialnumberGetallInternalServerError
NewPcloudVirtualserialnumberGetallInternalServerError creates a PcloudVirtualserialnumberGetallInternalServerError with default headers values
func (*PcloudVirtualserialnumberGetallInternalServerError) Code ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) Code() int
Code gets the status code for the pcloud virtualserialnumber getall internal server error response
func (*PcloudVirtualserialnumberGetallInternalServerError) Error ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) Error() string
func (*PcloudVirtualserialnumberGetallInternalServerError) GetPayload ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetallInternalServerError) IsClientError ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber getall internal server error response has a 4xx status code
func (*PcloudVirtualserialnumberGetallInternalServerError) IsCode ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber getall internal server error response a status code equal to that given
func (*PcloudVirtualserialnumberGetallInternalServerError) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber getall internal server error response has a 3xx status code
func (*PcloudVirtualserialnumberGetallInternalServerError) IsServerError ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber getall internal server error response has a 5xx status code
func (*PcloudVirtualserialnumberGetallInternalServerError) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber getall internal server error response has a 2xx status code
func (*PcloudVirtualserialnumberGetallInternalServerError) String ¶
func (o *PcloudVirtualserialnumberGetallInternalServerError) String() string
type PcloudVirtualserialnumberGetallNotFound ¶
PcloudVirtualserialnumberGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVirtualserialnumberGetallNotFound ¶
func NewPcloudVirtualserialnumberGetallNotFound() *PcloudVirtualserialnumberGetallNotFound
NewPcloudVirtualserialnumberGetallNotFound creates a PcloudVirtualserialnumberGetallNotFound with default headers values
func (*PcloudVirtualserialnumberGetallNotFound) Code ¶
func (o *PcloudVirtualserialnumberGetallNotFound) Code() int
Code gets the status code for the pcloud virtualserialnumber getall not found response
func (*PcloudVirtualserialnumberGetallNotFound) Error ¶
func (o *PcloudVirtualserialnumberGetallNotFound) Error() string
func (*PcloudVirtualserialnumberGetallNotFound) GetPayload ¶
func (o *PcloudVirtualserialnumberGetallNotFound) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetallNotFound) IsClientError ¶
func (o *PcloudVirtualserialnumberGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber getall not found response has a 4xx status code
func (*PcloudVirtualserialnumberGetallNotFound) IsCode ¶
func (o *PcloudVirtualserialnumberGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber getall not found response a status code equal to that given
func (*PcloudVirtualserialnumberGetallNotFound) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber getall not found response has a 3xx status code
func (*PcloudVirtualserialnumberGetallNotFound) IsServerError ¶
func (o *PcloudVirtualserialnumberGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber getall not found response has a 5xx status code
func (*PcloudVirtualserialnumberGetallNotFound) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber getall not found response has a 2xx status code
func (*PcloudVirtualserialnumberGetallNotFound) String ¶
func (o *PcloudVirtualserialnumberGetallNotFound) String() string
type PcloudVirtualserialnumberGetallOK ¶
type PcloudVirtualserialnumberGetallOK struct {
Payload models.VirtualSerialNumberList
}
PcloudVirtualserialnumberGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudVirtualserialnumberGetallOK ¶
func NewPcloudVirtualserialnumberGetallOK() *PcloudVirtualserialnumberGetallOK
NewPcloudVirtualserialnumberGetallOK creates a PcloudVirtualserialnumberGetallOK with default headers values
func (*PcloudVirtualserialnumberGetallOK) Code ¶
func (o *PcloudVirtualserialnumberGetallOK) Code() int
Code gets the status code for the pcloud virtualserialnumber getall o k response
func (*PcloudVirtualserialnumberGetallOK) Error ¶
func (o *PcloudVirtualserialnumberGetallOK) Error() string
func (*PcloudVirtualserialnumberGetallOK) GetPayload ¶
func (o *PcloudVirtualserialnumberGetallOK) GetPayload() models.VirtualSerialNumberList
func (*PcloudVirtualserialnumberGetallOK) IsClientError ¶
func (o *PcloudVirtualserialnumberGetallOK) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber getall o k response has a 4xx status code
func (*PcloudVirtualserialnumberGetallOK) IsCode ¶
func (o *PcloudVirtualserialnumberGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber getall o k response a status code equal to that given
func (*PcloudVirtualserialnumberGetallOK) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber getall o k response has a 3xx status code
func (*PcloudVirtualserialnumberGetallOK) IsServerError ¶
func (o *PcloudVirtualserialnumberGetallOK) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber getall o k response has a 5xx status code
func (*PcloudVirtualserialnumberGetallOK) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber getall o k response has a 2xx status code
func (*PcloudVirtualserialnumberGetallOK) String ¶
func (o *PcloudVirtualserialnumberGetallOK) String() string
type PcloudVirtualserialnumberGetallParams ¶
type PcloudVirtualserialnumberGetallParams struct { /* PvmInstanceID. PVM Instance ID */ PvmInstanceID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVirtualserialnumberGetallParams contains all the parameters to send to the API endpoint
for the pcloud virtualserialnumber getall operation. Typically these are written to a http.Request.
func NewPcloudVirtualserialnumberGetallParams ¶
func NewPcloudVirtualserialnumberGetallParams() *PcloudVirtualserialnumberGetallParams
NewPcloudVirtualserialnumberGetallParams creates a new PcloudVirtualserialnumberGetallParams 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 NewPcloudVirtualserialnumberGetallParamsWithContext ¶
func NewPcloudVirtualserialnumberGetallParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberGetallParams
NewPcloudVirtualserialnumberGetallParamsWithContext creates a new PcloudVirtualserialnumberGetallParams object with the ability to set a context for a request.
func NewPcloudVirtualserialnumberGetallParamsWithHTTPClient ¶
func NewPcloudVirtualserialnumberGetallParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetallParams
NewPcloudVirtualserialnumberGetallParamsWithHTTPClient creates a new PcloudVirtualserialnumberGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVirtualserialnumberGetallParamsWithTimeout ¶
func NewPcloudVirtualserialnumberGetallParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetallParams
NewPcloudVirtualserialnumberGetallParamsWithTimeout creates a new PcloudVirtualserialnumberGetallParams object with the ability to set a timeout on a request.
func (*PcloudVirtualserialnumberGetallParams) SetContext ¶
func (o *PcloudVirtualserialnumberGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) SetDefaults ¶
func (o *PcloudVirtualserialnumberGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud virtualserialnumber getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberGetallParams) SetHTTPClient ¶
func (o *PcloudVirtualserialnumberGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) SetPvmInstanceID ¶
func (o *PcloudVirtualserialnumberGetallParams) SetPvmInstanceID(pvmInstanceID *string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) SetTimeout ¶
func (o *PcloudVirtualserialnumberGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) WithContext ¶
func (o *PcloudVirtualserialnumberGetallParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberGetallParams
WithContext adds the context to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) WithDefaults ¶
func (o *PcloudVirtualserialnumberGetallParams) WithDefaults() *PcloudVirtualserialnumberGetallParams
WithDefaults hydrates default values in the pcloud virtualserialnumber getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberGetallParams) WithHTTPClient ¶
func (o *PcloudVirtualserialnumberGetallParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetallParams
WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) WithPvmInstanceID ¶
func (o *PcloudVirtualserialnumberGetallParams) WithPvmInstanceID(pvmInstanceID *string) *PcloudVirtualserialnumberGetallParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) WithTimeout ¶
func (o *PcloudVirtualserialnumberGetallParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetallParams
WithTimeout adds the timeout to the pcloud virtualserialnumber getall params
func (*PcloudVirtualserialnumberGetallParams) WriteToRequest ¶
func (o *PcloudVirtualserialnumberGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVirtualserialnumberGetallReader ¶
type PcloudVirtualserialnumberGetallReader struct {
// contains filtered or unexported fields
}
PcloudVirtualserialnumberGetallReader is a Reader for the PcloudVirtualserialnumberGetall structure.
func (*PcloudVirtualserialnumberGetallReader) ReadResponse ¶
func (o *PcloudVirtualserialnumberGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVirtualserialnumberGetallUnauthorized ¶
type PcloudVirtualserialnumberGetallUnauthorized struct {
}PcloudVirtualserialnumberGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVirtualserialnumberGetallUnauthorized ¶
func NewPcloudVirtualserialnumberGetallUnauthorized() *PcloudVirtualserialnumberGetallUnauthorized
NewPcloudVirtualserialnumberGetallUnauthorized creates a PcloudVirtualserialnumberGetallUnauthorized with default headers values
func (*PcloudVirtualserialnumberGetallUnauthorized) Code ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) Code() int
Code gets the status code for the pcloud virtualserialnumber getall unauthorized response
func (*PcloudVirtualserialnumberGetallUnauthorized) Error ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) Error() string
func (*PcloudVirtualserialnumberGetallUnauthorized) GetPayload ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) GetPayload() *models.Error
func (*PcloudVirtualserialnumberGetallUnauthorized) IsClientError ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber getall unauthorized response has a 4xx status code
func (*PcloudVirtualserialnumberGetallUnauthorized) IsCode ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber getall unauthorized response a status code equal to that given
func (*PcloudVirtualserialnumberGetallUnauthorized) IsRedirect ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber getall unauthorized response has a 3xx status code
func (*PcloudVirtualserialnumberGetallUnauthorized) IsServerError ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber getall unauthorized response has a 5xx status code
func (*PcloudVirtualserialnumberGetallUnauthorized) IsSuccess ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber getall unauthorized response has a 2xx status code
func (*PcloudVirtualserialnumberGetallUnauthorized) String ¶
func (o *PcloudVirtualserialnumberGetallUnauthorized) String() string
type PcloudVirtualserialnumberPutBadRequest ¶
PcloudVirtualserialnumberPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVirtualserialnumberPutBadRequest ¶
func NewPcloudVirtualserialnumberPutBadRequest() *PcloudVirtualserialnumberPutBadRequest
NewPcloudVirtualserialnumberPutBadRequest creates a PcloudVirtualserialnumberPutBadRequest with default headers values
func (*PcloudVirtualserialnumberPutBadRequest) Code ¶
func (o *PcloudVirtualserialnumberPutBadRequest) Code() int
Code gets the status code for the pcloud virtualserialnumber put bad request response
func (*PcloudVirtualserialnumberPutBadRequest) Error ¶
func (o *PcloudVirtualserialnumberPutBadRequest) Error() string
func (*PcloudVirtualserialnumberPutBadRequest) GetPayload ¶
func (o *PcloudVirtualserialnumberPutBadRequest) GetPayload() *models.Error
func (*PcloudVirtualserialnumberPutBadRequest) IsClientError ¶
func (o *PcloudVirtualserialnumberPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber put bad request response has a 4xx status code
func (*PcloudVirtualserialnumberPutBadRequest) IsCode ¶
func (o *PcloudVirtualserialnumberPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber put bad request response a status code equal to that given
func (*PcloudVirtualserialnumberPutBadRequest) IsRedirect ¶
func (o *PcloudVirtualserialnumberPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber put bad request response has a 3xx status code
func (*PcloudVirtualserialnumberPutBadRequest) IsServerError ¶
func (o *PcloudVirtualserialnumberPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber put bad request response has a 5xx status code
func (*PcloudVirtualserialnumberPutBadRequest) IsSuccess ¶
func (o *PcloudVirtualserialnumberPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber put bad request response has a 2xx status code
func (*PcloudVirtualserialnumberPutBadRequest) String ¶
func (o *PcloudVirtualserialnumberPutBadRequest) String() string
type PcloudVirtualserialnumberPutForbidden ¶
PcloudVirtualserialnumberPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudVirtualserialnumberPutForbidden ¶
func NewPcloudVirtualserialnumberPutForbidden() *PcloudVirtualserialnumberPutForbidden
NewPcloudVirtualserialnumberPutForbidden creates a PcloudVirtualserialnumberPutForbidden with default headers values
func (*PcloudVirtualserialnumberPutForbidden) Code ¶
func (o *PcloudVirtualserialnumberPutForbidden) Code() int
Code gets the status code for the pcloud virtualserialnumber put forbidden response
func (*PcloudVirtualserialnumberPutForbidden) Error ¶
func (o *PcloudVirtualserialnumberPutForbidden) Error() string
func (*PcloudVirtualserialnumberPutForbidden) GetPayload ¶
func (o *PcloudVirtualserialnumberPutForbidden) GetPayload() *models.Error
func (*PcloudVirtualserialnumberPutForbidden) IsClientError ¶
func (o *PcloudVirtualserialnumberPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber put forbidden response has a 4xx status code
func (*PcloudVirtualserialnumberPutForbidden) IsCode ¶
func (o *PcloudVirtualserialnumberPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber put forbidden response a status code equal to that given
func (*PcloudVirtualserialnumberPutForbidden) IsRedirect ¶
func (o *PcloudVirtualserialnumberPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber put forbidden response has a 3xx status code
func (*PcloudVirtualserialnumberPutForbidden) IsServerError ¶
func (o *PcloudVirtualserialnumberPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber put forbidden response has a 5xx status code
func (*PcloudVirtualserialnumberPutForbidden) IsSuccess ¶
func (o *PcloudVirtualserialnumberPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber put forbidden response has a 2xx status code
func (*PcloudVirtualserialnumberPutForbidden) String ¶
func (o *PcloudVirtualserialnumberPutForbidden) String() string
type PcloudVirtualserialnumberPutGone ¶
PcloudVirtualserialnumberPutGone describes a response with status code 410, with default header values.
Gone
func NewPcloudVirtualserialnumberPutGone ¶
func NewPcloudVirtualserialnumberPutGone() *PcloudVirtualserialnumberPutGone
NewPcloudVirtualserialnumberPutGone creates a PcloudVirtualserialnumberPutGone with default headers values
func (*PcloudVirtualserialnumberPutGone) Code ¶
func (o *PcloudVirtualserialnumberPutGone) Code() int
Code gets the status code for the pcloud virtualserialnumber put gone response
func (*PcloudVirtualserialnumberPutGone) Error ¶
func (o *PcloudVirtualserialnumberPutGone) Error() string
func (*PcloudVirtualserialnumberPutGone) GetPayload ¶
func (o *PcloudVirtualserialnumberPutGone) GetPayload() *models.Error
func (*PcloudVirtualserialnumberPutGone) IsClientError ¶
func (o *PcloudVirtualserialnumberPutGone) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber put gone response has a 4xx status code
func (*PcloudVirtualserialnumberPutGone) IsCode ¶
func (o *PcloudVirtualserialnumberPutGone) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber put gone response a status code equal to that given
func (*PcloudVirtualserialnumberPutGone) IsRedirect ¶
func (o *PcloudVirtualserialnumberPutGone) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber put gone response has a 3xx status code
func (*PcloudVirtualserialnumberPutGone) IsServerError ¶
func (o *PcloudVirtualserialnumberPutGone) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber put gone response has a 5xx status code
func (*PcloudVirtualserialnumberPutGone) IsSuccess ¶
func (o *PcloudVirtualserialnumberPutGone) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber put gone response has a 2xx status code
func (*PcloudVirtualserialnumberPutGone) String ¶
func (o *PcloudVirtualserialnumberPutGone) String() string
type PcloudVirtualserialnumberPutInternalServerError ¶
PcloudVirtualserialnumberPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVirtualserialnumberPutInternalServerError ¶
func NewPcloudVirtualserialnumberPutInternalServerError() *PcloudVirtualserialnumberPutInternalServerError
NewPcloudVirtualserialnumberPutInternalServerError creates a PcloudVirtualserialnumberPutInternalServerError with default headers values
func (*PcloudVirtualserialnumberPutInternalServerError) Code ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) Code() int
Code gets the status code for the pcloud virtualserialnumber put internal server error response
func (*PcloudVirtualserialnumberPutInternalServerError) Error ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) Error() string
func (*PcloudVirtualserialnumberPutInternalServerError) GetPayload ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) GetPayload() *models.Error
func (*PcloudVirtualserialnumberPutInternalServerError) IsClientError ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber put internal server error response has a 4xx status code
func (*PcloudVirtualserialnumberPutInternalServerError) IsCode ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber put internal server error response a status code equal to that given
func (*PcloudVirtualserialnumberPutInternalServerError) IsRedirect ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber put internal server error response has a 3xx status code
func (*PcloudVirtualserialnumberPutInternalServerError) IsServerError ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber put internal server error response has a 5xx status code
func (*PcloudVirtualserialnumberPutInternalServerError) IsSuccess ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber put internal server error response has a 2xx status code
func (*PcloudVirtualserialnumberPutInternalServerError) String ¶
func (o *PcloudVirtualserialnumberPutInternalServerError) String() string
type PcloudVirtualserialnumberPutNotFound ¶
PcloudVirtualserialnumberPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVirtualserialnumberPutNotFound ¶
func NewPcloudVirtualserialnumberPutNotFound() *PcloudVirtualserialnumberPutNotFound
NewPcloudVirtualserialnumberPutNotFound creates a PcloudVirtualserialnumberPutNotFound with default headers values
func (*PcloudVirtualserialnumberPutNotFound) Code ¶
func (o *PcloudVirtualserialnumberPutNotFound) Code() int
Code gets the status code for the pcloud virtualserialnumber put not found response
func (*PcloudVirtualserialnumberPutNotFound) Error ¶
func (o *PcloudVirtualserialnumberPutNotFound) Error() string
func (*PcloudVirtualserialnumberPutNotFound) GetPayload ¶
func (o *PcloudVirtualserialnumberPutNotFound) GetPayload() *models.Error
func (*PcloudVirtualserialnumberPutNotFound) IsClientError ¶
func (o *PcloudVirtualserialnumberPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber put not found response has a 4xx status code
func (*PcloudVirtualserialnumberPutNotFound) IsCode ¶
func (o *PcloudVirtualserialnumberPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber put not found response a status code equal to that given
func (*PcloudVirtualserialnumberPutNotFound) IsRedirect ¶
func (o *PcloudVirtualserialnumberPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber put not found response has a 3xx status code
func (*PcloudVirtualserialnumberPutNotFound) IsServerError ¶
func (o *PcloudVirtualserialnumberPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber put not found response has a 5xx status code
func (*PcloudVirtualserialnumberPutNotFound) IsSuccess ¶
func (o *PcloudVirtualserialnumberPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber put not found response has a 2xx status code
func (*PcloudVirtualserialnumberPutNotFound) String ¶
func (o *PcloudVirtualserialnumberPutNotFound) String() string
type PcloudVirtualserialnumberPutOK ¶
type PcloudVirtualserialnumberPutOK struct {
Payload *models.GetServerVirtualSerialNumber
}
PcloudVirtualserialnumberPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudVirtualserialnumberPutOK ¶
func NewPcloudVirtualserialnumberPutOK() *PcloudVirtualserialnumberPutOK
NewPcloudVirtualserialnumberPutOK creates a PcloudVirtualserialnumberPutOK with default headers values
func (*PcloudVirtualserialnumberPutOK) Code ¶
func (o *PcloudVirtualserialnumberPutOK) Code() int
Code gets the status code for the pcloud virtualserialnumber put o k response
func (*PcloudVirtualserialnumberPutOK) Error ¶
func (o *PcloudVirtualserialnumberPutOK) Error() string
func (*PcloudVirtualserialnumberPutOK) GetPayload ¶
func (o *PcloudVirtualserialnumberPutOK) GetPayload() *models.GetServerVirtualSerialNumber
func (*PcloudVirtualserialnumberPutOK) IsClientError ¶
func (o *PcloudVirtualserialnumberPutOK) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber put o k response has a 4xx status code
func (*PcloudVirtualserialnumberPutOK) IsCode ¶
func (o *PcloudVirtualserialnumberPutOK) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber put o k response a status code equal to that given
func (*PcloudVirtualserialnumberPutOK) IsRedirect ¶
func (o *PcloudVirtualserialnumberPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber put o k response has a 3xx status code
func (*PcloudVirtualserialnumberPutOK) IsServerError ¶
func (o *PcloudVirtualserialnumberPutOK) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber put o k response has a 5xx status code
func (*PcloudVirtualserialnumberPutOK) IsSuccess ¶
func (o *PcloudVirtualserialnumberPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber put o k response has a 2xx status code
func (*PcloudVirtualserialnumberPutOK) String ¶
func (o *PcloudVirtualserialnumberPutOK) String() string
type PcloudVirtualserialnumberPutParams ¶
type PcloudVirtualserialnumberPutParams struct { /* Body. Parameters to edit description of a reserved Virtual Serial Number */ Body *models.UpdateVirtualSerialNumber /* VirtualSerialNumber. Virtual Serial Number */ VirtualSerialNumber string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVirtualserialnumberPutParams contains all the parameters to send to the API endpoint
for the pcloud virtualserialnumber put operation. Typically these are written to a http.Request.
func NewPcloudVirtualserialnumberPutParams ¶
func NewPcloudVirtualserialnumberPutParams() *PcloudVirtualserialnumberPutParams
NewPcloudVirtualserialnumberPutParams creates a new PcloudVirtualserialnumberPutParams 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 NewPcloudVirtualserialnumberPutParamsWithContext ¶
func NewPcloudVirtualserialnumberPutParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberPutParams
NewPcloudVirtualserialnumberPutParamsWithContext creates a new PcloudVirtualserialnumberPutParams object with the ability to set a context for a request.
func NewPcloudVirtualserialnumberPutParamsWithHTTPClient ¶
func NewPcloudVirtualserialnumberPutParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberPutParams
NewPcloudVirtualserialnumberPutParamsWithHTTPClient creates a new PcloudVirtualserialnumberPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVirtualserialnumberPutParamsWithTimeout ¶
func NewPcloudVirtualserialnumberPutParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberPutParams
NewPcloudVirtualserialnumberPutParamsWithTimeout creates a new PcloudVirtualserialnumberPutParams object with the ability to set a timeout on a request.
func (*PcloudVirtualserialnumberPutParams) SetBody ¶
func (o *PcloudVirtualserialnumberPutParams) SetBody(body *models.UpdateVirtualSerialNumber)
SetBody adds the body to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) SetContext ¶
func (o *PcloudVirtualserialnumberPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) SetDefaults ¶
func (o *PcloudVirtualserialnumberPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud virtualserialnumber put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberPutParams) SetHTTPClient ¶
func (o *PcloudVirtualserialnumberPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) SetTimeout ¶
func (o *PcloudVirtualserialnumberPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) SetVirtualSerialNumber ¶
func (o *PcloudVirtualserialnumberPutParams) SetVirtualSerialNumber(virtualSerialNumber string)
SetVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) WithBody ¶
func (o *PcloudVirtualserialnumberPutParams) WithBody(body *models.UpdateVirtualSerialNumber) *PcloudVirtualserialnumberPutParams
WithBody adds the body to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) WithContext ¶
func (o *PcloudVirtualserialnumberPutParams) WithContext(ctx context.Context) *PcloudVirtualserialnumberPutParams
WithContext adds the context to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) WithDefaults ¶
func (o *PcloudVirtualserialnumberPutParams) WithDefaults() *PcloudVirtualserialnumberPutParams
WithDefaults hydrates default values in the pcloud virtualserialnumber put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVirtualserialnumberPutParams) WithHTTPClient ¶
func (o *PcloudVirtualserialnumberPutParams) WithHTTPClient(client *http.Client) *PcloudVirtualserialnumberPutParams
WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) WithTimeout ¶
func (o *PcloudVirtualserialnumberPutParams) WithTimeout(timeout time.Duration) *PcloudVirtualserialnumberPutParams
WithTimeout adds the timeout to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) WithVirtualSerialNumber ¶
func (o *PcloudVirtualserialnumberPutParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberPutParams
WithVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber put params
func (*PcloudVirtualserialnumberPutParams) WriteToRequest ¶
func (o *PcloudVirtualserialnumberPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVirtualserialnumberPutReader ¶
type PcloudVirtualserialnumberPutReader struct {
// contains filtered or unexported fields
}
PcloudVirtualserialnumberPutReader is a Reader for the PcloudVirtualserialnumberPut structure.
func (*PcloudVirtualserialnumberPutReader) ReadResponse ¶
func (o *PcloudVirtualserialnumberPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVirtualserialnumberPutUnauthorized ¶
type PcloudVirtualserialnumberPutUnauthorized struct {
}PcloudVirtualserialnumberPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVirtualserialnumberPutUnauthorized ¶
func NewPcloudVirtualserialnumberPutUnauthorized() *PcloudVirtualserialnumberPutUnauthorized
NewPcloudVirtualserialnumberPutUnauthorized creates a PcloudVirtualserialnumberPutUnauthorized with default headers values
func (*PcloudVirtualserialnumberPutUnauthorized) Code ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) Code() int
Code gets the status code for the pcloud virtualserialnumber put unauthorized response
func (*PcloudVirtualserialnumberPutUnauthorized) Error ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) Error() string
func (*PcloudVirtualserialnumberPutUnauthorized) GetPayload ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) GetPayload() *models.Error
func (*PcloudVirtualserialnumberPutUnauthorized) IsClientError ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud virtualserialnumber put unauthorized response has a 4xx status code
func (*PcloudVirtualserialnumberPutUnauthorized) IsCode ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud virtualserialnumber put unauthorized response a status code equal to that given
func (*PcloudVirtualserialnumberPutUnauthorized) IsRedirect ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud virtualserialnumber put unauthorized response has a 3xx status code
func (*PcloudVirtualserialnumberPutUnauthorized) IsServerError ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud virtualserialnumber put unauthorized response has a 5xx status code
func (*PcloudVirtualserialnumberPutUnauthorized) IsSuccess ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud virtualserialnumber put unauthorized response has a 2xx status code
func (*PcloudVirtualserialnumberPutUnauthorized) String ¶
func (o *PcloudVirtualserialnumberPutUnauthorized) String() string
Source Files ¶
- p_cloud_virtual_serial_number_client.go
- pcloud_pvminstances_virtualserialnumber_delete_parameters.go
- pcloud_pvminstances_virtualserialnumber_delete_responses.go
- pcloud_pvminstances_virtualserialnumber_get_parameters.go
- pcloud_pvminstances_virtualserialnumber_get_responses.go
- pcloud_pvminstances_virtualserialnumber_post_parameters.go
- pcloud_pvminstances_virtualserialnumber_post_responses.go
- pcloud_pvminstances_virtualserialnumber_put_parameters.go
- pcloud_pvminstances_virtualserialnumber_put_responses.go
- pcloud_virtualserialnumber_delete_parameters.go
- pcloud_virtualserialnumber_delete_responses.go
- pcloud_virtualserialnumber_get_parameters.go
- pcloud_virtualserialnumber_get_responses.go
- pcloud_virtualserialnumber_getall_parameters.go
- pcloud_virtualserialnumber_getall_responses.go
- pcloud_virtualserialnumber_put_parameters.go
- pcloud_virtualserialnumber_put_responses.go