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) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudPvminstancesActionPostBadRequest
- type PcloudPvminstancesActionPostConflict
- type PcloudPvminstancesActionPostInternalServerError
- type PcloudPvminstancesActionPostNotFound
- type PcloudPvminstancesActionPostOK
- 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
- type PcloudPvminstancesCapturePostAccepted
- type PcloudPvminstancesCapturePostBadRequest
- type PcloudPvminstancesCapturePostInternalServerError
- type PcloudPvminstancesCapturePostOK
- 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
- type PcloudPvminstancesCapturePostUnprocessableEntity
- type PcloudPvminstancesClonePostAccepted
- type PcloudPvminstancesClonePostBadRequest
- type PcloudPvminstancesClonePostConflict
- type PcloudPvminstancesClonePostInternalServerError
- 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
- type PcloudPvminstancesClonePostUnprocessableEntity
- type PcloudPvminstancesConsoleGetBadRequest
- type PcloudPvminstancesConsoleGetInternalServerError
- type PcloudPvminstancesConsoleGetOK
- 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
- type PcloudPvminstancesConsolePostCreated
- type PcloudPvminstancesConsolePostInternalServerError
- 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
- type PcloudPvminstancesConsolePostUnprocessableEntity
- type PcloudPvminstancesConsolePutBadRequest
- type PcloudPvminstancesConsolePutInternalServerError
- type PcloudPvminstancesConsolePutOK
- 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
- type PcloudPvminstancesDeleteBadRequest
- type PcloudPvminstancesDeleteGone
- type PcloudPvminstancesDeleteInternalServerError
- type PcloudPvminstancesDeleteNotFound
- type PcloudPvminstancesDeleteOK
- 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) 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) 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
- type PcloudPvminstancesGetBadRequest
- type PcloudPvminstancesGetInternalServerError
- type PcloudPvminstancesGetNotFound
- type PcloudPvminstancesGetOK
- 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
- type PcloudPvminstancesGetallBadRequest
- type PcloudPvminstancesGetallInternalServerError
- type PcloudPvminstancesGetallOK
- 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 PcloudPvminstancesGetallUnauthorized
- type PcloudPvminstancesNetworksDeleteBadRequest
- type PcloudPvminstancesNetworksDeleteGone
- type PcloudPvminstancesNetworksDeleteInternalServerError
- type PcloudPvminstancesNetworksDeleteNotFound
- type PcloudPvminstancesNetworksDeleteOK
- 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
- type PcloudPvminstancesNetworksGetInternalServerError
- type PcloudPvminstancesNetworksGetNotFound
- type PcloudPvminstancesNetworksGetOK
- 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
- type PcloudPvminstancesNetworksGetallBadRequest
- type PcloudPvminstancesNetworksGetallInternalServerError
- type PcloudPvminstancesNetworksGetallOK
- 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
- type PcloudPvminstancesNetworksPostBadRequest
- type PcloudPvminstancesNetworksPostConflict
- type PcloudPvminstancesNetworksPostCreated
- type PcloudPvminstancesNetworksPostInternalServerError
- 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
- type PcloudPvminstancesNetworksPostUnprocessableEntity
- type PcloudPvminstancesOperationsPostBadRequest
- type PcloudPvminstancesOperationsPostInternalServerError
- type PcloudPvminstancesOperationsPostNotFound
- type PcloudPvminstancesOperationsPostOK
- 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
- type PcloudPvminstancesOperationsPostUnprocessableEntity
- type PcloudPvminstancesPostAccepted
- type PcloudPvminstancesPostBadRequest
- type PcloudPvminstancesPostConflict
- type PcloudPvminstancesPostCreated
- type PcloudPvminstancesPostForbidden
- type PcloudPvminstancesPostGatewayTimeout
- type PcloudPvminstancesPostInternalServerError
- type PcloudPvminstancesPostNotFound
- type PcloudPvminstancesPostOK
- 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
- type PcloudPvminstancesPostUnprocessableEntity
- type PcloudPvminstancesPutAccepted
- type PcloudPvminstancesPutBadRequest
- type PcloudPvminstancesPutInternalServerError
- 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
- type PcloudPvminstancesPutUnprocessableEntity
- type PcloudPvminstancesSnapshotsGetallBadRequest
- type PcloudPvminstancesSnapshotsGetallInternalServerError
- type PcloudPvminstancesSnapshotsGetallNotFound
- type PcloudPvminstancesSnapshotsGetallOK
- 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
- type PcloudPvminstancesSnapshotsPostAccepted
- type PcloudPvminstancesSnapshotsPostBadRequest
- type PcloudPvminstancesSnapshotsPostConflict
- type PcloudPvminstancesSnapshotsPostInternalServerError
- type PcloudPvminstancesSnapshotsPostNotFound
- 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
- type PcloudPvminstancesSnapshotsRestorePostAccepted
- type PcloudPvminstancesSnapshotsRestorePostBadRequest
- type PcloudPvminstancesSnapshotsRestorePostConflict
- type PcloudPvminstancesSnapshotsRestorePostInternalServerError
- 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
- type PcloudV2PvminstancesCaptureGetInternalServerError
- type PcloudV2PvminstancesCaptureGetNotFound
- type PcloudV2PvminstancesCaptureGetOK
- 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
- type PcloudV2PvminstancesCapturePostAccepted
- type PcloudV2PvminstancesCapturePostBadRequest
- type PcloudV2PvminstancesCapturePostConflict
- type PcloudV2PvminstancesCapturePostInternalServerError
- type PcloudV2PvminstancesCapturePostNotFound
- 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
- type PcloudV2PvminstancesCapturePostUnprocessableEntity
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 start stop reboot immediate shutdown reset on a p VM instance
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
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 laguage 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 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) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { 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) 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.
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) 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
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) 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
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) Error ¶
func (o *PcloudPvminstancesActionPostInternalServerError) Error() string
func (*PcloudPvminstancesActionPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudPvminstancesActionPostOK) Error() string
func (*PcloudPvminstancesActionPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesActionPostOK) GetPayload() models.Object
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) 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
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) Error ¶
func (o *PcloudPvminstancesCapturePostAccepted) Error() string
func (*PcloudPvminstancesCapturePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostAccepted) GetPayload() models.Object
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) 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
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) Error ¶
func (o *PcloudPvminstancesCapturePostInternalServerError) Error() string
func (*PcloudPvminstancesCapturePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesCapturePostOK) Error() string
func (*PcloudPvminstancesCapturePostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesCapturePostOK) GetPayload() models.Object
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) Error ¶
func (o *PcloudPvminstancesConsolePostCreated) Error() string
func (*PcloudPvminstancesConsolePostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostCreated) GetPayload() *models.PVMInstanceConsole
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) Error ¶
func (o *PcloudPvminstancesConsolePostInternalServerError) Error() string
func (*PcloudPvminstancesConsolePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesConsolePostInternalServerError) GetPayload() *models.Error
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) Error ¶
func (o *PcloudPvminstancesDeleteBadRequest) Error() string
func (*PcloudPvminstancesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesDeleteGone) Error() string
func (*PcloudPvminstancesDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteGone) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesDeleteInternalServerError) Error() string
func (*PcloudPvminstancesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudPvminstancesDeleteOK) Error() string
func (*PcloudPvminstancesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesDeleteOK) GetPayload() models.Object
type PcloudPvminstancesDeleteParams ¶
type PcloudPvminstancesDeleteParams struct { /* 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) 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) 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) 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
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) Error ¶
func (o *PcloudPvminstancesGetBadRequest) Error() string
func (*PcloudPvminstancesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesGetInternalServerError) Error() string
func (*PcloudPvminstancesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesGetNotFound) Error() string
func (*PcloudPvminstancesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesGetOK) Error() string
func (*PcloudPvminstancesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetOK) GetPayload() *models.PVMInstance
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) 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
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) Error ¶
func (o *PcloudPvminstancesGetallBadRequest) Error() string
func (*PcloudPvminstancesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesGetallInternalServerError) Error() string
func (*PcloudPvminstancesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesGetallOK) Error() string
func (*PcloudPvminstancesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesGetallOK) GetPayload() *models.PVMInstances
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 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) 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
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) Error ¶
func (o *PcloudPvminstancesNetworksDeleteBadRequest) Error() string
func (*PcloudPvminstancesNetworksDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksDeleteGone) Error() string
func (*PcloudPvminstancesNetworksDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteGone) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) Error() string
func (*PcloudPvminstancesNetworksDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudPvminstancesNetworksDeleteOK) Error() string
func (*PcloudPvminstancesNetworksDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksDeleteOK) GetPayload() models.Object
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) 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
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) Error ¶
func (o *PcloudPvminstancesNetworksGetInternalServerError) Error() string
func (*PcloudPvminstancesNetworksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksGetNotFound) Error() string
func (*PcloudPvminstancesNetworksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksGetOK) Error() string
func (*PcloudPvminstancesNetworksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetOK) GetPayload() *models.PVMInstanceNetworks
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) 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
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) Error ¶
func (o *PcloudPvminstancesNetworksGetallBadRequest) Error() string
func (*PcloudPvminstancesNetworksGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksGetallInternalServerError) Error() string
func (*PcloudPvminstancesNetworksGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksGetallOK) Error() string
func (*PcloudPvminstancesNetworksGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksGetallOK) GetPayload() *models.PVMInstanceNetworks
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) 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
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) Error ¶
func (o *PcloudPvminstancesNetworksPostBadRequest) Error() string
func (*PcloudPvminstancesNetworksPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksPostConflict) Error() string
func (*PcloudPvminstancesNetworksPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostConflict) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesNetworksPostCreated) Error() string
func (*PcloudPvminstancesNetworksPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostCreated) GetPayload() *models.PVMInstanceNetwork
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) Error ¶
func (o *PcloudPvminstancesNetworksPostInternalServerError) Error() string
func (*PcloudPvminstancesNetworksPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) Error() string
func (*PcloudPvminstancesNetworksPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) GetPayload() *models.Error
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) Error ¶
func (o *PcloudPvminstancesPostAccepted) Error() string
func (*PcloudPvminstancesPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostAccepted) GetPayload() models.PVMInstanceList
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) Error ¶
func (o *PcloudPvminstancesPostBadRequest) Error() string
func (*PcloudPvminstancesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesPostConflict) Error() string
func (*PcloudPvminstancesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostConflict) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesPostCreated) Error() string
func (*PcloudPvminstancesPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostCreated) GetPayload() models.PVMInstanceList
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) 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
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) 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
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) Error ¶
func (o *PcloudPvminstancesPostInternalServerError) Error() string
func (*PcloudPvminstancesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudPvminstancesPostOK) Error() string
func (*PcloudPvminstancesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostOK) GetPayload() models.PVMInstanceList
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) 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
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) Error ¶
func (o *PcloudPvminstancesPostUnprocessableEntity) Error() string
func (*PcloudPvminstancesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPostUnprocessableEntity) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesPutAccepted) Error() string
func (*PcloudPvminstancesPutAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutAccepted) GetPayload() *models.PVMInstanceUpdateResponse
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) Error ¶
func (o *PcloudPvminstancesPutBadRequest) Error() string
func (*PcloudPvminstancesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesPutInternalServerError) Error() string
func (*PcloudPvminstancesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudPvminstancesPutUnprocessableEntity) Error() string
func (*PcloudPvminstancesPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesPutUnprocessableEntity) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) Error() string
func (*PcloudPvminstancesSnapshotsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) Error() string
func (*PcloudPvminstancesSnapshotsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudPvminstancesSnapshotsGetallOK) Error() string
func (*PcloudPvminstancesSnapshotsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsGetallOK) GetPayload() *models.Snapshots
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) 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
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) Error ¶
func (o *PcloudPvminstancesSnapshotsPostAccepted) Error() string
func (*PcloudPvminstancesSnapshotsPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostAccepted) GetPayload() *models.SnapshotCreateResponse
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) Error ¶
func (o *PcloudPvminstancesSnapshotsPostBadRequest) Error() string
func (*PcloudPvminstancesSnapshotsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesSnapshotsPostConflict) Error() string
func (*PcloudPvminstancesSnapshotsPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostConflict) GetPayload() *models.Error
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) Error ¶
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) Error() string
func (*PcloudPvminstancesSnapshotsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesSnapshotsPostInternalServerError) GetPayload() *models.Error
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
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) 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
type PcloudV2PvminstancesCapturePostNotFound ¶ added in v1.0.75
PcloudV2PvminstancesCapturePostNotFound describes a response with status code 404, with default header values.
pvm instance id not found
func NewPcloudV2PvminstancesCapturePostNotFound ¶ added in v1.0.75
func NewPcloudV2PvminstancesCapturePostNotFound() *PcloudV2PvminstancesCapturePostNotFound
NewPcloudV2PvminstancesCapturePostNotFound creates a PcloudV2PvminstancesCapturePostNotFound with default headers values
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
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) 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
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) 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
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