Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudPvminstancesActionPost(params *PcloudPvminstancesActionPostParams, ...) (*PcloudPvminstancesActionPostOK, error)
- func (a *Client) PcloudPvminstancesCapturePost(params *PcloudPvminstancesCapturePostParams, ...) (*PcloudPvminstancesCapturePostOK, *PcloudPvminstancesCapturePostAccepted, ...)
- func (a *Client) PcloudPvminstancesClonePost(params *PcloudPvminstancesClonePostParams, ...) (*PcloudPvminstancesClonePostAccepted, error)
- func (a *Client) PcloudPvminstancesConsoleGet(params *PcloudPvminstancesConsoleGetParams, ...) (*PcloudPvminstancesConsoleGetOK, error)
- func (a *Client) PcloudPvminstancesConsolePost(params *PcloudPvminstancesConsolePostParams, ...) (*PcloudPvminstancesConsolePostCreated, error)
- func (a *Client) PcloudPvminstancesConsolePut(params *PcloudPvminstancesConsolePutParams, ...) (*PcloudPvminstancesConsolePutOK, error)
- func (a *Client) PcloudPvminstancesDelete(params *PcloudPvminstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudPvminstancesDeleteOK, error)
- func (a *Client) PcloudPvminstancesGet(params *PcloudPvminstancesGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudPvminstancesGetOK, error)
- func (a *Client) PcloudPvminstancesGetall(params *PcloudPvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudPvminstancesGetallOK, error)
- func (a *Client) PcloudPvminstancesNetworksDelete(params *PcloudPvminstancesNetworksDeleteParams, ...) (*PcloudPvminstancesNetworksDeleteOK, error)
- func (a *Client) PcloudPvminstancesNetworksGet(params *PcloudPvminstancesNetworksGetParams, ...) (*PcloudPvminstancesNetworksGetOK, error)
- func (a *Client) PcloudPvminstancesNetworksGetall(params *PcloudPvminstancesNetworksGetallParams, ...) (*PcloudPvminstancesNetworksGetallOK, error)
- func (a *Client) PcloudPvminstancesNetworksPost(params *PcloudPvminstancesNetworksPostParams, ...) (*PcloudPvminstancesNetworksPostCreated, error)
- func (a *Client) PcloudPvminstancesOperationsPost(params *PcloudPvminstancesOperationsPostParams, ...) (*PcloudPvminstancesOperationsPostOK, error)
- func (a *Client) PcloudPvminstancesPost(params *PcloudPvminstancesPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudPvminstancesPostOK, *PcloudPvminstancesPostCreated, ...)
- func (a *Client) PcloudPvminstancesPut(params *PcloudPvminstancesPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudPvminstancesPutAccepted, error)
- func (a *Client) PcloudPvminstancesSnapshotsGetall(params *PcloudPvminstancesSnapshotsGetallParams, ...) (*PcloudPvminstancesSnapshotsGetallOK, error)
- func (a *Client) PcloudPvminstancesSnapshotsPost(params *PcloudPvminstancesSnapshotsPostParams, ...) (*PcloudPvminstancesSnapshotsPostAccepted, error)
- func (a *Client) PcloudPvminstancesSnapshotsRestorePost(params *PcloudPvminstancesSnapshotsRestorePostParams, ...) (*PcloudPvminstancesSnapshotsRestorePostAccepted, error)
- func (a *Client) PcloudV2PvminstancesCaptureGet(params *PcloudV2PvminstancesCaptureGetParams, ...) (*PcloudV2PvminstancesCaptureGetOK, error)
- func (a *Client) PcloudV2PvminstancesCapturePost(params *PcloudV2PvminstancesCapturePostParams, ...) (*PcloudV2PvminstancesCapturePostAccepted, error)
- func (a *Client) PcloudV2PvminstancesGetall(params *PcloudV2PvminstancesGetallParams, ...) (*PcloudV2PvminstancesGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudPvminstancesActionPostBadRequest
- func (o *PcloudPvminstancesActionPostBadRequest) Code() int
- func (o *PcloudPvminstancesActionPostBadRequest) Error() string
- func (o *PcloudPvminstancesActionPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesActionPostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesActionPostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesActionPostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesActionPostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesActionPostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesActionPostBadRequest) String() string
- type PcloudPvminstancesActionPostConflict
- func (o *PcloudPvminstancesActionPostConflict) Code() int
- func (o *PcloudPvminstancesActionPostConflict) Error() string
- func (o *PcloudPvminstancesActionPostConflict) GetPayload() *models.Error
- func (o *PcloudPvminstancesActionPostConflict) IsClientError() bool
- func (o *PcloudPvminstancesActionPostConflict) IsCode(code int) bool
- func (o *PcloudPvminstancesActionPostConflict) IsRedirect() bool
- func (o *PcloudPvminstancesActionPostConflict) IsServerError() bool
- func (o *PcloudPvminstancesActionPostConflict) IsSuccess() bool
- func (o *PcloudPvminstancesActionPostConflict) String() string
- type PcloudPvminstancesActionPostForbidden
- func (o *PcloudPvminstancesActionPostForbidden) Code() int
- func (o *PcloudPvminstancesActionPostForbidden) Error() string
- func (o *PcloudPvminstancesActionPostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesActionPostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesActionPostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesActionPostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesActionPostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesActionPostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesActionPostForbidden) String() string
- type PcloudPvminstancesActionPostInternalServerError
- func (o *PcloudPvminstancesActionPostInternalServerError) Code() int
- func (o *PcloudPvminstancesActionPostInternalServerError) Error() string
- func (o *PcloudPvminstancesActionPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesActionPostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesActionPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesActionPostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesActionPostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesActionPostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesActionPostInternalServerError) String() string
- type PcloudPvminstancesActionPostNotFound
- func (o *PcloudPvminstancesActionPostNotFound) Code() int
- func (o *PcloudPvminstancesActionPostNotFound) Error() string
- func (o *PcloudPvminstancesActionPostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesActionPostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesActionPostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesActionPostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesActionPostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesActionPostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesActionPostNotFound) String() string
- type PcloudPvminstancesActionPostOK
- func (o *PcloudPvminstancesActionPostOK) Code() int
- func (o *PcloudPvminstancesActionPostOK) Error() string
- func (o *PcloudPvminstancesActionPostOK) GetPayload() models.Object
- func (o *PcloudPvminstancesActionPostOK) IsClientError() bool
- func (o *PcloudPvminstancesActionPostOK) IsCode(code int) bool
- func (o *PcloudPvminstancesActionPostOK) IsRedirect() bool
- func (o *PcloudPvminstancesActionPostOK) IsServerError() bool
- func (o *PcloudPvminstancesActionPostOK) IsSuccess() bool
- func (o *PcloudPvminstancesActionPostOK) String() string
- type PcloudPvminstancesActionPostParams
- func NewPcloudPvminstancesActionPostParams() *PcloudPvminstancesActionPostParams
- func NewPcloudPvminstancesActionPostParamsWithContext(ctx context.Context) *PcloudPvminstancesActionPostParams
- func NewPcloudPvminstancesActionPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesActionPostParams
- func NewPcloudPvminstancesActionPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) SetBody(body *models.PVMInstanceAction)
- func (o *PcloudPvminstancesActionPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesActionPostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesActionPostParams) SetDefaults()
- func (o *PcloudPvminstancesActionPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesActionPostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesActionPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesActionPostParams) WithBody(body *models.PVMInstanceAction) *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) WithContext(ctx context.Context) *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) WithDefaults() *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesActionPostParams
- func (o *PcloudPvminstancesActionPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesActionPostReader
- type PcloudPvminstancesActionPostUnauthorized
- func (o *PcloudPvminstancesActionPostUnauthorized) Code() int
- func (o *PcloudPvminstancesActionPostUnauthorized) Error() string
- func (o *PcloudPvminstancesActionPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesActionPostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesActionPostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesActionPostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesActionPostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesActionPostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesActionPostUnauthorized) String() string
- type PcloudPvminstancesCapturePostAccepted
- func (o *PcloudPvminstancesCapturePostAccepted) Code() int
- func (o *PcloudPvminstancesCapturePostAccepted) Error() string
- func (o *PcloudPvminstancesCapturePostAccepted) GetPayload() models.Object
- func (o *PcloudPvminstancesCapturePostAccepted) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostAccepted) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostAccepted) String() string
- type PcloudPvminstancesCapturePostBadRequest
- func (o *PcloudPvminstancesCapturePostBadRequest) Code() int
- func (o *PcloudPvminstancesCapturePostBadRequest) Error() string
- func (o *PcloudPvminstancesCapturePostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesCapturePostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostBadRequest) String() string
- type PcloudPvminstancesCapturePostForbidden
- func (o *PcloudPvminstancesCapturePostForbidden) Code() int
- func (o *PcloudPvminstancesCapturePostForbidden) Error() string
- func (o *PcloudPvminstancesCapturePostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesCapturePostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostForbidden) String() string
- type PcloudPvminstancesCapturePostInternalServerError
- func (o *PcloudPvminstancesCapturePostInternalServerError) Code() int
- func (o *PcloudPvminstancesCapturePostInternalServerError) Error() string
- func (o *PcloudPvminstancesCapturePostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesCapturePostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostInternalServerError) String() string
- type PcloudPvminstancesCapturePostNotFound
- func (o *PcloudPvminstancesCapturePostNotFound) Code() int
- func (o *PcloudPvminstancesCapturePostNotFound) Error() string
- func (o *PcloudPvminstancesCapturePostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesCapturePostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostNotFound) String() string
- type PcloudPvminstancesCapturePostOK
- func (o *PcloudPvminstancesCapturePostOK) Code() int
- func (o *PcloudPvminstancesCapturePostOK) Error() string
- func (o *PcloudPvminstancesCapturePostOK) GetPayload() models.Object
- func (o *PcloudPvminstancesCapturePostOK) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostOK) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostOK) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostOK) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostOK) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostOK) String() string
- type PcloudPvminstancesCapturePostParams
- func NewPcloudPvminstancesCapturePostParams() *PcloudPvminstancesCapturePostParams
- func NewPcloudPvminstancesCapturePostParamsWithContext(ctx context.Context) *PcloudPvminstancesCapturePostParams
- func NewPcloudPvminstancesCapturePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesCapturePostParams
- func NewPcloudPvminstancesCapturePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) SetBody(body *models.PVMInstanceCapture)
- func (o *PcloudPvminstancesCapturePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesCapturePostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesCapturePostParams) SetDefaults()
- func (o *PcloudPvminstancesCapturePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesCapturePostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesCapturePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesCapturePostParams) WithBody(body *models.PVMInstanceCapture) *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) WithContext(ctx context.Context) *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) WithDefaults() *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesCapturePostParams
- func (o *PcloudPvminstancesCapturePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesCapturePostReader
- type PcloudPvminstancesCapturePostUnauthorized
- func (o *PcloudPvminstancesCapturePostUnauthorized) Code() int
- func (o *PcloudPvminstancesCapturePostUnauthorized) Error() string
- func (o *PcloudPvminstancesCapturePostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesCapturePostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostUnauthorized) String() string
- type PcloudPvminstancesCapturePostUnprocessableEntity
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesCapturePostUnprocessableEntity) String() string
- type PcloudPvminstancesClonePostAccepted
- func (o *PcloudPvminstancesClonePostAccepted) Code() int
- func (o *PcloudPvminstancesClonePostAccepted) Error() string
- func (o *PcloudPvminstancesClonePostAccepted) GetPayload() *models.PVMInstance
- func (o *PcloudPvminstancesClonePostAccepted) IsClientError() bool
- func (o *PcloudPvminstancesClonePostAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostAccepted) IsServerError() bool
- func (o *PcloudPvminstancesClonePostAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostAccepted) String() string
- type PcloudPvminstancesClonePostBadRequest
- func (o *PcloudPvminstancesClonePostBadRequest) Code() int
- func (o *PcloudPvminstancesClonePostBadRequest) Error() string
- func (o *PcloudPvminstancesClonePostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesClonePostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesClonePostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostBadRequest) String() string
- type PcloudPvminstancesClonePostConflict
- func (o *PcloudPvminstancesClonePostConflict) Code() int
- func (o *PcloudPvminstancesClonePostConflict) Error() string
- func (o *PcloudPvminstancesClonePostConflict) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostConflict) IsClientError() bool
- func (o *PcloudPvminstancesClonePostConflict) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostConflict) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostConflict) IsServerError() bool
- func (o *PcloudPvminstancesClonePostConflict) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostConflict) String() string
- type PcloudPvminstancesClonePostForbidden
- func (o *PcloudPvminstancesClonePostForbidden) Code() int
- func (o *PcloudPvminstancesClonePostForbidden) Error() string
- func (o *PcloudPvminstancesClonePostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesClonePostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesClonePostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostForbidden) String() string
- type PcloudPvminstancesClonePostGone
- func (o *PcloudPvminstancesClonePostGone) Code() int
- func (o *PcloudPvminstancesClonePostGone) Error() string
- func (o *PcloudPvminstancesClonePostGone) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostGone) IsClientError() bool
- func (o *PcloudPvminstancesClonePostGone) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostGone) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostGone) IsServerError() bool
- func (o *PcloudPvminstancesClonePostGone) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostGone) String() string
- type PcloudPvminstancesClonePostInternalServerError
- func (o *PcloudPvminstancesClonePostInternalServerError) Code() int
- func (o *PcloudPvminstancesClonePostInternalServerError) Error() string
- func (o *PcloudPvminstancesClonePostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesClonePostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesClonePostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostInternalServerError) String() string
- type PcloudPvminstancesClonePostNotFound
- func (o *PcloudPvminstancesClonePostNotFound) Code() int
- func (o *PcloudPvminstancesClonePostNotFound) Error() string
- func (o *PcloudPvminstancesClonePostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesClonePostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesClonePostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostNotFound) String() string
- type PcloudPvminstancesClonePostParams
- func NewPcloudPvminstancesClonePostParams() *PcloudPvminstancesClonePostParams
- func NewPcloudPvminstancesClonePostParamsWithContext(ctx context.Context) *PcloudPvminstancesClonePostParams
- func NewPcloudPvminstancesClonePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesClonePostParams
- func NewPcloudPvminstancesClonePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) SetBody(body *models.PVMInstanceClone)
- func (o *PcloudPvminstancesClonePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesClonePostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesClonePostParams) SetDefaults()
- func (o *PcloudPvminstancesClonePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesClonePostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesClonePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesClonePostParams) WithBody(body *models.PVMInstanceClone) *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) WithContext(ctx context.Context) *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) WithDefaults() *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesClonePostParams
- func (o *PcloudPvminstancesClonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesClonePostReader
- type PcloudPvminstancesClonePostUnauthorized
- func (o *PcloudPvminstancesClonePostUnauthorized) Code() int
- func (o *PcloudPvminstancesClonePostUnauthorized) Error() string
- func (o *PcloudPvminstancesClonePostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesClonePostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesClonePostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostUnauthorized) String() string
- type PcloudPvminstancesClonePostUnprocessableEntity
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesClonePostUnprocessableEntity) String() string
- type PcloudPvminstancesConsoleGetBadRequest
- func (o *PcloudPvminstancesConsoleGetBadRequest) Code() int
- func (o *PcloudPvminstancesConsoleGetBadRequest) Error() string
- func (o *PcloudPvminstancesConsoleGetBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsoleGetBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesConsoleGetBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesConsoleGetBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesConsoleGetBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesConsoleGetBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesConsoleGetBadRequest) String() string
- type PcloudPvminstancesConsoleGetForbidden
- func (o *PcloudPvminstancesConsoleGetForbidden) Code() int
- func (o *PcloudPvminstancesConsoleGetForbidden) Error() string
- func (o *PcloudPvminstancesConsoleGetForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsoleGetForbidden) IsClientError() bool
- func (o *PcloudPvminstancesConsoleGetForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesConsoleGetForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesConsoleGetForbidden) IsServerError() bool
- func (o *PcloudPvminstancesConsoleGetForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesConsoleGetForbidden) String() string
- type PcloudPvminstancesConsoleGetInternalServerError
- func (o *PcloudPvminstancesConsoleGetInternalServerError) Code() int
- func (o *PcloudPvminstancesConsoleGetInternalServerError) Error() string
- func (o *PcloudPvminstancesConsoleGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsoleGetInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesConsoleGetInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesConsoleGetInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesConsoleGetInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesConsoleGetInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesConsoleGetInternalServerError) String() string
- type PcloudPvminstancesConsoleGetNotFound
- func (o *PcloudPvminstancesConsoleGetNotFound) Code() int
- func (o *PcloudPvminstancesConsoleGetNotFound) Error() string
- func (o *PcloudPvminstancesConsoleGetNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsoleGetNotFound) IsClientError() bool
- func (o *PcloudPvminstancesConsoleGetNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesConsoleGetNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesConsoleGetNotFound) IsServerError() bool
- func (o *PcloudPvminstancesConsoleGetNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesConsoleGetNotFound) String() string
- type PcloudPvminstancesConsoleGetOK
- func (o *PcloudPvminstancesConsoleGetOK) Code() int
- func (o *PcloudPvminstancesConsoleGetOK) Error() string
- func (o *PcloudPvminstancesConsoleGetOK) GetPayload() *models.ConsoleLanguages
- func (o *PcloudPvminstancesConsoleGetOK) IsClientError() bool
- func (o *PcloudPvminstancesConsoleGetOK) IsCode(code int) bool
- func (o *PcloudPvminstancesConsoleGetOK) IsRedirect() bool
- func (o *PcloudPvminstancesConsoleGetOK) IsServerError() bool
- func (o *PcloudPvminstancesConsoleGetOK) IsSuccess() bool
- func (o *PcloudPvminstancesConsoleGetOK) String() string
- type PcloudPvminstancesConsoleGetParams
- func NewPcloudPvminstancesConsoleGetParams() *PcloudPvminstancesConsoleGetParams
- func NewPcloudPvminstancesConsoleGetParamsWithContext(ctx context.Context) *PcloudPvminstancesConsoleGetParams
- func NewPcloudPvminstancesConsoleGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsoleGetParams
- func NewPcloudPvminstancesConsoleGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsoleGetParams
- func (o *PcloudPvminstancesConsoleGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesConsoleGetParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesConsoleGetParams) SetDefaults()
- func (o *PcloudPvminstancesConsoleGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesConsoleGetParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesConsoleGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesConsoleGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsoleGetParams
- func (o *PcloudPvminstancesConsoleGetParams) WithContext(ctx context.Context) *PcloudPvminstancesConsoleGetParams
- func (o *PcloudPvminstancesConsoleGetParams) WithDefaults() *PcloudPvminstancesConsoleGetParams
- func (o *PcloudPvminstancesConsoleGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesConsoleGetParams
- func (o *PcloudPvminstancesConsoleGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesConsoleGetParams
- func (o *PcloudPvminstancesConsoleGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesConsoleGetParams
- func (o *PcloudPvminstancesConsoleGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesConsoleGetReader
- type PcloudPvminstancesConsoleGetUnauthorized
- func (o *PcloudPvminstancesConsoleGetUnauthorized) Code() int
- func (o *PcloudPvminstancesConsoleGetUnauthorized) Error() string
- func (o *PcloudPvminstancesConsoleGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsoleGetUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesConsoleGetUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesConsoleGetUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesConsoleGetUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesConsoleGetUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesConsoleGetUnauthorized) String() string
- type PcloudPvminstancesConsolePostBadRequest
- func (o *PcloudPvminstancesConsolePostBadRequest) Code() int
- func (o *PcloudPvminstancesConsolePostBadRequest) Error() string
- func (o *PcloudPvminstancesConsolePostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesConsolePostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesConsolePostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePostBadRequest) String() string
- type PcloudPvminstancesConsolePostCreated
- func (o *PcloudPvminstancesConsolePostCreated) Code() int
- func (o *PcloudPvminstancesConsolePostCreated) Error() string
- func (o *PcloudPvminstancesConsolePostCreated) GetPayload() *models.PVMInstanceConsole
- func (o *PcloudPvminstancesConsolePostCreated) IsClientError() bool
- func (o *PcloudPvminstancesConsolePostCreated) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePostCreated) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePostCreated) IsServerError() bool
- func (o *PcloudPvminstancesConsolePostCreated) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePostCreated) String() string
- type PcloudPvminstancesConsolePostForbidden
- func (o *PcloudPvminstancesConsolePostForbidden) Code() int
- func (o *PcloudPvminstancesConsolePostForbidden) Error() string
- func (o *PcloudPvminstancesConsolePostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesConsolePostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesConsolePostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePostForbidden) String() string
- type PcloudPvminstancesConsolePostInternalServerError
- func (o *PcloudPvminstancesConsolePostInternalServerError) Code() int
- func (o *PcloudPvminstancesConsolePostInternalServerError) Error() string
- func (o *PcloudPvminstancesConsolePostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesConsolePostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesConsolePostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePostInternalServerError) String() string
- type PcloudPvminstancesConsolePostNotFound
- func (o *PcloudPvminstancesConsolePostNotFound) Code() int
- func (o *PcloudPvminstancesConsolePostNotFound) Error() string
- func (o *PcloudPvminstancesConsolePostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesConsolePostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesConsolePostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePostNotFound) String() string
- type PcloudPvminstancesConsolePostParams
- func NewPcloudPvminstancesConsolePostParams() *PcloudPvminstancesConsolePostParams
- func NewPcloudPvminstancesConsolePostParamsWithContext(ctx context.Context) *PcloudPvminstancesConsolePostParams
- func NewPcloudPvminstancesConsolePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePostParams
- func NewPcloudPvminstancesConsolePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePostParams
- func (o *PcloudPvminstancesConsolePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesConsolePostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesConsolePostParams) SetDefaults()
- func (o *PcloudPvminstancesConsolePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesConsolePostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesConsolePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesConsolePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsolePostParams
- func (o *PcloudPvminstancesConsolePostParams) WithContext(ctx context.Context) *PcloudPvminstancesConsolePostParams
- func (o *PcloudPvminstancesConsolePostParams) WithDefaults() *PcloudPvminstancesConsolePostParams
- func (o *PcloudPvminstancesConsolePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePostParams
- func (o *PcloudPvminstancesConsolePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesConsolePostParams
- func (o *PcloudPvminstancesConsolePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePostParams
- func (o *PcloudPvminstancesConsolePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesConsolePostReader
- type PcloudPvminstancesConsolePostUnauthorized
- func (o *PcloudPvminstancesConsolePostUnauthorized) Code() int
- func (o *PcloudPvminstancesConsolePostUnauthorized) Error() string
- func (o *PcloudPvminstancesConsolePostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesConsolePostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesConsolePostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePostUnauthorized) String() string
- type PcloudPvminstancesConsolePostUnprocessableEntity
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePostUnprocessableEntity) String() string
- type PcloudPvminstancesConsolePutBadRequest
- func (o *PcloudPvminstancesConsolePutBadRequest) Code() int
- func (o *PcloudPvminstancesConsolePutBadRequest) Error() string
- func (o *PcloudPvminstancesConsolePutBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePutBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesConsolePutBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePutBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePutBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesConsolePutBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePutBadRequest) String() string
- type PcloudPvminstancesConsolePutForbidden
- func (o *PcloudPvminstancesConsolePutForbidden) Code() int
- func (o *PcloudPvminstancesConsolePutForbidden) Error() string
- func (o *PcloudPvminstancesConsolePutForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePutForbidden) IsClientError() bool
- func (o *PcloudPvminstancesConsolePutForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePutForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePutForbidden) IsServerError() bool
- func (o *PcloudPvminstancesConsolePutForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePutForbidden) String() string
- type PcloudPvminstancesConsolePutInternalServerError
- func (o *PcloudPvminstancesConsolePutInternalServerError) Code() int
- func (o *PcloudPvminstancesConsolePutInternalServerError) Error() string
- func (o *PcloudPvminstancesConsolePutInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePutInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesConsolePutInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePutInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePutInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesConsolePutInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePutInternalServerError) String() string
- type PcloudPvminstancesConsolePutNotFound
- func (o *PcloudPvminstancesConsolePutNotFound) Code() int
- func (o *PcloudPvminstancesConsolePutNotFound) Error() string
- func (o *PcloudPvminstancesConsolePutNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePutNotFound) IsClientError() bool
- func (o *PcloudPvminstancesConsolePutNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePutNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePutNotFound) IsServerError() bool
- func (o *PcloudPvminstancesConsolePutNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePutNotFound) String() string
- type PcloudPvminstancesConsolePutOK
- func (o *PcloudPvminstancesConsolePutOK) Code() int
- func (o *PcloudPvminstancesConsolePutOK) Error() string
- func (o *PcloudPvminstancesConsolePutOK) GetPayload() *models.ConsoleLanguage
- func (o *PcloudPvminstancesConsolePutOK) IsClientError() bool
- func (o *PcloudPvminstancesConsolePutOK) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePutOK) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePutOK) IsServerError() bool
- func (o *PcloudPvminstancesConsolePutOK) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePutOK) String() string
- type PcloudPvminstancesConsolePutParams
- func NewPcloudPvminstancesConsolePutParams() *PcloudPvminstancesConsolePutParams
- func NewPcloudPvminstancesConsolePutParamsWithContext(ctx context.Context) *PcloudPvminstancesConsolePutParams
- func NewPcloudPvminstancesConsolePutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePutParams
- func NewPcloudPvminstancesConsolePutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) SetBody(body *models.ConsoleLanguage)
- func (o *PcloudPvminstancesConsolePutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesConsolePutParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesConsolePutParams) SetDefaults()
- func (o *PcloudPvminstancesConsolePutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesConsolePutParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesConsolePutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesConsolePutParams) WithBody(body *models.ConsoleLanguage) *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) WithContext(ctx context.Context) *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) WithDefaults() *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePutParams
- func (o *PcloudPvminstancesConsolePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesConsolePutReader
- type PcloudPvminstancesConsolePutUnauthorized
- func (o *PcloudPvminstancesConsolePutUnauthorized) Code() int
- func (o *PcloudPvminstancesConsolePutUnauthorized) Error() string
- func (o *PcloudPvminstancesConsolePutUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesConsolePutUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesConsolePutUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesConsolePutUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesConsolePutUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesConsolePutUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesConsolePutUnauthorized) String() string
- type PcloudPvminstancesDeleteBadRequest
- func (o *PcloudPvminstancesDeleteBadRequest) Code() int
- func (o *PcloudPvminstancesDeleteBadRequest) Error() string
- func (o *PcloudPvminstancesDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesDeleteBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesDeleteBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesDeleteBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesDeleteBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesDeleteBadRequest) String() string
- type PcloudPvminstancesDeleteForbidden
- func (o *PcloudPvminstancesDeleteForbidden) Code() int
- func (o *PcloudPvminstancesDeleteForbidden) Error() string
- func (o *PcloudPvminstancesDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesDeleteForbidden) IsClientError() bool
- func (o *PcloudPvminstancesDeleteForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesDeleteForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesDeleteForbidden) IsServerError() bool
- func (o *PcloudPvminstancesDeleteForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesDeleteForbidden) String() string
- type PcloudPvminstancesDeleteGone
- func (o *PcloudPvminstancesDeleteGone) Code() int
- func (o *PcloudPvminstancesDeleteGone) Error() string
- func (o *PcloudPvminstancesDeleteGone) GetPayload() *models.Error
- func (o *PcloudPvminstancesDeleteGone) IsClientError() bool
- func (o *PcloudPvminstancesDeleteGone) IsCode(code int) bool
- func (o *PcloudPvminstancesDeleteGone) IsRedirect() bool
- func (o *PcloudPvminstancesDeleteGone) IsServerError() bool
- func (o *PcloudPvminstancesDeleteGone) IsSuccess() bool
- func (o *PcloudPvminstancesDeleteGone) String() string
- type PcloudPvminstancesDeleteInternalServerError
- func (o *PcloudPvminstancesDeleteInternalServerError) Code() int
- func (o *PcloudPvminstancesDeleteInternalServerError) Error() string
- func (o *PcloudPvminstancesDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesDeleteInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesDeleteInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesDeleteInternalServerError) String() string
- type PcloudPvminstancesDeleteNotFound
- func (o *PcloudPvminstancesDeleteNotFound) Code() int
- func (o *PcloudPvminstancesDeleteNotFound) Error() string
- func (o *PcloudPvminstancesDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesDeleteNotFound) IsClientError() bool
- func (o *PcloudPvminstancesDeleteNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesDeleteNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesDeleteNotFound) IsServerError() bool
- func (o *PcloudPvminstancesDeleteNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesDeleteNotFound) String() string
- type PcloudPvminstancesDeleteOK
- func (o *PcloudPvminstancesDeleteOK) Code() int
- func (o *PcloudPvminstancesDeleteOK) Error() string
- func (o *PcloudPvminstancesDeleteOK) GetPayload() models.Object
- func (o *PcloudPvminstancesDeleteOK) IsClientError() bool
- func (o *PcloudPvminstancesDeleteOK) IsCode(code int) bool
- func (o *PcloudPvminstancesDeleteOK) IsRedirect() bool
- func (o *PcloudPvminstancesDeleteOK) IsServerError() bool
- func (o *PcloudPvminstancesDeleteOK) IsSuccess() bool
- func (o *PcloudPvminstancesDeleteOK) String() string
- type PcloudPvminstancesDeleteParams
- func NewPcloudPvminstancesDeleteParams() *PcloudPvminstancesDeleteParams
- func NewPcloudPvminstancesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesDeleteParams
- func NewPcloudPvminstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesDeleteParams
- func NewPcloudPvminstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) SetBody(body *models.PVMInstanceDelete)
- func (o *PcloudPvminstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesDeleteParams) SetDefaults()
- func (o *PcloudPvminstancesDeleteParams) SetDeleteDataVolumes(deleteDataVolumes *bool)
- func (o *PcloudPvminstancesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesDeleteParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesDeleteParams) WithBody(body *models.PVMInstanceDelete) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WithDefaults() *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WithDeleteDataVolumes(deleteDataVolumes *bool) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesDeleteParams
- func (o *PcloudPvminstancesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesDeleteReader
- type PcloudPvminstancesDeleteUnauthorized
- func (o *PcloudPvminstancesDeleteUnauthorized) Code() int
- func (o *PcloudPvminstancesDeleteUnauthorized) Error() string
- func (o *PcloudPvminstancesDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesDeleteUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesDeleteUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesDeleteUnauthorized) String() string
- type PcloudPvminstancesGetBadRequest
- func (o *PcloudPvminstancesGetBadRequest) Code() int
- func (o *PcloudPvminstancesGetBadRequest) Error() string
- func (o *PcloudPvminstancesGetBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesGetBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesGetBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesGetBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesGetBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesGetBadRequest) String() string
- type PcloudPvminstancesGetForbidden
- func (o *PcloudPvminstancesGetForbidden) Code() int
- func (o *PcloudPvminstancesGetForbidden) Error() string
- func (o *PcloudPvminstancesGetForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetForbidden) IsClientError() bool
- func (o *PcloudPvminstancesGetForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesGetForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesGetForbidden) IsServerError() bool
- func (o *PcloudPvminstancesGetForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesGetForbidden) String() string
- type PcloudPvminstancesGetInternalServerError
- func (o *PcloudPvminstancesGetInternalServerError) Code() int
- func (o *PcloudPvminstancesGetInternalServerError) Error() string
- func (o *PcloudPvminstancesGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesGetInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesGetInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesGetInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesGetInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesGetInternalServerError) String() string
- type PcloudPvminstancesGetNotFound
- func (o *PcloudPvminstancesGetNotFound) Code() int
- func (o *PcloudPvminstancesGetNotFound) Error() string
- func (o *PcloudPvminstancesGetNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetNotFound) IsClientError() bool
- func (o *PcloudPvminstancesGetNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesGetNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesGetNotFound) IsServerError() bool
- func (o *PcloudPvminstancesGetNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesGetNotFound) String() string
- type PcloudPvminstancesGetOK
- func (o *PcloudPvminstancesGetOK) Code() int
- func (o *PcloudPvminstancesGetOK) Error() string
- func (o *PcloudPvminstancesGetOK) GetPayload() *models.PVMInstance
- func (o *PcloudPvminstancesGetOK) IsClientError() bool
- func (o *PcloudPvminstancesGetOK) IsCode(code int) bool
- func (o *PcloudPvminstancesGetOK) IsRedirect() bool
- func (o *PcloudPvminstancesGetOK) IsServerError() bool
- func (o *PcloudPvminstancesGetOK) IsSuccess() bool
- func (o *PcloudPvminstancesGetOK) String() string
- type PcloudPvminstancesGetParams
- func NewPcloudPvminstancesGetParams() *PcloudPvminstancesGetParams
- func NewPcloudPvminstancesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesGetParams
- func NewPcloudPvminstancesGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetParams
- func NewPcloudPvminstancesGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetParams
- func (o *PcloudPvminstancesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesGetParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesGetParams) SetDefaults()
- func (o *PcloudPvminstancesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesGetParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesGetParams
- func (o *PcloudPvminstancesGetParams) WithContext(ctx context.Context) *PcloudPvminstancesGetParams
- func (o *PcloudPvminstancesGetParams) WithDefaults() *PcloudPvminstancesGetParams
- func (o *PcloudPvminstancesGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesGetParams
- func (o *PcloudPvminstancesGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesGetParams
- func (o *PcloudPvminstancesGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesGetParams
- func (o *PcloudPvminstancesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesGetReader
- type PcloudPvminstancesGetUnauthorized
- func (o *PcloudPvminstancesGetUnauthorized) Code() int
- func (o *PcloudPvminstancesGetUnauthorized) Error() string
- func (o *PcloudPvminstancesGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesGetUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesGetUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesGetUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesGetUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesGetUnauthorized) String() string
- type PcloudPvminstancesGetallBadRequest
- func (o *PcloudPvminstancesGetallBadRequest) Code() int
- func (o *PcloudPvminstancesGetallBadRequest) Error() string
- func (o *PcloudPvminstancesGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetallBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesGetallBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesGetallBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesGetallBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesGetallBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesGetallBadRequest) String() string
- type PcloudPvminstancesGetallForbidden
- func (o *PcloudPvminstancesGetallForbidden) Code() int
- func (o *PcloudPvminstancesGetallForbidden) Error() string
- func (o *PcloudPvminstancesGetallForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetallForbidden) IsClientError() bool
- func (o *PcloudPvminstancesGetallForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesGetallForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesGetallForbidden) IsServerError() bool
- func (o *PcloudPvminstancesGetallForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesGetallForbidden) String() string
- type PcloudPvminstancesGetallInternalServerError
- func (o *PcloudPvminstancesGetallInternalServerError) Code() int
- func (o *PcloudPvminstancesGetallInternalServerError) Error() string
- func (o *PcloudPvminstancesGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetallInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesGetallInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesGetallInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesGetallInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesGetallInternalServerError) String() string
- type PcloudPvminstancesGetallNotFound
- func (o *PcloudPvminstancesGetallNotFound) Code() int
- func (o *PcloudPvminstancesGetallNotFound) Error() string
- func (o *PcloudPvminstancesGetallNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetallNotFound) IsClientError() bool
- func (o *PcloudPvminstancesGetallNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesGetallNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesGetallNotFound) IsServerError() bool
- func (o *PcloudPvminstancesGetallNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesGetallNotFound) String() string
- type PcloudPvminstancesGetallOK
- func (o *PcloudPvminstancesGetallOK) Code() int
- func (o *PcloudPvminstancesGetallOK) Error() string
- func (o *PcloudPvminstancesGetallOK) GetPayload() *models.PVMInstances
- func (o *PcloudPvminstancesGetallOK) IsClientError() bool
- func (o *PcloudPvminstancesGetallOK) IsCode(code int) bool
- func (o *PcloudPvminstancesGetallOK) IsRedirect() bool
- func (o *PcloudPvminstancesGetallOK) IsServerError() bool
- func (o *PcloudPvminstancesGetallOK) IsSuccess() bool
- func (o *PcloudPvminstancesGetallOK) String() string
- type PcloudPvminstancesGetallParams
- func NewPcloudPvminstancesGetallParams() *PcloudPvminstancesGetallParams
- func NewPcloudPvminstancesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesGetallParams
- func NewPcloudPvminstancesGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetallParams
- func NewPcloudPvminstancesGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetallParams
- func (o *PcloudPvminstancesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesGetallParams) SetDefaults()
- func (o *PcloudPvminstancesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesGetallParams
- func (o *PcloudPvminstancesGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesGetallParams
- func (o *PcloudPvminstancesGetallParams) WithDefaults() *PcloudPvminstancesGetallParams
- func (o *PcloudPvminstancesGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesGetallParams
- func (o *PcloudPvminstancesGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesGetallParams
- func (o *PcloudPvminstancesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesGetallReader
- type PcloudPvminstancesGetallRequestTimeout
- func (o *PcloudPvminstancesGetallRequestTimeout) Code() int
- func (o *PcloudPvminstancesGetallRequestTimeout) Error() string
- func (o *PcloudPvminstancesGetallRequestTimeout) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetallRequestTimeout) IsClientError() bool
- func (o *PcloudPvminstancesGetallRequestTimeout) IsCode(code int) bool
- func (o *PcloudPvminstancesGetallRequestTimeout) IsRedirect() bool
- func (o *PcloudPvminstancesGetallRequestTimeout) IsServerError() bool
- func (o *PcloudPvminstancesGetallRequestTimeout) IsSuccess() bool
- func (o *PcloudPvminstancesGetallRequestTimeout) String() string
- type PcloudPvminstancesGetallUnauthorized
- func (o *PcloudPvminstancesGetallUnauthorized) Code() int
- func (o *PcloudPvminstancesGetallUnauthorized) Error() string
- func (o *PcloudPvminstancesGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesGetallUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesGetallUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesGetallUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesGetallUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesGetallUnauthorized) String() string
- type PcloudPvminstancesNetworksDeleteBadRequest
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) Code() int
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) Error() string
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksDeleteBadRequest) String() string
- type PcloudPvminstancesNetworksDeleteForbidden
- func (o *PcloudPvminstancesNetworksDeleteForbidden) Code() int
- func (o *PcloudPvminstancesNetworksDeleteForbidden) Error() string
- func (o *PcloudPvminstancesNetworksDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksDeleteForbidden) IsClientError() bool
- func (o *PcloudPvminstancesNetworksDeleteForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksDeleteForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksDeleteForbidden) IsServerError() bool
- func (o *PcloudPvminstancesNetworksDeleteForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksDeleteForbidden) String() string
- type PcloudPvminstancesNetworksDeleteGone
- func (o *PcloudPvminstancesNetworksDeleteGone) Code() int
- func (o *PcloudPvminstancesNetworksDeleteGone) Error() string
- func (o *PcloudPvminstancesNetworksDeleteGone) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksDeleteGone) IsClientError() bool
- func (o *PcloudPvminstancesNetworksDeleteGone) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksDeleteGone) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksDeleteGone) IsServerError() bool
- func (o *PcloudPvminstancesNetworksDeleteGone) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksDeleteGone) String() string
- type PcloudPvminstancesNetworksDeleteInternalServerError
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) Code() int
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) Error() string
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksDeleteInternalServerError) String() string
- type PcloudPvminstancesNetworksDeleteNotFound
- func (o *PcloudPvminstancesNetworksDeleteNotFound) Code() int
- func (o *PcloudPvminstancesNetworksDeleteNotFound) Error() string
- func (o *PcloudPvminstancesNetworksDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksDeleteNotFound) IsClientError() bool
- func (o *PcloudPvminstancesNetworksDeleteNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksDeleteNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksDeleteNotFound) IsServerError() bool
- func (o *PcloudPvminstancesNetworksDeleteNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksDeleteNotFound) String() string
- type PcloudPvminstancesNetworksDeleteOK
- func (o *PcloudPvminstancesNetworksDeleteOK) Code() int
- func (o *PcloudPvminstancesNetworksDeleteOK) Error() string
- func (o *PcloudPvminstancesNetworksDeleteOK) GetPayload() models.Object
- func (o *PcloudPvminstancesNetworksDeleteOK) IsClientError() bool
- func (o *PcloudPvminstancesNetworksDeleteOK) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksDeleteOK) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksDeleteOK) IsServerError() bool
- func (o *PcloudPvminstancesNetworksDeleteOK) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksDeleteOK) String() string
- type PcloudPvminstancesNetworksDeleteParams
- func NewPcloudPvminstancesNetworksDeleteParams() *PcloudPvminstancesNetworksDeleteParams
- func NewPcloudPvminstancesNetworksDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksDeleteParams
- func NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksDeleteParams
- func NewPcloudPvminstancesNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) SetBody(body *models.PVMInstanceRemoveNetwork)
- func (o *PcloudPvminstancesNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesNetworksDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesNetworksDeleteParams) SetDefaults()
- func (o *PcloudPvminstancesNetworksDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesNetworksDeleteParams) SetNetworkID(networkID string)
- func (o *PcloudPvminstancesNetworksDeleteParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesNetworksDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesNetworksDeleteParams) WithBody(body *models.PVMInstanceRemoveNetwork) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WithDefaults() *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WithNetworkID(networkID string) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksDeleteParams
- func (o *PcloudPvminstancesNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesNetworksDeleteReader
- type PcloudPvminstancesNetworksDeleteUnauthorized
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) Code() int
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) Error() string
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksDeleteUnauthorized) String() string
- type PcloudPvminstancesNetworksGetBadRequest
- func (o *PcloudPvminstancesNetworksGetBadRequest) Code() int
- func (o *PcloudPvminstancesNetworksGetBadRequest) Error() string
- func (o *PcloudPvminstancesNetworksGetBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetBadRequest) String() string
- type PcloudPvminstancesNetworksGetForbidden
- func (o *PcloudPvminstancesNetworksGetForbidden) Code() int
- func (o *PcloudPvminstancesNetworksGetForbidden) Error() string
- func (o *PcloudPvminstancesNetworksGetForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetForbidden) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetForbidden) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetForbidden) String() string
- type PcloudPvminstancesNetworksGetInternalServerError
- func (o *PcloudPvminstancesNetworksGetInternalServerError) Code() int
- func (o *PcloudPvminstancesNetworksGetInternalServerError) Error() string
- func (o *PcloudPvminstancesNetworksGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetInternalServerError) String() string
- type PcloudPvminstancesNetworksGetNotFound
- func (o *PcloudPvminstancesNetworksGetNotFound) Code() int
- func (o *PcloudPvminstancesNetworksGetNotFound) Error() string
- func (o *PcloudPvminstancesNetworksGetNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetNotFound) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetNotFound) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetNotFound) String() string
- type PcloudPvminstancesNetworksGetOK
- func (o *PcloudPvminstancesNetworksGetOK) Code() int
- func (o *PcloudPvminstancesNetworksGetOK) Error() string
- func (o *PcloudPvminstancesNetworksGetOK) GetPayload() *models.PVMInstanceNetworks
- func (o *PcloudPvminstancesNetworksGetOK) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetOK) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetOK) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetOK) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetOK) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetOK) String() string
- type PcloudPvminstancesNetworksGetParams
- func NewPcloudPvminstancesNetworksGetParams() *PcloudPvminstancesNetworksGetParams
- func NewPcloudPvminstancesNetworksGetParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetParams
- func NewPcloudPvminstancesNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetParams
- func NewPcloudPvminstancesNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesNetworksGetParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesNetworksGetParams) SetDefaults()
- func (o *PcloudPvminstancesNetworksGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesNetworksGetParams) SetNetworkID(networkID string)
- func (o *PcloudPvminstancesNetworksGetParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesNetworksGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) WithDefaults() *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) WithNetworkID(networkID string) *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetParams
- func (o *PcloudPvminstancesNetworksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesNetworksGetReader
- type PcloudPvminstancesNetworksGetUnauthorized
- func (o *PcloudPvminstancesNetworksGetUnauthorized) Code() int
- func (o *PcloudPvminstancesNetworksGetUnauthorized) Error() string
- func (o *PcloudPvminstancesNetworksGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetUnauthorized) String() string
- type PcloudPvminstancesNetworksGetallBadRequest
- func (o *PcloudPvminstancesNetworksGetallBadRequest) Code() int
- func (o *PcloudPvminstancesNetworksGetallBadRequest) Error() string
- func (o *PcloudPvminstancesNetworksGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetallBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetallBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetallBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetallBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetallBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetallBadRequest) String() string
- type PcloudPvminstancesNetworksGetallForbidden
- func (o *PcloudPvminstancesNetworksGetallForbidden) Code() int
- func (o *PcloudPvminstancesNetworksGetallForbidden) Error() string
- func (o *PcloudPvminstancesNetworksGetallForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetallForbidden) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetallForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetallForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetallForbidden) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetallForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetallForbidden) String() string
- type PcloudPvminstancesNetworksGetallInternalServerError
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) Code() int
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) Error() string
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetallInternalServerError) String() string
- type PcloudPvminstancesNetworksGetallNotFound
- func (o *PcloudPvminstancesNetworksGetallNotFound) Code() int
- func (o *PcloudPvminstancesNetworksGetallNotFound) Error() string
- func (o *PcloudPvminstancesNetworksGetallNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetallNotFound) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetallNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetallNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetallNotFound) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetallNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetallNotFound) String() string
- type PcloudPvminstancesNetworksGetallOK
- func (o *PcloudPvminstancesNetworksGetallOK) Code() int
- func (o *PcloudPvminstancesNetworksGetallOK) Error() string
- func (o *PcloudPvminstancesNetworksGetallOK) GetPayload() *models.PVMInstanceNetworks
- func (o *PcloudPvminstancesNetworksGetallOK) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetallOK) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetallOK) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetallOK) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetallOK) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetallOK) String() string
- type PcloudPvminstancesNetworksGetallParams
- func NewPcloudPvminstancesNetworksGetallParams() *PcloudPvminstancesNetworksGetallParams
- func NewPcloudPvminstancesNetworksGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetallParams
- func NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetallParams
- func NewPcloudPvminstancesNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetallParams
- func (o *PcloudPvminstancesNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesNetworksGetallParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesNetworksGetallParams) SetDefaults()
- func (o *PcloudPvminstancesNetworksGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesNetworksGetallParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesNetworksGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesNetworksGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksGetallParams
- func (o *PcloudPvminstancesNetworksGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksGetallParams
- func (o *PcloudPvminstancesNetworksGetallParams) WithDefaults() *PcloudPvminstancesNetworksGetallParams
- func (o *PcloudPvminstancesNetworksGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetallParams
- func (o *PcloudPvminstancesNetworksGetallParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksGetallParams
- func (o *PcloudPvminstancesNetworksGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetallParams
- func (o *PcloudPvminstancesNetworksGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesNetworksGetallReader
- type PcloudPvminstancesNetworksGetallUnauthorized
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) Code() int
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) Error() string
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksGetallUnauthorized) String() string
- type PcloudPvminstancesNetworksPostBadRequest
- func (o *PcloudPvminstancesNetworksPostBadRequest) Code() int
- func (o *PcloudPvminstancesNetworksPostBadRequest) Error() string
- func (o *PcloudPvminstancesNetworksPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksPostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostBadRequest) String() string
- type PcloudPvminstancesNetworksPostConflict
- func (o *PcloudPvminstancesNetworksPostConflict) Code() int
- func (o *PcloudPvminstancesNetworksPostConflict) Error() string
- func (o *PcloudPvminstancesNetworksPostConflict) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksPostConflict) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostConflict) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostConflict) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostConflict) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostConflict) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostConflict) String() string
- type PcloudPvminstancesNetworksPostCreated
- func (o *PcloudPvminstancesNetworksPostCreated) Code() int
- func (o *PcloudPvminstancesNetworksPostCreated) Error() string
- func (o *PcloudPvminstancesNetworksPostCreated) GetPayload() *models.PVMInstanceNetwork
- func (o *PcloudPvminstancesNetworksPostCreated) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostCreated) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostCreated) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostCreated) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostCreated) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostCreated) String() string
- type PcloudPvminstancesNetworksPostForbidden
- func (o *PcloudPvminstancesNetworksPostForbidden) Code() int
- func (o *PcloudPvminstancesNetworksPostForbidden) Error() string
- func (o *PcloudPvminstancesNetworksPostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksPostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostForbidden) String() string
- type PcloudPvminstancesNetworksPostInternalServerError
- func (o *PcloudPvminstancesNetworksPostInternalServerError) Code() int
- func (o *PcloudPvminstancesNetworksPostInternalServerError) Error() string
- func (o *PcloudPvminstancesNetworksPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksPostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostInternalServerError) String() string
- type PcloudPvminstancesNetworksPostNotFound
- func (o *PcloudPvminstancesNetworksPostNotFound) Code() int
- func (o *PcloudPvminstancesNetworksPostNotFound) Error() string
- func (o *PcloudPvminstancesNetworksPostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksPostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostNotFound) String() string
- type PcloudPvminstancesNetworksPostParams
- func NewPcloudPvminstancesNetworksPostParams() *PcloudPvminstancesNetworksPostParams
- func NewPcloudPvminstancesNetworksPostParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksPostParams
- func NewPcloudPvminstancesNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksPostParams
- func NewPcloudPvminstancesNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) SetBody(body *models.PVMInstanceAddNetwork)
- func (o *PcloudPvminstancesNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesNetworksPostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesNetworksPostParams) SetDefaults()
- func (o *PcloudPvminstancesNetworksPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesNetworksPostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesNetworksPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesNetworksPostParams) WithBody(body *models.PVMInstanceAddNetwork) *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) WithDefaults() *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksPostParams
- func (o *PcloudPvminstancesNetworksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesNetworksPostReader
- type PcloudPvminstancesNetworksPostUnauthorized
- func (o *PcloudPvminstancesNetworksPostUnauthorized) Code() int
- func (o *PcloudPvminstancesNetworksPostUnauthorized) Error() string
- func (o *PcloudPvminstancesNetworksPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksPostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostUnauthorized) String() string
- type PcloudPvminstancesNetworksPostUnprocessableEntity
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) String() string
- type PcloudPvminstancesOperationsPostBadRequest
- func (o *PcloudPvminstancesOperationsPostBadRequest) Code() int
- func (o *PcloudPvminstancesOperationsPostBadRequest) Error() string
- func (o *PcloudPvminstancesOperationsPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesOperationsPostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesOperationsPostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesOperationsPostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesOperationsPostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesOperationsPostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesOperationsPostBadRequest) String() string
- type PcloudPvminstancesOperationsPostForbidden
- func (o *PcloudPvminstancesOperationsPostForbidden) Code() int
- func (o *PcloudPvminstancesOperationsPostForbidden) Error() string
- func (o *PcloudPvminstancesOperationsPostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesOperationsPostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesOperationsPostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesOperationsPostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesOperationsPostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesOperationsPostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesOperationsPostForbidden) String() string
- type PcloudPvminstancesOperationsPostInternalServerError
- func (o *PcloudPvminstancesOperationsPostInternalServerError) Code() int
- func (o *PcloudPvminstancesOperationsPostInternalServerError) Error() string
- func (o *PcloudPvminstancesOperationsPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesOperationsPostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesOperationsPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesOperationsPostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesOperationsPostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesOperationsPostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesOperationsPostInternalServerError) String() string
- type PcloudPvminstancesOperationsPostNotFound
- func (o *PcloudPvminstancesOperationsPostNotFound) Code() int
- func (o *PcloudPvminstancesOperationsPostNotFound) Error() string
- func (o *PcloudPvminstancesOperationsPostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesOperationsPostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesOperationsPostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesOperationsPostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesOperationsPostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesOperationsPostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesOperationsPostNotFound) String() string
- type PcloudPvminstancesOperationsPostOK
- func (o *PcloudPvminstancesOperationsPostOK) Code() int
- func (o *PcloudPvminstancesOperationsPostOK) Error() string
- func (o *PcloudPvminstancesOperationsPostOK) GetPayload() models.Object
- func (o *PcloudPvminstancesOperationsPostOK) IsClientError() bool
- func (o *PcloudPvminstancesOperationsPostOK) IsCode(code int) bool
- func (o *PcloudPvminstancesOperationsPostOK) IsRedirect() bool
- func (o *PcloudPvminstancesOperationsPostOK) IsServerError() bool
- func (o *PcloudPvminstancesOperationsPostOK) IsSuccess() bool
- func (o *PcloudPvminstancesOperationsPostOK) String() string
- type PcloudPvminstancesOperationsPostParams
- func NewPcloudPvminstancesOperationsPostParams() *PcloudPvminstancesOperationsPostParams
- func NewPcloudPvminstancesOperationsPostParamsWithContext(ctx context.Context) *PcloudPvminstancesOperationsPostParams
- func NewPcloudPvminstancesOperationsPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesOperationsPostParams
- func NewPcloudPvminstancesOperationsPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) SetBody(body *models.PVMInstanceOperation)
- func (o *PcloudPvminstancesOperationsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesOperationsPostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesOperationsPostParams) SetDefaults()
- func (o *PcloudPvminstancesOperationsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesOperationsPostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesOperationsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesOperationsPostParams) WithBody(body *models.PVMInstanceOperation) *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) WithContext(ctx context.Context) *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) WithDefaults() *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesOperationsPostParams
- func (o *PcloudPvminstancesOperationsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesOperationsPostReader
- type PcloudPvminstancesOperationsPostUnauthorized
- func (o *PcloudPvminstancesOperationsPostUnauthorized) Code() int
- func (o *PcloudPvminstancesOperationsPostUnauthorized) Error() string
- func (o *PcloudPvminstancesOperationsPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesOperationsPostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesOperationsPostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesOperationsPostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesOperationsPostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesOperationsPostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesOperationsPostUnauthorized) String() string
- type PcloudPvminstancesOperationsPostUnprocessableEntity
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) String() string
- type PcloudPvminstancesPostAccepted
- func (o *PcloudPvminstancesPostAccepted) Code() int
- func (o *PcloudPvminstancesPostAccepted) Error() string
- func (o *PcloudPvminstancesPostAccepted) GetPayload() models.PVMInstanceList
- func (o *PcloudPvminstancesPostAccepted) IsClientError() bool
- func (o *PcloudPvminstancesPostAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesPostAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesPostAccepted) IsServerError() bool
- func (o *PcloudPvminstancesPostAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesPostAccepted) String() string
- type PcloudPvminstancesPostBadRequest
- func (o *PcloudPvminstancesPostBadRequest) Code() int
- func (o *PcloudPvminstancesPostBadRequest) Error() string
- func (o *PcloudPvminstancesPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesPostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesPostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesPostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesPostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesPostBadRequest) String() string
- type PcloudPvminstancesPostConflict
- func (o *PcloudPvminstancesPostConflict) Code() int
- func (o *PcloudPvminstancesPostConflict) Error() string
- func (o *PcloudPvminstancesPostConflict) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostConflict) IsClientError() bool
- func (o *PcloudPvminstancesPostConflict) IsCode(code int) bool
- func (o *PcloudPvminstancesPostConflict) IsRedirect() bool
- func (o *PcloudPvminstancesPostConflict) IsServerError() bool
- func (o *PcloudPvminstancesPostConflict) IsSuccess() bool
- func (o *PcloudPvminstancesPostConflict) String() string
- type PcloudPvminstancesPostCreated
- func (o *PcloudPvminstancesPostCreated) Code() int
- func (o *PcloudPvminstancesPostCreated) Error() string
- func (o *PcloudPvminstancesPostCreated) GetPayload() models.PVMInstanceList
- func (o *PcloudPvminstancesPostCreated) IsClientError() bool
- func (o *PcloudPvminstancesPostCreated) IsCode(code int) bool
- func (o *PcloudPvminstancesPostCreated) IsRedirect() bool
- func (o *PcloudPvminstancesPostCreated) IsServerError() bool
- func (o *PcloudPvminstancesPostCreated) IsSuccess() bool
- func (o *PcloudPvminstancesPostCreated) String() string
- type PcloudPvminstancesPostForbidden
- func (o *PcloudPvminstancesPostForbidden) Code() int
- func (o *PcloudPvminstancesPostForbidden) Error() string
- func (o *PcloudPvminstancesPostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesPostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesPostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesPostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesPostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesPostForbidden) String() string
- type PcloudPvminstancesPostGatewayTimeout
- func (o *PcloudPvminstancesPostGatewayTimeout) Code() int
- func (o *PcloudPvminstancesPostGatewayTimeout) Error() string
- func (o *PcloudPvminstancesPostGatewayTimeout) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostGatewayTimeout) IsClientError() bool
- func (o *PcloudPvminstancesPostGatewayTimeout) IsCode(code int) bool
- func (o *PcloudPvminstancesPostGatewayTimeout) IsRedirect() bool
- func (o *PcloudPvminstancesPostGatewayTimeout) IsServerError() bool
- func (o *PcloudPvminstancesPostGatewayTimeout) IsSuccess() bool
- func (o *PcloudPvminstancesPostGatewayTimeout) String() string
- type PcloudPvminstancesPostInternalServerError
- func (o *PcloudPvminstancesPostInternalServerError) Code() int
- func (o *PcloudPvminstancesPostInternalServerError) Error() string
- func (o *PcloudPvminstancesPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesPostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesPostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesPostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesPostInternalServerError) String() string
- type PcloudPvminstancesPostNotFound
- func (o *PcloudPvminstancesPostNotFound) Code() int
- func (o *PcloudPvminstancesPostNotFound) Error() string
- func (o *PcloudPvminstancesPostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesPostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesPostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesPostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesPostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesPostNotFound) String() string
- type PcloudPvminstancesPostOK
- func (o *PcloudPvminstancesPostOK) Code() int
- func (o *PcloudPvminstancesPostOK) Error() string
- func (o *PcloudPvminstancesPostOK) GetPayload() models.PVMInstanceList
- func (o *PcloudPvminstancesPostOK) IsClientError() bool
- func (o *PcloudPvminstancesPostOK) IsCode(code int) bool
- func (o *PcloudPvminstancesPostOK) IsRedirect() bool
- func (o *PcloudPvminstancesPostOK) IsServerError() bool
- func (o *PcloudPvminstancesPostOK) IsSuccess() bool
- func (o *PcloudPvminstancesPostOK) String() string
- type PcloudPvminstancesPostParams
- func NewPcloudPvminstancesPostParams() *PcloudPvminstancesPostParams
- func NewPcloudPvminstancesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesPostParams
- func NewPcloudPvminstancesPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPostParams
- func NewPcloudPvminstancesPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) SetBody(body *models.PVMInstanceCreate)
- func (o *PcloudPvminstancesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesPostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesPostParams) SetDefaults()
- func (o *PcloudPvminstancesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesPostParams) SetSkipHostValidation(skipHostValidation *bool)
- func (o *PcloudPvminstancesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesPostParams) WithBody(body *models.PVMInstanceCreate) *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) WithContext(ctx context.Context) *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) WithDefaults() *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) WithSkipHostValidation(skipHostValidation *bool) *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesPostParams
- func (o *PcloudPvminstancesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesPostReader
- type PcloudPvminstancesPostUnauthorized
- func (o *PcloudPvminstancesPostUnauthorized) Code() int
- func (o *PcloudPvminstancesPostUnauthorized) Error() string
- func (o *PcloudPvminstancesPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesPostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesPostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesPostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesPostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesPostUnauthorized) String() string
- type PcloudPvminstancesPostUnprocessableEntity
- func (o *PcloudPvminstancesPostUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesPostUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesPostUnprocessableEntity) String() string
- type PcloudPvminstancesPutAccepted
- func (o *PcloudPvminstancesPutAccepted) Code() int
- func (o *PcloudPvminstancesPutAccepted) Error() string
- func (o *PcloudPvminstancesPutAccepted) GetPayload() *models.PVMInstanceUpdateResponse
- func (o *PcloudPvminstancesPutAccepted) IsClientError() bool
- func (o *PcloudPvminstancesPutAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesPutAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesPutAccepted) IsServerError() bool
- func (o *PcloudPvminstancesPutAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesPutAccepted) String() string
- type PcloudPvminstancesPutBadRequest
- func (o *PcloudPvminstancesPutBadRequest) Code() int
- func (o *PcloudPvminstancesPutBadRequest) Error() string
- func (o *PcloudPvminstancesPutBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesPutBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesPutBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesPutBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesPutBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesPutBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesPutBadRequest) String() string
- type PcloudPvminstancesPutForbidden
- func (o *PcloudPvminstancesPutForbidden) Code() int
- func (o *PcloudPvminstancesPutForbidden) Error() string
- func (o *PcloudPvminstancesPutForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesPutForbidden) IsClientError() bool
- func (o *PcloudPvminstancesPutForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesPutForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesPutForbidden) IsServerError() bool
- func (o *PcloudPvminstancesPutForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesPutForbidden) String() string
- type PcloudPvminstancesPutInternalServerError
- func (o *PcloudPvminstancesPutInternalServerError) Code() int
- func (o *PcloudPvminstancesPutInternalServerError) Error() string
- func (o *PcloudPvminstancesPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesPutInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesPutInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesPutInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesPutInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesPutInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesPutInternalServerError) String() string
- type PcloudPvminstancesPutNotFound
- func (o *PcloudPvminstancesPutNotFound) Code() int
- func (o *PcloudPvminstancesPutNotFound) Error() string
- func (o *PcloudPvminstancesPutNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesPutNotFound) IsClientError() bool
- func (o *PcloudPvminstancesPutNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesPutNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesPutNotFound) IsServerError() bool
- func (o *PcloudPvminstancesPutNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesPutNotFound) String() string
- type PcloudPvminstancesPutParams
- func NewPcloudPvminstancesPutParams() *PcloudPvminstancesPutParams
- func NewPcloudPvminstancesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesPutParams
- func NewPcloudPvminstancesPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPutParams
- func NewPcloudPvminstancesPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) SetBody(body *models.PVMInstanceUpdate)
- func (o *PcloudPvminstancesPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesPutParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesPutParams) SetDefaults()
- func (o *PcloudPvminstancesPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesPutParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesPutParams) WithBody(body *models.PVMInstanceUpdate) *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) WithContext(ctx context.Context) *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) WithDefaults() *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesPutParams
- func (o *PcloudPvminstancesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesPutReader
- type PcloudPvminstancesPutUnauthorized
- func (o *PcloudPvminstancesPutUnauthorized) Code() int
- func (o *PcloudPvminstancesPutUnauthorized) Error() string
- func (o *PcloudPvminstancesPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesPutUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesPutUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesPutUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesPutUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesPutUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesPutUnauthorized) String() string
- type PcloudPvminstancesPutUnprocessableEntity
- func (o *PcloudPvminstancesPutUnprocessableEntity) Code() int
- func (o *PcloudPvminstancesPutUnprocessableEntity) Error() string
- func (o *PcloudPvminstancesPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudPvminstancesPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudPvminstancesPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudPvminstancesPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudPvminstancesPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudPvminstancesPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudPvminstancesPutUnprocessableEntity) String() string
- type PcloudPvminstancesSnapshotsGetallBadRequest
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) Code() int
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) Error() string
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsGetallBadRequest) String() string
- type PcloudPvminstancesSnapshotsGetallForbidden
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) Code() int
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) Error() string
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsGetallForbidden) String() string
- type PcloudPvminstancesSnapshotsGetallInternalServerError
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) Code() int
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) Error() string
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) String() string
- type PcloudPvminstancesSnapshotsGetallNotFound
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) Code() int
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) Error() string
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsGetallNotFound) String() string
- type PcloudPvminstancesSnapshotsGetallOK
- func (o *PcloudPvminstancesSnapshotsGetallOK) Code() int
- func (o *PcloudPvminstancesSnapshotsGetallOK) Error() string
- func (o *PcloudPvminstancesSnapshotsGetallOK) GetPayload() *models.Snapshots
- func (o *PcloudPvminstancesSnapshotsGetallOK) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsGetallOK) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsGetallOK) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsGetallOK) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsGetallOK) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsGetallOK) String() string
- type PcloudPvminstancesSnapshotsGetallParams
- func NewPcloudPvminstancesSnapshotsGetallParams() *PcloudPvminstancesSnapshotsGetallParams
- func NewPcloudPvminstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsGetallParams
- func NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsGetallParams
- func NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsGetallParams
- func (o *PcloudPvminstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesSnapshotsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesSnapshotsGetallParams) SetDefaults()
- func (o *PcloudPvminstancesSnapshotsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesSnapshotsGetallParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesSnapshotsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesSnapshotsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesSnapshotsGetallParams
- func (o *PcloudPvminstancesSnapshotsGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesSnapshotsGetallParams
- func (o *PcloudPvminstancesSnapshotsGetallParams) WithDefaults() *PcloudPvminstancesSnapshotsGetallParams
- func (o *PcloudPvminstancesSnapshotsGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsGetallParams
- func (o *PcloudPvminstancesSnapshotsGetallParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesSnapshotsGetallParams
- func (o *PcloudPvminstancesSnapshotsGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsGetallParams
- func (o *PcloudPvminstancesSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesSnapshotsGetallReader
- type PcloudPvminstancesSnapshotsGetallUnauthorized
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) Code() int
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) Error() string
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) String() string
- type PcloudPvminstancesSnapshotsPostAccepted
- func (o *PcloudPvminstancesSnapshotsPostAccepted) Code() int
- func (o *PcloudPvminstancesSnapshotsPostAccepted) Error() string
- func (o *PcloudPvminstancesSnapshotsPostAccepted) GetPayload() *models.SnapshotCreateResponse
- func (o *PcloudPvminstancesSnapshotsPostAccepted) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostAccepted) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostAccepted) String() string
- type PcloudPvminstancesSnapshotsPostBadRequest
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) Code() int
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) Error() string
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostBadRequest) String() string
- type PcloudPvminstancesSnapshotsPostConflict
- func (o *PcloudPvminstancesSnapshotsPostConflict) Code() int
- func (o *PcloudPvminstancesSnapshotsPostConflict) Error() string
- func (o *PcloudPvminstancesSnapshotsPostConflict) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsPostConflict) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostConflict) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostConflict) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostConflict) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostConflict) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostConflict) String() string
- type PcloudPvminstancesSnapshotsPostForbidden
- func (o *PcloudPvminstancesSnapshotsPostForbidden) Code() int
- func (o *PcloudPvminstancesSnapshotsPostForbidden) Error() string
- func (o *PcloudPvminstancesSnapshotsPostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsPostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostForbidden) String() string
- type PcloudPvminstancesSnapshotsPostGatewayTimeout
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) Code() int
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) Error() string
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) String() string
- type PcloudPvminstancesSnapshotsPostInternalServerError
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) Code() int
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) Error() string
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostInternalServerError) String() string
- type PcloudPvminstancesSnapshotsPostNotFound
- func (o *PcloudPvminstancesSnapshotsPostNotFound) Code() int
- func (o *PcloudPvminstancesSnapshotsPostNotFound) Error() string
- func (o *PcloudPvminstancesSnapshotsPostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsPostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostNotFound) String() string
- type PcloudPvminstancesSnapshotsPostParams
- func NewPcloudPvminstancesSnapshotsPostParams() *PcloudPvminstancesSnapshotsPostParams
- func NewPcloudPvminstancesSnapshotsPostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsPostParams
- func NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsPostParams
- func NewPcloudPvminstancesSnapshotsPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) SetBody(body *models.SnapshotCreate)
- func (o *PcloudPvminstancesSnapshotsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesSnapshotsPostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesSnapshotsPostParams) SetDefaults()
- func (o *PcloudPvminstancesSnapshotsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesSnapshotsPostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesSnapshotsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesSnapshotsPostParams) WithBody(body *models.SnapshotCreate) *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) WithContext(ctx context.Context) *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) WithDefaults() *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsPostParams
- func (o *PcloudPvminstancesSnapshotsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesSnapshotsPostReader
- type PcloudPvminstancesSnapshotsPostUnauthorized
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) Code() int
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) Error() string
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsPostUnauthorized) String() string
- type PcloudPvminstancesSnapshotsRestorePostAccepted
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) Code() int
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) Error() string
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) GetPayload() *models.Snapshot
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) String() string
- type PcloudPvminstancesSnapshotsRestorePostBadRequest
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) Code() int
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) Error() string
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) String() string
- type PcloudPvminstancesSnapshotsRestorePostConflict
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) Code() int
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) Error() string
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostConflict) String() string
- type PcloudPvminstancesSnapshotsRestorePostForbidden
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) Code() int
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) Error() string
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) String() string
- type PcloudPvminstancesSnapshotsRestorePostInternalServerError
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) Code() int
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) Error() string
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) String() string
- type PcloudPvminstancesSnapshotsRestorePostNotFound
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) Code() int
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) Error() string
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) String() string
- type PcloudPvminstancesSnapshotsRestorePostParams
- func NewPcloudPvminstancesSnapshotsRestorePostParams() *PcloudPvminstancesSnapshotsRestorePostParams
- func NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsRestorePostParams
- func NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsRestorePostParams
- func NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetBody(body *models.SnapshotRestore)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetDefaults()
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetRestoreFailAction(restoreFailAction *string)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetSnapshotID(snapshotID string)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithBody(body *models.SnapshotRestore) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithContext(ctx context.Context) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithDefaults() *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithRestoreFailAction(restoreFailAction *string) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithSnapshotID(snapshotID string) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsRestorePostParams
- func (o *PcloudPvminstancesSnapshotsRestorePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesSnapshotsRestorePostReader
- type PcloudPvminstancesSnapshotsRestorePostUnauthorized
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) Code() int
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) Error() string
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) GetPayload() *models.Error
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsClientError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsCode(code int) bool
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsRedirect() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsServerError() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsSuccess() bool
- func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) String() string
- type PcloudV2PvminstancesCaptureGetBadRequest
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) Code() int
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) Error() string
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsClientError() bool
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsRedirect() bool
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsServerError() bool
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsSuccess() bool
- func (o *PcloudV2PvminstancesCaptureGetBadRequest) String() string
- type PcloudV2PvminstancesCaptureGetForbidden
- func (o *PcloudV2PvminstancesCaptureGetForbidden) Code() int
- func (o *PcloudV2PvminstancesCaptureGetForbidden) Error() string
- func (o *PcloudV2PvminstancesCaptureGetForbidden) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCaptureGetForbidden) IsClientError() bool
- func (o *PcloudV2PvminstancesCaptureGetForbidden) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCaptureGetForbidden) IsRedirect() bool
- func (o *PcloudV2PvminstancesCaptureGetForbidden) IsServerError() bool
- func (o *PcloudV2PvminstancesCaptureGetForbidden) IsSuccess() bool
- func (o *PcloudV2PvminstancesCaptureGetForbidden) String() string
- type PcloudV2PvminstancesCaptureGetInternalServerError
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) Code() int
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) Error() string
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsClientError() bool
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsRedirect() bool
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsServerError() bool
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsSuccess() bool
- func (o *PcloudV2PvminstancesCaptureGetInternalServerError) String() string
- type PcloudV2PvminstancesCaptureGetNotFound
- func (o *PcloudV2PvminstancesCaptureGetNotFound) Code() int
- func (o *PcloudV2PvminstancesCaptureGetNotFound) Error() string
- func (o *PcloudV2PvminstancesCaptureGetNotFound) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCaptureGetNotFound) IsClientError() bool
- func (o *PcloudV2PvminstancesCaptureGetNotFound) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCaptureGetNotFound) IsRedirect() bool
- func (o *PcloudV2PvminstancesCaptureGetNotFound) IsServerError() bool
- func (o *PcloudV2PvminstancesCaptureGetNotFound) IsSuccess() bool
- func (o *PcloudV2PvminstancesCaptureGetNotFound) String() string
- type PcloudV2PvminstancesCaptureGetOK
- func (o *PcloudV2PvminstancesCaptureGetOK) Code() int
- func (o *PcloudV2PvminstancesCaptureGetOK) Error() string
- func (o *PcloudV2PvminstancesCaptureGetOK) GetPayload() *models.Job
- func (o *PcloudV2PvminstancesCaptureGetOK) IsClientError() bool
- func (o *PcloudV2PvminstancesCaptureGetOK) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCaptureGetOK) IsRedirect() bool
- func (o *PcloudV2PvminstancesCaptureGetOK) IsServerError() bool
- func (o *PcloudV2PvminstancesCaptureGetOK) IsSuccess() bool
- func (o *PcloudV2PvminstancesCaptureGetOK) String() string
- type PcloudV2PvminstancesCaptureGetParams
- func NewPcloudV2PvminstancesCaptureGetParams() *PcloudV2PvminstancesCaptureGetParams
- func NewPcloudV2PvminstancesCaptureGetParamsWithContext(ctx context.Context) *PcloudV2PvminstancesCaptureGetParams
- func NewPcloudV2PvminstancesCaptureGetParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesCaptureGetParams
- func NewPcloudV2PvminstancesCaptureGetParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesCaptureGetParams
- func (o *PcloudV2PvminstancesCaptureGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2PvminstancesCaptureGetParams) SetContext(ctx context.Context)
- func (o *PcloudV2PvminstancesCaptureGetParams) SetDefaults()
- func (o *PcloudV2PvminstancesCaptureGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2PvminstancesCaptureGetParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudV2PvminstancesCaptureGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2PvminstancesCaptureGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesCaptureGetParams
- func (o *PcloudV2PvminstancesCaptureGetParams) WithContext(ctx context.Context) *PcloudV2PvminstancesCaptureGetParams
- func (o *PcloudV2PvminstancesCaptureGetParams) WithDefaults() *PcloudV2PvminstancesCaptureGetParams
- func (o *PcloudV2PvminstancesCaptureGetParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesCaptureGetParams
- func (o *PcloudV2PvminstancesCaptureGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudV2PvminstancesCaptureGetParams
- func (o *PcloudV2PvminstancesCaptureGetParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesCaptureGetParams
- func (o *PcloudV2PvminstancesCaptureGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2PvminstancesCaptureGetReader
- type PcloudV2PvminstancesCaptureGetUnauthorized
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) Code() int
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) Error() string
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsClientError() bool
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsRedirect() bool
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsServerError() bool
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsSuccess() bool
- func (o *PcloudV2PvminstancesCaptureGetUnauthorized) String() string
- type PcloudV2PvminstancesCapturePostAccepted
- func (o *PcloudV2PvminstancesCapturePostAccepted) Code() int
- func (o *PcloudV2PvminstancesCapturePostAccepted) Error() string
- func (o *PcloudV2PvminstancesCapturePostAccepted) GetPayload() *models.JobReference
- func (o *PcloudV2PvminstancesCapturePostAccepted) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostAccepted) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostAccepted) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostAccepted) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostAccepted) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostAccepted) String() string
- type PcloudV2PvminstancesCapturePostBadRequest
- func (o *PcloudV2PvminstancesCapturePostBadRequest) Code() int
- func (o *PcloudV2PvminstancesCapturePostBadRequest) Error() string
- func (o *PcloudV2PvminstancesCapturePostBadRequest) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCapturePostBadRequest) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostBadRequest) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostBadRequest) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostBadRequest) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostBadRequest) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostBadRequest) String() string
- type PcloudV2PvminstancesCapturePostConflict
- func (o *PcloudV2PvminstancesCapturePostConflict) Code() int
- func (o *PcloudV2PvminstancesCapturePostConflict) Error() string
- func (o *PcloudV2PvminstancesCapturePostConflict) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCapturePostConflict) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostConflict) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostConflict) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostConflict) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostConflict) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostConflict) String() string
- type PcloudV2PvminstancesCapturePostForbidden
- func (o *PcloudV2PvminstancesCapturePostForbidden) Code() int
- func (o *PcloudV2PvminstancesCapturePostForbidden) Error() string
- func (o *PcloudV2PvminstancesCapturePostForbidden) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCapturePostForbidden) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostForbidden) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostForbidden) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostForbidden) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostForbidden) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostForbidden) String() string
- type PcloudV2PvminstancesCapturePostInternalServerError
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) Code() int
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) Error() string
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostInternalServerError) String() string
- type PcloudV2PvminstancesCapturePostNotFound
- func (o *PcloudV2PvminstancesCapturePostNotFound) Code() int
- func (o *PcloudV2PvminstancesCapturePostNotFound) Error() string
- func (o *PcloudV2PvminstancesCapturePostNotFound) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCapturePostNotFound) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostNotFound) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostNotFound) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostNotFound) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostNotFound) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostNotFound) String() string
- type PcloudV2PvminstancesCapturePostParams
- func NewPcloudV2PvminstancesCapturePostParams() *PcloudV2PvminstancesCapturePostParams
- func NewPcloudV2PvminstancesCapturePostParamsWithContext(ctx context.Context) *PcloudV2PvminstancesCapturePostParams
- func NewPcloudV2PvminstancesCapturePostParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesCapturePostParams
- func NewPcloudV2PvminstancesCapturePostParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) SetBody(body *models.PVMInstanceCapture)
- func (o *PcloudV2PvminstancesCapturePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2PvminstancesCapturePostParams) SetContext(ctx context.Context)
- func (o *PcloudV2PvminstancesCapturePostParams) SetDefaults()
- func (o *PcloudV2PvminstancesCapturePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2PvminstancesCapturePostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudV2PvminstancesCapturePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2PvminstancesCapturePostParams) WithBody(body *models.PVMInstanceCapture) *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) WithContext(ctx context.Context) *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) WithDefaults() *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesCapturePostParams
- func (o *PcloudV2PvminstancesCapturePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2PvminstancesCapturePostReader
- type PcloudV2PvminstancesCapturePostUnauthorized
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) Code() int
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) Error() string
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostUnauthorized) String() string
- type PcloudV2PvminstancesCapturePostUnprocessableEntity
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) Code() int
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) Error() string
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsClientError() bool
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsServerError() bool
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) String() string
- type PcloudV2PvminstancesGetallBadRequest
- func (o *PcloudV2PvminstancesGetallBadRequest) Code() int
- func (o *PcloudV2PvminstancesGetallBadRequest) Error() string
- func (o *PcloudV2PvminstancesGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesGetallBadRequest) IsClientError() bool
- func (o *PcloudV2PvminstancesGetallBadRequest) IsCode(code int) bool
- func (o *PcloudV2PvminstancesGetallBadRequest) IsRedirect() bool
- func (o *PcloudV2PvminstancesGetallBadRequest) IsServerError() bool
- func (o *PcloudV2PvminstancesGetallBadRequest) IsSuccess() bool
- func (o *PcloudV2PvminstancesGetallBadRequest) String() string
- type PcloudV2PvminstancesGetallForbidden
- func (o *PcloudV2PvminstancesGetallForbidden) Code() int
- func (o *PcloudV2PvminstancesGetallForbidden) Error() string
- func (o *PcloudV2PvminstancesGetallForbidden) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesGetallForbidden) IsClientError() bool
- func (o *PcloudV2PvminstancesGetallForbidden) IsCode(code int) bool
- func (o *PcloudV2PvminstancesGetallForbidden) IsRedirect() bool
- func (o *PcloudV2PvminstancesGetallForbidden) IsServerError() bool
- func (o *PcloudV2PvminstancesGetallForbidden) IsSuccess() bool
- func (o *PcloudV2PvminstancesGetallForbidden) String() string
- type PcloudV2PvminstancesGetallInternalServerError
- func (o *PcloudV2PvminstancesGetallInternalServerError) Code() int
- func (o *PcloudV2PvminstancesGetallInternalServerError) Error() string
- func (o *PcloudV2PvminstancesGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesGetallInternalServerError) IsClientError() bool
- func (o *PcloudV2PvminstancesGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudV2PvminstancesGetallInternalServerError) IsRedirect() bool
- func (o *PcloudV2PvminstancesGetallInternalServerError) IsServerError() bool
- func (o *PcloudV2PvminstancesGetallInternalServerError) IsSuccess() bool
- func (o *PcloudV2PvminstancesGetallInternalServerError) String() string
- type PcloudV2PvminstancesGetallNotFound
- func (o *PcloudV2PvminstancesGetallNotFound) Code() int
- func (o *PcloudV2PvminstancesGetallNotFound) Error() string
- func (o *PcloudV2PvminstancesGetallNotFound) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesGetallNotFound) IsClientError() bool
- func (o *PcloudV2PvminstancesGetallNotFound) IsCode(code int) bool
- func (o *PcloudV2PvminstancesGetallNotFound) IsRedirect() bool
- func (o *PcloudV2PvminstancesGetallNotFound) IsServerError() bool
- func (o *PcloudV2PvminstancesGetallNotFound) IsSuccess() bool
- func (o *PcloudV2PvminstancesGetallNotFound) String() string
- type PcloudV2PvminstancesGetallOK
- func (o *PcloudV2PvminstancesGetallOK) Code() int
- func (o *PcloudV2PvminstancesGetallOK) Error() string
- func (o *PcloudV2PvminstancesGetallOK) GetPayload() *models.PVMInstancesV2
- func (o *PcloudV2PvminstancesGetallOK) IsClientError() bool
- func (o *PcloudV2PvminstancesGetallOK) IsCode(code int) bool
- func (o *PcloudV2PvminstancesGetallOK) IsRedirect() bool
- func (o *PcloudV2PvminstancesGetallOK) IsServerError() bool
- func (o *PcloudV2PvminstancesGetallOK) IsSuccess() bool
- func (o *PcloudV2PvminstancesGetallOK) String() string
- type PcloudV2PvminstancesGetallParams
- func NewPcloudV2PvminstancesGetallParams() *PcloudV2PvminstancesGetallParams
- func NewPcloudV2PvminstancesGetallParamsWithContext(ctx context.Context) *PcloudV2PvminstancesGetallParams
- func NewPcloudV2PvminstancesGetallParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesGetallParams
- func NewPcloudV2PvminstancesGetallParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesGetallParams
- func (o *PcloudV2PvminstancesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2PvminstancesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudV2PvminstancesGetallParams) SetDefaults()
- func (o *PcloudV2PvminstancesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2PvminstancesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2PvminstancesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesGetallParams
- func (o *PcloudV2PvminstancesGetallParams) WithContext(ctx context.Context) *PcloudV2PvminstancesGetallParams
- func (o *PcloudV2PvminstancesGetallParams) WithDefaults() *PcloudV2PvminstancesGetallParams
- func (o *PcloudV2PvminstancesGetallParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesGetallParams
- func (o *PcloudV2PvminstancesGetallParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesGetallParams
- func (o *PcloudV2PvminstancesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2PvminstancesGetallReader
- type PcloudV2PvminstancesGetallRequestTimeout
- func (o *PcloudV2PvminstancesGetallRequestTimeout) Code() int
- func (o *PcloudV2PvminstancesGetallRequestTimeout) Error() string
- func (o *PcloudV2PvminstancesGetallRequestTimeout) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesGetallRequestTimeout) IsClientError() bool
- func (o *PcloudV2PvminstancesGetallRequestTimeout) IsCode(code int) bool
- func (o *PcloudV2PvminstancesGetallRequestTimeout) IsRedirect() bool
- func (o *PcloudV2PvminstancesGetallRequestTimeout) IsServerError() bool
- func (o *PcloudV2PvminstancesGetallRequestTimeout) IsSuccess() bool
- func (o *PcloudV2PvminstancesGetallRequestTimeout) String() string
- type PcloudV2PvminstancesGetallUnauthorized
- func (o *PcloudV2PvminstancesGetallUnauthorized) Code() int
- func (o *PcloudV2PvminstancesGetallUnauthorized) Error() string
- func (o *PcloudV2PvminstancesGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudV2PvminstancesGetallUnauthorized) IsClientError() bool
- func (o *PcloudV2PvminstancesGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudV2PvminstancesGetallUnauthorized) IsRedirect() bool
- func (o *PcloudV2PvminstancesGetallUnauthorized) IsServerError() bool
- func (o *PcloudV2PvminstancesGetallUnauthorized) IsSuccess() bool
- func (o *PcloudV2PvminstancesGetallUnauthorized) 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 p vm instances API
func (*Client) PcloudPvminstancesActionPost ¶
func (a *Client) PcloudPvminstancesActionPost(params *PcloudPvminstancesActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesActionPostOK, error)
PcloudPvminstancesActionPost performs an action on a p VM instance
Corresponding actions are 'start', 'stop', 'reboot', 'immediate-shutdown', 'reset'
func (*Client) PcloudPvminstancesCapturePost ¶
func (a *Client) PcloudPvminstancesCapturePost(params *PcloudPvminstancesCapturePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesCapturePostOK, *PcloudPvminstancesCapturePostAccepted, error)
PcloudPvminstancesCapturePost captures a p VM instance and create a deployable image This API is deprecated for /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture.
>*Note*: Support for this API is available till Oct 2022.
func (*Client) PcloudPvminstancesClonePost ¶ added in v1.0.4
func (a *Client) PcloudPvminstancesClonePost(params *PcloudPvminstancesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesClonePostAccepted, error)
PcloudPvminstancesClonePost clones a p VM instance
func (*Client) PcloudPvminstancesConsoleGet ¶ added in v1.0.75
func (a *Client) PcloudPvminstancesConsoleGet(params *PcloudPvminstancesConsoleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsoleGetOK, error)
PcloudPvminstancesConsoleGet lists all console languages
func (*Client) PcloudPvminstancesConsolePost ¶
func (a *Client) PcloudPvminstancesConsolePost(params *PcloudPvminstancesConsolePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsolePostCreated, error)
PcloudPvminstancesConsolePost generates the no v n c console URL
func (*Client) PcloudPvminstancesConsolePut ¶ added in v1.0.75
func (a *Client) PcloudPvminstancesConsolePut(params *PcloudPvminstancesConsolePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsolePutOK, error)
PcloudPvminstancesConsolePut updates p VM instance console language code
func (*Client) PcloudPvminstancesDelete ¶
func (a *Client) PcloudPvminstancesDelete(params *PcloudPvminstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesDeleteOK, error)
PcloudPvminstancesDelete deletes a p cloud p VM instance
func (*Client) PcloudPvminstancesGet ¶
func (a *Client) PcloudPvminstancesGet(params *PcloudPvminstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetOK, error)
PcloudPvminstancesGet gets a p VM instance s current state or information
func (*Client) PcloudPvminstancesGetall ¶
func (a *Client) PcloudPvminstancesGetall(params *PcloudPvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetallOK, error)
PcloudPvminstancesGetall gets all the pvm instances for this cloud instance
func (*Client) PcloudPvminstancesNetworksDelete ¶
func (a *Client) PcloudPvminstancesNetworksDelete(params *PcloudPvminstancesNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksDeleteOK, error)
PcloudPvminstancesNetworksDelete removes all address of network from a p VM instance
func (*Client) PcloudPvminstancesNetworksGet ¶
func (a *Client) PcloudPvminstancesNetworksGet(params *PcloudPvminstancesNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetOK, error)
PcloudPvminstancesNetworksGet gets a p VM instance s network information
func (*Client) PcloudPvminstancesNetworksGetall ¶
func (a *Client) PcloudPvminstancesNetworksGetall(params *PcloudPvminstancesNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetallOK, error)
PcloudPvminstancesNetworksGetall gets all networks for this p VM instance
func (*Client) PcloudPvminstancesNetworksPost ¶
func (a *Client) PcloudPvminstancesNetworksPost(params *PcloudPvminstancesNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksPostCreated, error)
PcloudPvminstancesNetworksPost performs network addition
func (*Client) PcloudPvminstancesOperationsPost ¶ added in v1.0.43
func (a *Client) PcloudPvminstancesOperationsPost(params *PcloudPvminstancesOperationsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesOperationsPostOK, error)
PcloudPvminstancesOperationsPost performs an operation on a p VM instance
func (*Client) PcloudPvminstancesPost ¶
func (a *Client) PcloudPvminstancesPost(params *PcloudPvminstancesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesPostOK, *PcloudPvminstancesPostCreated, *PcloudPvminstancesPostAccepted, error)
PcloudPvminstancesPost creates a new power VM instance
func (*Client) PcloudPvminstancesPut ¶
func (a *Client) PcloudPvminstancesPut(params *PcloudPvminstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesPutAccepted, error)
PcloudPvminstancesPut updates a p cloud p VM instance
func (*Client) PcloudPvminstancesSnapshotsGetall ¶
func (a *Client) PcloudPvminstancesSnapshotsGetall(params *PcloudPvminstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsGetallOK, error)
PcloudPvminstancesSnapshotsGetall gets all snapshots for this p VM instance
func (*Client) PcloudPvminstancesSnapshotsPost ¶
func (a *Client) PcloudPvminstancesSnapshotsPost(params *PcloudPvminstancesSnapshotsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsPostAccepted, error)
PcloudPvminstancesSnapshotsPost creates a p VM instance snapshot
func (*Client) PcloudPvminstancesSnapshotsRestorePost ¶ added in v1.0.1
func (a *Client) PcloudPvminstancesSnapshotsRestorePost(params *PcloudPvminstancesSnapshotsRestorePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsRestorePostAccepted, error)
PcloudPvminstancesSnapshotsRestorePost restores a p VM instance snapshot
func (*Client) PcloudV2PvminstancesCaptureGet ¶ added in v1.0.75
func (a *Client) PcloudV2PvminstancesCaptureGet(params *PcloudV2PvminstancesCaptureGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesCaptureGetOK, error)
PcloudV2PvminstancesCaptureGet gets detail of last capture job
func (*Client) PcloudV2PvminstancesCapturePost ¶ added in v1.0.75
func (a *Client) PcloudV2PvminstancesCapturePost(params *PcloudV2PvminstancesCapturePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesCapturePostAccepted, error)
PcloudV2PvminstancesCapturePost adds a capture pvm instance to the jobs queue
func (*Client) PcloudV2PvminstancesGetall ¶ added in v1.2.3
func (a *Client) PcloudV2PvminstancesGetall(params *PcloudV2PvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesGetallOK, error)
PcloudV2PvminstancesGetall gets all the pvm instances for this cloud instance
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudPvminstancesActionPost(params *PcloudPvminstancesActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesActionPostOK, error) PcloudPvminstancesCapturePost(params *PcloudPvminstancesCapturePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesCapturePostOK, *PcloudPvminstancesCapturePostAccepted, error) PcloudPvminstancesClonePost(params *PcloudPvminstancesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesClonePostAccepted, error) PcloudPvminstancesConsoleGet(params *PcloudPvminstancesConsoleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsoleGetOK, error) PcloudPvminstancesConsolePost(params *PcloudPvminstancesConsolePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsolePostCreated, error) PcloudPvminstancesConsolePut(params *PcloudPvminstancesConsolePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsolePutOK, error) PcloudPvminstancesDelete(params *PcloudPvminstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesDeleteOK, error) PcloudPvminstancesGet(params *PcloudPvminstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetOK, error) PcloudPvminstancesGetall(params *PcloudPvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetallOK, error) PcloudPvminstancesNetworksDelete(params *PcloudPvminstancesNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksDeleteOK, error) PcloudPvminstancesNetworksGet(params *PcloudPvminstancesNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetOK, error) PcloudPvminstancesNetworksGetall(params *PcloudPvminstancesNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetallOK, error) PcloudPvminstancesNetworksPost(params *PcloudPvminstancesNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksPostCreated, error) PcloudPvminstancesOperationsPost(params *PcloudPvminstancesOperationsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesOperationsPostOK, error) PcloudPvminstancesPost(params *PcloudPvminstancesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesPostOK, *PcloudPvminstancesPostCreated, *PcloudPvminstancesPostAccepted, error) PcloudPvminstancesPut(params *PcloudPvminstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesPutAccepted, error) PcloudPvminstancesSnapshotsGetall(params *PcloudPvminstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsGetallOK, error) PcloudPvminstancesSnapshotsPost(params *PcloudPvminstancesSnapshotsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsPostAccepted, error) PcloudPvminstancesSnapshotsRestorePost(params *PcloudPvminstancesSnapshotsRestorePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsRestorePostAccepted, error) PcloudV2PvminstancesCaptureGet(params *PcloudV2PvminstancesCaptureGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesCaptureGetOK, error) PcloudV2PvminstancesCapturePost(params *PcloudV2PvminstancesCapturePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesCapturePostAccepted, error) PcloudV2PvminstancesGetall(params *PcloudV2PvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesGetallOK, 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 p vm instances API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud p vm instances 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 ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud p vm instances 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 PcloudPvminstancesActionPostBadRequest ¶ added in v1.0.25
PcloudPvminstancesActionPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesActionPostBadRequest ¶ added in v1.0.25
func NewPcloudPvminstancesActionPostBadRequest() *PcloudPvminstancesActionPostBadRequest
NewPcloudPvminstancesActionPostBadRequest creates a PcloudPvminstancesActionPostBadRequest with default headers values
func (*PcloudPvminstancesActionPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesActionPostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances action post bad request response
func (*PcloudPvminstancesActionPostBadRequest) Error ¶ added in v1.0.25
func (o *PcloudPvminstancesActionPostBadRequest) Error() string
func (*PcloudPvminstancesActionPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesActionPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances action post bad request response has a 4xx status code
func (*PcloudPvminstancesActionPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances action post bad request response a status code equal to that given
func (*PcloudPvminstancesActionPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances action post bad request response has a 3xx status code
func (*PcloudPvminstancesActionPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances action post bad request response has a 5xx status code
func (*PcloudPvminstancesActionPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances action post bad request response has a 2xx status code
func (*PcloudPvminstancesActionPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostBadRequest) String() string
type PcloudPvminstancesActionPostConflict ¶ added in v1.1.6
PcloudPvminstancesActionPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesActionPostConflict ¶ added in v1.1.6
func NewPcloudPvminstancesActionPostConflict() *PcloudPvminstancesActionPostConflict
NewPcloudPvminstancesActionPostConflict creates a PcloudPvminstancesActionPostConflict with default headers values
func (*PcloudPvminstancesActionPostConflict) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesActionPostConflict) Code() int
Code gets the status code for the pcloud pvminstances action post conflict response
func (*PcloudPvminstancesActionPostConflict) Error ¶ added in v1.1.6
func (o *PcloudPvminstancesActionPostConflict) Error() string
func (*PcloudPvminstancesActionPostConflict) GetPayload ¶ added in v1.1.6
func (o *PcloudPvminstancesActionPostConflict) GetPayload() *models.Error
func (*PcloudPvminstancesActionPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostConflict) IsClientError() bool
IsClientError returns true when this pcloud pvminstances action post conflict response has a 4xx status code
func (*PcloudPvminstancesActionPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances action post conflict response a status code equal to that given
func (*PcloudPvminstancesActionPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances action post conflict response has a 3xx status code
func (*PcloudPvminstancesActionPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostConflict) IsServerError() bool
IsServerError returns true when this pcloud pvminstances action post conflict response has a 5xx status code
func (*PcloudPvminstancesActionPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances action post conflict response has a 2xx status code
func (*PcloudPvminstancesActionPostConflict) String ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostConflict) String() string
type PcloudPvminstancesActionPostForbidden ¶ added in v1.2.2
PcloudPvminstancesActionPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesActionPostForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesActionPostForbidden() *PcloudPvminstancesActionPostForbidden
NewPcloudPvminstancesActionPostForbidden creates a PcloudPvminstancesActionPostForbidden with default headers values
func (*PcloudPvminstancesActionPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesActionPostForbidden) Code() int
Code gets the status code for the pcloud pvminstances action post forbidden response
func (*PcloudPvminstancesActionPostForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) Error() string
func (*PcloudPvminstancesActionPostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesActionPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances action post forbidden response has a 4xx status code
func (*PcloudPvminstancesActionPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances action post forbidden response a status code equal to that given
func (*PcloudPvminstancesActionPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances action post forbidden response has a 3xx status code
func (*PcloudPvminstancesActionPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances action post forbidden response has a 5xx status code
func (*PcloudPvminstancesActionPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances action post forbidden response has a 2xx status code
func (*PcloudPvminstancesActionPostForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostForbidden) String() string
type PcloudPvminstancesActionPostInternalServerError ¶
PcloudPvminstancesActionPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesActionPostInternalServerError ¶
func NewPcloudPvminstancesActionPostInternalServerError() *PcloudPvminstancesActionPostInternalServerError
NewPcloudPvminstancesActionPostInternalServerError creates a PcloudPvminstancesActionPostInternalServerError with default headers values
func (*PcloudPvminstancesActionPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesActionPostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances action post internal server error response
func (*PcloudPvminstancesActionPostInternalServerError) Error ¶
func (o *PcloudPvminstancesActionPostInternalServerError) Error() string
func (*PcloudPvminstancesActionPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesActionPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances action post internal server error response has a 4xx status code
func (*PcloudPvminstancesActionPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances action post internal server error response a status code equal to that given
func (*PcloudPvminstancesActionPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances action post internal server error response has a 3xx status code
func (*PcloudPvminstancesActionPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances action post internal server error response has a 5xx status code
func (*PcloudPvminstancesActionPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances action post internal server error response has a 2xx status code
func (*PcloudPvminstancesActionPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostInternalServerError) String() string
type PcloudPvminstancesActionPostNotFound ¶ added in v1.0.25
PcloudPvminstancesActionPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesActionPostNotFound ¶ added in v1.0.25
func NewPcloudPvminstancesActionPostNotFound() *PcloudPvminstancesActionPostNotFound
NewPcloudPvminstancesActionPostNotFound creates a PcloudPvminstancesActionPostNotFound with default headers values
func (*PcloudPvminstancesActionPostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesActionPostNotFound) Code() int
Code gets the status code for the pcloud pvminstances action post not found response
func (*PcloudPvminstancesActionPostNotFound) Error ¶ added in v1.0.25
func (o *PcloudPvminstancesActionPostNotFound) Error() string
func (*PcloudPvminstancesActionPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesActionPostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances action post not found response has a 4xx status code
func (*PcloudPvminstancesActionPostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances action post not found response a status code equal to that given
func (*PcloudPvminstancesActionPostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances action post not found response has a 3xx status code
func (*PcloudPvminstancesActionPostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances action post not found response has a 5xx status code
func (*PcloudPvminstancesActionPostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances action post not found response has a 2xx status code
func (*PcloudPvminstancesActionPostNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostNotFound) String() string
type PcloudPvminstancesActionPostOK ¶
PcloudPvminstancesActionPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesActionPostOK ¶
func NewPcloudPvminstancesActionPostOK() *PcloudPvminstancesActionPostOK
NewPcloudPvminstancesActionPostOK creates a PcloudPvminstancesActionPostOK with default headers values
func (*PcloudPvminstancesActionPostOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesActionPostOK) Code() int
Code gets the status code for the pcloud pvminstances action post o k response
func (*PcloudPvminstancesActionPostOK) Error ¶
func (o *PcloudPvminstancesActionPostOK) Error() string
func (*PcloudPvminstancesActionPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostOK) GetPayload() models.Object
func (*PcloudPvminstancesActionPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances action post o k response has a 4xx status code
func (*PcloudPvminstancesActionPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances action post o k response a status code equal to that given
func (*PcloudPvminstancesActionPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances action post o k response has a 3xx status code
func (*PcloudPvminstancesActionPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances action post o k response has a 5xx status code
func (*PcloudPvminstancesActionPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances action post o k response has a 2xx status code
func (*PcloudPvminstancesActionPostOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostOK) String() string
type PcloudPvminstancesActionPostParams ¶
type PcloudPvminstancesActionPostParams struct { /* Body. Parameters for the desired action */ Body *models.PVMInstanceAction /* 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 }
PcloudPvminstancesActionPostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances action post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesActionPostParams ¶
func NewPcloudPvminstancesActionPostParams() *PcloudPvminstancesActionPostParams
NewPcloudPvminstancesActionPostParams creates a new PcloudPvminstancesActionPostParams 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 NewPcloudPvminstancesActionPostParamsWithContext ¶
func NewPcloudPvminstancesActionPostParamsWithContext(ctx context.Context) *PcloudPvminstancesActionPostParams
NewPcloudPvminstancesActionPostParamsWithContext creates a new PcloudPvminstancesActionPostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesActionPostParamsWithHTTPClient ¶
func NewPcloudPvminstancesActionPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesActionPostParams
NewPcloudPvminstancesActionPostParamsWithHTTPClient creates a new PcloudPvminstancesActionPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesActionPostParamsWithTimeout ¶
func NewPcloudPvminstancesActionPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesActionPostParams
NewPcloudPvminstancesActionPostParamsWithTimeout creates a new PcloudPvminstancesActionPostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesActionPostParams) SetBody ¶
func (o *PcloudPvminstancesActionPostParams) SetBody(body *models.PVMInstanceAction)
SetBody adds the body to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesActionPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) SetContext ¶
func (o *PcloudPvminstancesActionPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances action post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesActionPostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesActionPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesActionPostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) SetTimeout ¶
func (o *PcloudPvminstancesActionPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) WithBody ¶
func (o *PcloudPvminstancesActionPostParams) WithBody(body *models.PVMInstanceAction) *PcloudPvminstancesActionPostParams
WithBody adds the body to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesActionPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesActionPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) WithContext ¶
func (o *PcloudPvminstancesActionPostParams) WithContext(ctx context.Context) *PcloudPvminstancesActionPostParams
WithContext adds the context to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostParams) WithDefaults() *PcloudPvminstancesActionPostParams
WithDefaults hydrates default values in the pcloud pvminstances action post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesActionPostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesActionPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesActionPostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesActionPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesActionPostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) WithTimeout ¶
func (o *PcloudPvminstancesActionPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesActionPostParams
WithTimeout adds the timeout to the pcloud pvminstances action post params
func (*PcloudPvminstancesActionPostParams) WriteToRequest ¶
func (o *PcloudPvminstancesActionPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesActionPostReader ¶
type PcloudPvminstancesActionPostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesActionPostReader is a Reader for the PcloudPvminstancesActionPost structure.
func (*PcloudPvminstancesActionPostReader) ReadResponse ¶
func (o *PcloudPvminstancesActionPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesActionPostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesActionPostUnauthorized struct {
}PcloudPvminstancesActionPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesActionPostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesActionPostUnauthorized() *PcloudPvminstancesActionPostUnauthorized
NewPcloudPvminstancesActionPostUnauthorized creates a PcloudPvminstancesActionPostUnauthorized with default headers values
func (*PcloudPvminstancesActionPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesActionPostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances action post unauthorized response
func (*PcloudPvminstancesActionPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesActionPostUnauthorized) Error() string
func (*PcloudPvminstancesActionPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesActionPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances action post unauthorized response has a 4xx status code
func (*PcloudPvminstancesActionPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances action post unauthorized response a status code equal to that given
func (*PcloudPvminstancesActionPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances action post unauthorized response has a 3xx status code
func (*PcloudPvminstancesActionPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances action post unauthorized response has a 5xx status code
func (*PcloudPvminstancesActionPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances action post unauthorized response has a 2xx status code
func (*PcloudPvminstancesActionPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesActionPostUnauthorized) String() string
type PcloudPvminstancesCapturePostAccepted ¶
PcloudPvminstancesCapturePostAccepted describes a response with status code 202, with default header values.
Accepted, upload to cloud storage in progress
func NewPcloudPvminstancesCapturePostAccepted ¶
func NewPcloudPvminstancesCapturePostAccepted() *PcloudPvminstancesCapturePostAccepted
NewPcloudPvminstancesCapturePostAccepted creates a PcloudPvminstancesCapturePostAccepted with default headers values
func (*PcloudPvminstancesCapturePostAccepted) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostAccepted) Code() int
Code gets the status code for the pcloud pvminstances capture post accepted response
func (*PcloudPvminstancesCapturePostAccepted) Error ¶
func (o *PcloudPvminstancesCapturePostAccepted) Error() string
func (*PcloudPvminstancesCapturePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostAccepted) GetPayload() models.Object
func (*PcloudPvminstancesCapturePostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post accepted response has a 4xx status code
func (*PcloudPvminstancesCapturePostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post accepted response a status code equal to that given
func (*PcloudPvminstancesCapturePostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post accepted response has a 3xx status code
func (*PcloudPvminstancesCapturePostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post accepted response has a 5xx status code
func (*PcloudPvminstancesCapturePostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post accepted response has a 2xx status code
func (*PcloudPvminstancesCapturePostAccepted) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostAccepted) String() string
type PcloudPvminstancesCapturePostBadRequest ¶ added in v1.0.75
PcloudPvminstancesCapturePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesCapturePostBadRequest ¶ added in v1.0.75
func NewPcloudPvminstancesCapturePostBadRequest() *PcloudPvminstancesCapturePostBadRequest
NewPcloudPvminstancesCapturePostBadRequest creates a PcloudPvminstancesCapturePostBadRequest with default headers values
func (*PcloudPvminstancesCapturePostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances capture post bad request response
func (*PcloudPvminstancesCapturePostBadRequest) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesCapturePostBadRequest) Error() string
func (*PcloudPvminstancesCapturePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesCapturePostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post bad request response has a 4xx status code
func (*PcloudPvminstancesCapturePostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post bad request response a status code equal to that given
func (*PcloudPvminstancesCapturePostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post bad request response has a 3xx status code
func (*PcloudPvminstancesCapturePostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post bad request response has a 5xx status code
func (*PcloudPvminstancesCapturePostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post bad request response has a 2xx status code
func (*PcloudPvminstancesCapturePostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostBadRequest) String() string
type PcloudPvminstancesCapturePostForbidden ¶ added in v1.2.2
PcloudPvminstancesCapturePostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesCapturePostForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesCapturePostForbidden() *PcloudPvminstancesCapturePostForbidden
NewPcloudPvminstancesCapturePostForbidden creates a PcloudPvminstancesCapturePostForbidden with default headers values
func (*PcloudPvminstancesCapturePostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostForbidden) Code() int
Code gets the status code for the pcloud pvminstances capture post forbidden response
func (*PcloudPvminstancesCapturePostForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) Error() string
func (*PcloudPvminstancesCapturePostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesCapturePostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post forbidden response has a 4xx status code
func (*PcloudPvminstancesCapturePostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post forbidden response a status code equal to that given
func (*PcloudPvminstancesCapturePostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post forbidden response has a 3xx status code
func (*PcloudPvminstancesCapturePostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post forbidden response has a 5xx status code
func (*PcloudPvminstancesCapturePostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post forbidden response has a 2xx status code
func (*PcloudPvminstancesCapturePostForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostForbidden) String() string
type PcloudPvminstancesCapturePostInternalServerError ¶
PcloudPvminstancesCapturePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesCapturePostInternalServerError ¶
func NewPcloudPvminstancesCapturePostInternalServerError() *PcloudPvminstancesCapturePostInternalServerError
NewPcloudPvminstancesCapturePostInternalServerError creates a PcloudPvminstancesCapturePostInternalServerError with default headers values
func (*PcloudPvminstancesCapturePostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances capture post internal server error response
func (*PcloudPvminstancesCapturePostInternalServerError) Error ¶
func (o *PcloudPvminstancesCapturePostInternalServerError) Error() string
func (*PcloudPvminstancesCapturePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesCapturePostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post internal server error response has a 4xx status code
func (*PcloudPvminstancesCapturePostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post internal server error response a status code equal to that given
func (*PcloudPvminstancesCapturePostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post internal server error response has a 3xx status code
func (*PcloudPvminstancesCapturePostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post internal server error response has a 5xx status code
func (*PcloudPvminstancesCapturePostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post internal server error response has a 2xx status code
func (*PcloudPvminstancesCapturePostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostInternalServerError) String() string
type PcloudPvminstancesCapturePostNotFound ¶ added in v1.2.2
PcloudPvminstancesCapturePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesCapturePostNotFound ¶ added in v1.2.2
func NewPcloudPvminstancesCapturePostNotFound() *PcloudPvminstancesCapturePostNotFound
NewPcloudPvminstancesCapturePostNotFound creates a PcloudPvminstancesCapturePostNotFound with default headers values
func (*PcloudPvminstancesCapturePostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostNotFound) Code() int
Code gets the status code for the pcloud pvminstances capture post not found response
func (*PcloudPvminstancesCapturePostNotFound) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) Error() string
func (*PcloudPvminstancesCapturePostNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesCapturePostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post not found response has a 4xx status code
func (*PcloudPvminstancesCapturePostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post not found response a status code equal to that given
func (*PcloudPvminstancesCapturePostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post not found response has a 3xx status code
func (*PcloudPvminstancesCapturePostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post not found response has a 5xx status code
func (*PcloudPvminstancesCapturePostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post not found response has a 2xx status code
func (*PcloudPvminstancesCapturePostNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostNotFound) String() string
type PcloudPvminstancesCapturePostOK ¶
PcloudPvminstancesCapturePostOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesCapturePostOK ¶
func NewPcloudPvminstancesCapturePostOK() *PcloudPvminstancesCapturePostOK
NewPcloudPvminstancesCapturePostOK creates a PcloudPvminstancesCapturePostOK with default headers values
func (*PcloudPvminstancesCapturePostOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostOK) Code() int
Code gets the status code for the pcloud pvminstances capture post o k response
func (*PcloudPvminstancesCapturePostOK) Error ¶
func (o *PcloudPvminstancesCapturePostOK) Error() string
func (*PcloudPvminstancesCapturePostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostOK) GetPayload() models.Object
func (*PcloudPvminstancesCapturePostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post o k response has a 4xx status code
func (*PcloudPvminstancesCapturePostOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post o k response a status code equal to that given
func (*PcloudPvminstancesCapturePostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post o k response has a 3xx status code
func (*PcloudPvminstancesCapturePostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post o k response has a 5xx status code
func (*PcloudPvminstancesCapturePostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post o k response has a 2xx status code
func (*PcloudPvminstancesCapturePostOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostOK) String() string
type PcloudPvminstancesCapturePostParams ¶
type PcloudPvminstancesCapturePostParams struct { /* Body. Parameters for the capture PVMInstance */ Body *models.PVMInstanceCapture /* 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 }
PcloudPvminstancesCapturePostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances capture post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesCapturePostParams ¶
func NewPcloudPvminstancesCapturePostParams() *PcloudPvminstancesCapturePostParams
NewPcloudPvminstancesCapturePostParams creates a new PcloudPvminstancesCapturePostParams 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 NewPcloudPvminstancesCapturePostParamsWithContext ¶
func NewPcloudPvminstancesCapturePostParamsWithContext(ctx context.Context) *PcloudPvminstancesCapturePostParams
NewPcloudPvminstancesCapturePostParamsWithContext creates a new PcloudPvminstancesCapturePostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesCapturePostParamsWithHTTPClient ¶
func NewPcloudPvminstancesCapturePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesCapturePostParams
NewPcloudPvminstancesCapturePostParamsWithHTTPClient creates a new PcloudPvminstancesCapturePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesCapturePostParamsWithTimeout ¶
func NewPcloudPvminstancesCapturePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesCapturePostParams
NewPcloudPvminstancesCapturePostParamsWithTimeout creates a new PcloudPvminstancesCapturePostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesCapturePostParams) SetBody ¶
func (o *PcloudPvminstancesCapturePostParams) SetBody(body *models.PVMInstanceCapture)
SetBody adds the body to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesCapturePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) SetContext ¶
func (o *PcloudPvminstancesCapturePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances capture post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesCapturePostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesCapturePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesCapturePostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) SetTimeout ¶
func (o *PcloudPvminstancesCapturePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) WithBody ¶
func (o *PcloudPvminstancesCapturePostParams) WithBody(body *models.PVMInstanceCapture) *PcloudPvminstancesCapturePostParams
WithBody adds the body to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesCapturePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesCapturePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) WithContext ¶
func (o *PcloudPvminstancesCapturePostParams) WithContext(ctx context.Context) *PcloudPvminstancesCapturePostParams
WithContext adds the context to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostParams) WithDefaults() *PcloudPvminstancesCapturePostParams
WithDefaults hydrates default values in the pcloud pvminstances capture post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesCapturePostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesCapturePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesCapturePostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesCapturePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesCapturePostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) WithTimeout ¶
func (o *PcloudPvminstancesCapturePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesCapturePostParams
WithTimeout adds the timeout to the pcloud pvminstances capture post params
func (*PcloudPvminstancesCapturePostParams) WriteToRequest ¶
func (o *PcloudPvminstancesCapturePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesCapturePostReader ¶
type PcloudPvminstancesCapturePostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesCapturePostReader is a Reader for the PcloudPvminstancesCapturePost structure.
func (*PcloudPvminstancesCapturePostReader) ReadResponse ¶
func (o *PcloudPvminstancesCapturePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesCapturePostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesCapturePostUnauthorized struct {
}PcloudPvminstancesCapturePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesCapturePostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesCapturePostUnauthorized() *PcloudPvminstancesCapturePostUnauthorized
NewPcloudPvminstancesCapturePostUnauthorized creates a PcloudPvminstancesCapturePostUnauthorized with default headers values
func (*PcloudPvminstancesCapturePostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances capture post unauthorized response
func (*PcloudPvminstancesCapturePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesCapturePostUnauthorized) Error() string
func (*PcloudPvminstancesCapturePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesCapturePostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post unauthorized response has a 4xx status code
func (*PcloudPvminstancesCapturePostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post unauthorized response a status code equal to that given
func (*PcloudPvminstancesCapturePostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post unauthorized response has a 3xx status code
func (*PcloudPvminstancesCapturePostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post unauthorized response has a 5xx status code
func (*PcloudPvminstancesCapturePostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post unauthorized response has a 2xx status code
func (*PcloudPvminstancesCapturePostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnauthorized) String() string
type PcloudPvminstancesCapturePostUnprocessableEntity ¶ added in v1.0.75
PcloudPvminstancesCapturePostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesCapturePostUnprocessableEntity ¶ added in v1.0.75
func NewPcloudPvminstancesCapturePostUnprocessableEntity() *PcloudPvminstancesCapturePostUnprocessableEntity
NewPcloudPvminstancesCapturePostUnprocessableEntity creates a PcloudPvminstancesCapturePostUnprocessableEntity with default headers values
func (*PcloudPvminstancesCapturePostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances capture post unprocessable entity response
func (*PcloudPvminstancesCapturePostUnprocessableEntity) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) Error() string
func (*PcloudPvminstancesCapturePostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances capture post unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances capture post unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances capture post unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances capture post unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances capture post unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesCapturePostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPvminstancesCapturePostUnprocessableEntity) String() string
type PcloudPvminstancesClonePostAccepted ¶ added in v1.0.6
type PcloudPvminstancesClonePostAccepted struct {
Payload *models.PVMInstance
}
PcloudPvminstancesClonePostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudPvminstancesClonePostAccepted ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostAccepted() *PcloudPvminstancesClonePostAccepted
NewPcloudPvminstancesClonePostAccepted creates a PcloudPvminstancesClonePostAccepted with default headers values
func (*PcloudPvminstancesClonePostAccepted) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesClonePostAccepted) Code() int
Code gets the status code for the pcloud pvminstances clone post accepted response
func (*PcloudPvminstancesClonePostAccepted) Error ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostAccepted) Error() string
func (*PcloudPvminstancesClonePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostAccepted) GetPayload() *models.PVMInstance
func (*PcloudPvminstancesClonePostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post accepted response has a 4xx status code
func (*PcloudPvminstancesClonePostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post accepted response a status code equal to that given
func (*PcloudPvminstancesClonePostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post accepted response has a 3xx status code
func (*PcloudPvminstancesClonePostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post accepted response has a 5xx status code
func (*PcloudPvminstancesClonePostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post accepted response has a 2xx status code
func (*PcloudPvminstancesClonePostAccepted) String ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostAccepted) String() string
type PcloudPvminstancesClonePostBadRequest ¶ added in v1.0.6
PcloudPvminstancesClonePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesClonePostBadRequest ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostBadRequest() *PcloudPvminstancesClonePostBadRequest
NewPcloudPvminstancesClonePostBadRequest creates a PcloudPvminstancesClonePostBadRequest with default headers values
func (*PcloudPvminstancesClonePostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesClonePostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances clone post bad request response
func (*PcloudPvminstancesClonePostBadRequest) Error ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostBadRequest) Error() string
func (*PcloudPvminstancesClonePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post bad request response has a 4xx status code
func (*PcloudPvminstancesClonePostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post bad request response a status code equal to that given
func (*PcloudPvminstancesClonePostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post bad request response has a 3xx status code
func (*PcloudPvminstancesClonePostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post bad request response has a 5xx status code
func (*PcloudPvminstancesClonePostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post bad request response has a 2xx status code
func (*PcloudPvminstancesClonePostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostBadRequest) String() string
type PcloudPvminstancesClonePostConflict ¶ added in v1.0.6
PcloudPvminstancesClonePostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesClonePostConflict ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostConflict() *PcloudPvminstancesClonePostConflict
NewPcloudPvminstancesClonePostConflict creates a PcloudPvminstancesClonePostConflict with default headers values
func (*PcloudPvminstancesClonePostConflict) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesClonePostConflict) Code() int
Code gets the status code for the pcloud pvminstances clone post conflict response
func (*PcloudPvminstancesClonePostConflict) Error ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostConflict) Error() string
func (*PcloudPvminstancesClonePostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostConflict) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostConflict) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post conflict response has a 4xx status code
func (*PcloudPvminstancesClonePostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostConflict) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post conflict response a status code equal to that given
func (*PcloudPvminstancesClonePostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post conflict response has a 3xx status code
func (*PcloudPvminstancesClonePostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostConflict) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post conflict response has a 5xx status code
func (*PcloudPvminstancesClonePostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post conflict response has a 2xx status code
func (*PcloudPvminstancesClonePostConflict) String ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostConflict) String() string
type PcloudPvminstancesClonePostForbidden ¶ added in v1.4.2
PcloudPvminstancesClonePostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesClonePostForbidden ¶ added in v1.4.2
func NewPcloudPvminstancesClonePostForbidden() *PcloudPvminstancesClonePostForbidden
NewPcloudPvminstancesClonePostForbidden creates a PcloudPvminstancesClonePostForbidden with default headers values
func (*PcloudPvminstancesClonePostForbidden) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) Code() int
Code gets the status code for the pcloud pvminstances clone post forbidden response
func (*PcloudPvminstancesClonePostForbidden) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) Error() string
func (*PcloudPvminstancesClonePostForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post forbidden response has a 4xx status code
func (*PcloudPvminstancesClonePostForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post forbidden response a status code equal to that given
func (*PcloudPvminstancesClonePostForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post forbidden response has a 3xx status code
func (*PcloudPvminstancesClonePostForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post forbidden response has a 5xx status code
func (*PcloudPvminstancesClonePostForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post forbidden response has a 2xx status code
func (*PcloudPvminstancesClonePostForbidden) String ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostForbidden) String() string
type PcloudPvminstancesClonePostGone ¶ added in v1.8.1
PcloudPvminstancesClonePostGone describes a response with status code 410, with default header values.
Gone
func NewPcloudPvminstancesClonePostGone ¶ added in v1.8.1
func NewPcloudPvminstancesClonePostGone() *PcloudPvminstancesClonePostGone
NewPcloudPvminstancesClonePostGone creates a PcloudPvminstancesClonePostGone with default headers values
func (*PcloudPvminstancesClonePostGone) Code ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) Code() int
Code gets the status code for the pcloud pvminstances clone post gone response
func (*PcloudPvminstancesClonePostGone) Error ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) Error() string
func (*PcloudPvminstancesClonePostGone) GetPayload ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostGone) IsClientError ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post gone response has a 4xx status code
func (*PcloudPvminstancesClonePostGone) IsCode ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post gone response a status code equal to that given
func (*PcloudPvminstancesClonePostGone) IsRedirect ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post gone response has a 3xx status code
func (*PcloudPvminstancesClonePostGone) IsServerError ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post gone response has a 5xx status code
func (*PcloudPvminstancesClonePostGone) IsSuccess ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post gone response has a 2xx status code
func (*PcloudPvminstancesClonePostGone) String ¶ added in v1.8.1
func (o *PcloudPvminstancesClonePostGone) String() string
type PcloudPvminstancesClonePostInternalServerError ¶ added in v1.0.6
PcloudPvminstancesClonePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesClonePostInternalServerError ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostInternalServerError() *PcloudPvminstancesClonePostInternalServerError
NewPcloudPvminstancesClonePostInternalServerError creates a PcloudPvminstancesClonePostInternalServerError with default headers values
func (*PcloudPvminstancesClonePostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesClonePostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances clone post internal server error response
func (*PcloudPvminstancesClonePostInternalServerError) Error ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostInternalServerError) Error() string
func (*PcloudPvminstancesClonePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post internal server error response has a 4xx status code
func (*PcloudPvminstancesClonePostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post internal server error response a status code equal to that given
func (*PcloudPvminstancesClonePostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post internal server error response has a 3xx status code
func (*PcloudPvminstancesClonePostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post internal server error response has a 5xx status code
func (*PcloudPvminstancesClonePostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post internal server error response has a 2xx status code
func (*PcloudPvminstancesClonePostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostInternalServerError) String() string
type PcloudPvminstancesClonePostNotFound ¶ added in v1.4.2
PcloudPvminstancesClonePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesClonePostNotFound ¶ added in v1.4.2
func NewPcloudPvminstancesClonePostNotFound() *PcloudPvminstancesClonePostNotFound
NewPcloudPvminstancesClonePostNotFound creates a PcloudPvminstancesClonePostNotFound with default headers values
func (*PcloudPvminstancesClonePostNotFound) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) Code() int
Code gets the status code for the pcloud pvminstances clone post not found response
func (*PcloudPvminstancesClonePostNotFound) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) Error() string
func (*PcloudPvminstancesClonePostNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post not found response has a 4xx status code
func (*PcloudPvminstancesClonePostNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post not found response a status code equal to that given
func (*PcloudPvminstancesClonePostNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post not found response has a 3xx status code
func (*PcloudPvminstancesClonePostNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post not found response has a 5xx status code
func (*PcloudPvminstancesClonePostNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post not found response has a 2xx status code
func (*PcloudPvminstancesClonePostNotFound) String ¶ added in v1.4.2
func (o *PcloudPvminstancesClonePostNotFound) String() string
type PcloudPvminstancesClonePostParams ¶ added in v1.0.6
type PcloudPvminstancesClonePostParams struct { /* Body. Clone PVM Instance parameters */ Body *models.PVMInstanceClone /* 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 }
PcloudPvminstancesClonePostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances clone post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesClonePostParams ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostParams() *PcloudPvminstancesClonePostParams
NewPcloudPvminstancesClonePostParams creates a new PcloudPvminstancesClonePostParams 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 NewPcloudPvminstancesClonePostParamsWithContext ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostParamsWithContext(ctx context.Context) *PcloudPvminstancesClonePostParams
NewPcloudPvminstancesClonePostParamsWithContext creates a new PcloudPvminstancesClonePostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesClonePostParamsWithHTTPClient ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesClonePostParams
NewPcloudPvminstancesClonePostParamsWithHTTPClient creates a new PcloudPvminstancesClonePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesClonePostParamsWithTimeout ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesClonePostParams
NewPcloudPvminstancesClonePostParamsWithTimeout creates a new PcloudPvminstancesClonePostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesClonePostParams) SetBody ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) SetBody(body *models.PVMInstanceClone)
SetBody adds the body to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) SetCloudInstanceID ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) SetContext ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances clone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesClonePostParams) SetHTTPClient ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) SetPvmInstanceID ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) SetTimeout ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) WithBody ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) WithBody(body *models.PVMInstanceClone) *PcloudPvminstancesClonePostParams
WithBody adds the body to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) WithCloudInstanceID ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesClonePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) WithContext ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) WithContext(ctx context.Context) *PcloudPvminstancesClonePostParams
WithContext adds the context to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostParams) WithDefaults() *PcloudPvminstancesClonePostParams
WithDefaults hydrates default values in the pcloud pvminstances clone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesClonePostParams) WithHTTPClient ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesClonePostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) WithPvmInstanceID ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesClonePostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) WithTimeout ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesClonePostParams
WithTimeout adds the timeout to the pcloud pvminstances clone post params
func (*PcloudPvminstancesClonePostParams) WriteToRequest ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesClonePostReader ¶ added in v1.0.6
type PcloudPvminstancesClonePostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesClonePostReader is a Reader for the PcloudPvminstancesClonePost structure.
func (*PcloudPvminstancesClonePostReader) ReadResponse ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesClonePostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesClonePostUnauthorized struct {
}PcloudPvminstancesClonePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesClonePostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesClonePostUnauthorized() *PcloudPvminstancesClonePostUnauthorized
NewPcloudPvminstancesClonePostUnauthorized creates a PcloudPvminstancesClonePostUnauthorized with default headers values
func (*PcloudPvminstancesClonePostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesClonePostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances clone post unauthorized response
func (*PcloudPvminstancesClonePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesClonePostUnauthorized) Error() string
func (*PcloudPvminstancesClonePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post unauthorized response has a 4xx status code
func (*PcloudPvminstancesClonePostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post unauthorized response a status code equal to that given
func (*PcloudPvminstancesClonePostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post unauthorized response has a 3xx status code
func (*PcloudPvminstancesClonePostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post unauthorized response has a 5xx status code
func (*PcloudPvminstancesClonePostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post unauthorized response has a 2xx status code
func (*PcloudPvminstancesClonePostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnauthorized) String() string
type PcloudPvminstancesClonePostUnprocessableEntity ¶ added in v1.0.6
PcloudPvminstancesClonePostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesClonePostUnprocessableEntity ¶ added in v1.0.6
func NewPcloudPvminstancesClonePostUnprocessableEntity() *PcloudPvminstancesClonePostUnprocessableEntity
NewPcloudPvminstancesClonePostUnprocessableEntity creates a PcloudPvminstancesClonePostUnprocessableEntity with default headers values
func (*PcloudPvminstancesClonePostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesClonePostUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances clone post unprocessable entity response
func (*PcloudPvminstancesClonePostUnprocessableEntity) Error ¶ added in v1.0.6
func (o *PcloudPvminstancesClonePostUnprocessableEntity) Error() string
func (*PcloudPvminstancesClonePostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesClonePostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesClonePostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances clone post unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesClonePostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances clone post unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesClonePostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances clone post unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesClonePostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances clone post unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesClonePostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances clone post unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesClonePostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPvminstancesClonePostUnprocessableEntity) String() string
type PcloudPvminstancesConsoleGetBadRequest ¶ added in v1.0.75
PcloudPvminstancesConsoleGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesConsoleGetBadRequest ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetBadRequest() *PcloudPvminstancesConsoleGetBadRequest
NewPcloudPvminstancesConsoleGetBadRequest creates a PcloudPvminstancesConsoleGetBadRequest with default headers values
func (*PcloudPvminstancesConsoleGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsoleGetBadRequest) Code() int
Code gets the status code for the pcloud pvminstances console get bad request response
func (*PcloudPvminstancesConsoleGetBadRequest) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetBadRequest) Error() string
func (*PcloudPvminstancesConsoleGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsoleGetBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesConsoleGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console get bad request response has a 4xx status code
func (*PcloudPvminstancesConsoleGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console get bad request response a status code equal to that given
func (*PcloudPvminstancesConsoleGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console get bad request response has a 3xx status code
func (*PcloudPvminstancesConsoleGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console get bad request response has a 5xx status code
func (*PcloudPvminstancesConsoleGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console get bad request response has a 2xx status code
func (*PcloudPvminstancesConsoleGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetBadRequest) String() string
type PcloudPvminstancesConsoleGetForbidden ¶ added in v1.2.2
PcloudPvminstancesConsoleGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesConsoleGetForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesConsoleGetForbidden() *PcloudPvminstancesConsoleGetForbidden
NewPcloudPvminstancesConsoleGetForbidden creates a PcloudPvminstancesConsoleGetForbidden with default headers values
func (*PcloudPvminstancesConsoleGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsoleGetForbidden) Code() int
Code gets the status code for the pcloud pvminstances console get forbidden response
func (*PcloudPvminstancesConsoleGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) Error() string
func (*PcloudPvminstancesConsoleGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesConsoleGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console get forbidden response has a 4xx status code
func (*PcloudPvminstancesConsoleGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console get forbidden response a status code equal to that given
func (*PcloudPvminstancesConsoleGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console get forbidden response has a 3xx status code
func (*PcloudPvminstancesConsoleGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console get forbidden response has a 5xx status code
func (*PcloudPvminstancesConsoleGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console get forbidden response has a 2xx status code
func (*PcloudPvminstancesConsoleGetForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetForbidden) String() string
type PcloudPvminstancesConsoleGetInternalServerError ¶ added in v1.0.75
PcloudPvminstancesConsoleGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesConsoleGetInternalServerError ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetInternalServerError() *PcloudPvminstancesConsoleGetInternalServerError
NewPcloudPvminstancesConsoleGetInternalServerError creates a PcloudPvminstancesConsoleGetInternalServerError with default headers values
func (*PcloudPvminstancesConsoleGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsoleGetInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances console get internal server error response
func (*PcloudPvminstancesConsoleGetInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetInternalServerError) Error() string
func (*PcloudPvminstancesConsoleGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsoleGetInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesConsoleGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console get internal server error response has a 4xx status code
func (*PcloudPvminstancesConsoleGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console get internal server error response a status code equal to that given
func (*PcloudPvminstancesConsoleGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console get internal server error response has a 3xx status code
func (*PcloudPvminstancesConsoleGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console get internal server error response has a 5xx status code
func (*PcloudPvminstancesConsoleGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console get internal server error response has a 2xx status code
func (*PcloudPvminstancesConsoleGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetInternalServerError) String() string
type PcloudPvminstancesConsoleGetNotFound ¶ added in v1.2.2
PcloudPvminstancesConsoleGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesConsoleGetNotFound ¶ added in v1.2.2
func NewPcloudPvminstancesConsoleGetNotFound() *PcloudPvminstancesConsoleGetNotFound
NewPcloudPvminstancesConsoleGetNotFound creates a PcloudPvminstancesConsoleGetNotFound with default headers values
func (*PcloudPvminstancesConsoleGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsoleGetNotFound) Code() int
Code gets the status code for the pcloud pvminstances console get not found response
func (*PcloudPvminstancesConsoleGetNotFound) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) Error() string
func (*PcloudPvminstancesConsoleGetNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesConsoleGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console get not found response has a 4xx status code
func (*PcloudPvminstancesConsoleGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console get not found response a status code equal to that given
func (*PcloudPvminstancesConsoleGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console get not found response has a 3xx status code
func (*PcloudPvminstancesConsoleGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console get not found response has a 5xx status code
func (*PcloudPvminstancesConsoleGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console get not found response has a 2xx status code
func (*PcloudPvminstancesConsoleGetNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetNotFound) String() string
type PcloudPvminstancesConsoleGetOK ¶ added in v1.0.75
type PcloudPvminstancesConsoleGetOK struct {
Payload *models.ConsoleLanguages
}
PcloudPvminstancesConsoleGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesConsoleGetOK ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetOK() *PcloudPvminstancesConsoleGetOK
NewPcloudPvminstancesConsoleGetOK creates a PcloudPvminstancesConsoleGetOK with default headers values
func (*PcloudPvminstancesConsoleGetOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsoleGetOK) Code() int
Code gets the status code for the pcloud pvminstances console get o k response
func (*PcloudPvminstancesConsoleGetOK) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetOK) Error() string
func (*PcloudPvminstancesConsoleGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsoleGetOK) GetPayload() *models.ConsoleLanguages
func (*PcloudPvminstancesConsoleGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console get o k response has a 4xx status code
func (*PcloudPvminstancesConsoleGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console get o k response a status code equal to that given
func (*PcloudPvminstancesConsoleGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console get o k response has a 3xx status code
func (*PcloudPvminstancesConsoleGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console get o k response has a 5xx status code
func (*PcloudPvminstancesConsoleGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console get o k response has a 2xx status code
func (*PcloudPvminstancesConsoleGetOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetOK) String() string
type PcloudPvminstancesConsoleGetParams ¶ added in v1.0.75
type PcloudPvminstancesConsoleGetParams 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 }
PcloudPvminstancesConsoleGetParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances console get operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesConsoleGetParams ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetParams() *PcloudPvminstancesConsoleGetParams
NewPcloudPvminstancesConsoleGetParams creates a new PcloudPvminstancesConsoleGetParams 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 NewPcloudPvminstancesConsoleGetParamsWithContext ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetParamsWithContext(ctx context.Context) *PcloudPvminstancesConsoleGetParams
NewPcloudPvminstancesConsoleGetParamsWithContext creates a new PcloudPvminstancesConsoleGetParams object with the ability to set a context for a request.
func NewPcloudPvminstancesConsoleGetParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsoleGetParams
NewPcloudPvminstancesConsoleGetParamsWithHTTPClient creates a new PcloudPvminstancesConsoleGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesConsoleGetParamsWithTimeout ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsoleGetParams
NewPcloudPvminstancesConsoleGetParamsWithTimeout creates a new PcloudPvminstancesConsoleGetParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesConsoleGetParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) SetContext ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesConsoleGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances console get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesConsoleGetParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) SetPvmInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsoleGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) WithContext ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) WithContext(ctx context.Context) *PcloudPvminstancesConsoleGetParams
WithContext adds the context to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesConsoleGetParams) WithDefaults() *PcloudPvminstancesConsoleGetParams
WithDefaults hydrates default values in the pcloud pvminstances console get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesConsoleGetParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesConsoleGetParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) WithPvmInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesConsoleGetParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesConsoleGetParams
WithTimeout adds the timeout to the pcloud pvminstances console get params
func (*PcloudPvminstancesConsoleGetParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesConsoleGetReader ¶ added in v1.0.75
type PcloudPvminstancesConsoleGetReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesConsoleGetReader is a Reader for the PcloudPvminstancesConsoleGet structure.
func (*PcloudPvminstancesConsoleGetReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesConsoleGetUnauthorized ¶ added in v1.0.75
type PcloudPvminstancesConsoleGetUnauthorized struct {
}PcloudPvminstancesConsoleGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesConsoleGetUnauthorized ¶ added in v1.0.75
func NewPcloudPvminstancesConsoleGetUnauthorized() *PcloudPvminstancesConsoleGetUnauthorized
NewPcloudPvminstancesConsoleGetUnauthorized creates a PcloudPvminstancesConsoleGetUnauthorized with default headers values
func (*PcloudPvminstancesConsoleGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsoleGetUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances console get unauthorized response
func (*PcloudPvminstancesConsoleGetUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsoleGetUnauthorized) Error() string
func (*PcloudPvminstancesConsoleGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsoleGetUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesConsoleGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console get unauthorized response has a 4xx status code
func (*PcloudPvminstancesConsoleGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console get unauthorized response a status code equal to that given
func (*PcloudPvminstancesConsoleGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console get unauthorized response has a 3xx status code
func (*PcloudPvminstancesConsoleGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console get unauthorized response has a 5xx status code
func (*PcloudPvminstancesConsoleGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console get unauthorized response has a 2xx status code
func (*PcloudPvminstancesConsoleGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsoleGetUnauthorized) String() string
type PcloudPvminstancesConsolePostBadRequest ¶ added in v1.4.2
PcloudPvminstancesConsolePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesConsolePostBadRequest ¶ added in v1.4.2
func NewPcloudPvminstancesConsolePostBadRequest() *PcloudPvminstancesConsolePostBadRequest
NewPcloudPvminstancesConsolePostBadRequest creates a PcloudPvminstancesConsolePostBadRequest with default headers values
func (*PcloudPvminstancesConsolePostBadRequest) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances console post bad request response
func (*PcloudPvminstancesConsolePostBadRequest) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) Error() string
func (*PcloudPvminstancesConsolePostBadRequest) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePostBadRequest) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console post bad request response has a 4xx status code
func (*PcloudPvminstancesConsolePostBadRequest) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console post bad request response a status code equal to that given
func (*PcloudPvminstancesConsolePostBadRequest) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console post bad request response has a 3xx status code
func (*PcloudPvminstancesConsolePostBadRequest) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console post bad request response has a 5xx status code
func (*PcloudPvminstancesConsolePostBadRequest) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console post bad request response has a 2xx status code
func (*PcloudPvminstancesConsolePostBadRequest) String ¶ added in v1.4.2
func (o *PcloudPvminstancesConsolePostBadRequest) String() string
type PcloudPvminstancesConsolePostCreated ¶
type PcloudPvminstancesConsolePostCreated struct {
Payload *models.PVMInstanceConsole
}
PcloudPvminstancesConsolePostCreated describes a response with status code 201, with default header values.
Created
func NewPcloudPvminstancesConsolePostCreated ¶
func NewPcloudPvminstancesConsolePostCreated() *PcloudPvminstancesConsolePostCreated
NewPcloudPvminstancesConsolePostCreated creates a PcloudPvminstancesConsolePostCreated with default headers values
func (*PcloudPvminstancesConsolePostCreated) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePostCreated) Code() int
Code gets the status code for the pcloud pvminstances console post created response
func (*PcloudPvminstancesConsolePostCreated) Error ¶
func (o *PcloudPvminstancesConsolePostCreated) Error() string
func (*PcloudPvminstancesConsolePostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostCreated) GetPayload() *models.PVMInstanceConsole
func (*PcloudPvminstancesConsolePostCreated) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostCreated) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console post created response has a 4xx status code
func (*PcloudPvminstancesConsolePostCreated) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostCreated) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console post created response a status code equal to that given
func (*PcloudPvminstancesConsolePostCreated) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostCreated) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console post created response has a 3xx status code
func (*PcloudPvminstancesConsolePostCreated) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostCreated) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console post created response has a 5xx status code
func (*PcloudPvminstancesConsolePostCreated) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostCreated) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console post created response has a 2xx status code
func (*PcloudPvminstancesConsolePostCreated) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostCreated) String() string
type PcloudPvminstancesConsolePostForbidden ¶ added in v1.2.2
PcloudPvminstancesConsolePostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesConsolePostForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesConsolePostForbidden() *PcloudPvminstancesConsolePostForbidden
NewPcloudPvminstancesConsolePostForbidden creates a PcloudPvminstancesConsolePostForbidden with default headers values
func (*PcloudPvminstancesConsolePostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePostForbidden) Code() int
Code gets the status code for the pcloud pvminstances console post forbidden response
func (*PcloudPvminstancesConsolePostForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) Error() string
func (*PcloudPvminstancesConsolePostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console post forbidden response has a 4xx status code
func (*PcloudPvminstancesConsolePostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console post forbidden response a status code equal to that given
func (*PcloudPvminstancesConsolePostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console post forbidden response has a 3xx status code
func (*PcloudPvminstancesConsolePostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console post forbidden response has a 5xx status code
func (*PcloudPvminstancesConsolePostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console post forbidden response has a 2xx status code
func (*PcloudPvminstancesConsolePostForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostForbidden) String() string
type PcloudPvminstancesConsolePostInternalServerError ¶
PcloudPvminstancesConsolePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesConsolePostInternalServerError ¶
func NewPcloudPvminstancesConsolePostInternalServerError() *PcloudPvminstancesConsolePostInternalServerError
NewPcloudPvminstancesConsolePostInternalServerError creates a PcloudPvminstancesConsolePostInternalServerError with default headers values
func (*PcloudPvminstancesConsolePostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances console post internal server error response
func (*PcloudPvminstancesConsolePostInternalServerError) Error ¶
func (o *PcloudPvminstancesConsolePostInternalServerError) Error() string
func (*PcloudPvminstancesConsolePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console post internal server error response has a 4xx status code
func (*PcloudPvminstancesConsolePostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console post internal server error response a status code equal to that given
func (*PcloudPvminstancesConsolePostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console post internal server error response has a 3xx status code
func (*PcloudPvminstancesConsolePostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console post internal server error response has a 5xx status code
func (*PcloudPvminstancesConsolePostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console post internal server error response has a 2xx status code
func (*PcloudPvminstancesConsolePostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostInternalServerError) String() string
type PcloudPvminstancesConsolePostNotFound ¶ added in v1.2.2
PcloudPvminstancesConsolePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesConsolePostNotFound ¶ added in v1.2.2
func NewPcloudPvminstancesConsolePostNotFound() *PcloudPvminstancesConsolePostNotFound
NewPcloudPvminstancesConsolePostNotFound creates a PcloudPvminstancesConsolePostNotFound with default headers values
func (*PcloudPvminstancesConsolePostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePostNotFound) Code() int
Code gets the status code for the pcloud pvminstances console post not found response
func (*PcloudPvminstancesConsolePostNotFound) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) Error() string
func (*PcloudPvminstancesConsolePostNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console post not found response has a 4xx status code
func (*PcloudPvminstancesConsolePostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console post not found response a status code equal to that given
func (*PcloudPvminstancesConsolePostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console post not found response has a 3xx status code
func (*PcloudPvminstancesConsolePostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console post not found response has a 5xx status code
func (*PcloudPvminstancesConsolePostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console post not found response has a 2xx status code
func (*PcloudPvminstancesConsolePostNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostNotFound) String() string
type PcloudPvminstancesConsolePostParams ¶
type PcloudPvminstancesConsolePostParams 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 }
PcloudPvminstancesConsolePostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances console post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesConsolePostParams ¶
func NewPcloudPvminstancesConsolePostParams() *PcloudPvminstancesConsolePostParams
NewPcloudPvminstancesConsolePostParams creates a new PcloudPvminstancesConsolePostParams 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 NewPcloudPvminstancesConsolePostParamsWithContext ¶
func NewPcloudPvminstancesConsolePostParamsWithContext(ctx context.Context) *PcloudPvminstancesConsolePostParams
NewPcloudPvminstancesConsolePostParamsWithContext creates a new PcloudPvminstancesConsolePostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesConsolePostParamsWithHTTPClient ¶
func NewPcloudPvminstancesConsolePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePostParams
NewPcloudPvminstancesConsolePostParamsWithHTTPClient creates a new PcloudPvminstancesConsolePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesConsolePostParamsWithTimeout ¶
func NewPcloudPvminstancesConsolePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePostParams
NewPcloudPvminstancesConsolePostParamsWithTimeout creates a new PcloudPvminstancesConsolePostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesConsolePostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesConsolePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) SetContext ¶
func (o *PcloudPvminstancesConsolePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances console post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesConsolePostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesConsolePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesConsolePostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) SetTimeout ¶
func (o *PcloudPvminstancesConsolePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesConsolePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsolePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) WithContext ¶
func (o *PcloudPvminstancesConsolePostParams) WithContext(ctx context.Context) *PcloudPvminstancesConsolePostParams
WithContext adds the context to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostParams) WithDefaults() *PcloudPvminstancesConsolePostParams
WithDefaults hydrates default values in the pcloud pvminstances console post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesConsolePostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesConsolePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesConsolePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesConsolePostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) WithTimeout ¶
func (o *PcloudPvminstancesConsolePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePostParams
WithTimeout adds the timeout to the pcloud pvminstances console post params
func (*PcloudPvminstancesConsolePostParams) WriteToRequest ¶
func (o *PcloudPvminstancesConsolePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesConsolePostReader ¶
type PcloudPvminstancesConsolePostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesConsolePostReader is a Reader for the PcloudPvminstancesConsolePost structure.
func (*PcloudPvminstancesConsolePostReader) ReadResponse ¶
func (o *PcloudPvminstancesConsolePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesConsolePostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesConsolePostUnauthorized struct {
}PcloudPvminstancesConsolePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesConsolePostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesConsolePostUnauthorized() *PcloudPvminstancesConsolePostUnauthorized
NewPcloudPvminstancesConsolePostUnauthorized creates a PcloudPvminstancesConsolePostUnauthorized with default headers values
func (*PcloudPvminstancesConsolePostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances console post unauthorized response
func (*PcloudPvminstancesConsolePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesConsolePostUnauthorized) Error() string
func (*PcloudPvminstancesConsolePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console post unauthorized response has a 4xx status code
func (*PcloudPvminstancesConsolePostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console post unauthorized response a status code equal to that given
func (*PcloudPvminstancesConsolePostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console post unauthorized response has a 3xx status code
func (*PcloudPvminstancesConsolePostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console post unauthorized response has a 5xx status code
func (*PcloudPvminstancesConsolePostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console post unauthorized response has a 2xx status code
func (*PcloudPvminstancesConsolePostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnauthorized) String() string
type PcloudPvminstancesConsolePostUnprocessableEntity ¶ added in v1.0.1
PcloudPvminstancesConsolePostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesConsolePostUnprocessableEntity ¶ added in v1.0.1
func NewPcloudPvminstancesConsolePostUnprocessableEntity() *PcloudPvminstancesConsolePostUnprocessableEntity
NewPcloudPvminstancesConsolePostUnprocessableEntity creates a PcloudPvminstancesConsolePostUnprocessableEntity with default headers values
func (*PcloudPvminstancesConsolePostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances console post unprocessable entity response
func (*PcloudPvminstancesConsolePostUnprocessableEntity) Error ¶ added in v1.0.1
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) Error() string
func (*PcloudPvminstancesConsolePostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console post unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console post unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console post unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console post unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console post unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesConsolePostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePostUnprocessableEntity) String() string
type PcloudPvminstancesConsolePutBadRequest ¶ added in v1.0.75
PcloudPvminstancesConsolePutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesConsolePutBadRequest ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutBadRequest() *PcloudPvminstancesConsolePutBadRequest
NewPcloudPvminstancesConsolePutBadRequest creates a PcloudPvminstancesConsolePutBadRequest with default headers values
func (*PcloudPvminstancesConsolePutBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePutBadRequest) Code() int
Code gets the status code for the pcloud pvminstances console put bad request response
func (*PcloudPvminstancesConsolePutBadRequest) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutBadRequest) Error() string
func (*PcloudPvminstancesConsolePutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePutBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console put bad request response has a 4xx status code
func (*PcloudPvminstancesConsolePutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console put bad request response a status code equal to that given
func (*PcloudPvminstancesConsolePutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console put bad request response has a 3xx status code
func (*PcloudPvminstancesConsolePutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console put bad request response has a 5xx status code
func (*PcloudPvminstancesConsolePutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console put bad request response has a 2xx status code
func (*PcloudPvminstancesConsolePutBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutBadRequest) String() string
type PcloudPvminstancesConsolePutForbidden ¶ added in v1.2.2
PcloudPvminstancesConsolePutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesConsolePutForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesConsolePutForbidden() *PcloudPvminstancesConsolePutForbidden
NewPcloudPvminstancesConsolePutForbidden creates a PcloudPvminstancesConsolePutForbidden with default headers values
func (*PcloudPvminstancesConsolePutForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePutForbidden) Code() int
Code gets the status code for the pcloud pvminstances console put forbidden response
func (*PcloudPvminstancesConsolePutForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) Error() string
func (*PcloudPvminstancesConsolePutForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console put forbidden response has a 4xx status code
func (*PcloudPvminstancesConsolePutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console put forbidden response a status code equal to that given
func (*PcloudPvminstancesConsolePutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console put forbidden response has a 3xx status code
func (*PcloudPvminstancesConsolePutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console put forbidden response has a 5xx status code
func (*PcloudPvminstancesConsolePutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console put forbidden response has a 2xx status code
func (*PcloudPvminstancesConsolePutForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutForbidden) String() string
type PcloudPvminstancesConsolePutInternalServerError ¶ added in v1.0.75
PcloudPvminstancesConsolePutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesConsolePutInternalServerError ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutInternalServerError() *PcloudPvminstancesConsolePutInternalServerError
NewPcloudPvminstancesConsolePutInternalServerError creates a PcloudPvminstancesConsolePutInternalServerError with default headers values
func (*PcloudPvminstancesConsolePutInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePutInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances console put internal server error response
func (*PcloudPvminstancesConsolePutInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutInternalServerError) Error() string
func (*PcloudPvminstancesConsolePutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePutInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console put internal server error response has a 4xx status code
func (*PcloudPvminstancesConsolePutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console put internal server error response a status code equal to that given
func (*PcloudPvminstancesConsolePutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console put internal server error response has a 3xx status code
func (*PcloudPvminstancesConsolePutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console put internal server error response has a 5xx status code
func (*PcloudPvminstancesConsolePutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console put internal server error response has a 2xx status code
func (*PcloudPvminstancesConsolePutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutInternalServerError) String() string
type PcloudPvminstancesConsolePutNotFound ¶ added in v1.2.2
PcloudPvminstancesConsolePutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesConsolePutNotFound ¶ added in v1.2.2
func NewPcloudPvminstancesConsolePutNotFound() *PcloudPvminstancesConsolePutNotFound
NewPcloudPvminstancesConsolePutNotFound creates a PcloudPvminstancesConsolePutNotFound with default headers values
func (*PcloudPvminstancesConsolePutNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePutNotFound) Code() int
Code gets the status code for the pcloud pvminstances console put not found response
func (*PcloudPvminstancesConsolePutNotFound) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) Error() string
func (*PcloudPvminstancesConsolePutNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePutNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console put not found response has a 4xx status code
func (*PcloudPvminstancesConsolePutNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console put not found response a status code equal to that given
func (*PcloudPvminstancesConsolePutNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console put not found response has a 3xx status code
func (*PcloudPvminstancesConsolePutNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console put not found response has a 5xx status code
func (*PcloudPvminstancesConsolePutNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console put not found response has a 2xx status code
func (*PcloudPvminstancesConsolePutNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutNotFound) String() string
type PcloudPvminstancesConsolePutOK ¶ added in v1.0.75
type PcloudPvminstancesConsolePutOK struct {
Payload *models.ConsoleLanguage
}
PcloudPvminstancesConsolePutOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesConsolePutOK ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutOK() *PcloudPvminstancesConsolePutOK
NewPcloudPvminstancesConsolePutOK creates a PcloudPvminstancesConsolePutOK with default headers values
func (*PcloudPvminstancesConsolePutOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePutOK) Code() int
Code gets the status code for the pcloud pvminstances console put o k response
func (*PcloudPvminstancesConsolePutOK) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutOK) Error() string
func (*PcloudPvminstancesConsolePutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePutOK) GetPayload() *models.ConsoleLanguage
func (*PcloudPvminstancesConsolePutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console put o k response has a 4xx status code
func (*PcloudPvminstancesConsolePutOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console put o k response a status code equal to that given
func (*PcloudPvminstancesConsolePutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console put o k response has a 3xx status code
func (*PcloudPvminstancesConsolePutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console put o k response has a 5xx status code
func (*PcloudPvminstancesConsolePutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console put o k response has a 2xx status code
func (*PcloudPvminstancesConsolePutOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutOK) String() string
type PcloudPvminstancesConsolePutParams ¶ added in v1.0.75
type PcloudPvminstancesConsolePutParams struct { /* Body. Parameters to update a PVMInstance console required codepage */ Body *models.ConsoleLanguage /* 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 }
PcloudPvminstancesConsolePutParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances console put operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesConsolePutParams ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutParams() *PcloudPvminstancesConsolePutParams
NewPcloudPvminstancesConsolePutParams creates a new PcloudPvminstancesConsolePutParams 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 NewPcloudPvminstancesConsolePutParamsWithContext ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutParamsWithContext(ctx context.Context) *PcloudPvminstancesConsolePutParams
NewPcloudPvminstancesConsolePutParamsWithContext creates a new PcloudPvminstancesConsolePutParams object with the ability to set a context for a request.
func NewPcloudPvminstancesConsolePutParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePutParams
NewPcloudPvminstancesConsolePutParamsWithHTTPClient creates a new PcloudPvminstancesConsolePutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesConsolePutParamsWithTimeout ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePutParams
NewPcloudPvminstancesConsolePutParamsWithTimeout creates a new PcloudPvminstancesConsolePutParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesConsolePutParams) SetBody ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) SetBody(body *models.ConsoleLanguage)
SetBody adds the body to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) SetContext ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances console put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesConsolePutParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) SetPvmInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) WithBody ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) WithBody(body *models.ConsoleLanguage) *PcloudPvminstancesConsolePutParams
WithBody adds the body to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsolePutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) WithContext ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) WithContext(ctx context.Context) *PcloudPvminstancesConsolePutParams
WithContext adds the context to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePutParams) WithDefaults() *PcloudPvminstancesConsolePutParams
WithDefaults hydrates default values in the pcloud pvminstances console put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesConsolePutParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePutParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) WithPvmInstanceID ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesConsolePutParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePutParams
WithTimeout adds the timeout to the pcloud pvminstances console put params
func (*PcloudPvminstancesConsolePutParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesConsolePutReader ¶ added in v1.0.75
type PcloudPvminstancesConsolePutReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesConsolePutReader is a Reader for the PcloudPvminstancesConsolePut structure.
func (*PcloudPvminstancesConsolePutReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesConsolePutUnauthorized ¶ added in v1.0.75
type PcloudPvminstancesConsolePutUnauthorized struct {
}PcloudPvminstancesConsolePutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesConsolePutUnauthorized ¶ added in v1.0.75
func NewPcloudPvminstancesConsolePutUnauthorized() *PcloudPvminstancesConsolePutUnauthorized
NewPcloudPvminstancesConsolePutUnauthorized creates a PcloudPvminstancesConsolePutUnauthorized with default headers values
func (*PcloudPvminstancesConsolePutUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesConsolePutUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances console put unauthorized response
func (*PcloudPvminstancesConsolePutUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudPvminstancesConsolePutUnauthorized) Error() string
func (*PcloudPvminstancesConsolePutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePutUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesConsolePutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances console put unauthorized response has a 4xx status code
func (*PcloudPvminstancesConsolePutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances console put unauthorized response a status code equal to that given
func (*PcloudPvminstancesConsolePutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances console put unauthorized response has a 3xx status code
func (*PcloudPvminstancesConsolePutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances console put unauthorized response has a 5xx status code
func (*PcloudPvminstancesConsolePutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances console put unauthorized response has a 2xx status code
func (*PcloudPvminstancesConsolePutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesConsolePutUnauthorized) String() string
type PcloudPvminstancesDeleteBadRequest ¶
PcloudPvminstancesDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesDeleteBadRequest ¶
func NewPcloudPvminstancesDeleteBadRequest() *PcloudPvminstancesDeleteBadRequest
NewPcloudPvminstancesDeleteBadRequest creates a PcloudPvminstancesDeleteBadRequest with default headers values
func (*PcloudPvminstancesDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesDeleteBadRequest) Code() int
Code gets the status code for the pcloud pvminstances delete bad request response
func (*PcloudPvminstancesDeleteBadRequest) Error ¶
func (o *PcloudPvminstancesDeleteBadRequest) Error() string
func (*PcloudPvminstancesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances delete bad request response has a 4xx status code
func (*PcloudPvminstancesDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances delete bad request response a status code equal to that given
func (*PcloudPvminstancesDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances delete bad request response has a 3xx status code
func (*PcloudPvminstancesDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances delete bad request response has a 5xx status code
func (*PcloudPvminstancesDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances delete bad request response has a 2xx status code
func (*PcloudPvminstancesDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteBadRequest) String() string
type PcloudPvminstancesDeleteForbidden ¶ added in v1.2.2
PcloudPvminstancesDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesDeleteForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesDeleteForbidden() *PcloudPvminstancesDeleteForbidden
NewPcloudPvminstancesDeleteForbidden creates a PcloudPvminstancesDeleteForbidden with default headers values
func (*PcloudPvminstancesDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesDeleteForbidden) Code() int
Code gets the status code for the pcloud pvminstances delete forbidden response
func (*PcloudPvminstancesDeleteForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) Error() string
func (*PcloudPvminstancesDeleteForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances delete forbidden response has a 4xx status code
func (*PcloudPvminstancesDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances delete forbidden response a status code equal to that given
func (*PcloudPvminstancesDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances delete forbidden response has a 3xx status code
func (*PcloudPvminstancesDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances delete forbidden response has a 5xx status code
func (*PcloudPvminstancesDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances delete forbidden response has a 2xx status code
func (*PcloudPvminstancesDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteForbidden) String() string
type PcloudPvminstancesDeleteGone ¶
PcloudPvminstancesDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudPvminstancesDeleteGone ¶
func NewPcloudPvminstancesDeleteGone() *PcloudPvminstancesDeleteGone
NewPcloudPvminstancesDeleteGone creates a PcloudPvminstancesDeleteGone with default headers values
func (*PcloudPvminstancesDeleteGone) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesDeleteGone) Code() int
Code gets the status code for the pcloud pvminstances delete gone response
func (*PcloudPvminstancesDeleteGone) Error ¶
func (o *PcloudPvminstancesDeleteGone) Error() string
func (*PcloudPvminstancesDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteGone) GetPayload() *models.Error
func (*PcloudPvminstancesDeleteGone) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud pvminstances delete gone response has a 4xx status code
func (*PcloudPvminstancesDeleteGone) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances delete gone response a status code equal to that given
func (*PcloudPvminstancesDeleteGone) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances delete gone response has a 3xx status code
func (*PcloudPvminstancesDeleteGone) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud pvminstances delete gone response has a 5xx status code
func (*PcloudPvminstancesDeleteGone) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances delete gone response has a 2xx status code
func (*PcloudPvminstancesDeleteGone) String ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteGone) String() string
type PcloudPvminstancesDeleteInternalServerError ¶
PcloudPvminstancesDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesDeleteInternalServerError ¶
func NewPcloudPvminstancesDeleteInternalServerError() *PcloudPvminstancesDeleteInternalServerError
NewPcloudPvminstancesDeleteInternalServerError creates a PcloudPvminstancesDeleteInternalServerError with default headers values
func (*PcloudPvminstancesDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesDeleteInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances delete internal server error response
func (*PcloudPvminstancesDeleteInternalServerError) Error ¶
func (o *PcloudPvminstancesDeleteInternalServerError) Error() string
func (*PcloudPvminstancesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances delete internal server error response has a 4xx status code
func (*PcloudPvminstancesDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances delete internal server error response a status code equal to that given
func (*PcloudPvminstancesDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances delete internal server error response has a 3xx status code
func (*PcloudPvminstancesDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances delete internal server error response has a 5xx status code
func (*PcloudPvminstancesDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances delete internal server error response has a 2xx status code
func (*PcloudPvminstancesDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteInternalServerError) String() string
type PcloudPvminstancesDeleteNotFound ¶ added in v1.0.38
PcloudPvminstancesDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesDeleteNotFound ¶ added in v1.0.38
func NewPcloudPvminstancesDeleteNotFound() *PcloudPvminstancesDeleteNotFound
NewPcloudPvminstancesDeleteNotFound creates a PcloudPvminstancesDeleteNotFound with default headers values
func (*PcloudPvminstancesDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesDeleteNotFound) Code() int
Code gets the status code for the pcloud pvminstances delete not found response
func (*PcloudPvminstancesDeleteNotFound) Error ¶ added in v1.0.38
func (o *PcloudPvminstancesDeleteNotFound) Error() string
func (*PcloudPvminstancesDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances delete not found response has a 4xx status code
func (*PcloudPvminstancesDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances delete not found response a status code equal to that given
func (*PcloudPvminstancesDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances delete not found response has a 3xx status code
func (*PcloudPvminstancesDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances delete not found response has a 5xx status code
func (*PcloudPvminstancesDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances delete not found response has a 2xx status code
func (*PcloudPvminstancesDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteNotFound) String() string
type PcloudPvminstancesDeleteOK ¶
PcloudPvminstancesDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesDeleteOK ¶
func NewPcloudPvminstancesDeleteOK() *PcloudPvminstancesDeleteOK
NewPcloudPvminstancesDeleteOK creates a PcloudPvminstancesDeleteOK with default headers values
func (*PcloudPvminstancesDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesDeleteOK) Code() int
Code gets the status code for the pcloud pvminstances delete o k response
func (*PcloudPvminstancesDeleteOK) Error ¶
func (o *PcloudPvminstancesDeleteOK) Error() string
func (*PcloudPvminstancesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteOK) GetPayload() models.Object
func (*PcloudPvminstancesDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances delete o k response has a 4xx status code
func (*PcloudPvminstancesDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances delete o k response a status code equal to that given
func (*PcloudPvminstancesDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances delete o k response has a 3xx status code
func (*PcloudPvminstancesDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances delete o k response has a 5xx status code
func (*PcloudPvminstancesDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances delete o k response has a 2xx status code
func (*PcloudPvminstancesDeleteOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteOK) String() string
type PcloudPvminstancesDeleteParams ¶
type PcloudPvminstancesDeleteParams struct { /* Body. Parameters to delete a PVM Instance */ Body *models.PVMInstanceDelete /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* DeleteDataVolumes. Indicates if all data volumes attached to the PVMInstance should be deleted when deleting the PVMInstance. Shared data volumes will be deleted if there are no other PVMInstances attached. */ DeleteDataVolumes *bool /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesDeleteParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances delete operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesDeleteParams ¶
func NewPcloudPvminstancesDeleteParams() *PcloudPvminstancesDeleteParams
NewPcloudPvminstancesDeleteParams creates a new PcloudPvminstancesDeleteParams 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 NewPcloudPvminstancesDeleteParamsWithContext ¶
func NewPcloudPvminstancesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesDeleteParams
NewPcloudPvminstancesDeleteParamsWithContext creates a new PcloudPvminstancesDeleteParams object with the ability to set a context for a request.
func NewPcloudPvminstancesDeleteParamsWithHTTPClient ¶
func NewPcloudPvminstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesDeleteParams
NewPcloudPvminstancesDeleteParamsWithHTTPClient creates a new PcloudPvminstancesDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesDeleteParamsWithTimeout ¶
func NewPcloudPvminstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesDeleteParams
NewPcloudPvminstancesDeleteParamsWithTimeout creates a new PcloudPvminstancesDeleteParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesDeleteParams) SetBody ¶ added in v1.0.49
func (o *PcloudPvminstancesDeleteParams) SetBody(body *models.PVMInstanceDelete)
SetBody adds the body to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) SetContext ¶
func (o *PcloudPvminstancesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesDeleteParams) SetDeleteDataVolumes ¶ added in v1.0.54
func (o *PcloudPvminstancesDeleteParams) SetDeleteDataVolumes(deleteDataVolumes *bool)
SetDeleteDataVolumes adds the deleteDataVolumes to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) SetHTTPClient ¶
func (o *PcloudPvminstancesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesDeleteParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) SetTimeout ¶
func (o *PcloudPvminstancesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WithBody ¶ added in v1.0.49
func (o *PcloudPvminstancesDeleteParams) WithBody(body *models.PVMInstanceDelete) *PcloudPvminstancesDeleteParams
WithBody adds the body to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WithContext ¶
func (o *PcloudPvminstancesDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesDeleteParams
WithContext adds the context to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteParams) WithDefaults() *PcloudPvminstancesDeleteParams
WithDefaults hydrates default values in the pcloud pvminstances delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesDeleteParams) WithDeleteDataVolumes ¶ added in v1.0.54
func (o *PcloudPvminstancesDeleteParams) WithDeleteDataVolumes(deleteDataVolumes *bool) *PcloudPvminstancesDeleteParams
WithDeleteDataVolumes adds the deleteDataVolumes to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WithHTTPClient ¶
func (o *PcloudPvminstancesDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesDeleteParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WithTimeout ¶
func (o *PcloudPvminstancesDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesDeleteParams
WithTimeout adds the timeout to the pcloud pvminstances delete params
func (*PcloudPvminstancesDeleteParams) WriteToRequest ¶
func (o *PcloudPvminstancesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesDeleteReader ¶
type PcloudPvminstancesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesDeleteReader is a Reader for the PcloudPvminstancesDelete structure.
func (*PcloudPvminstancesDeleteReader) ReadResponse ¶
func (o *PcloudPvminstancesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesDeleteUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesDeleteUnauthorized struct {
}PcloudPvminstancesDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesDeleteUnauthorized() *PcloudPvminstancesDeleteUnauthorized
NewPcloudPvminstancesDeleteUnauthorized creates a PcloudPvminstancesDeleteUnauthorized with default headers values
func (*PcloudPvminstancesDeleteUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesDeleteUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances delete unauthorized response
func (*PcloudPvminstancesDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesDeleteUnauthorized) Error() string
func (*PcloudPvminstancesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances delete unauthorized response has a 4xx status code
func (*PcloudPvminstancesDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances delete unauthorized response a status code equal to that given
func (*PcloudPvminstancesDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances delete unauthorized response has a 3xx status code
func (*PcloudPvminstancesDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances delete unauthorized response has a 5xx status code
func (*PcloudPvminstancesDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances delete unauthorized response has a 2xx status code
func (*PcloudPvminstancesDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesDeleteUnauthorized) String() string
type PcloudPvminstancesGetBadRequest ¶
PcloudPvminstancesGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesGetBadRequest ¶
func NewPcloudPvminstancesGetBadRequest() *PcloudPvminstancesGetBadRequest
NewPcloudPvminstancesGetBadRequest creates a PcloudPvminstancesGetBadRequest with default headers values
func (*PcloudPvminstancesGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetBadRequest) Code() int
Code gets the status code for the pcloud pvminstances get bad request response
func (*PcloudPvminstancesGetBadRequest) Error ¶
func (o *PcloudPvminstancesGetBadRequest) Error() string
func (*PcloudPvminstancesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances get bad request response has a 4xx status code
func (*PcloudPvminstancesGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances get bad request response a status code equal to that given
func (*PcloudPvminstancesGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances get bad request response has a 3xx status code
func (*PcloudPvminstancesGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances get bad request response has a 5xx status code
func (*PcloudPvminstancesGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances get bad request response has a 2xx status code
func (*PcloudPvminstancesGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetBadRequest) String() string
type PcloudPvminstancesGetForbidden ¶ added in v1.2.2
PcloudPvminstancesGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesGetForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesGetForbidden() *PcloudPvminstancesGetForbidden
NewPcloudPvminstancesGetForbidden creates a PcloudPvminstancesGetForbidden with default headers values
func (*PcloudPvminstancesGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetForbidden) Code() int
Code gets the status code for the pcloud pvminstances get forbidden response
func (*PcloudPvminstancesGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) Error() string
func (*PcloudPvminstancesGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances get forbidden response has a 4xx status code
func (*PcloudPvminstancesGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances get forbidden response a status code equal to that given
func (*PcloudPvminstancesGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances get forbidden response has a 3xx status code
func (*PcloudPvminstancesGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances get forbidden response has a 5xx status code
func (*PcloudPvminstancesGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances get forbidden response has a 2xx status code
func (*PcloudPvminstancesGetForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetForbidden) String() string
type PcloudPvminstancesGetInternalServerError ¶
PcloudPvminstancesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesGetInternalServerError ¶
func NewPcloudPvminstancesGetInternalServerError() *PcloudPvminstancesGetInternalServerError
NewPcloudPvminstancesGetInternalServerError creates a PcloudPvminstancesGetInternalServerError with default headers values
func (*PcloudPvminstancesGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances get internal server error response
func (*PcloudPvminstancesGetInternalServerError) Error ¶
func (o *PcloudPvminstancesGetInternalServerError) Error() string
func (*PcloudPvminstancesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances get internal server error response has a 4xx status code
func (*PcloudPvminstancesGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances get internal server error response a status code equal to that given
func (*PcloudPvminstancesGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances get internal server error response has a 3xx status code
func (*PcloudPvminstancesGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances get internal server error response has a 5xx status code
func (*PcloudPvminstancesGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances get internal server error response has a 2xx status code
func (*PcloudPvminstancesGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetInternalServerError) String() string
type PcloudPvminstancesGetNotFound ¶
PcloudPvminstancesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesGetNotFound ¶
func NewPcloudPvminstancesGetNotFound() *PcloudPvminstancesGetNotFound
NewPcloudPvminstancesGetNotFound creates a PcloudPvminstancesGetNotFound with default headers values
func (*PcloudPvminstancesGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetNotFound) Code() int
Code gets the status code for the pcloud pvminstances get not found response
func (*PcloudPvminstancesGetNotFound) Error ¶
func (o *PcloudPvminstancesGetNotFound) Error() string
func (*PcloudPvminstancesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances get not found response has a 4xx status code
func (*PcloudPvminstancesGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances get not found response a status code equal to that given
func (*PcloudPvminstancesGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances get not found response has a 3xx status code
func (*PcloudPvminstancesGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances get not found response has a 5xx status code
func (*PcloudPvminstancesGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances get not found response has a 2xx status code
func (*PcloudPvminstancesGetNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetNotFound) String() string
type PcloudPvminstancesGetOK ¶
type PcloudPvminstancesGetOK struct {
Payload *models.PVMInstance
}
PcloudPvminstancesGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesGetOK ¶
func NewPcloudPvminstancesGetOK() *PcloudPvminstancesGetOK
NewPcloudPvminstancesGetOK creates a PcloudPvminstancesGetOK with default headers values
func (*PcloudPvminstancesGetOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetOK) Code() int
Code gets the status code for the pcloud pvminstances get o k response
func (*PcloudPvminstancesGetOK) Error ¶
func (o *PcloudPvminstancesGetOK) Error() string
func (*PcloudPvminstancesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetOK) GetPayload() *models.PVMInstance
func (*PcloudPvminstancesGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances get o k response has a 4xx status code
func (*PcloudPvminstancesGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances get o k response a status code equal to that given
func (*PcloudPvminstancesGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances get o k response has a 3xx status code
func (*PcloudPvminstancesGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances get o k response has a 5xx status code
func (*PcloudPvminstancesGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances get o k response has a 2xx status code
func (*PcloudPvminstancesGetOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetOK) String() string
type PcloudPvminstancesGetParams ¶
type PcloudPvminstancesGetParams 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 }
PcloudPvminstancesGetParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances get operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesGetParams ¶
func NewPcloudPvminstancesGetParams() *PcloudPvminstancesGetParams
NewPcloudPvminstancesGetParams creates a new PcloudPvminstancesGetParams 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 NewPcloudPvminstancesGetParamsWithContext ¶
func NewPcloudPvminstancesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesGetParams
NewPcloudPvminstancesGetParamsWithContext creates a new PcloudPvminstancesGetParams object with the ability to set a context for a request.
func NewPcloudPvminstancesGetParamsWithHTTPClient ¶
func NewPcloudPvminstancesGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetParams
NewPcloudPvminstancesGetParamsWithHTTPClient creates a new PcloudPvminstancesGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesGetParamsWithTimeout ¶
func NewPcloudPvminstancesGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetParams
NewPcloudPvminstancesGetParamsWithTimeout creates a new PcloudPvminstancesGetParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesGetParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) SetContext ¶
func (o *PcloudPvminstancesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesGetParams) SetHTTPClient ¶
func (o *PcloudPvminstancesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesGetParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) SetTimeout ¶
func (o *PcloudPvminstancesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) WithContext ¶
func (o *PcloudPvminstancesGetParams) WithContext(ctx context.Context) *PcloudPvminstancesGetParams
WithContext adds the context to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesGetParams) WithDefaults() *PcloudPvminstancesGetParams
WithDefaults hydrates default values in the pcloud pvminstances get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesGetParams) WithHTTPClient ¶
func (o *PcloudPvminstancesGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesGetParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesGetParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) WithTimeout ¶
func (o *PcloudPvminstancesGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesGetParams
WithTimeout adds the timeout to the pcloud pvminstances get params
func (*PcloudPvminstancesGetParams) WriteToRequest ¶
func (o *PcloudPvminstancesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesGetReader ¶
type PcloudPvminstancesGetReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesGetReader is a Reader for the PcloudPvminstancesGet structure.
func (*PcloudPvminstancesGetReader) ReadResponse ¶
func (o *PcloudPvminstancesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesGetUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesGetUnauthorized struct {
}PcloudPvminstancesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesGetUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesGetUnauthorized() *PcloudPvminstancesGetUnauthorized
NewPcloudPvminstancesGetUnauthorized creates a PcloudPvminstancesGetUnauthorized with default headers values
func (*PcloudPvminstancesGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances get unauthorized response
func (*PcloudPvminstancesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesGetUnauthorized) Error() string
func (*PcloudPvminstancesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances get unauthorized response has a 4xx status code
func (*PcloudPvminstancesGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances get unauthorized response a status code equal to that given
func (*PcloudPvminstancesGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances get unauthorized response has a 3xx status code
func (*PcloudPvminstancesGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances get unauthorized response has a 5xx status code
func (*PcloudPvminstancesGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances get unauthorized response has a 2xx status code
func (*PcloudPvminstancesGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetUnauthorized) String() string
type PcloudPvminstancesGetallBadRequest ¶
PcloudPvminstancesGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesGetallBadRequest ¶
func NewPcloudPvminstancesGetallBadRequest() *PcloudPvminstancesGetallBadRequest
NewPcloudPvminstancesGetallBadRequest creates a PcloudPvminstancesGetallBadRequest with default headers values
func (*PcloudPvminstancesGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetallBadRequest) Code() int
Code gets the status code for the pcloud pvminstances getall bad request response
func (*PcloudPvminstancesGetallBadRequest) Error ¶
func (o *PcloudPvminstancesGetallBadRequest) Error() string
func (*PcloudPvminstancesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances getall bad request response has a 4xx status code
func (*PcloudPvminstancesGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances getall bad request response a status code equal to that given
func (*PcloudPvminstancesGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances getall bad request response has a 3xx status code
func (*PcloudPvminstancesGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances getall bad request response has a 5xx status code
func (*PcloudPvminstancesGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances getall bad request response has a 2xx status code
func (*PcloudPvminstancesGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallBadRequest) String() string
type PcloudPvminstancesGetallForbidden ¶ added in v1.2.2
PcloudPvminstancesGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesGetallForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesGetallForbidden() *PcloudPvminstancesGetallForbidden
NewPcloudPvminstancesGetallForbidden creates a PcloudPvminstancesGetallForbidden with default headers values
func (*PcloudPvminstancesGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetallForbidden) Code() int
Code gets the status code for the pcloud pvminstances getall forbidden response
func (*PcloudPvminstancesGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) Error() string
func (*PcloudPvminstancesGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances getall forbidden response has a 4xx status code
func (*PcloudPvminstancesGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances getall forbidden response a status code equal to that given
func (*PcloudPvminstancesGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances getall forbidden response has a 3xx status code
func (*PcloudPvminstancesGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances getall forbidden response has a 5xx status code
func (*PcloudPvminstancesGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances getall forbidden response has a 2xx status code
func (*PcloudPvminstancesGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallForbidden) String() string
type PcloudPvminstancesGetallInternalServerError ¶
PcloudPvminstancesGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesGetallInternalServerError ¶
func NewPcloudPvminstancesGetallInternalServerError() *PcloudPvminstancesGetallInternalServerError
NewPcloudPvminstancesGetallInternalServerError creates a PcloudPvminstancesGetallInternalServerError with default headers values
func (*PcloudPvminstancesGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetallInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances getall internal server error response
func (*PcloudPvminstancesGetallInternalServerError) Error ¶
func (o *PcloudPvminstancesGetallInternalServerError) Error() string
func (*PcloudPvminstancesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances getall internal server error response has a 4xx status code
func (*PcloudPvminstancesGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances getall internal server error response a status code equal to that given
func (*PcloudPvminstancesGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances getall internal server error response has a 3xx status code
func (*PcloudPvminstancesGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances getall internal server error response has a 5xx status code
func (*PcloudPvminstancesGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances getall internal server error response has a 2xx status code
func (*PcloudPvminstancesGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallInternalServerError) String() string
type PcloudPvminstancesGetallNotFound ¶ added in v1.4.2
PcloudPvminstancesGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesGetallNotFound ¶ added in v1.4.2
func NewPcloudPvminstancesGetallNotFound() *PcloudPvminstancesGetallNotFound
NewPcloudPvminstancesGetallNotFound creates a PcloudPvminstancesGetallNotFound with default headers values
func (*PcloudPvminstancesGetallNotFound) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) Code() int
Code gets the status code for the pcloud pvminstances getall not found response
func (*PcloudPvminstancesGetallNotFound) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) Error() string
func (*PcloudPvminstancesGetallNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesGetallNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances getall not found response has a 4xx status code
func (*PcloudPvminstancesGetallNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances getall not found response a status code equal to that given
func (*PcloudPvminstancesGetallNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances getall not found response has a 3xx status code
func (*PcloudPvminstancesGetallNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances getall not found response has a 5xx status code
func (*PcloudPvminstancesGetallNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances getall not found response has a 2xx status code
func (*PcloudPvminstancesGetallNotFound) String ¶ added in v1.4.2
func (o *PcloudPvminstancesGetallNotFound) String() string
type PcloudPvminstancesGetallOK ¶
type PcloudPvminstancesGetallOK struct {
Payload *models.PVMInstances
}
PcloudPvminstancesGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesGetallOK ¶
func NewPcloudPvminstancesGetallOK() *PcloudPvminstancesGetallOK
NewPcloudPvminstancesGetallOK creates a PcloudPvminstancesGetallOK with default headers values
func (*PcloudPvminstancesGetallOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetallOK) Code() int
Code gets the status code for the pcloud pvminstances getall o k response
func (*PcloudPvminstancesGetallOK) Error ¶
func (o *PcloudPvminstancesGetallOK) Error() string
func (*PcloudPvminstancesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallOK) GetPayload() *models.PVMInstances
func (*PcloudPvminstancesGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances getall o k response has a 4xx status code
func (*PcloudPvminstancesGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances getall o k response a status code equal to that given
func (*PcloudPvminstancesGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances getall o k response has a 3xx status code
func (*PcloudPvminstancesGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances getall o k response has a 5xx status code
func (*PcloudPvminstancesGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances getall o k response has a 2xx status code
func (*PcloudPvminstancesGetallOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallOK) String() string
type PcloudPvminstancesGetallParams ¶
type PcloudPvminstancesGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesGetallParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances getall operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesGetallParams ¶
func NewPcloudPvminstancesGetallParams() *PcloudPvminstancesGetallParams
NewPcloudPvminstancesGetallParams creates a new PcloudPvminstancesGetallParams 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 NewPcloudPvminstancesGetallParamsWithContext ¶
func NewPcloudPvminstancesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesGetallParams
NewPcloudPvminstancesGetallParamsWithContext creates a new PcloudPvminstancesGetallParams object with the ability to set a context for a request.
func NewPcloudPvminstancesGetallParamsWithHTTPClient ¶
func NewPcloudPvminstancesGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetallParams
NewPcloudPvminstancesGetallParamsWithHTTPClient creates a new PcloudPvminstancesGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesGetallParamsWithTimeout ¶
func NewPcloudPvminstancesGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetallParams
NewPcloudPvminstancesGetallParamsWithTimeout creates a new PcloudPvminstancesGetallParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesGetallParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) SetContext ¶
func (o *PcloudPvminstancesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesGetallParams) SetHTTPClient ¶
func (o *PcloudPvminstancesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) SetTimeout ¶
func (o *PcloudPvminstancesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) WithContext ¶
func (o *PcloudPvminstancesGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesGetallParams
WithContext adds the context to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallParams) WithDefaults() *PcloudPvminstancesGetallParams
WithDefaults hydrates default values in the pcloud pvminstances getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesGetallParams) WithHTTPClient ¶
func (o *PcloudPvminstancesGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) WithTimeout ¶
func (o *PcloudPvminstancesGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesGetallParams
WithTimeout adds the timeout to the pcloud pvminstances getall params
func (*PcloudPvminstancesGetallParams) WriteToRequest ¶
func (o *PcloudPvminstancesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesGetallReader ¶
type PcloudPvminstancesGetallReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesGetallReader is a Reader for the PcloudPvminstancesGetall structure.
func (*PcloudPvminstancesGetallReader) ReadResponse ¶
func (o *PcloudPvminstancesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesGetallRequestTimeout ¶ added in v1.2.3
PcloudPvminstancesGetallRequestTimeout describes a response with status code 408, with default header values.
Request Timeout
func NewPcloudPvminstancesGetallRequestTimeout ¶ added in v1.2.3
func NewPcloudPvminstancesGetallRequestTimeout() *PcloudPvminstancesGetallRequestTimeout
NewPcloudPvminstancesGetallRequestTimeout creates a PcloudPvminstancesGetallRequestTimeout with default headers values
func (*PcloudPvminstancesGetallRequestTimeout) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetallRequestTimeout) Code() int
Code gets the status code for the pcloud pvminstances getall request timeout response
func (*PcloudPvminstancesGetallRequestTimeout) Error ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) Error() string
func (*PcloudPvminstancesGetallRequestTimeout) GetPayload ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) GetPayload() *models.Error
func (*PcloudPvminstancesGetallRequestTimeout) IsClientError ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) IsClientError() bool
IsClientError returns true when this pcloud pvminstances getall request timeout response has a 4xx status code
func (*PcloudPvminstancesGetallRequestTimeout) IsCode ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances getall request timeout response a status code equal to that given
func (*PcloudPvminstancesGetallRequestTimeout) IsRedirect ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances getall request timeout response has a 3xx status code
func (*PcloudPvminstancesGetallRequestTimeout) IsServerError ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) IsServerError() bool
IsServerError returns true when this pcloud pvminstances getall request timeout response has a 5xx status code
func (*PcloudPvminstancesGetallRequestTimeout) IsSuccess ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances getall request timeout response has a 2xx status code
func (*PcloudPvminstancesGetallRequestTimeout) String ¶ added in v1.2.3
func (o *PcloudPvminstancesGetallRequestTimeout) String() string
type PcloudPvminstancesGetallUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesGetallUnauthorized struct {
}PcloudPvminstancesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesGetallUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesGetallUnauthorized() *PcloudPvminstancesGetallUnauthorized
NewPcloudPvminstancesGetallUnauthorized creates a PcloudPvminstancesGetallUnauthorized with default headers values
func (*PcloudPvminstancesGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesGetallUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances getall unauthorized response
func (*PcloudPvminstancesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesGetallUnauthorized) Error() string
func (*PcloudPvminstancesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances getall unauthorized response has a 4xx status code
func (*PcloudPvminstancesGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances getall unauthorized response a status code equal to that given
func (*PcloudPvminstancesGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances getall unauthorized response has a 3xx status code
func (*PcloudPvminstancesGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances getall unauthorized response has a 5xx status code
func (*PcloudPvminstancesGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances getall unauthorized response has a 2xx status code
func (*PcloudPvminstancesGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesGetallUnauthorized) String() string
type PcloudPvminstancesNetworksDeleteBadRequest ¶
PcloudPvminstancesNetworksDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesNetworksDeleteBadRequest ¶
func NewPcloudPvminstancesNetworksDeleteBadRequest() *PcloudPvminstancesNetworksDeleteBadRequest
NewPcloudPvminstancesNetworksDeleteBadRequest creates a PcloudPvminstancesNetworksDeleteBadRequest with default headers values
func (*PcloudPvminstancesNetworksDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksDeleteBadRequest) Code() int
Code gets the status code for the pcloud pvminstances networks delete bad request response
func (*PcloudPvminstancesNetworksDeleteBadRequest) Error ¶
func (o *PcloudPvminstancesNetworksDeleteBadRequest) Error() string
func (*PcloudPvminstancesNetworksDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks delete bad request response has a 4xx status code
func (*PcloudPvminstancesNetworksDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks delete bad request response a status code equal to that given
func (*PcloudPvminstancesNetworksDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks delete bad request response has a 3xx status code
func (*PcloudPvminstancesNetworksDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks delete bad request response has a 5xx status code
func (*PcloudPvminstancesNetworksDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks delete bad request response has a 2xx status code
func (*PcloudPvminstancesNetworksDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteBadRequest) String() string
type PcloudPvminstancesNetworksDeleteForbidden ¶ added in v1.4.2
PcloudPvminstancesNetworksDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesNetworksDeleteForbidden ¶ added in v1.4.2
func NewPcloudPvminstancesNetworksDeleteForbidden() *PcloudPvminstancesNetworksDeleteForbidden
NewPcloudPvminstancesNetworksDeleteForbidden creates a PcloudPvminstancesNetworksDeleteForbidden with default headers values
func (*PcloudPvminstancesNetworksDeleteForbidden) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) Code() int
Code gets the status code for the pcloud pvminstances networks delete forbidden response
func (*PcloudPvminstancesNetworksDeleteForbidden) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) Error() string
func (*PcloudPvminstancesNetworksDeleteForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksDeleteForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks delete forbidden response has a 4xx status code
func (*PcloudPvminstancesNetworksDeleteForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks delete forbidden response a status code equal to that given
func (*PcloudPvminstancesNetworksDeleteForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks delete forbidden response has a 3xx status code
func (*PcloudPvminstancesNetworksDeleteForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks delete forbidden response has a 5xx status code
func (*PcloudPvminstancesNetworksDeleteForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks delete forbidden response has a 2xx status code
func (*PcloudPvminstancesNetworksDeleteForbidden) String ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksDeleteForbidden) String() string
type PcloudPvminstancesNetworksDeleteGone ¶
PcloudPvminstancesNetworksDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudPvminstancesNetworksDeleteGone ¶
func NewPcloudPvminstancesNetworksDeleteGone() *PcloudPvminstancesNetworksDeleteGone
NewPcloudPvminstancesNetworksDeleteGone creates a PcloudPvminstancesNetworksDeleteGone with default headers values
func (*PcloudPvminstancesNetworksDeleteGone) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksDeleteGone) Code() int
Code gets the status code for the pcloud pvminstances networks delete gone response
func (*PcloudPvminstancesNetworksDeleteGone) Error ¶
func (o *PcloudPvminstancesNetworksDeleteGone) Error() string
func (*PcloudPvminstancesNetworksDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteGone) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksDeleteGone) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks delete gone response has a 4xx status code
func (*PcloudPvminstancesNetworksDeleteGone) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks delete gone response a status code equal to that given
func (*PcloudPvminstancesNetworksDeleteGone) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks delete gone response has a 3xx status code
func (*PcloudPvminstancesNetworksDeleteGone) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks delete gone response has a 5xx status code
func (*PcloudPvminstancesNetworksDeleteGone) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks delete gone response has a 2xx status code
func (*PcloudPvminstancesNetworksDeleteGone) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteGone) String() string
type PcloudPvminstancesNetworksDeleteInternalServerError ¶
PcloudPvminstancesNetworksDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesNetworksDeleteInternalServerError ¶
func NewPcloudPvminstancesNetworksDeleteInternalServerError() *PcloudPvminstancesNetworksDeleteInternalServerError
NewPcloudPvminstancesNetworksDeleteInternalServerError creates a PcloudPvminstancesNetworksDeleteInternalServerError with default headers values
func (*PcloudPvminstancesNetworksDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances networks delete internal server error response
func (*PcloudPvminstancesNetworksDeleteInternalServerError) Error ¶
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) Error() string
func (*PcloudPvminstancesNetworksDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks delete internal server error response has a 4xx status code
func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks delete internal server error response a status code equal to that given
func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks delete internal server error response has a 3xx status code
func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks delete internal server error response has a 5xx status code
func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks delete internal server error response has a 2xx status code
func (*PcloudPvminstancesNetworksDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) String() string
type PcloudPvminstancesNetworksDeleteNotFound ¶ added in v1.1.9
PcloudPvminstancesNetworksDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesNetworksDeleteNotFound ¶ added in v1.1.9
func NewPcloudPvminstancesNetworksDeleteNotFound() *PcloudPvminstancesNetworksDeleteNotFound
NewPcloudPvminstancesNetworksDeleteNotFound creates a PcloudPvminstancesNetworksDeleteNotFound with default headers values
func (*PcloudPvminstancesNetworksDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksDeleteNotFound) Code() int
Code gets the status code for the pcloud pvminstances networks delete not found response
func (*PcloudPvminstancesNetworksDeleteNotFound) Error ¶ added in v1.1.9
func (o *PcloudPvminstancesNetworksDeleteNotFound) Error() string
func (*PcloudPvminstancesNetworksDeleteNotFound) GetPayload ¶ added in v1.1.9
func (o *PcloudPvminstancesNetworksDeleteNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks delete not found response has a 4xx status code
func (*PcloudPvminstancesNetworksDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks delete not found response a status code equal to that given
func (*PcloudPvminstancesNetworksDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks delete not found response has a 3xx status code
func (*PcloudPvminstancesNetworksDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks delete not found response has a 5xx status code
func (*PcloudPvminstancesNetworksDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks delete not found response has a 2xx status code
func (*PcloudPvminstancesNetworksDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteNotFound) String() string
type PcloudPvminstancesNetworksDeleteOK ¶
PcloudPvminstancesNetworksDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesNetworksDeleteOK ¶
func NewPcloudPvminstancesNetworksDeleteOK() *PcloudPvminstancesNetworksDeleteOK
NewPcloudPvminstancesNetworksDeleteOK creates a PcloudPvminstancesNetworksDeleteOK with default headers values
func (*PcloudPvminstancesNetworksDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksDeleteOK) Code() int
Code gets the status code for the pcloud pvminstances networks delete o k response
func (*PcloudPvminstancesNetworksDeleteOK) Error ¶
func (o *PcloudPvminstancesNetworksDeleteOK) Error() string
func (*PcloudPvminstancesNetworksDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteOK) GetPayload() models.Object
func (*PcloudPvminstancesNetworksDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks delete o k response has a 4xx status code
func (*PcloudPvminstancesNetworksDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks delete o k response a status code equal to that given
func (*PcloudPvminstancesNetworksDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks delete o k response has a 3xx status code
func (*PcloudPvminstancesNetworksDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks delete o k response has a 5xx status code
func (*PcloudPvminstancesNetworksDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks delete o k response has a 2xx status code
func (*PcloudPvminstancesNetworksDeleteOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteOK) String() string
type PcloudPvminstancesNetworksDeleteParams ¶
type PcloudPvminstancesNetworksDeleteParams struct { /* Body. Remove a network from PVM Instance parameters */ Body *models.PVMInstanceRemoveNetwork /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesNetworksDeleteParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances networks delete operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesNetworksDeleteParams ¶
func NewPcloudPvminstancesNetworksDeleteParams() *PcloudPvminstancesNetworksDeleteParams
NewPcloudPvminstancesNetworksDeleteParams creates a new PcloudPvminstancesNetworksDeleteParams 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 NewPcloudPvminstancesNetworksDeleteParamsWithContext ¶
func NewPcloudPvminstancesNetworksDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksDeleteParams
NewPcloudPvminstancesNetworksDeleteParamsWithContext creates a new PcloudPvminstancesNetworksDeleteParams object with the ability to set a context for a request.
func NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient ¶
func NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksDeleteParams
NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient creates a new PcloudPvminstancesNetworksDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesNetworksDeleteParamsWithTimeout ¶
func NewPcloudPvminstancesNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksDeleteParams
NewPcloudPvminstancesNetworksDeleteParamsWithTimeout creates a new PcloudPvminstancesNetworksDeleteParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesNetworksDeleteParams) SetBody ¶
func (o *PcloudPvminstancesNetworksDeleteParams) SetBody(body *models.PVMInstanceRemoveNetwork)
SetBody adds the body to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) SetContext ¶
func (o *PcloudPvminstancesNetworksDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances networks delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksDeleteParams) SetHTTPClient ¶
func (o *PcloudPvminstancesNetworksDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) SetNetworkID ¶
func (o *PcloudPvminstancesNetworksDeleteParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksDeleteParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) SetTimeout ¶
func (o *PcloudPvminstancesNetworksDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WithBody ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WithBody(body *models.PVMInstanceRemoveNetwork) *PcloudPvminstancesNetworksDeleteParams
WithBody adds the body to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WithContext ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksDeleteParams
WithContext adds the context to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteParams) WithDefaults() *PcloudPvminstancesNetworksDeleteParams
WithDefaults hydrates default values in the pcloud pvminstances networks delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksDeleteParams) WithHTTPClient ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WithNetworkID ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WithNetworkID(networkID string) *PcloudPvminstancesNetworksDeleteParams
WithNetworkID adds the networkID to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksDeleteParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WithTimeout ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksDeleteParams
WithTimeout adds the timeout to the pcloud pvminstances networks delete params
func (*PcloudPvminstancesNetworksDeleteParams) WriteToRequest ¶
func (o *PcloudPvminstancesNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesNetworksDeleteReader ¶
type PcloudPvminstancesNetworksDeleteReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesNetworksDeleteReader is a Reader for the PcloudPvminstancesNetworksDelete structure.
func (*PcloudPvminstancesNetworksDeleteReader) ReadResponse ¶
func (o *PcloudPvminstancesNetworksDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesNetworksDeleteUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesNetworksDeleteUnauthorized struct {
}PcloudPvminstancesNetworksDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesNetworksDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesNetworksDeleteUnauthorized() *PcloudPvminstancesNetworksDeleteUnauthorized
NewPcloudPvminstancesNetworksDeleteUnauthorized creates a PcloudPvminstancesNetworksDeleteUnauthorized with default headers values
func (*PcloudPvminstancesNetworksDeleteUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances networks delete unauthorized response
func (*PcloudPvminstancesNetworksDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) Error() string
func (*PcloudPvminstancesNetworksDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks delete unauthorized response has a 4xx status code
func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks delete unauthorized response a status code equal to that given
func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks delete unauthorized response has a 3xx status code
func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks delete unauthorized response has a 5xx status code
func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks delete unauthorized response has a 2xx status code
func (*PcloudPvminstancesNetworksDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksDeleteUnauthorized) String() string
type PcloudPvminstancesNetworksGetBadRequest ¶ added in v1.4.2
PcloudPvminstancesNetworksGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesNetworksGetBadRequest ¶ added in v1.4.2
func NewPcloudPvminstancesNetworksGetBadRequest() *PcloudPvminstancesNetworksGetBadRequest
NewPcloudPvminstancesNetworksGetBadRequest creates a PcloudPvminstancesNetworksGetBadRequest with default headers values
func (*PcloudPvminstancesNetworksGetBadRequest) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) Code() int
Code gets the status code for the pcloud pvminstances networks get bad request response
func (*PcloudPvminstancesNetworksGetBadRequest) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) Error() string
func (*PcloudPvminstancesNetworksGetBadRequest) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetBadRequest) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks get bad request response has a 4xx status code
func (*PcloudPvminstancesNetworksGetBadRequest) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks get bad request response a status code equal to that given
func (*PcloudPvminstancesNetworksGetBadRequest) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks get bad request response has a 3xx status code
func (*PcloudPvminstancesNetworksGetBadRequest) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks get bad request response has a 5xx status code
func (*PcloudPvminstancesNetworksGetBadRequest) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks get bad request response has a 2xx status code
func (*PcloudPvminstancesNetworksGetBadRequest) String ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetBadRequest) String() string
type PcloudPvminstancesNetworksGetForbidden ¶ added in v1.4.2
PcloudPvminstancesNetworksGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesNetworksGetForbidden ¶ added in v1.4.2
func NewPcloudPvminstancesNetworksGetForbidden() *PcloudPvminstancesNetworksGetForbidden
NewPcloudPvminstancesNetworksGetForbidden creates a PcloudPvminstancesNetworksGetForbidden with default headers values
func (*PcloudPvminstancesNetworksGetForbidden) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) Code() int
Code gets the status code for the pcloud pvminstances networks get forbidden response
func (*PcloudPvminstancesNetworksGetForbidden) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) Error() string
func (*PcloudPvminstancesNetworksGetForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks get forbidden response has a 4xx status code
func (*PcloudPvminstancesNetworksGetForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks get forbidden response a status code equal to that given
func (*PcloudPvminstancesNetworksGetForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks get forbidden response has a 3xx status code
func (*PcloudPvminstancesNetworksGetForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks get forbidden response has a 5xx status code
func (*PcloudPvminstancesNetworksGetForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks get forbidden response has a 2xx status code
func (*PcloudPvminstancesNetworksGetForbidden) String ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetForbidden) String() string
type PcloudPvminstancesNetworksGetInternalServerError ¶
PcloudPvminstancesNetworksGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesNetworksGetInternalServerError ¶
func NewPcloudPvminstancesNetworksGetInternalServerError() *PcloudPvminstancesNetworksGetInternalServerError
NewPcloudPvminstancesNetworksGetInternalServerError creates a PcloudPvminstancesNetworksGetInternalServerError with default headers values
func (*PcloudPvminstancesNetworksGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances networks get internal server error response
func (*PcloudPvminstancesNetworksGetInternalServerError) Error ¶
func (o *PcloudPvminstancesNetworksGetInternalServerError) Error() string
func (*PcloudPvminstancesNetworksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks get internal server error response has a 4xx status code
func (*PcloudPvminstancesNetworksGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks get internal server error response a status code equal to that given
func (*PcloudPvminstancesNetworksGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks get internal server error response has a 3xx status code
func (*PcloudPvminstancesNetworksGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks get internal server error response has a 5xx status code
func (*PcloudPvminstancesNetworksGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks get internal server error response has a 2xx status code
func (*PcloudPvminstancesNetworksGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetInternalServerError) String() string
type PcloudPvminstancesNetworksGetNotFound ¶
PcloudPvminstancesNetworksGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesNetworksGetNotFound ¶
func NewPcloudPvminstancesNetworksGetNotFound() *PcloudPvminstancesNetworksGetNotFound
NewPcloudPvminstancesNetworksGetNotFound creates a PcloudPvminstancesNetworksGetNotFound with default headers values
func (*PcloudPvminstancesNetworksGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetNotFound) Code() int
Code gets the status code for the pcloud pvminstances networks get not found response
func (*PcloudPvminstancesNetworksGetNotFound) Error ¶
func (o *PcloudPvminstancesNetworksGetNotFound) Error() string
func (*PcloudPvminstancesNetworksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks get not found response has a 4xx status code
func (*PcloudPvminstancesNetworksGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks get not found response a status code equal to that given
func (*PcloudPvminstancesNetworksGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks get not found response has a 3xx status code
func (*PcloudPvminstancesNetworksGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks get not found response has a 5xx status code
func (*PcloudPvminstancesNetworksGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks get not found response has a 2xx status code
func (*PcloudPvminstancesNetworksGetNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetNotFound) String() string
type PcloudPvminstancesNetworksGetOK ¶
type PcloudPvminstancesNetworksGetOK struct {
Payload *models.PVMInstanceNetworks
}
PcloudPvminstancesNetworksGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesNetworksGetOK ¶
func NewPcloudPvminstancesNetworksGetOK() *PcloudPvminstancesNetworksGetOK
NewPcloudPvminstancesNetworksGetOK creates a PcloudPvminstancesNetworksGetOK with default headers values
func (*PcloudPvminstancesNetworksGetOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetOK) Code() int
Code gets the status code for the pcloud pvminstances networks get o k response
func (*PcloudPvminstancesNetworksGetOK) Error ¶
func (o *PcloudPvminstancesNetworksGetOK) Error() string
func (*PcloudPvminstancesNetworksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetOK) GetPayload() *models.PVMInstanceNetworks
func (*PcloudPvminstancesNetworksGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks get o k response has a 4xx status code
func (*PcloudPvminstancesNetworksGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks get o k response a status code equal to that given
func (*PcloudPvminstancesNetworksGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks get o k response has a 3xx status code
func (*PcloudPvminstancesNetworksGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks get o k response has a 5xx status code
func (*PcloudPvminstancesNetworksGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks get o k response has a 2xx status code
func (*PcloudPvminstancesNetworksGetOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetOK) String() string
type PcloudPvminstancesNetworksGetParams ¶
type PcloudPvminstancesNetworksGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesNetworksGetParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances networks get operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesNetworksGetParams ¶
func NewPcloudPvminstancesNetworksGetParams() *PcloudPvminstancesNetworksGetParams
NewPcloudPvminstancesNetworksGetParams creates a new PcloudPvminstancesNetworksGetParams 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 NewPcloudPvminstancesNetworksGetParamsWithContext ¶
func NewPcloudPvminstancesNetworksGetParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetParams
NewPcloudPvminstancesNetworksGetParamsWithContext creates a new PcloudPvminstancesNetworksGetParams object with the ability to set a context for a request.
func NewPcloudPvminstancesNetworksGetParamsWithHTTPClient ¶
func NewPcloudPvminstancesNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetParams
NewPcloudPvminstancesNetworksGetParamsWithHTTPClient creates a new PcloudPvminstancesNetworksGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesNetworksGetParamsWithTimeout ¶
func NewPcloudPvminstancesNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetParams
NewPcloudPvminstancesNetworksGetParamsWithTimeout creates a new PcloudPvminstancesNetworksGetParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesNetworksGetParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) SetContext ¶
func (o *PcloudPvminstancesNetworksGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances networks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksGetParams) SetHTTPClient ¶
func (o *PcloudPvminstancesNetworksGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) SetNetworkID ¶
func (o *PcloudPvminstancesNetworksGetParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksGetParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) SetTimeout ¶
func (o *PcloudPvminstancesNetworksGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) WithContext ¶
func (o *PcloudPvminstancesNetworksGetParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksGetParams
WithContext adds the context to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetParams) WithDefaults() *PcloudPvminstancesNetworksGetParams
WithDefaults hydrates default values in the pcloud pvminstances networks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksGetParams) WithHTTPClient ¶
func (o *PcloudPvminstancesNetworksGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) WithNetworkID ¶
func (o *PcloudPvminstancesNetworksGetParams) WithNetworkID(networkID string) *PcloudPvminstancesNetworksGetParams
WithNetworkID adds the networkID to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksGetParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) WithTimeout ¶
func (o *PcloudPvminstancesNetworksGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetParams
WithTimeout adds the timeout to the pcloud pvminstances networks get params
func (*PcloudPvminstancesNetworksGetParams) WriteToRequest ¶
func (o *PcloudPvminstancesNetworksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesNetworksGetReader ¶
type PcloudPvminstancesNetworksGetReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesNetworksGetReader is a Reader for the PcloudPvminstancesNetworksGet structure.
func (*PcloudPvminstancesNetworksGetReader) ReadResponse ¶
func (o *PcloudPvminstancesNetworksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesNetworksGetUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesNetworksGetUnauthorized struct {
}PcloudPvminstancesNetworksGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesNetworksGetUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesNetworksGetUnauthorized() *PcloudPvminstancesNetworksGetUnauthorized
NewPcloudPvminstancesNetworksGetUnauthorized creates a PcloudPvminstancesNetworksGetUnauthorized with default headers values
func (*PcloudPvminstancesNetworksGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances networks get unauthorized response
func (*PcloudPvminstancesNetworksGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesNetworksGetUnauthorized) Error() string
func (*PcloudPvminstancesNetworksGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks get unauthorized response has a 4xx status code
func (*PcloudPvminstancesNetworksGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks get unauthorized response a status code equal to that given
func (*PcloudPvminstancesNetworksGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks get unauthorized response has a 3xx status code
func (*PcloudPvminstancesNetworksGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks get unauthorized response has a 5xx status code
func (*PcloudPvminstancesNetworksGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks get unauthorized response has a 2xx status code
func (*PcloudPvminstancesNetworksGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetUnauthorized) String() string
type PcloudPvminstancesNetworksGetallBadRequest ¶
PcloudPvminstancesNetworksGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesNetworksGetallBadRequest ¶
func NewPcloudPvminstancesNetworksGetallBadRequest() *PcloudPvminstancesNetworksGetallBadRequest
NewPcloudPvminstancesNetworksGetallBadRequest creates a PcloudPvminstancesNetworksGetallBadRequest with default headers values
func (*PcloudPvminstancesNetworksGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetallBadRequest) Code() int
Code gets the status code for the pcloud pvminstances networks getall bad request response
func (*PcloudPvminstancesNetworksGetallBadRequest) Error ¶
func (o *PcloudPvminstancesNetworksGetallBadRequest) Error() string
func (*PcloudPvminstancesNetworksGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks getall bad request response has a 4xx status code
func (*PcloudPvminstancesNetworksGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks getall bad request response a status code equal to that given
func (*PcloudPvminstancesNetworksGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks getall bad request response has a 3xx status code
func (*PcloudPvminstancesNetworksGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks getall bad request response has a 5xx status code
func (*PcloudPvminstancesNetworksGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks getall bad request response has a 2xx status code
func (*PcloudPvminstancesNetworksGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallBadRequest) String() string
type PcloudPvminstancesNetworksGetallForbidden ¶ added in v1.4.2
PcloudPvminstancesNetworksGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesNetworksGetallForbidden ¶ added in v1.4.2
func NewPcloudPvminstancesNetworksGetallForbidden() *PcloudPvminstancesNetworksGetallForbidden
NewPcloudPvminstancesNetworksGetallForbidden creates a PcloudPvminstancesNetworksGetallForbidden with default headers values
func (*PcloudPvminstancesNetworksGetallForbidden) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) Code() int
Code gets the status code for the pcloud pvminstances networks getall forbidden response
func (*PcloudPvminstancesNetworksGetallForbidden) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) Error() string
func (*PcloudPvminstancesNetworksGetallForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetallForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks getall forbidden response has a 4xx status code
func (*PcloudPvminstancesNetworksGetallForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks getall forbidden response a status code equal to that given
func (*PcloudPvminstancesNetworksGetallForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks getall forbidden response has a 3xx status code
func (*PcloudPvminstancesNetworksGetallForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks getall forbidden response has a 5xx status code
func (*PcloudPvminstancesNetworksGetallForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks getall forbidden response has a 2xx status code
func (*PcloudPvminstancesNetworksGetallForbidden) String ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallForbidden) String() string
type PcloudPvminstancesNetworksGetallInternalServerError ¶
PcloudPvminstancesNetworksGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesNetworksGetallInternalServerError ¶
func NewPcloudPvminstancesNetworksGetallInternalServerError() *PcloudPvminstancesNetworksGetallInternalServerError
NewPcloudPvminstancesNetworksGetallInternalServerError creates a PcloudPvminstancesNetworksGetallInternalServerError with default headers values
func (*PcloudPvminstancesNetworksGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetallInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances networks getall internal server error response
func (*PcloudPvminstancesNetworksGetallInternalServerError) Error ¶
func (o *PcloudPvminstancesNetworksGetallInternalServerError) Error() string
func (*PcloudPvminstancesNetworksGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks getall internal server error response has a 4xx status code
func (*PcloudPvminstancesNetworksGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks getall internal server error response a status code equal to that given
func (*PcloudPvminstancesNetworksGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks getall internal server error response has a 3xx status code
func (*PcloudPvminstancesNetworksGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks getall internal server error response has a 5xx status code
func (*PcloudPvminstancesNetworksGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks getall internal server error response has a 2xx status code
func (*PcloudPvminstancesNetworksGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallInternalServerError) String() string
type PcloudPvminstancesNetworksGetallNotFound ¶ added in v1.4.2
PcloudPvminstancesNetworksGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesNetworksGetallNotFound ¶ added in v1.4.2
func NewPcloudPvminstancesNetworksGetallNotFound() *PcloudPvminstancesNetworksGetallNotFound
NewPcloudPvminstancesNetworksGetallNotFound creates a PcloudPvminstancesNetworksGetallNotFound with default headers values
func (*PcloudPvminstancesNetworksGetallNotFound) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) Code() int
Code gets the status code for the pcloud pvminstances networks getall not found response
func (*PcloudPvminstancesNetworksGetallNotFound) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) Error() string
func (*PcloudPvminstancesNetworksGetallNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetallNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks getall not found response has a 4xx status code
func (*PcloudPvminstancesNetworksGetallNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks getall not found response a status code equal to that given
func (*PcloudPvminstancesNetworksGetallNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks getall not found response has a 3xx status code
func (*PcloudPvminstancesNetworksGetallNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks getall not found response has a 5xx status code
func (*PcloudPvminstancesNetworksGetallNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks getall not found response has a 2xx status code
func (*PcloudPvminstancesNetworksGetallNotFound) String ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksGetallNotFound) String() string
type PcloudPvminstancesNetworksGetallOK ¶
type PcloudPvminstancesNetworksGetallOK struct {
Payload *models.PVMInstanceNetworks
}
PcloudPvminstancesNetworksGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesNetworksGetallOK ¶
func NewPcloudPvminstancesNetworksGetallOK() *PcloudPvminstancesNetworksGetallOK
NewPcloudPvminstancesNetworksGetallOK creates a PcloudPvminstancesNetworksGetallOK with default headers values
func (*PcloudPvminstancesNetworksGetallOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetallOK) Code() int
Code gets the status code for the pcloud pvminstances networks getall o k response
func (*PcloudPvminstancesNetworksGetallOK) Error ¶
func (o *PcloudPvminstancesNetworksGetallOK) Error() string
func (*PcloudPvminstancesNetworksGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallOK) GetPayload() *models.PVMInstanceNetworks
func (*PcloudPvminstancesNetworksGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks getall o k response has a 4xx status code
func (*PcloudPvminstancesNetworksGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks getall o k response a status code equal to that given
func (*PcloudPvminstancesNetworksGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks getall o k response has a 3xx status code
func (*PcloudPvminstancesNetworksGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks getall o k response has a 5xx status code
func (*PcloudPvminstancesNetworksGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks getall o k response has a 2xx status code
func (*PcloudPvminstancesNetworksGetallOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallOK) String() string
type PcloudPvminstancesNetworksGetallParams ¶
type PcloudPvminstancesNetworksGetallParams 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 }
PcloudPvminstancesNetworksGetallParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances networks getall operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesNetworksGetallParams ¶
func NewPcloudPvminstancesNetworksGetallParams() *PcloudPvminstancesNetworksGetallParams
NewPcloudPvminstancesNetworksGetallParams creates a new PcloudPvminstancesNetworksGetallParams 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 NewPcloudPvminstancesNetworksGetallParamsWithContext ¶
func NewPcloudPvminstancesNetworksGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetallParams
NewPcloudPvminstancesNetworksGetallParamsWithContext creates a new PcloudPvminstancesNetworksGetallParams object with the ability to set a context for a request.
func NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient ¶
func NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetallParams
NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient creates a new PcloudPvminstancesNetworksGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesNetworksGetallParamsWithTimeout ¶
func NewPcloudPvminstancesNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetallParams
NewPcloudPvminstancesNetworksGetallParamsWithTimeout creates a new PcloudPvminstancesNetworksGetallParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesNetworksGetallParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) SetContext ¶
func (o *PcloudPvminstancesNetworksGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances networks getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksGetallParams) SetHTTPClient ¶
func (o *PcloudPvminstancesNetworksGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksGetallParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) SetTimeout ¶
func (o *PcloudPvminstancesNetworksGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) WithContext ¶
func (o *PcloudPvminstancesNetworksGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksGetallParams
WithContext adds the context to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallParams) WithDefaults() *PcloudPvminstancesNetworksGetallParams
WithDefaults hydrates default values in the pcloud pvminstances networks getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksGetallParams) WithHTTPClient ¶
func (o *PcloudPvminstancesNetworksGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetallParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksGetallParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksGetallParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) WithTimeout ¶
func (o *PcloudPvminstancesNetworksGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetallParams
WithTimeout adds the timeout to the pcloud pvminstances networks getall params
func (*PcloudPvminstancesNetworksGetallParams) WriteToRequest ¶
func (o *PcloudPvminstancesNetworksGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesNetworksGetallReader ¶
type PcloudPvminstancesNetworksGetallReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesNetworksGetallReader is a Reader for the PcloudPvminstancesNetworksGetall structure.
func (*PcloudPvminstancesNetworksGetallReader) ReadResponse ¶
func (o *PcloudPvminstancesNetworksGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesNetworksGetallUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesNetworksGetallUnauthorized struct {
}PcloudPvminstancesNetworksGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesNetworksGetallUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesNetworksGetallUnauthorized() *PcloudPvminstancesNetworksGetallUnauthorized
NewPcloudPvminstancesNetworksGetallUnauthorized creates a PcloudPvminstancesNetworksGetallUnauthorized with default headers values
func (*PcloudPvminstancesNetworksGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksGetallUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances networks getall unauthorized response
func (*PcloudPvminstancesNetworksGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesNetworksGetallUnauthorized) Error() string
func (*PcloudPvminstancesNetworksGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks getall unauthorized response has a 4xx status code
func (*PcloudPvminstancesNetworksGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks getall unauthorized response a status code equal to that given
func (*PcloudPvminstancesNetworksGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks getall unauthorized response has a 3xx status code
func (*PcloudPvminstancesNetworksGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks getall unauthorized response has a 5xx status code
func (*PcloudPvminstancesNetworksGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks getall unauthorized response has a 2xx status code
func (*PcloudPvminstancesNetworksGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksGetallUnauthorized) String() string
type PcloudPvminstancesNetworksPostBadRequest ¶
PcloudPvminstancesNetworksPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesNetworksPostBadRequest ¶
func NewPcloudPvminstancesNetworksPostBadRequest() *PcloudPvminstancesNetworksPostBadRequest
NewPcloudPvminstancesNetworksPostBadRequest creates a PcloudPvminstancesNetworksPostBadRequest with default headers values
func (*PcloudPvminstancesNetworksPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksPostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances networks post bad request response
func (*PcloudPvminstancesNetworksPostBadRequest) Error ¶
func (o *PcloudPvminstancesNetworksPostBadRequest) Error() string
func (*PcloudPvminstancesNetworksPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post bad request response has a 4xx status code
func (*PcloudPvminstancesNetworksPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post bad request response a status code equal to that given
func (*PcloudPvminstancesNetworksPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post bad request response has a 3xx status code
func (*PcloudPvminstancesNetworksPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post bad request response has a 5xx status code
func (*PcloudPvminstancesNetworksPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post bad request response has a 2xx status code
func (*PcloudPvminstancesNetworksPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostBadRequest) String() string
type PcloudPvminstancesNetworksPostConflict ¶
PcloudPvminstancesNetworksPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesNetworksPostConflict ¶
func NewPcloudPvminstancesNetworksPostConflict() *PcloudPvminstancesNetworksPostConflict
NewPcloudPvminstancesNetworksPostConflict creates a PcloudPvminstancesNetworksPostConflict with default headers values
func (*PcloudPvminstancesNetworksPostConflict) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksPostConflict) Code() int
Code gets the status code for the pcloud pvminstances networks post conflict response
func (*PcloudPvminstancesNetworksPostConflict) Error ¶
func (o *PcloudPvminstancesNetworksPostConflict) Error() string
func (*PcloudPvminstancesNetworksPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostConflict) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostConflict) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post conflict response has a 4xx status code
func (*PcloudPvminstancesNetworksPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post conflict response a status code equal to that given
func (*PcloudPvminstancesNetworksPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post conflict response has a 3xx status code
func (*PcloudPvminstancesNetworksPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostConflict) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post conflict response has a 5xx status code
func (*PcloudPvminstancesNetworksPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post conflict response has a 2xx status code
func (*PcloudPvminstancesNetworksPostConflict) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostConflict) String() string
type PcloudPvminstancesNetworksPostCreated ¶
type PcloudPvminstancesNetworksPostCreated struct {
Payload *models.PVMInstanceNetwork
}
PcloudPvminstancesNetworksPostCreated describes a response with status code 201, with default header values.
Created
func NewPcloudPvminstancesNetworksPostCreated ¶
func NewPcloudPvminstancesNetworksPostCreated() *PcloudPvminstancesNetworksPostCreated
NewPcloudPvminstancesNetworksPostCreated creates a PcloudPvminstancesNetworksPostCreated with default headers values
func (*PcloudPvminstancesNetworksPostCreated) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksPostCreated) Code() int
Code gets the status code for the pcloud pvminstances networks post created response
func (*PcloudPvminstancesNetworksPostCreated) Error ¶
func (o *PcloudPvminstancesNetworksPostCreated) Error() string
func (*PcloudPvminstancesNetworksPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostCreated) GetPayload() *models.PVMInstanceNetwork
func (*PcloudPvminstancesNetworksPostCreated) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostCreated) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post created response has a 4xx status code
func (*PcloudPvminstancesNetworksPostCreated) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostCreated) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post created response a status code equal to that given
func (*PcloudPvminstancesNetworksPostCreated) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostCreated) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post created response has a 3xx status code
func (*PcloudPvminstancesNetworksPostCreated) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostCreated) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post created response has a 5xx status code
func (*PcloudPvminstancesNetworksPostCreated) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostCreated) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post created response has a 2xx status code
func (*PcloudPvminstancesNetworksPostCreated) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostCreated) String() string
type PcloudPvminstancesNetworksPostForbidden ¶ added in v1.4.2
PcloudPvminstancesNetworksPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesNetworksPostForbidden ¶ added in v1.4.2
func NewPcloudPvminstancesNetworksPostForbidden() *PcloudPvminstancesNetworksPostForbidden
NewPcloudPvminstancesNetworksPostForbidden creates a PcloudPvminstancesNetworksPostForbidden with default headers values
func (*PcloudPvminstancesNetworksPostForbidden) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) Code() int
Code gets the status code for the pcloud pvminstances networks post forbidden response
func (*PcloudPvminstancesNetworksPostForbidden) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) Error() string
func (*PcloudPvminstancesNetworksPostForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksPostForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post forbidden response has a 4xx status code
func (*PcloudPvminstancesNetworksPostForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post forbidden response a status code equal to that given
func (*PcloudPvminstancesNetworksPostForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post forbidden response has a 3xx status code
func (*PcloudPvminstancesNetworksPostForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post forbidden response has a 5xx status code
func (*PcloudPvminstancesNetworksPostForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post forbidden response has a 2xx status code
func (*PcloudPvminstancesNetworksPostForbidden) String ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostForbidden) String() string
type PcloudPvminstancesNetworksPostInternalServerError ¶
PcloudPvminstancesNetworksPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesNetworksPostInternalServerError ¶
func NewPcloudPvminstancesNetworksPostInternalServerError() *PcloudPvminstancesNetworksPostInternalServerError
NewPcloudPvminstancesNetworksPostInternalServerError creates a PcloudPvminstancesNetworksPostInternalServerError with default headers values
func (*PcloudPvminstancesNetworksPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksPostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances networks post internal server error response
func (*PcloudPvminstancesNetworksPostInternalServerError) Error ¶
func (o *PcloudPvminstancesNetworksPostInternalServerError) Error() string
func (*PcloudPvminstancesNetworksPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post internal server error response has a 4xx status code
func (*PcloudPvminstancesNetworksPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post internal server error response a status code equal to that given
func (*PcloudPvminstancesNetworksPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post internal server error response has a 3xx status code
func (*PcloudPvminstancesNetworksPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post internal server error response has a 5xx status code
func (*PcloudPvminstancesNetworksPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post internal server error response has a 2xx status code
func (*PcloudPvminstancesNetworksPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostInternalServerError) String() string
type PcloudPvminstancesNetworksPostNotFound ¶ added in v1.4.2
PcloudPvminstancesNetworksPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesNetworksPostNotFound ¶ added in v1.4.2
func NewPcloudPvminstancesNetworksPostNotFound() *PcloudPvminstancesNetworksPostNotFound
NewPcloudPvminstancesNetworksPostNotFound creates a PcloudPvminstancesNetworksPostNotFound with default headers values
func (*PcloudPvminstancesNetworksPostNotFound) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) Code() int
Code gets the status code for the pcloud pvminstances networks post not found response
func (*PcloudPvminstancesNetworksPostNotFound) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) Error() string
func (*PcloudPvminstancesNetworksPostNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksPostNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post not found response has a 4xx status code
func (*PcloudPvminstancesNetworksPostNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post not found response a status code equal to that given
func (*PcloudPvminstancesNetworksPostNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post not found response has a 3xx status code
func (*PcloudPvminstancesNetworksPostNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post not found response has a 5xx status code
func (*PcloudPvminstancesNetworksPostNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post not found response has a 2xx status code
func (*PcloudPvminstancesNetworksPostNotFound) String ¶ added in v1.4.2
func (o *PcloudPvminstancesNetworksPostNotFound) String() string
type PcloudPvminstancesNetworksPostParams ¶
type PcloudPvminstancesNetworksPostParams struct { /* Body. Add network to PVM Instance parameters */ Body *models.PVMInstanceAddNetwork /* 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 }
PcloudPvminstancesNetworksPostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances networks post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesNetworksPostParams ¶
func NewPcloudPvminstancesNetworksPostParams() *PcloudPvminstancesNetworksPostParams
NewPcloudPvminstancesNetworksPostParams creates a new PcloudPvminstancesNetworksPostParams 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 NewPcloudPvminstancesNetworksPostParamsWithContext ¶
func NewPcloudPvminstancesNetworksPostParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksPostParams
NewPcloudPvminstancesNetworksPostParamsWithContext creates a new PcloudPvminstancesNetworksPostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesNetworksPostParamsWithHTTPClient ¶
func NewPcloudPvminstancesNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksPostParams
NewPcloudPvminstancesNetworksPostParamsWithHTTPClient creates a new PcloudPvminstancesNetworksPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesNetworksPostParamsWithTimeout ¶
func NewPcloudPvminstancesNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksPostParams
NewPcloudPvminstancesNetworksPostParamsWithTimeout creates a new PcloudPvminstancesNetworksPostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesNetworksPostParams) SetBody ¶
func (o *PcloudPvminstancesNetworksPostParams) SetBody(body *models.PVMInstanceAddNetwork)
SetBody adds the body to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) SetContext ¶
func (o *PcloudPvminstancesNetworksPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances networks post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksPostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesNetworksPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksPostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) SetTimeout ¶
func (o *PcloudPvminstancesNetworksPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) WithBody ¶
func (o *PcloudPvminstancesNetworksPostParams) WithBody(body *models.PVMInstanceAddNetwork) *PcloudPvminstancesNetworksPostParams
WithBody adds the body to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesNetworksPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) WithContext ¶
func (o *PcloudPvminstancesNetworksPostParams) WithContext(ctx context.Context) *PcloudPvminstancesNetworksPostParams
WithContext adds the context to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostParams) WithDefaults() *PcloudPvminstancesNetworksPostParams
WithDefaults hydrates default values in the pcloud pvminstances networks post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesNetworksPostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesNetworksPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksPostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesNetworksPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesNetworksPostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) WithTimeout ¶
func (o *PcloudPvminstancesNetworksPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksPostParams
WithTimeout adds the timeout to the pcloud pvminstances networks post params
func (*PcloudPvminstancesNetworksPostParams) WriteToRequest ¶
func (o *PcloudPvminstancesNetworksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesNetworksPostReader ¶
type PcloudPvminstancesNetworksPostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesNetworksPostReader is a Reader for the PcloudPvminstancesNetworksPost structure.
func (*PcloudPvminstancesNetworksPostReader) ReadResponse ¶
func (o *PcloudPvminstancesNetworksPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesNetworksPostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesNetworksPostUnauthorized struct {
}PcloudPvminstancesNetworksPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesNetworksPostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesNetworksPostUnauthorized() *PcloudPvminstancesNetworksPostUnauthorized
NewPcloudPvminstancesNetworksPostUnauthorized creates a PcloudPvminstancesNetworksPostUnauthorized with default headers values
func (*PcloudPvminstancesNetworksPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksPostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances networks post unauthorized response
func (*PcloudPvminstancesNetworksPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesNetworksPostUnauthorized) Error() string
func (*PcloudPvminstancesNetworksPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post unauthorized response has a 4xx status code
func (*PcloudPvminstancesNetworksPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post unauthorized response a status code equal to that given
func (*PcloudPvminstancesNetworksPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post unauthorized response has a 3xx status code
func (*PcloudPvminstancesNetworksPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post unauthorized response has a 5xx status code
func (*PcloudPvminstancesNetworksPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post unauthorized response has a 2xx status code
func (*PcloudPvminstancesNetworksPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnauthorized) String() string
type PcloudPvminstancesNetworksPostUnprocessableEntity ¶
PcloudPvminstancesNetworksPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesNetworksPostUnprocessableEntity ¶
func NewPcloudPvminstancesNetworksPostUnprocessableEntity() *PcloudPvminstancesNetworksPostUnprocessableEntity
NewPcloudPvminstancesNetworksPostUnprocessableEntity creates a PcloudPvminstancesNetworksPostUnprocessableEntity with default headers values
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances networks post unprocessable entity response
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) Error ¶
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) Error() string
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances networks post unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances networks post unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances networks post unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances networks post unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances networks post unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) String() string
type PcloudPvminstancesOperationsPostBadRequest ¶ added in v1.0.43
PcloudPvminstancesOperationsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesOperationsPostBadRequest ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostBadRequest() *PcloudPvminstancesOperationsPostBadRequest
NewPcloudPvminstancesOperationsPostBadRequest creates a PcloudPvminstancesOperationsPostBadRequest with default headers values
func (*PcloudPvminstancesOperationsPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesOperationsPostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances operations post bad request response
func (*PcloudPvminstancesOperationsPostBadRequest) Error ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostBadRequest) Error() string
func (*PcloudPvminstancesOperationsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesOperationsPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances operations post bad request response has a 4xx status code
func (*PcloudPvminstancesOperationsPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances operations post bad request response a status code equal to that given
func (*PcloudPvminstancesOperationsPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances operations post bad request response has a 3xx status code
func (*PcloudPvminstancesOperationsPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances operations post bad request response has a 5xx status code
func (*PcloudPvminstancesOperationsPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances operations post bad request response has a 2xx status code
func (*PcloudPvminstancesOperationsPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostBadRequest) String() string
type PcloudPvminstancesOperationsPostForbidden ¶ added in v1.4.2
PcloudPvminstancesOperationsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesOperationsPostForbidden ¶ added in v1.4.2
func NewPcloudPvminstancesOperationsPostForbidden() *PcloudPvminstancesOperationsPostForbidden
NewPcloudPvminstancesOperationsPostForbidden creates a PcloudPvminstancesOperationsPostForbidden with default headers values
func (*PcloudPvminstancesOperationsPostForbidden) Code ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) Code() int
Code gets the status code for the pcloud pvminstances operations post forbidden response
func (*PcloudPvminstancesOperationsPostForbidden) Error ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) Error() string
func (*PcloudPvminstancesOperationsPostForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesOperationsPostForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances operations post forbidden response has a 4xx status code
func (*PcloudPvminstancesOperationsPostForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances operations post forbidden response a status code equal to that given
func (*PcloudPvminstancesOperationsPostForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances operations post forbidden response has a 3xx status code
func (*PcloudPvminstancesOperationsPostForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances operations post forbidden response has a 5xx status code
func (*PcloudPvminstancesOperationsPostForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances operations post forbidden response has a 2xx status code
func (*PcloudPvminstancesOperationsPostForbidden) String ¶ added in v1.4.2
func (o *PcloudPvminstancesOperationsPostForbidden) String() string
type PcloudPvminstancesOperationsPostInternalServerError ¶ added in v1.0.43
PcloudPvminstancesOperationsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesOperationsPostInternalServerError ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostInternalServerError() *PcloudPvminstancesOperationsPostInternalServerError
NewPcloudPvminstancesOperationsPostInternalServerError creates a PcloudPvminstancesOperationsPostInternalServerError with default headers values
func (*PcloudPvminstancesOperationsPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesOperationsPostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances operations post internal server error response
func (*PcloudPvminstancesOperationsPostInternalServerError) Error ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostInternalServerError) Error() string
func (*PcloudPvminstancesOperationsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesOperationsPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances operations post internal server error response has a 4xx status code
func (*PcloudPvminstancesOperationsPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances operations post internal server error response a status code equal to that given
func (*PcloudPvminstancesOperationsPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances operations post internal server error response has a 3xx status code
func (*PcloudPvminstancesOperationsPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances operations post internal server error response has a 5xx status code
func (*PcloudPvminstancesOperationsPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances operations post internal server error response has a 2xx status code
func (*PcloudPvminstancesOperationsPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostInternalServerError) String() string
type PcloudPvminstancesOperationsPostNotFound ¶ added in v1.0.43
PcloudPvminstancesOperationsPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesOperationsPostNotFound ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostNotFound() *PcloudPvminstancesOperationsPostNotFound
NewPcloudPvminstancesOperationsPostNotFound creates a PcloudPvminstancesOperationsPostNotFound with default headers values
func (*PcloudPvminstancesOperationsPostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesOperationsPostNotFound) Code() int
Code gets the status code for the pcloud pvminstances operations post not found response
func (*PcloudPvminstancesOperationsPostNotFound) Error ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostNotFound) Error() string
func (*PcloudPvminstancesOperationsPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesOperationsPostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances operations post not found response has a 4xx status code
func (*PcloudPvminstancesOperationsPostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances operations post not found response a status code equal to that given
func (*PcloudPvminstancesOperationsPostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances operations post not found response has a 3xx status code
func (*PcloudPvminstancesOperationsPostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances operations post not found response has a 5xx status code
func (*PcloudPvminstancesOperationsPostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances operations post not found response has a 2xx status code
func (*PcloudPvminstancesOperationsPostNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostNotFound) String() string
type PcloudPvminstancesOperationsPostOK ¶ added in v1.0.43
PcloudPvminstancesOperationsPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesOperationsPostOK ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostOK() *PcloudPvminstancesOperationsPostOK
NewPcloudPvminstancesOperationsPostOK creates a PcloudPvminstancesOperationsPostOK with default headers values
func (*PcloudPvminstancesOperationsPostOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesOperationsPostOK) Code() int
Code gets the status code for the pcloud pvminstances operations post o k response
func (*PcloudPvminstancesOperationsPostOK) Error ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostOK) Error() string
func (*PcloudPvminstancesOperationsPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostOK) GetPayload() models.Object
func (*PcloudPvminstancesOperationsPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances operations post o k response has a 4xx status code
func (*PcloudPvminstancesOperationsPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances operations post o k response a status code equal to that given
func (*PcloudPvminstancesOperationsPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances operations post o k response has a 3xx status code
func (*PcloudPvminstancesOperationsPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances operations post o k response has a 5xx status code
func (*PcloudPvminstancesOperationsPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances operations post o k response has a 2xx status code
func (*PcloudPvminstancesOperationsPostOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostOK) String() string
type PcloudPvminstancesOperationsPostParams ¶ added in v1.0.43
type PcloudPvminstancesOperationsPostParams struct { /* Body. Parameters for the desired operations */ Body *models.PVMInstanceOperation /* 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 }
PcloudPvminstancesOperationsPostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances operations post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesOperationsPostParams ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostParams() *PcloudPvminstancesOperationsPostParams
NewPcloudPvminstancesOperationsPostParams creates a new PcloudPvminstancesOperationsPostParams 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 NewPcloudPvminstancesOperationsPostParamsWithContext ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostParamsWithContext(ctx context.Context) *PcloudPvminstancesOperationsPostParams
NewPcloudPvminstancesOperationsPostParamsWithContext creates a new PcloudPvminstancesOperationsPostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesOperationsPostParamsWithHTTPClient ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesOperationsPostParams
NewPcloudPvminstancesOperationsPostParamsWithHTTPClient creates a new PcloudPvminstancesOperationsPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesOperationsPostParamsWithTimeout ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesOperationsPostParams
NewPcloudPvminstancesOperationsPostParamsWithTimeout creates a new PcloudPvminstancesOperationsPostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesOperationsPostParams) SetBody ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) SetBody(body *models.PVMInstanceOperation)
SetBody adds the body to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) SetCloudInstanceID ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) SetContext ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances operations post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesOperationsPostParams) SetHTTPClient ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) SetPvmInstanceID ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) SetTimeout ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) WithBody ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) WithBody(body *models.PVMInstanceOperation) *PcloudPvminstancesOperationsPostParams
WithBody adds the body to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) WithCloudInstanceID ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesOperationsPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) WithContext ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) WithContext(ctx context.Context) *PcloudPvminstancesOperationsPostParams
WithContext adds the context to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostParams) WithDefaults() *PcloudPvminstancesOperationsPostParams
WithDefaults hydrates default values in the pcloud pvminstances operations post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesOperationsPostParams) WithHTTPClient ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesOperationsPostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) WithPvmInstanceID ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesOperationsPostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) WithTimeout ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesOperationsPostParams
WithTimeout adds the timeout to the pcloud pvminstances operations post params
func (*PcloudPvminstancesOperationsPostParams) WriteToRequest ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesOperationsPostReader ¶ added in v1.0.43
type PcloudPvminstancesOperationsPostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesOperationsPostReader is a Reader for the PcloudPvminstancesOperationsPost structure.
func (*PcloudPvminstancesOperationsPostReader) ReadResponse ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesOperationsPostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesOperationsPostUnauthorized struct {
}PcloudPvminstancesOperationsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesOperationsPostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesOperationsPostUnauthorized() *PcloudPvminstancesOperationsPostUnauthorized
NewPcloudPvminstancesOperationsPostUnauthorized creates a PcloudPvminstancesOperationsPostUnauthorized with default headers values
func (*PcloudPvminstancesOperationsPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesOperationsPostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances operations post unauthorized response
func (*PcloudPvminstancesOperationsPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesOperationsPostUnauthorized) Error() string
func (*PcloudPvminstancesOperationsPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesOperationsPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances operations post unauthorized response has a 4xx status code
func (*PcloudPvminstancesOperationsPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances operations post unauthorized response a status code equal to that given
func (*PcloudPvminstancesOperationsPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances operations post unauthorized response has a 3xx status code
func (*PcloudPvminstancesOperationsPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances operations post unauthorized response has a 5xx status code
func (*PcloudPvminstancesOperationsPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances operations post unauthorized response has a 2xx status code
func (*PcloudPvminstancesOperationsPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnauthorized) String() string
type PcloudPvminstancesOperationsPostUnprocessableEntity ¶ added in v1.0.43
PcloudPvminstancesOperationsPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesOperationsPostUnprocessableEntity ¶ added in v1.0.43
func NewPcloudPvminstancesOperationsPostUnprocessableEntity() *PcloudPvminstancesOperationsPostUnprocessableEntity
NewPcloudPvminstancesOperationsPostUnprocessableEntity creates a PcloudPvminstancesOperationsPostUnprocessableEntity with default headers values
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances operations post unprocessable entity response
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) Error ¶ added in v1.0.43
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) Error() string
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances operations post unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances operations post unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances operations post unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances operations post unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances operations post unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesOperationsPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) String() string
type PcloudPvminstancesPostAccepted ¶
type PcloudPvminstancesPostAccepted struct {
Payload models.PVMInstanceList
}
PcloudPvminstancesPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudPvminstancesPostAccepted ¶
func NewPcloudPvminstancesPostAccepted() *PcloudPvminstancesPostAccepted
NewPcloudPvminstancesPostAccepted creates a PcloudPvminstancesPostAccepted with default headers values
func (*PcloudPvminstancesPostAccepted) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostAccepted) Code() int
Code gets the status code for the pcloud pvminstances post accepted response
func (*PcloudPvminstancesPostAccepted) Error ¶
func (o *PcloudPvminstancesPostAccepted) Error() string
func (*PcloudPvminstancesPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostAccepted) GetPayload() models.PVMInstanceList
func (*PcloudPvminstancesPostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post accepted response has a 4xx status code
func (*PcloudPvminstancesPostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post accepted response a status code equal to that given
func (*PcloudPvminstancesPostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post accepted response has a 3xx status code
func (*PcloudPvminstancesPostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post accepted response has a 5xx status code
func (*PcloudPvminstancesPostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post accepted response has a 2xx status code
func (*PcloudPvminstancesPostAccepted) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostAccepted) String() string
type PcloudPvminstancesPostBadRequest ¶
PcloudPvminstancesPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesPostBadRequest ¶
func NewPcloudPvminstancesPostBadRequest() *PcloudPvminstancesPostBadRequest
NewPcloudPvminstancesPostBadRequest creates a PcloudPvminstancesPostBadRequest with default headers values
func (*PcloudPvminstancesPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances post bad request response
func (*PcloudPvminstancesPostBadRequest) Error ¶
func (o *PcloudPvminstancesPostBadRequest) Error() string
func (*PcloudPvminstancesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post bad request response has a 4xx status code
func (*PcloudPvminstancesPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post bad request response a status code equal to that given
func (*PcloudPvminstancesPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post bad request response has a 3xx status code
func (*PcloudPvminstancesPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post bad request response has a 5xx status code
func (*PcloudPvminstancesPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post bad request response has a 2xx status code
func (*PcloudPvminstancesPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostBadRequest) String() string
type PcloudPvminstancesPostConflict ¶
PcloudPvminstancesPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesPostConflict ¶
func NewPcloudPvminstancesPostConflict() *PcloudPvminstancesPostConflict
NewPcloudPvminstancesPostConflict creates a PcloudPvminstancesPostConflict with default headers values
func (*PcloudPvminstancesPostConflict) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostConflict) Code() int
Code gets the status code for the pcloud pvminstances post conflict response
func (*PcloudPvminstancesPostConflict) Error ¶
func (o *PcloudPvminstancesPostConflict) Error() string
func (*PcloudPvminstancesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostConflict) GetPayload() *models.Error
func (*PcloudPvminstancesPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostConflict) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post conflict response has a 4xx status code
func (*PcloudPvminstancesPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post conflict response a status code equal to that given
func (*PcloudPvminstancesPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post conflict response has a 3xx status code
func (*PcloudPvminstancesPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostConflict) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post conflict response has a 5xx status code
func (*PcloudPvminstancesPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post conflict response has a 2xx status code
func (*PcloudPvminstancesPostConflict) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostConflict) String() string
type PcloudPvminstancesPostCreated ¶
type PcloudPvminstancesPostCreated struct {
Payload models.PVMInstanceList
}
PcloudPvminstancesPostCreated describes a response with status code 201, with default header values.
Created
func NewPcloudPvminstancesPostCreated ¶
func NewPcloudPvminstancesPostCreated() *PcloudPvminstancesPostCreated
NewPcloudPvminstancesPostCreated creates a PcloudPvminstancesPostCreated with default headers values
func (*PcloudPvminstancesPostCreated) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostCreated) Code() int
Code gets the status code for the pcloud pvminstances post created response
func (*PcloudPvminstancesPostCreated) Error ¶
func (o *PcloudPvminstancesPostCreated) Error() string
func (*PcloudPvminstancesPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostCreated) GetPayload() models.PVMInstanceList
func (*PcloudPvminstancesPostCreated) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostCreated) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post created response has a 4xx status code
func (*PcloudPvminstancesPostCreated) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostCreated) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post created response a status code equal to that given
func (*PcloudPvminstancesPostCreated) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostCreated) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post created response has a 3xx status code
func (*PcloudPvminstancesPostCreated) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostCreated) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post created response has a 5xx status code
func (*PcloudPvminstancesPostCreated) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostCreated) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post created response has a 2xx status code
func (*PcloudPvminstancesPostCreated) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostCreated) String() string
type PcloudPvminstancesPostForbidden ¶ added in v1.1.10
PcloudPvminstancesPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesPostForbidden ¶ added in v1.1.10
func NewPcloudPvminstancesPostForbidden() *PcloudPvminstancesPostForbidden
NewPcloudPvminstancesPostForbidden creates a PcloudPvminstancesPostForbidden with default headers values
func (*PcloudPvminstancesPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostForbidden) Code() int
Code gets the status code for the pcloud pvminstances post forbidden response
func (*PcloudPvminstancesPostForbidden) Error ¶ added in v1.1.10
func (o *PcloudPvminstancesPostForbidden) Error() string
func (*PcloudPvminstancesPostForbidden) GetPayload ¶ added in v1.1.10
func (o *PcloudPvminstancesPostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post forbidden response has a 4xx status code
func (*PcloudPvminstancesPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post forbidden response a status code equal to that given
func (*PcloudPvminstancesPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post forbidden response has a 3xx status code
func (*PcloudPvminstancesPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post forbidden response has a 5xx status code
func (*PcloudPvminstancesPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post forbidden response has a 2xx status code
func (*PcloudPvminstancesPostForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostForbidden) String() string
type PcloudPvminstancesPostGatewayTimeout ¶ added in v1.0.76
PcloudPvminstancesPostGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewPcloudPvminstancesPostGatewayTimeout ¶ added in v1.0.76
func NewPcloudPvminstancesPostGatewayTimeout() *PcloudPvminstancesPostGatewayTimeout
NewPcloudPvminstancesPostGatewayTimeout creates a PcloudPvminstancesPostGatewayTimeout with default headers values
func (*PcloudPvminstancesPostGatewayTimeout) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostGatewayTimeout) Code() int
Code gets the status code for the pcloud pvminstances post gateway timeout response
func (*PcloudPvminstancesPostGatewayTimeout) Error ¶ added in v1.0.76
func (o *PcloudPvminstancesPostGatewayTimeout) Error() string
func (*PcloudPvminstancesPostGatewayTimeout) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostGatewayTimeout) GetPayload() *models.Error
func (*PcloudPvminstancesPostGatewayTimeout) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostGatewayTimeout) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post gateway timeout response has a 4xx status code
func (*PcloudPvminstancesPostGatewayTimeout) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostGatewayTimeout) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post gateway timeout response a status code equal to that given
func (*PcloudPvminstancesPostGatewayTimeout) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post gateway timeout response has a 3xx status code
func (*PcloudPvminstancesPostGatewayTimeout) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostGatewayTimeout) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post gateway timeout response has a 5xx status code
func (*PcloudPvminstancesPostGatewayTimeout) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post gateway timeout response has a 2xx status code
func (*PcloudPvminstancesPostGatewayTimeout) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostGatewayTimeout) String() string
type PcloudPvminstancesPostInternalServerError ¶
PcloudPvminstancesPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesPostInternalServerError ¶
func NewPcloudPvminstancesPostInternalServerError() *PcloudPvminstancesPostInternalServerError
NewPcloudPvminstancesPostInternalServerError creates a PcloudPvminstancesPostInternalServerError with default headers values
func (*PcloudPvminstancesPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances post internal server error response
func (*PcloudPvminstancesPostInternalServerError) Error ¶
func (o *PcloudPvminstancesPostInternalServerError) Error() string
func (*PcloudPvminstancesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post internal server error response has a 4xx status code
func (*PcloudPvminstancesPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post internal server error response a status code equal to that given
func (*PcloudPvminstancesPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post internal server error response has a 3xx status code
func (*PcloudPvminstancesPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post internal server error response has a 5xx status code
func (*PcloudPvminstancesPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post internal server error response has a 2xx status code
func (*PcloudPvminstancesPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostInternalServerError) String() string
type PcloudPvminstancesPostNotFound ¶ added in v1.1.10
PcloudPvminstancesPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesPostNotFound ¶ added in v1.1.10
func NewPcloudPvminstancesPostNotFound() *PcloudPvminstancesPostNotFound
NewPcloudPvminstancesPostNotFound creates a PcloudPvminstancesPostNotFound with default headers values
func (*PcloudPvminstancesPostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostNotFound) Code() int
Code gets the status code for the pcloud pvminstances post not found response
func (*PcloudPvminstancesPostNotFound) Error ¶ added in v1.1.10
func (o *PcloudPvminstancesPostNotFound) Error() string
func (*PcloudPvminstancesPostNotFound) GetPayload ¶ added in v1.1.10
func (o *PcloudPvminstancesPostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesPostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post not found response has a 4xx status code
func (*PcloudPvminstancesPostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post not found response a status code equal to that given
func (*PcloudPvminstancesPostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post not found response has a 3xx status code
func (*PcloudPvminstancesPostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post not found response has a 5xx status code
func (*PcloudPvminstancesPostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post not found response has a 2xx status code
func (*PcloudPvminstancesPostNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostNotFound) String() string
type PcloudPvminstancesPostOK ¶
type PcloudPvminstancesPostOK struct {
Payload models.PVMInstanceList
}
PcloudPvminstancesPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesPostOK ¶
func NewPcloudPvminstancesPostOK() *PcloudPvminstancesPostOK
NewPcloudPvminstancesPostOK creates a PcloudPvminstancesPostOK with default headers values
func (*PcloudPvminstancesPostOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostOK) Code() int
Code gets the status code for the pcloud pvminstances post o k response
func (*PcloudPvminstancesPostOK) Error ¶
func (o *PcloudPvminstancesPostOK) Error() string
func (*PcloudPvminstancesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostOK) GetPayload() models.PVMInstanceList
func (*PcloudPvminstancesPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post o k response has a 4xx status code
func (*PcloudPvminstancesPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post o k response a status code equal to that given
func (*PcloudPvminstancesPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post o k response has a 3xx status code
func (*PcloudPvminstancesPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post o k response has a 5xx status code
func (*PcloudPvminstancesPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post o k response has a 2xx status code
func (*PcloudPvminstancesPostOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostOK) String() string
type PcloudPvminstancesPostParams ¶
type PcloudPvminstancesPostParams struct { /* Body. Parameters for the creation of a new Power VM Instance */ Body *models.PVMInstanceCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SkipHostValidation. Option to skip host validation on PVMInstance Create API */ SkipHostValidation *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesPostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesPostParams ¶
func NewPcloudPvminstancesPostParams() *PcloudPvminstancesPostParams
NewPcloudPvminstancesPostParams creates a new PcloudPvminstancesPostParams 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 NewPcloudPvminstancesPostParamsWithContext ¶
func NewPcloudPvminstancesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesPostParams
NewPcloudPvminstancesPostParamsWithContext creates a new PcloudPvminstancesPostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesPostParamsWithHTTPClient ¶
func NewPcloudPvminstancesPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPostParams
NewPcloudPvminstancesPostParamsWithHTTPClient creates a new PcloudPvminstancesPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesPostParamsWithTimeout ¶
func NewPcloudPvminstancesPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPostParams
NewPcloudPvminstancesPostParamsWithTimeout creates a new PcloudPvminstancesPostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesPostParams) SetBody ¶
func (o *PcloudPvminstancesPostParams) SetBody(body *models.PVMInstanceCreate)
SetBody adds the body to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) SetContext ¶
func (o *PcloudPvminstancesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesPostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) SetSkipHostValidation ¶ added in v1.0.48
func (o *PcloudPvminstancesPostParams) SetSkipHostValidation(skipHostValidation *bool)
SetSkipHostValidation adds the skipHostValidation to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) SetTimeout ¶
func (o *PcloudPvminstancesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) WithBody ¶
func (o *PcloudPvminstancesPostParams) WithBody(body *models.PVMInstanceCreate) *PcloudPvminstancesPostParams
WithBody adds the body to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) WithContext ¶
func (o *PcloudPvminstancesPostParams) WithContext(ctx context.Context) *PcloudPvminstancesPostParams
WithContext adds the context to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesPostParams) WithDefaults() *PcloudPvminstancesPostParams
WithDefaults hydrates default values in the pcloud pvminstances post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesPostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesPostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) WithSkipHostValidation ¶ added in v1.0.48
func (o *PcloudPvminstancesPostParams) WithSkipHostValidation(skipHostValidation *bool) *PcloudPvminstancesPostParams
WithSkipHostValidation adds the skipHostValidation to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) WithTimeout ¶
func (o *PcloudPvminstancesPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesPostParams
WithTimeout adds the timeout to the pcloud pvminstances post params
func (*PcloudPvminstancesPostParams) WriteToRequest ¶
func (o *PcloudPvminstancesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesPostReader ¶
type PcloudPvminstancesPostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesPostReader is a Reader for the PcloudPvminstancesPost structure.
func (*PcloudPvminstancesPostReader) ReadResponse ¶
func (o *PcloudPvminstancesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesPostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesPostUnauthorized struct {
}PcloudPvminstancesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesPostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesPostUnauthorized() *PcloudPvminstancesPostUnauthorized
NewPcloudPvminstancesPostUnauthorized creates a PcloudPvminstancesPostUnauthorized with default headers values
func (*PcloudPvminstancesPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances post unauthorized response
func (*PcloudPvminstancesPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesPostUnauthorized) Error() string
func (*PcloudPvminstancesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post unauthorized response has a 4xx status code
func (*PcloudPvminstancesPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post unauthorized response a status code equal to that given
func (*PcloudPvminstancesPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post unauthorized response has a 3xx status code
func (*PcloudPvminstancesPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post unauthorized response has a 5xx status code
func (*PcloudPvminstancesPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post unauthorized response has a 2xx status code
func (*PcloudPvminstancesPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnauthorized) String() string
type PcloudPvminstancesPostUnprocessableEntity ¶
PcloudPvminstancesPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesPostUnprocessableEntity ¶
func NewPcloudPvminstancesPostUnprocessableEntity() *PcloudPvminstancesPostUnprocessableEntity
NewPcloudPvminstancesPostUnprocessableEntity creates a PcloudPvminstancesPostUnprocessableEntity with default headers values
func (*PcloudPvminstancesPostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances post unprocessable entity response
func (*PcloudPvminstancesPostUnprocessableEntity) Error ¶
func (o *PcloudPvminstancesPostUnprocessableEntity) Error() string
func (*PcloudPvminstancesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances post unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances post unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances post unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances post unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances post unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPostUnprocessableEntity) String() string
type PcloudPvminstancesPutAccepted ¶
type PcloudPvminstancesPutAccepted struct {
Payload *models.PVMInstanceUpdateResponse
}
PcloudPvminstancesPutAccepted describes a response with status code 202, with default header values.
Accepted (this is a long running operation)
func NewPcloudPvminstancesPutAccepted ¶
func NewPcloudPvminstancesPutAccepted() *PcloudPvminstancesPutAccepted
NewPcloudPvminstancesPutAccepted creates a PcloudPvminstancesPutAccepted with default headers values
func (*PcloudPvminstancesPutAccepted) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPutAccepted) Code() int
Code gets the status code for the pcloud pvminstances put accepted response
func (*PcloudPvminstancesPutAccepted) Error ¶
func (o *PcloudPvminstancesPutAccepted) Error() string
func (*PcloudPvminstancesPutAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutAccepted) GetPayload() *models.PVMInstanceUpdateResponse
func (*PcloudPvminstancesPutAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances put accepted response has a 4xx status code
func (*PcloudPvminstancesPutAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPutAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances put accepted response a status code equal to that given
func (*PcloudPvminstancesPutAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPutAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances put accepted response has a 3xx status code
func (*PcloudPvminstancesPutAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances put accepted response has a 5xx status code
func (*PcloudPvminstancesPutAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPutAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances put accepted response has a 2xx status code
func (*PcloudPvminstancesPutAccepted) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPutAccepted) String() string
type PcloudPvminstancesPutBadRequest ¶
PcloudPvminstancesPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesPutBadRequest ¶
func NewPcloudPvminstancesPutBadRequest() *PcloudPvminstancesPutBadRequest
NewPcloudPvminstancesPutBadRequest creates a PcloudPvminstancesPutBadRequest with default headers values
func (*PcloudPvminstancesPutBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPutBadRequest) Code() int
Code gets the status code for the pcloud pvminstances put bad request response
func (*PcloudPvminstancesPutBadRequest) Error ¶
func (o *PcloudPvminstancesPutBadRequest) Error() string
func (*PcloudPvminstancesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances put bad request response has a 4xx status code
func (*PcloudPvminstancesPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances put bad request response a status code equal to that given
func (*PcloudPvminstancesPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances put bad request response has a 3xx status code
func (*PcloudPvminstancesPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances put bad request response has a 5xx status code
func (*PcloudPvminstancesPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances put bad request response has a 2xx status code
func (*PcloudPvminstancesPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPutBadRequest) String() string
type PcloudPvminstancesPutForbidden ¶ added in v1.2.2
PcloudPvminstancesPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesPutForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesPutForbidden() *PcloudPvminstancesPutForbidden
NewPcloudPvminstancesPutForbidden creates a PcloudPvminstancesPutForbidden with default headers values
func (*PcloudPvminstancesPutForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPutForbidden) Code() int
Code gets the status code for the pcloud pvminstances put forbidden response
func (*PcloudPvminstancesPutForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) Error() string
func (*PcloudPvminstancesPutForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances put forbidden response has a 4xx status code
func (*PcloudPvminstancesPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances put forbidden response a status code equal to that given
func (*PcloudPvminstancesPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances put forbidden response has a 3xx status code
func (*PcloudPvminstancesPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances put forbidden response has a 5xx status code
func (*PcloudPvminstancesPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances put forbidden response has a 2xx status code
func (*PcloudPvminstancesPutForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPutForbidden) String() string
type PcloudPvminstancesPutInternalServerError ¶
PcloudPvminstancesPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesPutInternalServerError ¶
func NewPcloudPvminstancesPutInternalServerError() *PcloudPvminstancesPutInternalServerError
NewPcloudPvminstancesPutInternalServerError creates a PcloudPvminstancesPutInternalServerError with default headers values
func (*PcloudPvminstancesPutInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPutInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances put internal server error response
func (*PcloudPvminstancesPutInternalServerError) Error ¶
func (o *PcloudPvminstancesPutInternalServerError) Error() string
func (*PcloudPvminstancesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances put internal server error response has a 4xx status code
func (*PcloudPvminstancesPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances put internal server error response a status code equal to that given
func (*PcloudPvminstancesPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances put internal server error response has a 3xx status code
func (*PcloudPvminstancesPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances put internal server error response has a 5xx status code
func (*PcloudPvminstancesPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances put internal server error response has a 2xx status code
func (*PcloudPvminstancesPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPutInternalServerError) String() string
type PcloudPvminstancesPutNotFound ¶ added in v1.2.2
PcloudPvminstancesPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesPutNotFound ¶ added in v1.2.2
func NewPcloudPvminstancesPutNotFound() *PcloudPvminstancesPutNotFound
NewPcloudPvminstancesPutNotFound creates a PcloudPvminstancesPutNotFound with default headers values
func (*PcloudPvminstancesPutNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPutNotFound) Code() int
Code gets the status code for the pcloud pvminstances put not found response
func (*PcloudPvminstancesPutNotFound) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) Error() string
func (*PcloudPvminstancesPutNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesPutNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances put not found response has a 4xx status code
func (*PcloudPvminstancesPutNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances put not found response a status code equal to that given
func (*PcloudPvminstancesPutNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances put not found response has a 3xx status code
func (*PcloudPvminstancesPutNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances put not found response has a 5xx status code
func (*PcloudPvminstancesPutNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances put not found response has a 2xx status code
func (*PcloudPvminstancesPutNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPutNotFound) String() string
type PcloudPvminstancesPutParams ¶
type PcloudPvminstancesPutParams struct { /* Body. Parameters to update a PCloud PVM Instance */ Body *models.PVMInstanceUpdate /* 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 }
PcloudPvminstancesPutParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances put operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesPutParams ¶
func NewPcloudPvminstancesPutParams() *PcloudPvminstancesPutParams
NewPcloudPvminstancesPutParams creates a new PcloudPvminstancesPutParams 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 NewPcloudPvminstancesPutParamsWithContext ¶
func NewPcloudPvminstancesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesPutParams
NewPcloudPvminstancesPutParamsWithContext creates a new PcloudPvminstancesPutParams object with the ability to set a context for a request.
func NewPcloudPvminstancesPutParamsWithHTTPClient ¶
func NewPcloudPvminstancesPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPutParams
NewPcloudPvminstancesPutParamsWithHTTPClient creates a new PcloudPvminstancesPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesPutParamsWithTimeout ¶
func NewPcloudPvminstancesPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPutParams
NewPcloudPvminstancesPutParamsWithTimeout creates a new PcloudPvminstancesPutParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesPutParams) SetBody ¶
func (o *PcloudPvminstancesPutParams) SetBody(body *models.PVMInstanceUpdate)
SetBody adds the body to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) SetContext ¶
func (o *PcloudPvminstancesPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesPutParams) SetHTTPClient ¶
func (o *PcloudPvminstancesPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesPutParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) SetTimeout ¶
func (o *PcloudPvminstancesPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) WithBody ¶
func (o *PcloudPvminstancesPutParams) WithBody(body *models.PVMInstanceUpdate) *PcloudPvminstancesPutParams
WithBody adds the body to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) WithContext ¶
func (o *PcloudPvminstancesPutParams) WithContext(ctx context.Context) *PcloudPvminstancesPutParams
WithContext adds the context to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesPutParams) WithDefaults() *PcloudPvminstancesPutParams
WithDefaults hydrates default values in the pcloud pvminstances put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesPutParams) WithHTTPClient ¶
func (o *PcloudPvminstancesPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesPutParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesPutParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) WithTimeout ¶
func (o *PcloudPvminstancesPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesPutParams
WithTimeout adds the timeout to the pcloud pvminstances put params
func (*PcloudPvminstancesPutParams) WriteToRequest ¶
func (o *PcloudPvminstancesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesPutReader ¶
type PcloudPvminstancesPutReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesPutReader is a Reader for the PcloudPvminstancesPut structure.
func (*PcloudPvminstancesPutReader) ReadResponse ¶
func (o *PcloudPvminstancesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesPutUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesPutUnauthorized struct {
}PcloudPvminstancesPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesPutUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesPutUnauthorized() *PcloudPvminstancesPutUnauthorized
NewPcloudPvminstancesPutUnauthorized creates a PcloudPvminstancesPutUnauthorized with default headers values
func (*PcloudPvminstancesPutUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPutUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances put unauthorized response
func (*PcloudPvminstancesPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesPutUnauthorized) Error() string
func (*PcloudPvminstancesPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances put unauthorized response has a 4xx status code
func (*PcloudPvminstancesPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances put unauthorized response a status code equal to that given
func (*PcloudPvminstancesPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances put unauthorized response has a 3xx status code
func (*PcloudPvminstancesPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances put unauthorized response has a 5xx status code
func (*PcloudPvminstancesPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances put unauthorized response has a 2xx status code
func (*PcloudPvminstancesPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnauthorized) String() string
type PcloudPvminstancesPutUnprocessableEntity ¶
PcloudPvminstancesPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudPvminstancesPutUnprocessableEntity ¶
func NewPcloudPvminstancesPutUnprocessableEntity() *PcloudPvminstancesPutUnprocessableEntity
NewPcloudPvminstancesPutUnprocessableEntity creates a PcloudPvminstancesPutUnprocessableEntity with default headers values
func (*PcloudPvminstancesPutUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud pvminstances put unprocessable entity response
func (*PcloudPvminstancesPutUnprocessableEntity) Error ¶
func (o *PcloudPvminstancesPutUnprocessableEntity) Error() string
func (*PcloudPvminstancesPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudPvminstancesPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud pvminstances put unprocessable entity response has a 4xx status code
func (*PcloudPvminstancesPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances put unprocessable entity response a status code equal to that given
func (*PcloudPvminstancesPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances put unprocessable entity response has a 3xx status code
func (*PcloudPvminstancesPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud pvminstances put unprocessable entity response has a 5xx status code
func (*PcloudPvminstancesPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances put unprocessable entity response has a 2xx status code
func (*PcloudPvminstancesPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudPvminstancesPutUnprocessableEntity) String() string
type PcloudPvminstancesSnapshotsGetallBadRequest ¶
PcloudPvminstancesSnapshotsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesSnapshotsGetallBadRequest ¶
func NewPcloudPvminstancesSnapshotsGetallBadRequest() *PcloudPvminstancesSnapshotsGetallBadRequest
NewPcloudPvminstancesSnapshotsGetallBadRequest creates a PcloudPvminstancesSnapshotsGetallBadRequest with default headers values
func (*PcloudPvminstancesSnapshotsGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) Code() int
Code gets the status code for the pcloud pvminstances snapshots getall bad request response
func (*PcloudPvminstancesSnapshotsGetallBadRequest) Error ¶
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) Error() string
func (*PcloudPvminstancesSnapshotsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots getall bad request response has a 4xx status code
func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots getall bad request response a status code equal to that given
func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots getall bad request response has a 3xx status code
func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots getall bad request response has a 5xx status code
func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots getall bad request response has a 2xx status code
func (*PcloudPvminstancesSnapshotsGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) String() string
type PcloudPvminstancesSnapshotsGetallForbidden ¶ added in v1.2.2
PcloudPvminstancesSnapshotsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesSnapshotsGetallForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesSnapshotsGetallForbidden() *PcloudPvminstancesSnapshotsGetallForbidden
NewPcloudPvminstancesSnapshotsGetallForbidden creates a PcloudPvminstancesSnapshotsGetallForbidden with default headers values
func (*PcloudPvminstancesSnapshotsGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsGetallForbidden) Code() int
Code gets the status code for the pcloud pvminstances snapshots getall forbidden response
func (*PcloudPvminstancesSnapshotsGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) Error() string
func (*PcloudPvminstancesSnapshotsGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots getall forbidden response has a 4xx status code
func (*PcloudPvminstancesSnapshotsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots getall forbidden response a status code equal to that given
func (*PcloudPvminstancesSnapshotsGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots getall forbidden response has a 3xx status code
func (*PcloudPvminstancesSnapshotsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots getall forbidden response has a 5xx status code
func (*PcloudPvminstancesSnapshotsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots getall forbidden response has a 2xx status code
func (*PcloudPvminstancesSnapshotsGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallForbidden) String() string
type PcloudPvminstancesSnapshotsGetallInternalServerError ¶
PcloudPvminstancesSnapshotsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesSnapshotsGetallInternalServerError ¶
func NewPcloudPvminstancesSnapshotsGetallInternalServerError() *PcloudPvminstancesSnapshotsGetallInternalServerError
NewPcloudPvminstancesSnapshotsGetallInternalServerError creates a PcloudPvminstancesSnapshotsGetallInternalServerError with default headers values
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances snapshots getall internal server error response
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) Error ¶
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) Error() string
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots getall internal server error response has a 4xx status code
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots getall internal server error response a status code equal to that given
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots getall internal server error response has a 3xx status code
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots getall internal server error response has a 5xx status code
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots getall internal server error response has a 2xx status code
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) String() string
type PcloudPvminstancesSnapshotsGetallNotFound ¶ added in v1.0.56
PcloudPvminstancesSnapshotsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesSnapshotsGetallNotFound ¶ added in v1.0.56
func NewPcloudPvminstancesSnapshotsGetallNotFound() *PcloudPvminstancesSnapshotsGetallNotFound
NewPcloudPvminstancesSnapshotsGetallNotFound creates a PcloudPvminstancesSnapshotsGetallNotFound with default headers values
func (*PcloudPvminstancesSnapshotsGetallNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsGetallNotFound) Code() int
Code gets the status code for the pcloud pvminstances snapshots getall not found response
func (*PcloudPvminstancesSnapshotsGetallNotFound) Error ¶ added in v1.0.56
func (o *PcloudPvminstancesSnapshotsGetallNotFound) Error() string
func (*PcloudPvminstancesSnapshotsGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsGetallNotFound) IsClientError ¶ added in v1.2.3
func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots getall not found response has a 4xx status code
func (*PcloudPvminstancesSnapshotsGetallNotFound) IsCode ¶ added in v1.2.3
func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots getall not found response a status code equal to that given
func (*PcloudPvminstancesSnapshotsGetallNotFound) IsRedirect ¶ added in v1.2.3
func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots getall not found response has a 3xx status code
func (*PcloudPvminstancesSnapshotsGetallNotFound) IsServerError ¶ added in v1.2.3
func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots getall not found response has a 5xx status code
func (*PcloudPvminstancesSnapshotsGetallNotFound) IsSuccess ¶ added in v1.2.3
func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots getall not found response has a 2xx status code
func (*PcloudPvminstancesSnapshotsGetallNotFound) String ¶ added in v1.2.3
func (o *PcloudPvminstancesSnapshotsGetallNotFound) String() string
type PcloudPvminstancesSnapshotsGetallOK ¶
PcloudPvminstancesSnapshotsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesSnapshotsGetallOK ¶
func NewPcloudPvminstancesSnapshotsGetallOK() *PcloudPvminstancesSnapshotsGetallOK
NewPcloudPvminstancesSnapshotsGetallOK creates a PcloudPvminstancesSnapshotsGetallOK with default headers values
func (*PcloudPvminstancesSnapshotsGetallOK) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsGetallOK) Code() int
Code gets the status code for the pcloud pvminstances snapshots getall o k response
func (*PcloudPvminstancesSnapshotsGetallOK) Error ¶
func (o *PcloudPvminstancesSnapshotsGetallOK) Error() string
func (*PcloudPvminstancesSnapshotsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallOK) GetPayload() *models.Snapshots
func (*PcloudPvminstancesSnapshotsGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallOK) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots getall o k response has a 4xx status code
func (*PcloudPvminstancesSnapshotsGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots getall o k response a status code equal to that given
func (*PcloudPvminstancesSnapshotsGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots getall o k response has a 3xx status code
func (*PcloudPvminstancesSnapshotsGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallOK) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots getall o k response has a 5xx status code
func (*PcloudPvminstancesSnapshotsGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots getall o k response has a 2xx status code
func (*PcloudPvminstancesSnapshotsGetallOK) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallOK) String() string
type PcloudPvminstancesSnapshotsGetallParams ¶
type PcloudPvminstancesSnapshotsGetallParams 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 }
PcloudPvminstancesSnapshotsGetallParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances snapshots getall operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesSnapshotsGetallParams ¶
func NewPcloudPvminstancesSnapshotsGetallParams() *PcloudPvminstancesSnapshotsGetallParams
NewPcloudPvminstancesSnapshotsGetallParams creates a new PcloudPvminstancesSnapshotsGetallParams 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 NewPcloudPvminstancesSnapshotsGetallParamsWithContext ¶
func NewPcloudPvminstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsGetallParams
NewPcloudPvminstancesSnapshotsGetallParamsWithContext creates a new PcloudPvminstancesSnapshotsGetallParams object with the ability to set a context for a request.
func NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient ¶
func NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsGetallParams
NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient creates a new PcloudPvminstancesSnapshotsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout ¶
func NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsGetallParams
NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout creates a new PcloudPvminstancesSnapshotsGetallParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesSnapshotsGetallParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) SetContext ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesSnapshotsGetallParams) SetHTTPClient ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) SetTimeout ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesSnapshotsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) WithContext ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesSnapshotsGetallParams
WithContext adds the context to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallParams) WithDefaults() *PcloudPvminstancesSnapshotsGetallParams
WithDefaults hydrates default values in the pcloud pvminstances snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesSnapshotsGetallParams) WithHTTPClient ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesSnapshotsGetallParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) WithTimeout ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsGetallParams
WithTimeout adds the timeout to the pcloud pvminstances snapshots getall params
func (*PcloudPvminstancesSnapshotsGetallParams) WriteToRequest ¶
func (o *PcloudPvminstancesSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesSnapshotsGetallReader ¶
type PcloudPvminstancesSnapshotsGetallReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesSnapshotsGetallReader is a Reader for the PcloudPvminstancesSnapshotsGetall structure.
func (*PcloudPvminstancesSnapshotsGetallReader) ReadResponse ¶
func (o *PcloudPvminstancesSnapshotsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesSnapshotsGetallUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesSnapshotsGetallUnauthorized struct {
}PcloudPvminstancesSnapshotsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesSnapshotsGetallUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesSnapshotsGetallUnauthorized() *PcloudPvminstancesSnapshotsGetallUnauthorized
NewPcloudPvminstancesSnapshotsGetallUnauthorized creates a PcloudPvminstancesSnapshotsGetallUnauthorized with default headers values
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances snapshots getall unauthorized response
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) Error() string
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots getall unauthorized response has a 4xx status code
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots getall unauthorized response a status code equal to that given
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots getall unauthorized response has a 3xx status code
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots getall unauthorized response has a 5xx status code
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots getall unauthorized response has a 2xx status code
func (*PcloudPvminstancesSnapshotsGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) String() string
type PcloudPvminstancesSnapshotsPostAccepted ¶
type PcloudPvminstancesSnapshotsPostAccepted struct {
Payload *models.SnapshotCreateResponse
}
PcloudPvminstancesSnapshotsPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudPvminstancesSnapshotsPostAccepted ¶
func NewPcloudPvminstancesSnapshotsPostAccepted() *PcloudPvminstancesSnapshotsPostAccepted
NewPcloudPvminstancesSnapshotsPostAccepted creates a PcloudPvminstancesSnapshotsPostAccepted with default headers values
func (*PcloudPvminstancesSnapshotsPostAccepted) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostAccepted) Code() int
Code gets the status code for the pcloud pvminstances snapshots post accepted response
func (*PcloudPvminstancesSnapshotsPostAccepted) Error ¶
func (o *PcloudPvminstancesSnapshotsPostAccepted) Error() string
func (*PcloudPvminstancesSnapshotsPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostAccepted) GetPayload() *models.SnapshotCreateResponse
func (*PcloudPvminstancesSnapshotsPostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post accepted response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post accepted response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post accepted response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post accepted response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post accepted response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostAccepted) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostAccepted) String() string
type PcloudPvminstancesSnapshotsPostBadRequest ¶
PcloudPvminstancesSnapshotsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesSnapshotsPostBadRequest ¶
func NewPcloudPvminstancesSnapshotsPostBadRequest() *PcloudPvminstancesSnapshotsPostBadRequest
NewPcloudPvminstancesSnapshotsPostBadRequest creates a PcloudPvminstancesSnapshotsPostBadRequest with default headers values
func (*PcloudPvminstancesSnapshotsPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances snapshots post bad request response
func (*PcloudPvminstancesSnapshotsPostBadRequest) Error ¶
func (o *PcloudPvminstancesSnapshotsPostBadRequest) Error() string
func (*PcloudPvminstancesSnapshotsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post bad request response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post bad request response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post bad request response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post bad request response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post bad request response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostBadRequest) String() string
type PcloudPvminstancesSnapshotsPostConflict ¶
PcloudPvminstancesSnapshotsPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesSnapshotsPostConflict ¶
func NewPcloudPvminstancesSnapshotsPostConflict() *PcloudPvminstancesSnapshotsPostConflict
NewPcloudPvminstancesSnapshotsPostConflict creates a PcloudPvminstancesSnapshotsPostConflict with default headers values
func (*PcloudPvminstancesSnapshotsPostConflict) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostConflict) Code() int
Code gets the status code for the pcloud pvminstances snapshots post conflict response
func (*PcloudPvminstancesSnapshotsPostConflict) Error ¶
func (o *PcloudPvminstancesSnapshotsPostConflict) Error() string
func (*PcloudPvminstancesSnapshotsPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostConflict) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostConflict) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post conflict response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post conflict response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post conflict response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostConflict) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post conflict response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post conflict response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostConflict) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostConflict) String() string
type PcloudPvminstancesSnapshotsPostForbidden ¶ added in v1.2.2
PcloudPvminstancesSnapshotsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesSnapshotsPostForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesSnapshotsPostForbidden() *PcloudPvminstancesSnapshotsPostForbidden
NewPcloudPvminstancesSnapshotsPostForbidden creates a PcloudPvminstancesSnapshotsPostForbidden with default headers values
func (*PcloudPvminstancesSnapshotsPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostForbidden) Code() int
Code gets the status code for the pcloud pvminstances snapshots post forbidden response
func (*PcloudPvminstancesSnapshotsPostForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) Error() string
func (*PcloudPvminstancesSnapshotsPostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post forbidden response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post forbidden response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post forbidden response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post forbidden response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post forbidden response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostForbidden) String() string
type PcloudPvminstancesSnapshotsPostGatewayTimeout ¶ added in v1.2.2
PcloudPvminstancesSnapshotsPostGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout
func NewPcloudPvminstancesSnapshotsPostGatewayTimeout ¶ added in v1.2.2
func NewPcloudPvminstancesSnapshotsPostGatewayTimeout() *PcloudPvminstancesSnapshotsPostGatewayTimeout
NewPcloudPvminstancesSnapshotsPostGatewayTimeout creates a PcloudPvminstancesSnapshotsPostGatewayTimeout with default headers values
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) Code() int
Code gets the status code for the pcloud pvminstances snapshots post gateway timeout response
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) Error() string
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post gateway timeout response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post gateway timeout response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post gateway timeout response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post gateway timeout response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post gateway timeout response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) String() string
type PcloudPvminstancesSnapshotsPostInternalServerError ¶
PcloudPvminstancesSnapshotsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesSnapshotsPostInternalServerError ¶
func NewPcloudPvminstancesSnapshotsPostInternalServerError() *PcloudPvminstancesSnapshotsPostInternalServerError
NewPcloudPvminstancesSnapshotsPostInternalServerError creates a PcloudPvminstancesSnapshotsPostInternalServerError with default headers values
func (*PcloudPvminstancesSnapshotsPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances snapshots post internal server error response
func (*PcloudPvminstancesSnapshotsPostInternalServerError) Error ¶
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) Error() string
func (*PcloudPvminstancesSnapshotsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post internal server error response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post internal server error response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post internal server error response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post internal server error response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post internal server error response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) String() string
type PcloudPvminstancesSnapshotsPostNotFound ¶ added in v1.0.56
PcloudPvminstancesSnapshotsPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesSnapshotsPostNotFound ¶ added in v1.0.56
func NewPcloudPvminstancesSnapshotsPostNotFound() *PcloudPvminstancesSnapshotsPostNotFound
NewPcloudPvminstancesSnapshotsPostNotFound creates a PcloudPvminstancesSnapshotsPostNotFound with default headers values
func (*PcloudPvminstancesSnapshotsPostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostNotFound) Code() int
Code gets the status code for the pcloud pvminstances snapshots post not found response
func (*PcloudPvminstancesSnapshotsPostNotFound) Error ¶ added in v1.0.56
func (o *PcloudPvminstancesSnapshotsPostNotFound) Error() string
func (*PcloudPvminstancesSnapshotsPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsPostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post not found response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post not found response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post not found response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post not found response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post not found response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostNotFound) String() string
type PcloudPvminstancesSnapshotsPostParams ¶
type PcloudPvminstancesSnapshotsPostParams struct { /* Body. PVM Instance snapshot create parameters */ Body *models.SnapshotCreate /* 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 }
PcloudPvminstancesSnapshotsPostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances snapshots post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesSnapshotsPostParams ¶
func NewPcloudPvminstancesSnapshotsPostParams() *PcloudPvminstancesSnapshotsPostParams
NewPcloudPvminstancesSnapshotsPostParams creates a new PcloudPvminstancesSnapshotsPostParams 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 NewPcloudPvminstancesSnapshotsPostParamsWithContext ¶
func NewPcloudPvminstancesSnapshotsPostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsPostParams
NewPcloudPvminstancesSnapshotsPostParamsWithContext creates a new PcloudPvminstancesSnapshotsPostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient ¶
func NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsPostParams
NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient creates a new PcloudPvminstancesSnapshotsPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesSnapshotsPostParamsWithTimeout ¶
func NewPcloudPvminstancesSnapshotsPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsPostParams
NewPcloudPvminstancesSnapshotsPostParamsWithTimeout creates a new PcloudPvminstancesSnapshotsPostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesSnapshotsPostParams) SetBody ¶
func (o *PcloudPvminstancesSnapshotsPostParams) SetBody(body *models.SnapshotCreate)
SetBody adds the body to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesSnapshotsPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) SetContext ¶
func (o *PcloudPvminstancesSnapshotsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances snapshots post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesSnapshotsPostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesSnapshotsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesSnapshotsPostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) SetTimeout ¶
func (o *PcloudPvminstancesSnapshotsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) WithBody ¶
func (o *PcloudPvminstancesSnapshotsPostParams) WithBody(body *models.SnapshotCreate) *PcloudPvminstancesSnapshotsPostParams
WithBody adds the body to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesSnapshotsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesSnapshotsPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) WithContext ¶
func (o *PcloudPvminstancesSnapshotsPostParams) WithContext(ctx context.Context) *PcloudPvminstancesSnapshotsPostParams
WithContext adds the context to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostParams) WithDefaults() *PcloudPvminstancesSnapshotsPostParams
WithDefaults hydrates default values in the pcloud pvminstances snapshots post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesSnapshotsPostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesSnapshotsPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsPostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesSnapshotsPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesSnapshotsPostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) WithTimeout ¶
func (o *PcloudPvminstancesSnapshotsPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsPostParams
WithTimeout adds the timeout to the pcloud pvminstances snapshots post params
func (*PcloudPvminstancesSnapshotsPostParams) WriteToRequest ¶
func (o *PcloudPvminstancesSnapshotsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesSnapshotsPostReader ¶
type PcloudPvminstancesSnapshotsPostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesSnapshotsPostReader is a Reader for the PcloudPvminstancesSnapshotsPost structure.
func (*PcloudPvminstancesSnapshotsPostReader) ReadResponse ¶
func (o *PcloudPvminstancesSnapshotsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesSnapshotsPostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesSnapshotsPostUnauthorized struct {
}PcloudPvminstancesSnapshotsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesSnapshotsPostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesSnapshotsPostUnauthorized() *PcloudPvminstancesSnapshotsPostUnauthorized
NewPcloudPvminstancesSnapshotsPostUnauthorized creates a PcloudPvminstancesSnapshotsPostUnauthorized with default headers values
func (*PcloudPvminstancesSnapshotsPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances snapshots post unauthorized response
func (*PcloudPvminstancesSnapshotsPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) Error() string
func (*PcloudPvminstancesSnapshotsPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots post unauthorized response has a 4xx status code
func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots post unauthorized response a status code equal to that given
func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots post unauthorized response has a 3xx status code
func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots post unauthorized response has a 5xx status code
func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots post unauthorized response has a 2xx status code
func (*PcloudPvminstancesSnapshotsPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsPostUnauthorized) String() string
type PcloudPvminstancesSnapshotsRestorePostAccepted ¶ added in v1.0.1
PcloudPvminstancesSnapshotsRestorePostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudPvminstancesSnapshotsRestorePostAccepted ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostAccepted() *PcloudPvminstancesSnapshotsRestorePostAccepted
NewPcloudPvminstancesSnapshotsRestorePostAccepted creates a PcloudPvminstancesSnapshotsRestorePostAccepted with default headers values
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) Code() int
Code gets the status code for the pcloud pvminstances snapshots restore post accepted response
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) Error ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) Error() string
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) GetPayload() *models.Snapshot
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots restore post accepted response has a 4xx status code
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots restore post accepted response a status code equal to that given
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots restore post accepted response has a 3xx status code
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots restore post accepted response has a 5xx status code
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots restore post accepted response has a 2xx status code
func (*PcloudPvminstancesSnapshotsRestorePostAccepted) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) String() string
type PcloudPvminstancesSnapshotsRestorePostBadRequest ¶ added in v1.0.1
PcloudPvminstancesSnapshotsRestorePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesSnapshotsRestorePostBadRequest ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostBadRequest() *PcloudPvminstancesSnapshotsRestorePostBadRequest
NewPcloudPvminstancesSnapshotsRestorePostBadRequest creates a PcloudPvminstancesSnapshotsRestorePostBadRequest with default headers values
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) Code() int
Code gets the status code for the pcloud pvminstances snapshots restore post bad request response
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) Error ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) Error() string
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots restore post bad request response has a 4xx status code
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots restore post bad request response a status code equal to that given
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots restore post bad request response has a 3xx status code
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots restore post bad request response has a 5xx status code
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots restore post bad request response has a 2xx status code
func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) String() string
type PcloudPvminstancesSnapshotsRestorePostConflict ¶ added in v1.0.1
PcloudPvminstancesSnapshotsRestorePostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesSnapshotsRestorePostConflict ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostConflict() *PcloudPvminstancesSnapshotsRestorePostConflict
NewPcloudPvminstancesSnapshotsRestorePostConflict creates a PcloudPvminstancesSnapshotsRestorePostConflict with default headers values
func (*PcloudPvminstancesSnapshotsRestorePostConflict) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) Code() int
Code gets the status code for the pcloud pvminstances snapshots restore post conflict response
func (*PcloudPvminstancesSnapshotsRestorePostConflict) Error ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) Error() string
func (*PcloudPvminstancesSnapshotsRestorePostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots restore post conflict response has a 4xx status code
func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots restore post conflict response a status code equal to that given
func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots restore post conflict response has a 3xx status code
func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots restore post conflict response has a 5xx status code
func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots restore post conflict response has a 2xx status code
func (*PcloudPvminstancesSnapshotsRestorePostConflict) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostConflict) String() string
type PcloudPvminstancesSnapshotsRestorePostForbidden ¶ added in v1.2.2
PcloudPvminstancesSnapshotsRestorePostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesSnapshotsRestorePostForbidden ¶ added in v1.2.2
func NewPcloudPvminstancesSnapshotsRestorePostForbidden() *PcloudPvminstancesSnapshotsRestorePostForbidden
NewPcloudPvminstancesSnapshotsRestorePostForbidden creates a PcloudPvminstancesSnapshotsRestorePostForbidden with default headers values
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) Code() int
Code gets the status code for the pcloud pvminstances snapshots restore post forbidden response
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) Error() string
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots restore post forbidden response has a 4xx status code
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots restore post forbidden response a status code equal to that given
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots restore post forbidden response has a 3xx status code
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots restore post forbidden response has a 5xx status code
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots restore post forbidden response has a 2xx status code
func (*PcloudPvminstancesSnapshotsRestorePostForbidden) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) String() string
type PcloudPvminstancesSnapshotsRestorePostInternalServerError ¶ added in v1.0.1
PcloudPvminstancesSnapshotsRestorePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesSnapshotsRestorePostInternalServerError ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostInternalServerError() *PcloudPvminstancesSnapshotsRestorePostInternalServerError
NewPcloudPvminstancesSnapshotsRestorePostInternalServerError creates a PcloudPvminstancesSnapshotsRestorePostInternalServerError with default headers values
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) Code() int
Code gets the status code for the pcloud pvminstances snapshots restore post internal server error response
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) Error ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) Error() string
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots restore post internal server error response has a 4xx status code
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots restore post internal server error response a status code equal to that given
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots restore post internal server error response has a 3xx status code
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots restore post internal server error response has a 5xx status code
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots restore post internal server error response has a 2xx status code
func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) String() string
type PcloudPvminstancesSnapshotsRestorePostNotFound ¶ added in v1.2.2
PcloudPvminstancesSnapshotsRestorePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesSnapshotsRestorePostNotFound ¶ added in v1.2.2
func NewPcloudPvminstancesSnapshotsRestorePostNotFound() *PcloudPvminstancesSnapshotsRestorePostNotFound
NewPcloudPvminstancesSnapshotsRestorePostNotFound creates a PcloudPvminstancesSnapshotsRestorePostNotFound with default headers values
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) Code() int
Code gets the status code for the pcloud pvminstances snapshots restore post not found response
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) Error ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) Error() string
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots restore post not found response has a 4xx status code
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots restore post not found response a status code equal to that given
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots restore post not found response has a 3xx status code
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots restore post not found response has a 5xx status code
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots restore post not found response has a 2xx status code
func (*PcloudPvminstancesSnapshotsRestorePostNotFound) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) String() string
type PcloudPvminstancesSnapshotsRestorePostParams ¶ added in v1.0.1
type PcloudPvminstancesSnapshotsRestorePostParams struct { /* Body. PVM Instance snapshot restore parameters */ Body *models.SnapshotRestore /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string /* RestoreFailAction. Action to take on a failed snapshot restore */ RestoreFailAction *string /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesSnapshotsRestorePostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances snapshots restore post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesSnapshotsRestorePostParams ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostParams() *PcloudPvminstancesSnapshotsRestorePostParams
NewPcloudPvminstancesSnapshotsRestorePostParams creates a new PcloudPvminstancesSnapshotsRestorePostParams 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 NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsRestorePostParams
NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext creates a new PcloudPvminstancesSnapshotsRestorePostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsRestorePostParams
NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient creates a new PcloudPvminstancesSnapshotsRestorePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout ¶ added in v1.0.1
func NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsRestorePostParams
NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout creates a new PcloudPvminstancesSnapshotsRestorePostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetBody ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetBody(body *models.SnapshotRestore)
SetBody adds the body to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetCloudInstanceID ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetContext ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances snapshots restore post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetHTTPClient ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetPvmInstanceID ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetRestoreFailAction ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetRestoreFailAction(restoreFailAction *string)
SetRestoreFailAction adds the restoreFailAction to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetSnapshotID ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) SetTimeout ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithBody ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithBody(body *models.SnapshotRestore) *PcloudPvminstancesSnapshotsRestorePostParams
WithBody adds the body to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithCloudInstanceID ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesSnapshotsRestorePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithContext ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithContext(ctx context.Context) *PcloudPvminstancesSnapshotsRestorePostParams
WithContext adds the context to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithDefaults() *PcloudPvminstancesSnapshotsRestorePostParams
WithDefaults hydrates default values in the pcloud pvminstances snapshots restore post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithHTTPClient ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsRestorePostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithPvmInstanceID ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesSnapshotsRestorePostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithRestoreFailAction ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithRestoreFailAction(restoreFailAction *string) *PcloudPvminstancesSnapshotsRestorePostParams
WithRestoreFailAction adds the restoreFailAction to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithSnapshotID ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithSnapshotID(snapshotID string) *PcloudPvminstancesSnapshotsRestorePostParams
WithSnapshotID adds the snapshotID to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WithTimeout ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsRestorePostParams
WithTimeout adds the timeout to the pcloud pvminstances snapshots restore post params
func (*PcloudPvminstancesSnapshotsRestorePostParams) WriteToRequest ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesSnapshotsRestorePostReader ¶ added in v1.0.1
type PcloudPvminstancesSnapshotsRestorePostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesSnapshotsRestorePostReader is a Reader for the PcloudPvminstancesSnapshotsRestorePost structure.
func (*PcloudPvminstancesSnapshotsRestorePostReader) ReadResponse ¶ added in v1.0.1
func (o *PcloudPvminstancesSnapshotsRestorePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesSnapshotsRestorePostUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesSnapshotsRestorePostUnauthorized struct {
}PcloudPvminstancesSnapshotsRestorePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesSnapshotsRestorePostUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesSnapshotsRestorePostUnauthorized() *PcloudPvminstancesSnapshotsRestorePostUnauthorized
NewPcloudPvminstancesSnapshotsRestorePostUnauthorized creates a PcloudPvminstancesSnapshotsRestorePostUnauthorized with default headers values
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) Code() int
Code gets the status code for the pcloud pvminstances snapshots restore post unauthorized response
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) Error() string
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) GetPayload() *models.Error
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 4xx status code
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud pvminstances snapshots restore post unauthorized response a status code equal to that given
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 3xx status code
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 5xx status code
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 2xx status code
func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) String() string
type PcloudV2PvminstancesCaptureGetBadRequest ¶ added in v1.4.2
PcloudV2PvminstancesCaptureGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2PvminstancesCaptureGetBadRequest ¶ added in v1.4.2
func NewPcloudV2PvminstancesCaptureGetBadRequest() *PcloudV2PvminstancesCaptureGetBadRequest
NewPcloudV2PvminstancesCaptureGetBadRequest creates a PcloudV2PvminstancesCaptureGetBadRequest with default headers values
func (*PcloudV2PvminstancesCaptureGetBadRequest) Code ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) Code() int
Code gets the status code for the pcloud v2 pvminstances capture get bad request response
func (*PcloudV2PvminstancesCaptureGetBadRequest) Error ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) Error() string
func (*PcloudV2PvminstancesCaptureGetBadRequest) GetPayload ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) GetPayload() *models.Error
func (*PcloudV2PvminstancesCaptureGetBadRequest) IsClientError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture get bad request response has a 4xx status code
func (*PcloudV2PvminstancesCaptureGetBadRequest) IsCode ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture get bad request response a status code equal to that given
func (*PcloudV2PvminstancesCaptureGetBadRequest) IsRedirect ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture get bad request response has a 3xx status code
func (*PcloudV2PvminstancesCaptureGetBadRequest) IsServerError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture get bad request response has a 5xx status code
func (*PcloudV2PvminstancesCaptureGetBadRequest) IsSuccess ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture get bad request response has a 2xx status code
func (*PcloudV2PvminstancesCaptureGetBadRequest) String ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetBadRequest) String() string
type PcloudV2PvminstancesCaptureGetForbidden ¶ added in v1.4.2
PcloudV2PvminstancesCaptureGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudV2PvminstancesCaptureGetForbidden ¶ added in v1.4.2
func NewPcloudV2PvminstancesCaptureGetForbidden() *PcloudV2PvminstancesCaptureGetForbidden
NewPcloudV2PvminstancesCaptureGetForbidden creates a PcloudV2PvminstancesCaptureGetForbidden with default headers values
func (*PcloudV2PvminstancesCaptureGetForbidden) Code ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) Code() int
Code gets the status code for the pcloud v2 pvminstances capture get forbidden response
func (*PcloudV2PvminstancesCaptureGetForbidden) Error ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) Error() string
func (*PcloudV2PvminstancesCaptureGetForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) GetPayload() *models.Error
func (*PcloudV2PvminstancesCaptureGetForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture get forbidden response has a 4xx status code
func (*PcloudV2PvminstancesCaptureGetForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture get forbidden response a status code equal to that given
func (*PcloudV2PvminstancesCaptureGetForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture get forbidden response has a 3xx status code
func (*PcloudV2PvminstancesCaptureGetForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture get forbidden response has a 5xx status code
func (*PcloudV2PvminstancesCaptureGetForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture get forbidden response has a 2xx status code
func (*PcloudV2PvminstancesCaptureGetForbidden) String ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCaptureGetForbidden) String() string
type PcloudV2PvminstancesCaptureGetInternalServerError ¶ added in v1.0.75
PcloudV2PvminstancesCaptureGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2PvminstancesCaptureGetInternalServerError ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetInternalServerError() *PcloudV2PvminstancesCaptureGetInternalServerError
NewPcloudV2PvminstancesCaptureGetInternalServerError creates a PcloudV2PvminstancesCaptureGetInternalServerError with default headers values
func (*PcloudV2PvminstancesCaptureGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) Code() int
Code gets the status code for the pcloud v2 pvminstances capture get internal server error response
func (*PcloudV2PvminstancesCaptureGetInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) Error() string
func (*PcloudV2PvminstancesCaptureGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) GetPayload() *models.Error
func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture get internal server error response has a 4xx status code
func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture get internal server error response a status code equal to that given
func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture get internal server error response has a 3xx status code
func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture get internal server error response has a 5xx status code
func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture get internal server error response has a 2xx status code
func (*PcloudV2PvminstancesCaptureGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetInternalServerError) String() string
type PcloudV2PvminstancesCaptureGetNotFound ¶ added in v1.0.75
PcloudV2PvminstancesCaptureGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2PvminstancesCaptureGetNotFound ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetNotFound() *PcloudV2PvminstancesCaptureGetNotFound
NewPcloudV2PvminstancesCaptureGetNotFound creates a PcloudV2PvminstancesCaptureGetNotFound with default headers values
func (*PcloudV2PvminstancesCaptureGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCaptureGetNotFound) Code() int
Code gets the status code for the pcloud v2 pvminstances capture get not found response
func (*PcloudV2PvminstancesCaptureGetNotFound) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetNotFound) Error() string
func (*PcloudV2PvminstancesCaptureGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCaptureGetNotFound) GetPayload() *models.Error
func (*PcloudV2PvminstancesCaptureGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture get not found response has a 4xx status code
func (*PcloudV2PvminstancesCaptureGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture get not found response a status code equal to that given
func (*PcloudV2PvminstancesCaptureGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture get not found response has a 3xx status code
func (*PcloudV2PvminstancesCaptureGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture get not found response has a 5xx status code
func (*PcloudV2PvminstancesCaptureGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture get not found response has a 2xx status code
func (*PcloudV2PvminstancesCaptureGetNotFound) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetNotFound) String() string
type PcloudV2PvminstancesCaptureGetOK ¶ added in v1.0.75
PcloudV2PvminstancesCaptureGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2PvminstancesCaptureGetOK ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetOK() *PcloudV2PvminstancesCaptureGetOK
NewPcloudV2PvminstancesCaptureGetOK creates a PcloudV2PvminstancesCaptureGetOK with default headers values
func (*PcloudV2PvminstancesCaptureGetOK) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCaptureGetOK) Code() int
Code gets the status code for the pcloud v2 pvminstances capture get o k response
func (*PcloudV2PvminstancesCaptureGetOK) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetOK) Error() string
func (*PcloudV2PvminstancesCaptureGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCaptureGetOK) GetPayload() *models.Job
func (*PcloudV2PvminstancesCaptureGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetOK) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture get o k response has a 4xx status code
func (*PcloudV2PvminstancesCaptureGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetOK) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture get o k response a status code equal to that given
func (*PcloudV2PvminstancesCaptureGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture get o k response has a 3xx status code
func (*PcloudV2PvminstancesCaptureGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetOK) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture get o k response has a 5xx status code
func (*PcloudV2PvminstancesCaptureGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture get o k response has a 2xx status code
func (*PcloudV2PvminstancesCaptureGetOK) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetOK) String() string
type PcloudV2PvminstancesCaptureGetParams ¶ added in v1.0.75
type PcloudV2PvminstancesCaptureGetParams 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 }
PcloudV2PvminstancesCaptureGetParams contains all the parameters to send to the API endpoint
for the pcloud v2 pvminstances capture get operation. Typically these are written to a http.Request.
func NewPcloudV2PvminstancesCaptureGetParams ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetParams() *PcloudV2PvminstancesCaptureGetParams
NewPcloudV2PvminstancesCaptureGetParams creates a new PcloudV2PvminstancesCaptureGetParams 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 NewPcloudV2PvminstancesCaptureGetParamsWithContext ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetParamsWithContext(ctx context.Context) *PcloudV2PvminstancesCaptureGetParams
NewPcloudV2PvminstancesCaptureGetParamsWithContext creates a new PcloudV2PvminstancesCaptureGetParams object with the ability to set a context for a request.
func NewPcloudV2PvminstancesCaptureGetParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesCaptureGetParams
NewPcloudV2PvminstancesCaptureGetParamsWithHTTPClient creates a new PcloudV2PvminstancesCaptureGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2PvminstancesCaptureGetParamsWithTimeout ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesCaptureGetParams
NewPcloudV2PvminstancesCaptureGetParamsWithTimeout creates a new PcloudV2PvminstancesCaptureGetParams object with the ability to set a timeout on a request.
func (*PcloudV2PvminstancesCaptureGetParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) SetContext ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCaptureGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 pvminstances capture get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesCaptureGetParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) SetPvmInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesCaptureGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) WithContext ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) WithContext(ctx context.Context) *PcloudV2PvminstancesCaptureGetParams
WithContext adds the context to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCaptureGetParams) WithDefaults() *PcloudV2PvminstancesCaptureGetParams
WithDefaults hydrates default values in the pcloud v2 pvminstances capture get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesCaptureGetParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesCaptureGetParams
WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) WithPvmInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudV2PvminstancesCaptureGetParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesCaptureGetParams
WithTimeout adds the timeout to the pcloud v2 pvminstances capture get params
func (*PcloudV2PvminstancesCaptureGetParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2PvminstancesCaptureGetReader ¶ added in v1.0.75
type PcloudV2PvminstancesCaptureGetReader struct {
// contains filtered or unexported fields
}
PcloudV2PvminstancesCaptureGetReader is a Reader for the PcloudV2PvminstancesCaptureGet structure.
func (*PcloudV2PvminstancesCaptureGetReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2PvminstancesCaptureGetUnauthorized ¶ added in v1.0.75
type PcloudV2PvminstancesCaptureGetUnauthorized struct {
}PcloudV2PvminstancesCaptureGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2PvminstancesCaptureGetUnauthorized ¶ added in v1.0.75
func NewPcloudV2PvminstancesCaptureGetUnauthorized() *PcloudV2PvminstancesCaptureGetUnauthorized
NewPcloudV2PvminstancesCaptureGetUnauthorized creates a PcloudV2PvminstancesCaptureGetUnauthorized with default headers values
func (*PcloudV2PvminstancesCaptureGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) Code() int
Code gets the status code for the pcloud v2 pvminstances capture get unauthorized response
func (*PcloudV2PvminstancesCaptureGetUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) Error() string
func (*PcloudV2PvminstancesCaptureGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) GetPayload() *models.Error
func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture get unauthorized response has a 4xx status code
func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture get unauthorized response a status code equal to that given
func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture get unauthorized response has a 3xx status code
func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture get unauthorized response has a 5xx status code
func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture get unauthorized response has a 2xx status code
func (*PcloudV2PvminstancesCaptureGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCaptureGetUnauthorized) String() string
type PcloudV2PvminstancesCapturePostAccepted ¶ added in v1.0.75
type PcloudV2PvminstancesCapturePostAccepted struct {
Payload *models.JobReference
}
PcloudV2PvminstancesCapturePostAccepted describes a response with status code 202, with default header values.
Accepted, pvm-instance capture successfully added to the jobs queue
func NewPcloudV2PvminstancesCapturePostAccepted ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostAccepted() *PcloudV2PvminstancesCapturePostAccepted
NewPcloudV2PvminstancesCapturePostAccepted creates a PcloudV2PvminstancesCapturePostAccepted with default headers values
func (*PcloudV2PvminstancesCapturePostAccepted) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCapturePostAccepted) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post accepted response
func (*PcloudV2PvminstancesCapturePostAccepted) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostAccepted) Error() string
func (*PcloudV2PvminstancesCapturePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostAccepted) GetPayload() *models.JobReference
func (*PcloudV2PvminstancesCapturePostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostAccepted) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post accepted response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post accepted response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post accepted response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostAccepted) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post accepted response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post accepted response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostAccepted) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostAccepted) String() string
type PcloudV2PvminstancesCapturePostBadRequest ¶ added in v1.0.75
PcloudV2PvminstancesCapturePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2PvminstancesCapturePostBadRequest ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostBadRequest() *PcloudV2PvminstancesCapturePostBadRequest
NewPcloudV2PvminstancesCapturePostBadRequest creates a PcloudV2PvminstancesCapturePostBadRequest with default headers values
func (*PcloudV2PvminstancesCapturePostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCapturePostBadRequest) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post bad request response
func (*PcloudV2PvminstancesCapturePostBadRequest) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostBadRequest) Error() string
func (*PcloudV2PvminstancesCapturePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostBadRequest) GetPayload() *models.Error
func (*PcloudV2PvminstancesCapturePostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post bad request response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post bad request response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post bad request response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post bad request response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post bad request response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostBadRequest) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostBadRequest) String() string
type PcloudV2PvminstancesCapturePostConflict ¶ added in v1.0.75
PcloudV2PvminstancesCapturePostConflict describes a response with status code 409, with default header values.
Conflict, a conflict has prevented adding the pvm-instance capture job
func NewPcloudV2PvminstancesCapturePostConflict ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostConflict() *PcloudV2PvminstancesCapturePostConflict
NewPcloudV2PvminstancesCapturePostConflict creates a PcloudV2PvminstancesCapturePostConflict with default headers values
func (*PcloudV2PvminstancesCapturePostConflict) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCapturePostConflict) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post conflict response
func (*PcloudV2PvminstancesCapturePostConflict) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostConflict) Error() string
func (*PcloudV2PvminstancesCapturePostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostConflict) GetPayload() *models.Error
func (*PcloudV2PvminstancesCapturePostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostConflict) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post conflict response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostConflict) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post conflict response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post conflict response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostConflict) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post conflict response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post conflict response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostConflict) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostConflict) String() string
type PcloudV2PvminstancesCapturePostForbidden ¶ added in v1.4.2
PcloudV2PvminstancesCapturePostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudV2PvminstancesCapturePostForbidden ¶ added in v1.4.2
func NewPcloudV2PvminstancesCapturePostForbidden() *PcloudV2PvminstancesCapturePostForbidden
NewPcloudV2PvminstancesCapturePostForbidden creates a PcloudV2PvminstancesCapturePostForbidden with default headers values
func (*PcloudV2PvminstancesCapturePostForbidden) Code ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post forbidden response
func (*PcloudV2PvminstancesCapturePostForbidden) Error ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) Error() string
func (*PcloudV2PvminstancesCapturePostForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) GetPayload() *models.Error
func (*PcloudV2PvminstancesCapturePostForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post forbidden response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post forbidden response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post forbidden response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post forbidden response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post forbidden response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostForbidden) String ¶ added in v1.4.2
func (o *PcloudV2PvminstancesCapturePostForbidden) String() string
type PcloudV2PvminstancesCapturePostInternalServerError ¶ added in v1.0.75
PcloudV2PvminstancesCapturePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2PvminstancesCapturePostInternalServerError ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostInternalServerError() *PcloudV2PvminstancesCapturePostInternalServerError
NewPcloudV2PvminstancesCapturePostInternalServerError creates a PcloudV2PvminstancesCapturePostInternalServerError with default headers values
func (*PcloudV2PvminstancesCapturePostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCapturePostInternalServerError) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post internal server error response
func (*PcloudV2PvminstancesCapturePostInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostInternalServerError) Error() string
func (*PcloudV2PvminstancesCapturePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostInternalServerError) GetPayload() *models.Error
func (*PcloudV2PvminstancesCapturePostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post internal server error response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post internal server error response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post internal server error response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post internal server error response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post internal server error response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostInternalServerError) String() string
type PcloudV2PvminstancesCapturePostNotFound ¶ added in v1.0.75
PcloudV2PvminstancesCapturePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2PvminstancesCapturePostNotFound ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostNotFound() *PcloudV2PvminstancesCapturePostNotFound
NewPcloudV2PvminstancesCapturePostNotFound creates a PcloudV2PvminstancesCapturePostNotFound with default headers values
func (*PcloudV2PvminstancesCapturePostNotFound) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCapturePostNotFound) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post not found response
func (*PcloudV2PvminstancesCapturePostNotFound) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostNotFound) Error() string
func (*PcloudV2PvminstancesCapturePostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostNotFound) GetPayload() *models.Error
func (*PcloudV2PvminstancesCapturePostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostNotFound) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post not found response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post not found response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post not found response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostNotFound) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post not found response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post not found response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostNotFound) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostNotFound) String() string
type PcloudV2PvminstancesCapturePostParams ¶ added in v1.0.75
type PcloudV2PvminstancesCapturePostParams struct { /* Body. Parameters for the capture */ Body *models.PVMInstanceCapture /* 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 }
PcloudV2PvminstancesCapturePostParams contains all the parameters to send to the API endpoint
for the pcloud v2 pvminstances capture post operation. Typically these are written to a http.Request.
func NewPcloudV2PvminstancesCapturePostParams ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostParams() *PcloudV2PvminstancesCapturePostParams
NewPcloudV2PvminstancesCapturePostParams creates a new PcloudV2PvminstancesCapturePostParams 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 NewPcloudV2PvminstancesCapturePostParamsWithContext ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostParamsWithContext(ctx context.Context) *PcloudV2PvminstancesCapturePostParams
NewPcloudV2PvminstancesCapturePostParamsWithContext creates a new PcloudV2PvminstancesCapturePostParams object with the ability to set a context for a request.
func NewPcloudV2PvminstancesCapturePostParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesCapturePostParams
NewPcloudV2PvminstancesCapturePostParamsWithHTTPClient creates a new PcloudV2PvminstancesCapturePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2PvminstancesCapturePostParamsWithTimeout ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesCapturePostParams
NewPcloudV2PvminstancesCapturePostParamsWithTimeout creates a new PcloudV2PvminstancesCapturePostParams object with the ability to set a timeout on a request.
func (*PcloudV2PvminstancesCapturePostParams) SetBody ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) SetBody(body *models.PVMInstanceCapture)
SetBody adds the body to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) SetContext ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 pvminstances capture post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesCapturePostParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) SetPvmInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) WithBody ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) WithBody(body *models.PVMInstanceCapture) *PcloudV2PvminstancesCapturePostParams
WithBody adds the body to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesCapturePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) WithContext ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) WithContext(ctx context.Context) *PcloudV2PvminstancesCapturePostParams
WithContext adds the context to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostParams) WithDefaults() *PcloudV2PvminstancesCapturePostParams
WithDefaults hydrates default values in the pcloud v2 pvminstances capture post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesCapturePostParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesCapturePostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) WithPvmInstanceID ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudV2PvminstancesCapturePostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesCapturePostParams
WithTimeout adds the timeout to the pcloud v2 pvminstances capture post params
func (*PcloudV2PvminstancesCapturePostParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2PvminstancesCapturePostReader ¶ added in v1.0.75
type PcloudV2PvminstancesCapturePostReader struct {
// contains filtered or unexported fields
}
PcloudV2PvminstancesCapturePostReader is a Reader for the PcloudV2PvminstancesCapturePost structure.
func (*PcloudV2PvminstancesCapturePostReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2PvminstancesCapturePostUnauthorized ¶ added in v1.0.75
type PcloudV2PvminstancesCapturePostUnauthorized struct {
}PcloudV2PvminstancesCapturePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2PvminstancesCapturePostUnauthorized ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostUnauthorized() *PcloudV2PvminstancesCapturePostUnauthorized
NewPcloudV2PvminstancesCapturePostUnauthorized creates a PcloudV2PvminstancesCapturePostUnauthorized with default headers values
func (*PcloudV2PvminstancesCapturePostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCapturePostUnauthorized) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post unauthorized response
func (*PcloudV2PvminstancesCapturePostUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostUnauthorized) Error() string
func (*PcloudV2PvminstancesCapturePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostUnauthorized) GetPayload() *models.Error
func (*PcloudV2PvminstancesCapturePostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post unauthorized response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post unauthorized response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post unauthorized response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post unauthorized response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post unauthorized response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnauthorized) String() string
type PcloudV2PvminstancesCapturePostUnprocessableEntity ¶ added in v1.0.75
PcloudV2PvminstancesCapturePostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudV2PvminstancesCapturePostUnprocessableEntity ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostUnprocessableEntity() *PcloudV2PvminstancesCapturePostUnprocessableEntity
NewPcloudV2PvminstancesCapturePostUnprocessableEntity creates a PcloudV2PvminstancesCapturePostUnprocessableEntity with default headers values
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) Code() int
Code gets the status code for the pcloud v2 pvminstances capture post unprocessable entity response
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) Error ¶ added in v1.0.75
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) Error() string
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 4xx status code
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances capture post unprocessable entity response a status code equal to that given
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 3xx status code
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 5xx status code
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 2xx status code
func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) String() string
type PcloudV2PvminstancesGetallBadRequest ¶ added in v1.2.3
PcloudV2PvminstancesGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2PvminstancesGetallBadRequest ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallBadRequest() *PcloudV2PvminstancesGetallBadRequest
NewPcloudV2PvminstancesGetallBadRequest creates a PcloudV2PvminstancesGetallBadRequest with default headers values
func (*PcloudV2PvminstancesGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesGetallBadRequest) Code() int
Code gets the status code for the pcloud v2 pvminstances getall bad request response
func (*PcloudV2PvminstancesGetallBadRequest) Error ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) Error() string
func (*PcloudV2PvminstancesGetallBadRequest) GetPayload ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) GetPayload() *models.Error
func (*PcloudV2PvminstancesGetallBadRequest) IsClientError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances getall bad request response has a 4xx status code
func (*PcloudV2PvminstancesGetallBadRequest) IsCode ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances getall bad request response a status code equal to that given
func (*PcloudV2PvminstancesGetallBadRequest) IsRedirect ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances getall bad request response has a 3xx status code
func (*PcloudV2PvminstancesGetallBadRequest) IsServerError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances getall bad request response has a 5xx status code
func (*PcloudV2PvminstancesGetallBadRequest) IsSuccess ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances getall bad request response has a 2xx status code
func (*PcloudV2PvminstancesGetallBadRequest) String ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallBadRequest) String() string
type PcloudV2PvminstancesGetallForbidden ¶ added in v1.2.3
PcloudV2PvminstancesGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudV2PvminstancesGetallForbidden ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallForbidden() *PcloudV2PvminstancesGetallForbidden
NewPcloudV2PvminstancesGetallForbidden creates a PcloudV2PvminstancesGetallForbidden with default headers values
func (*PcloudV2PvminstancesGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesGetallForbidden) Code() int
Code gets the status code for the pcloud v2 pvminstances getall forbidden response
func (*PcloudV2PvminstancesGetallForbidden) Error ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) Error() string
func (*PcloudV2PvminstancesGetallForbidden) GetPayload ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) GetPayload() *models.Error
func (*PcloudV2PvminstancesGetallForbidden) IsClientError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances getall forbidden response has a 4xx status code
func (*PcloudV2PvminstancesGetallForbidden) IsCode ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances getall forbidden response a status code equal to that given
func (*PcloudV2PvminstancesGetallForbidden) IsRedirect ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances getall forbidden response has a 3xx status code
func (*PcloudV2PvminstancesGetallForbidden) IsServerError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances getall forbidden response has a 5xx status code
func (*PcloudV2PvminstancesGetallForbidden) IsSuccess ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances getall forbidden response has a 2xx status code
func (*PcloudV2PvminstancesGetallForbidden) String ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallForbidden) String() string
type PcloudV2PvminstancesGetallInternalServerError ¶ added in v1.2.3
PcloudV2PvminstancesGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2PvminstancesGetallInternalServerError ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallInternalServerError() *PcloudV2PvminstancesGetallInternalServerError
NewPcloudV2PvminstancesGetallInternalServerError creates a PcloudV2PvminstancesGetallInternalServerError with default headers values
func (*PcloudV2PvminstancesGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesGetallInternalServerError) Code() int
Code gets the status code for the pcloud v2 pvminstances getall internal server error response
func (*PcloudV2PvminstancesGetallInternalServerError) Error ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) Error() string
func (*PcloudV2PvminstancesGetallInternalServerError) GetPayload ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) GetPayload() *models.Error
func (*PcloudV2PvminstancesGetallInternalServerError) IsClientError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances getall internal server error response has a 4xx status code
func (*PcloudV2PvminstancesGetallInternalServerError) IsCode ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances getall internal server error response a status code equal to that given
func (*PcloudV2PvminstancesGetallInternalServerError) IsRedirect ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances getall internal server error response has a 3xx status code
func (*PcloudV2PvminstancesGetallInternalServerError) IsServerError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances getall internal server error response has a 5xx status code
func (*PcloudV2PvminstancesGetallInternalServerError) IsSuccess ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances getall internal server error response has a 2xx status code
func (*PcloudV2PvminstancesGetallInternalServerError) String ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallInternalServerError) String() string
type PcloudV2PvminstancesGetallNotFound ¶ added in v1.4.2
PcloudV2PvminstancesGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2PvminstancesGetallNotFound ¶ added in v1.4.2
func NewPcloudV2PvminstancesGetallNotFound() *PcloudV2PvminstancesGetallNotFound
NewPcloudV2PvminstancesGetallNotFound creates a PcloudV2PvminstancesGetallNotFound with default headers values
func (*PcloudV2PvminstancesGetallNotFound) Code ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) Code() int
Code gets the status code for the pcloud v2 pvminstances getall not found response
func (*PcloudV2PvminstancesGetallNotFound) Error ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) Error() string
func (*PcloudV2PvminstancesGetallNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) GetPayload() *models.Error
func (*PcloudV2PvminstancesGetallNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances getall not found response has a 4xx status code
func (*PcloudV2PvminstancesGetallNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances getall not found response a status code equal to that given
func (*PcloudV2PvminstancesGetallNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances getall not found response has a 3xx status code
func (*PcloudV2PvminstancesGetallNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances getall not found response has a 5xx status code
func (*PcloudV2PvminstancesGetallNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances getall not found response has a 2xx status code
func (*PcloudV2PvminstancesGetallNotFound) String ¶ added in v1.4.2
func (o *PcloudV2PvminstancesGetallNotFound) String() string
type PcloudV2PvminstancesGetallOK ¶ added in v1.2.3
type PcloudV2PvminstancesGetallOK struct {
Payload *models.PVMInstancesV2
}
PcloudV2PvminstancesGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2PvminstancesGetallOK ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallOK() *PcloudV2PvminstancesGetallOK
NewPcloudV2PvminstancesGetallOK creates a PcloudV2PvminstancesGetallOK with default headers values
func (*PcloudV2PvminstancesGetallOK) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesGetallOK) Code() int
Code gets the status code for the pcloud v2 pvminstances getall o k response
func (*PcloudV2PvminstancesGetallOK) Error ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) Error() string
func (*PcloudV2PvminstancesGetallOK) GetPayload ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) GetPayload() *models.PVMInstancesV2
func (*PcloudV2PvminstancesGetallOK) IsClientError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances getall o k response has a 4xx status code
func (*PcloudV2PvminstancesGetallOK) IsCode ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances getall o k response a status code equal to that given
func (*PcloudV2PvminstancesGetallOK) IsRedirect ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances getall o k response has a 3xx status code
func (*PcloudV2PvminstancesGetallOK) IsServerError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances getall o k response has a 5xx status code
func (*PcloudV2PvminstancesGetallOK) IsSuccess ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances getall o k response has a 2xx status code
func (*PcloudV2PvminstancesGetallOK) String ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallOK) String() string
type PcloudV2PvminstancesGetallParams ¶ added in v1.2.3
type PcloudV2PvminstancesGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2PvminstancesGetallParams contains all the parameters to send to the API endpoint
for the pcloud v2 pvminstances getall operation. Typically these are written to a http.Request.
func NewPcloudV2PvminstancesGetallParams ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallParams() *PcloudV2PvminstancesGetallParams
NewPcloudV2PvminstancesGetallParams creates a new PcloudV2PvminstancesGetallParams 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 NewPcloudV2PvminstancesGetallParamsWithContext ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallParamsWithContext(ctx context.Context) *PcloudV2PvminstancesGetallParams
NewPcloudV2PvminstancesGetallParamsWithContext creates a new PcloudV2PvminstancesGetallParams object with the ability to set a context for a request.
func NewPcloudV2PvminstancesGetallParamsWithHTTPClient ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesGetallParams
NewPcloudV2PvminstancesGetallParamsWithHTTPClient creates a new PcloudV2PvminstancesGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2PvminstancesGetallParamsWithTimeout ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesGetallParams
NewPcloudV2PvminstancesGetallParamsWithTimeout creates a new PcloudV2PvminstancesGetallParams object with the ability to set a timeout on a request.
func (*PcloudV2PvminstancesGetallParams) SetCloudInstanceID ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) SetContext ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) SetDefaults ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 pvminstances getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesGetallParams) SetHTTPClient ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) SetTimeout ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) WithCloudInstanceID ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) WithContext ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) WithContext(ctx context.Context) *PcloudV2PvminstancesGetallParams
WithContext adds the context to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) WithDefaults ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) WithDefaults() *PcloudV2PvminstancesGetallParams
WithDefaults hydrates default values in the pcloud v2 pvminstances getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesGetallParams) WithHTTPClient ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) WithTimeout ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesGetallParams
WithTimeout adds the timeout to the pcloud v2 pvminstances getall params
func (*PcloudV2PvminstancesGetallParams) WriteToRequest ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2PvminstancesGetallReader ¶ added in v1.2.3
type PcloudV2PvminstancesGetallReader struct {
// contains filtered or unexported fields
}
PcloudV2PvminstancesGetallReader is a Reader for the PcloudV2PvminstancesGetall structure.
func (*PcloudV2PvminstancesGetallReader) ReadResponse ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2PvminstancesGetallRequestTimeout ¶ added in v1.2.3
PcloudV2PvminstancesGetallRequestTimeout describes a response with status code 408, with default header values.
Request Timeout
func NewPcloudV2PvminstancesGetallRequestTimeout ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallRequestTimeout() *PcloudV2PvminstancesGetallRequestTimeout
NewPcloudV2PvminstancesGetallRequestTimeout creates a PcloudV2PvminstancesGetallRequestTimeout with default headers values
func (*PcloudV2PvminstancesGetallRequestTimeout) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesGetallRequestTimeout) Code() int
Code gets the status code for the pcloud v2 pvminstances getall request timeout response
func (*PcloudV2PvminstancesGetallRequestTimeout) Error ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) Error() string
func (*PcloudV2PvminstancesGetallRequestTimeout) GetPayload ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) GetPayload() *models.Error
func (*PcloudV2PvminstancesGetallRequestTimeout) IsClientError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances getall request timeout response has a 4xx status code
func (*PcloudV2PvminstancesGetallRequestTimeout) IsCode ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances getall request timeout response a status code equal to that given
func (*PcloudV2PvminstancesGetallRequestTimeout) IsRedirect ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances getall request timeout response has a 3xx status code
func (*PcloudV2PvminstancesGetallRequestTimeout) IsServerError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances getall request timeout response has a 5xx status code
func (*PcloudV2PvminstancesGetallRequestTimeout) IsSuccess ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances getall request timeout response has a 2xx status code
func (*PcloudV2PvminstancesGetallRequestTimeout) String ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallRequestTimeout) String() string
type PcloudV2PvminstancesGetallUnauthorized ¶ added in v1.2.3
type PcloudV2PvminstancesGetallUnauthorized struct {
}PcloudV2PvminstancesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2PvminstancesGetallUnauthorized ¶ added in v1.2.3
func NewPcloudV2PvminstancesGetallUnauthorized() *PcloudV2PvminstancesGetallUnauthorized
NewPcloudV2PvminstancesGetallUnauthorized creates a PcloudV2PvminstancesGetallUnauthorized with default headers values
func (*PcloudV2PvminstancesGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudV2PvminstancesGetallUnauthorized) Code() int
Code gets the status code for the pcloud v2 pvminstances getall unauthorized response
func (*PcloudV2PvminstancesGetallUnauthorized) Error ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) Error() string
func (*PcloudV2PvminstancesGetallUnauthorized) GetPayload ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) GetPayload() *models.Error
func (*PcloudV2PvminstancesGetallUnauthorized) IsClientError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud v2 pvminstances getall unauthorized response has a 4xx status code
func (*PcloudV2PvminstancesGetallUnauthorized) IsCode ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud v2 pvminstances getall unauthorized response a status code equal to that given
func (*PcloudV2PvminstancesGetallUnauthorized) IsRedirect ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud v2 pvminstances getall unauthorized response has a 3xx status code
func (*PcloudV2PvminstancesGetallUnauthorized) IsServerError ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud v2 pvminstances getall unauthorized response has a 5xx status code
func (*PcloudV2PvminstancesGetallUnauthorized) IsSuccess ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud v2 pvminstances getall unauthorized response has a 2xx status code
func (*PcloudV2PvminstancesGetallUnauthorized) String ¶ added in v1.2.3
func (o *PcloudV2PvminstancesGetallUnauthorized) String() string
Source Files ¶
- p_cloudp_vm_instances_client.go
- pcloud_pvminstances_action_post_parameters.go
- pcloud_pvminstances_action_post_responses.go
- pcloud_pvminstances_capture_post_parameters.go
- pcloud_pvminstances_capture_post_responses.go
- pcloud_pvminstances_clone_post_parameters.go
- pcloud_pvminstances_clone_post_responses.go
- pcloud_pvminstances_console_get_parameters.go
- pcloud_pvminstances_console_get_responses.go
- pcloud_pvminstances_console_post_parameters.go
- pcloud_pvminstances_console_post_responses.go
- pcloud_pvminstances_console_put_parameters.go
- pcloud_pvminstances_console_put_responses.go
- pcloud_pvminstances_delete_parameters.go
- pcloud_pvminstances_delete_responses.go
- pcloud_pvminstances_get_parameters.go
- pcloud_pvminstances_get_responses.go
- pcloud_pvminstances_getall_parameters.go
- pcloud_pvminstances_getall_responses.go
- pcloud_pvminstances_networks_delete_parameters.go
- pcloud_pvminstances_networks_delete_responses.go
- pcloud_pvminstances_networks_get_parameters.go
- pcloud_pvminstances_networks_get_responses.go
- pcloud_pvminstances_networks_getall_parameters.go
- pcloud_pvminstances_networks_getall_responses.go
- pcloud_pvminstances_networks_post_parameters.go
- pcloud_pvminstances_networks_post_responses.go
- pcloud_pvminstances_operations_post_parameters.go
- pcloud_pvminstances_operations_post_responses.go
- pcloud_pvminstances_post_parameters.go
- pcloud_pvminstances_post_responses.go
- pcloud_pvminstances_put_parameters.go
- pcloud_pvminstances_put_responses.go
- pcloud_pvminstances_snapshots_getall_parameters.go
- pcloud_pvminstances_snapshots_getall_responses.go
- pcloud_pvminstances_snapshots_post_parameters.go
- pcloud_pvminstances_snapshots_post_responses.go
- pcloud_pvminstances_snapshots_restore_post_parameters.go
- pcloud_pvminstances_snapshots_restore_post_responses.go
- pcloud_v2_pvminstances_capture_get_parameters.go
- pcloud_v2_pvminstances_capture_get_responses.go
- pcloud_v2_pvminstances_capture_post_parameters.go
- pcloud_v2_pvminstances_capture_post_responses.go
- pcloud_v2_pvminstances_getall_parameters.go
- pcloud_v2_pvminstances_getall_responses.go