Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesVolumesActionPost(params *PcloudCloudinstancesVolumesActionPostParams, ...) (*PcloudCloudinstancesVolumesActionPostAccepted, error)
- func (a *Client) PcloudCloudinstancesVolumesDelete(params *PcloudCloudinstancesVolumesDeleteParams, ...) (*PcloudCloudinstancesVolumesDeleteOK, error)
- func (a *Client) PcloudCloudinstancesVolumesGet(params *PcloudCloudinstancesVolumesGetParams, ...) (*PcloudCloudinstancesVolumesGetOK, error)
- func (a *Client) PcloudCloudinstancesVolumesGetall(params *PcloudCloudinstancesVolumesGetallParams, ...) (*PcloudCloudinstancesVolumesGetallOK, error)
- func (a *Client) PcloudCloudinstancesVolumesPost(params *PcloudCloudinstancesVolumesPostParams, ...) (*PcloudCloudinstancesVolumesPostAccepted, error)
- func (a *Client) PcloudCloudinstancesVolumesPut(params *PcloudCloudinstancesVolumesPutParams, ...) (*PcloudCloudinstancesVolumesPutOK, error)
- func (a *Client) PcloudPvminstancesVolumesDelete(params *PcloudPvminstancesVolumesDeleteParams, ...) (*PcloudPvminstancesVolumesDeleteAccepted, error)
- func (a *Client) PcloudPvminstancesVolumesGet(params *PcloudPvminstancesVolumesGetParams, ...) (*PcloudPvminstancesVolumesGetOK, error)
- func (a *Client) PcloudPvminstancesVolumesGetall(params *PcloudPvminstancesVolumesGetallParams, ...) (*PcloudPvminstancesVolumesGetallOK, error)
- func (a *Client) PcloudPvminstancesVolumesPost(params *PcloudPvminstancesVolumesPostParams, ...) (*PcloudPvminstancesVolumesPostOK, error)
- func (a *Client) PcloudPvminstancesVolumesPut(params *PcloudPvminstancesVolumesPutParams, ...) (*PcloudPvminstancesVolumesPutOK, error)
- func (a *Client) PcloudPvminstancesVolumesSetbootPut(params *PcloudPvminstancesVolumesSetbootPutParams, ...) (*PcloudPvminstancesVolumesSetbootPutOK, error)
- func (a *Client) PcloudV2PvminstancesVolumesPost(params *PcloudV2PvminstancesVolumesPostParams, ...) (*PcloudV2PvminstancesVolumesPostAccepted, error)
- func (a *Client) PcloudV2VolumesClonePost(params *PcloudV2VolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudV2VolumesClonePostAccepted, error)
- func (a *Client) PcloudV2VolumesClonetasksGet(params *PcloudV2VolumesClonetasksGetParams, ...) (*PcloudV2VolumesClonetasksGetOK, error)
- func (a *Client) PcloudV2VolumesPost(params *PcloudV2VolumesPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudV2VolumesPostCreated, error)
- func (a *Client) PcloudV2VolumescloneCancelPost(params *PcloudV2VolumescloneCancelPostParams, ...) (*PcloudV2VolumescloneCancelPostAccepted, error)
- func (a *Client) PcloudV2VolumescloneDelete(params *PcloudV2VolumescloneDeleteParams, ...) (*PcloudV2VolumescloneDeleteOK, error)
- func (a *Client) PcloudV2VolumescloneExecutePost(params *PcloudV2VolumescloneExecutePostParams, ...) (*PcloudV2VolumescloneExecutePostAccepted, error)
- func (a *Client) PcloudV2VolumescloneGet(params *PcloudV2VolumescloneGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudV2VolumescloneGetOK, error)
- func (a *Client) PcloudV2VolumescloneGetall(params *PcloudV2VolumescloneGetallParams, ...) (*PcloudV2VolumescloneGetallOK, error)
- func (a *Client) PcloudV2VolumesclonePost(params *PcloudV2VolumesclonePostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudV2VolumesclonePostAccepted, error)
- func (a *Client) PcloudV2VolumescloneStartPost(params *PcloudV2VolumescloneStartPostParams, ...) (*PcloudV2VolumescloneStartPostOK, error)
- func (a *Client) PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVolumesClonePostOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudCloudinstancesVolumesActionPostAccepted
- type PcloudCloudinstancesVolumesActionPostBadRequest
- type PcloudCloudinstancesVolumesActionPostInternalServerError
- type PcloudCloudinstancesVolumesActionPostNotFound
- type PcloudCloudinstancesVolumesActionPostParams
- func NewPcloudCloudinstancesVolumesActionPostParams() *PcloudCloudinstancesVolumesActionPostParams
- func NewPcloudCloudinstancesVolumesActionPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesActionPostParams
- func NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesActionPostParams
- func NewPcloudCloudinstancesVolumesActionPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) SetBody(body *models.VolumeAction)
- func (o *PcloudCloudinstancesVolumesActionPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesVolumesActionPostParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesVolumesActionPostParams) SetDefaults()
- func (o *PcloudCloudinstancesVolumesActionPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesVolumesActionPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesVolumesActionPostParams) SetVolumeID(volumeID string)
- func (o *PcloudCloudinstancesVolumesActionPostParams) WithBody(body *models.VolumeAction) *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) WithDefaults() *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesActionPostParams
- func (o *PcloudCloudinstancesVolumesActionPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVolumesActionPostReader
- type PcloudCloudinstancesVolumesActionPostUnauthorized
- type PcloudCloudinstancesVolumesDeleteBadRequest
- type PcloudCloudinstancesVolumesDeleteGone
- type PcloudCloudinstancesVolumesDeleteInternalServerError
- type PcloudCloudinstancesVolumesDeleteOK
- type PcloudCloudinstancesVolumesDeleteParams
- func NewPcloudCloudinstancesVolumesDeleteParams() *PcloudCloudinstancesVolumesDeleteParams
- func NewPcloudCloudinstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesDeleteParams
- func NewPcloudCloudinstancesVolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesDeleteParams
- func NewPcloudCloudinstancesVolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesDeleteParams
- func (o *PcloudCloudinstancesVolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesVolumesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesVolumesDeleteParams) SetDefaults()
- func (o *PcloudCloudinstancesVolumesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesVolumesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesVolumesDeleteParams) SetVolumeID(volumeID string)
- func (o *PcloudCloudinstancesVolumesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesDeleteParams
- func (o *PcloudCloudinstancesVolumesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesDeleteParams
- func (o *PcloudCloudinstancesVolumesDeleteParams) WithDefaults() *PcloudCloudinstancesVolumesDeleteParams
- func (o *PcloudCloudinstancesVolumesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesDeleteParams
- func (o *PcloudCloudinstancesVolumesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesDeleteParams
- func (o *PcloudCloudinstancesVolumesDeleteParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesDeleteParams
- func (o *PcloudCloudinstancesVolumesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVolumesDeleteReader
- type PcloudCloudinstancesVolumesDeleteUnauthorized
- type PcloudCloudinstancesVolumesGetBadRequest
- type PcloudCloudinstancesVolumesGetInternalServerError
- type PcloudCloudinstancesVolumesGetNotFound
- type PcloudCloudinstancesVolumesGetOK
- type PcloudCloudinstancesVolumesGetParams
- func NewPcloudCloudinstancesVolumesGetParams() *PcloudCloudinstancesVolumesGetParams
- func NewPcloudCloudinstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetParams
- func NewPcloudCloudinstancesVolumesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetParams
- func NewPcloudCloudinstancesVolumesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetParams
- func (o *PcloudCloudinstancesVolumesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesVolumesGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesVolumesGetParams) SetDefaults()
- func (o *PcloudCloudinstancesVolumesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesVolumesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesVolumesGetParams) SetVolumeID(volumeID string)
- func (o *PcloudCloudinstancesVolumesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesGetParams
- func (o *PcloudCloudinstancesVolumesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetParams
- func (o *PcloudCloudinstancesVolumesGetParams) WithDefaults() *PcloudCloudinstancesVolumesGetParams
- func (o *PcloudCloudinstancesVolumesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetParams
- func (o *PcloudCloudinstancesVolumesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetParams
- func (o *PcloudCloudinstancesVolumesGetParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesGetParams
- func (o *PcloudCloudinstancesVolumesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVolumesGetReader
- type PcloudCloudinstancesVolumesGetUnauthorized
- type PcloudCloudinstancesVolumesGetallBadRequest
- type PcloudCloudinstancesVolumesGetallInternalServerError
- type PcloudCloudinstancesVolumesGetallNotFound
- type PcloudCloudinstancesVolumesGetallOK
- type PcloudCloudinstancesVolumesGetallParams
- func NewPcloudCloudinstancesVolumesGetallParams() *PcloudCloudinstancesVolumesGetallParams
- func NewPcloudCloudinstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetallParams
- func NewPcloudCloudinstancesVolumesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetallParams
- func NewPcloudCloudinstancesVolumesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) SetAffinity(affinity *string)
- func (o *PcloudCloudinstancesVolumesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesVolumesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesVolumesGetallParams) SetDefaults()
- func (o *PcloudCloudinstancesVolumesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesVolumesGetallParams) SetReplicationEnabled(replicationEnabled *bool)
- func (o *PcloudCloudinstancesVolumesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesVolumesGetallParams) WithAffinity(affinity *string) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WithDefaults() *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WithReplicationEnabled(replicationEnabled *bool) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVolumesGetallReader
- type PcloudCloudinstancesVolumesGetallUnauthorized
- type PcloudCloudinstancesVolumesPostAccepted
- type PcloudCloudinstancesVolumesPostBadRequest
- type PcloudCloudinstancesVolumesPostConflict
- type PcloudCloudinstancesVolumesPostInternalServerError
- type PcloudCloudinstancesVolumesPostParams
- func NewPcloudCloudinstancesVolumesPostParams() *PcloudCloudinstancesVolumesPostParams
- func NewPcloudCloudinstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPostParams
- func NewPcloudCloudinstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPostParams
- func NewPcloudCloudinstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPostParams
- func (o *PcloudCloudinstancesVolumesPostParams) SetBody(body *models.CreateDataVolume)
- func (o *PcloudCloudinstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesVolumesPostParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesVolumesPostParams) SetDefaults()
- func (o *PcloudCloudinstancesVolumesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesVolumesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesVolumesPostParams) WithBody(body *models.CreateDataVolume) *PcloudCloudinstancesVolumesPostParams
- func (o *PcloudCloudinstancesVolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesPostParams
- func (o *PcloudCloudinstancesVolumesPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesPostParams
- func (o *PcloudCloudinstancesVolumesPostParams) WithDefaults() *PcloudCloudinstancesVolumesPostParams
- func (o *PcloudCloudinstancesVolumesPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPostParams
- func (o *PcloudCloudinstancesVolumesPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPostParams
- func (o *PcloudCloudinstancesVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVolumesPostReader
- type PcloudCloudinstancesVolumesPostUnauthorized
- type PcloudCloudinstancesVolumesPostUnprocessableEntity
- type PcloudCloudinstancesVolumesPutBadRequest
- type PcloudCloudinstancesVolumesPutConflict
- type PcloudCloudinstancesVolumesPutInternalServerError
- type PcloudCloudinstancesVolumesPutOK
- type PcloudCloudinstancesVolumesPutParams
- func NewPcloudCloudinstancesVolumesPutParams() *PcloudCloudinstancesVolumesPutParams
- func NewPcloudCloudinstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPutParams
- func NewPcloudCloudinstancesVolumesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPutParams
- func NewPcloudCloudinstancesVolumesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) SetBody(body *models.UpdateVolume)
- func (o *PcloudCloudinstancesVolumesPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesVolumesPutParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesVolumesPutParams) SetDefaults()
- func (o *PcloudCloudinstancesVolumesPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesVolumesPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesVolumesPutParams) SetVolumeID(volumeID string)
- func (o *PcloudCloudinstancesVolumesPutParams) WithBody(body *models.UpdateVolume) *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) WithDefaults() *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesPutParams
- func (o *PcloudCloudinstancesVolumesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVolumesPutReader
- type PcloudCloudinstancesVolumesPutUnauthorized
- type PcloudCloudinstancesVolumesPutUnprocessableEntity
- type PcloudPvminstancesVolumesDeleteAccepted
- type PcloudPvminstancesVolumesDeleteBadRequest
- type PcloudPvminstancesVolumesDeleteConflict
- type PcloudPvminstancesVolumesDeleteForbidden
- type PcloudPvminstancesVolumesDeleteInternalServerError
- type PcloudPvminstancesVolumesDeleteNotFound
- type PcloudPvminstancesVolumesDeleteParams
- func NewPcloudPvminstancesVolumesDeleteParams() *PcloudPvminstancesVolumesDeleteParams
- func NewPcloudPvminstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesDeleteParams
- func NewPcloudPvminstancesVolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesDeleteParams
- func NewPcloudPvminstancesVolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVolumesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVolumesDeleteParams) SetDefaults()
- func (o *PcloudPvminstancesVolumesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVolumesDeleteParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVolumesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVolumesDeleteParams) SetVolumeID(volumeID string)
- func (o *PcloudPvminstancesVolumesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) WithDefaults() *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesDeleteParams
- func (o *PcloudPvminstancesVolumesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVolumesDeleteReader
- type PcloudPvminstancesVolumesDeleteUnauthorized
- type PcloudPvminstancesVolumesGetBadRequest
- type PcloudPvminstancesVolumesGetInternalServerError
- type PcloudPvminstancesVolumesGetNotFound
- type PcloudPvminstancesVolumesGetOK
- type PcloudPvminstancesVolumesGetParams
- func NewPcloudPvminstancesVolumesGetParams() *PcloudPvminstancesVolumesGetParams
- func NewPcloudPvminstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetParams
- func NewPcloudPvminstancesVolumesGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetParams
- func NewPcloudPvminstancesVolumesGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVolumesGetParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVolumesGetParams) SetDefaults()
- func (o *PcloudPvminstancesVolumesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVolumesGetParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVolumesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVolumesGetParams) SetVolumeID(volumeID string)
- func (o *PcloudPvminstancesVolumesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) WithDefaults() *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesGetParams
- func (o *PcloudPvminstancesVolumesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVolumesGetReader
- type PcloudPvminstancesVolumesGetUnauthorized
- type PcloudPvminstancesVolumesGetallBadRequest
- type PcloudPvminstancesVolumesGetallInternalServerError
- type PcloudPvminstancesVolumesGetallNotFound
- type PcloudPvminstancesVolumesGetallOK
- type PcloudPvminstancesVolumesGetallParams
- func NewPcloudPvminstancesVolumesGetallParams() *PcloudPvminstancesVolumesGetallParams
- func NewPcloudPvminstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetallParams
- func NewPcloudPvminstancesVolumesGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetallParams
- func NewPcloudPvminstancesVolumesGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetallParams
- func (o *PcloudPvminstancesVolumesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVolumesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVolumesGetallParams) SetDefaults()
- func (o *PcloudPvminstancesVolumesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVolumesGetallParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVolumesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVolumesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesGetallParams
- func (o *PcloudPvminstancesVolumesGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesGetallParams
- func (o *PcloudPvminstancesVolumesGetallParams) WithDefaults() *PcloudPvminstancesVolumesGetallParams
- func (o *PcloudPvminstancesVolumesGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetallParams
- func (o *PcloudPvminstancesVolumesGetallParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesGetallParams
- func (o *PcloudPvminstancesVolumesGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetallParams
- func (o *PcloudPvminstancesVolumesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVolumesGetallReader
- type PcloudPvminstancesVolumesGetallUnauthorized
- type PcloudPvminstancesVolumesPostBadRequest
- type PcloudPvminstancesVolumesPostConflict
- type PcloudPvminstancesVolumesPostForbidden
- type PcloudPvminstancesVolumesPostInternalServerError
- type PcloudPvminstancesVolumesPostNotFound
- type PcloudPvminstancesVolumesPostOK
- type PcloudPvminstancesVolumesPostParams
- func NewPcloudPvminstancesVolumesPostParams() *PcloudPvminstancesVolumesPostParams
- func NewPcloudPvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPostParams
- func NewPcloudPvminstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPostParams
- func NewPcloudPvminstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVolumesPostParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVolumesPostParams) SetDefaults()
- func (o *PcloudPvminstancesVolumesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVolumesPostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVolumesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVolumesPostParams) SetVolumeID(volumeID string)
- func (o *PcloudPvminstancesVolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) WithDefaults() *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesPostParams
- func (o *PcloudPvminstancesVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVolumesPostReader
- type PcloudPvminstancesVolumesPostUnauthorized
- type PcloudPvminstancesVolumesPutBadRequest
- type PcloudPvminstancesVolumesPutInternalServerError
- type PcloudPvminstancesVolumesPutOK
- type PcloudPvminstancesVolumesPutParams
- func NewPcloudPvminstancesVolumesPutParams() *PcloudPvminstancesVolumesPutParams
- func NewPcloudPvminstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPutParams
- func NewPcloudPvminstancesVolumesPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPutParams
- func NewPcloudPvminstancesVolumesPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) SetBody(body *models.PVMInstanceVolumeUpdate)
- func (o *PcloudPvminstancesVolumesPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVolumesPutParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVolumesPutParams) SetDefaults()
- func (o *PcloudPvminstancesVolumesPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVolumesPutParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVolumesPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVolumesPutParams) SetVolumeID(volumeID string)
- func (o *PcloudPvminstancesVolumesPutParams) WithBody(body *models.PVMInstanceVolumeUpdate) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WithDefaults() *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesPutParams
- func (o *PcloudPvminstancesVolumesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVolumesPutReader
- type PcloudPvminstancesVolumesSetbootPutBadRequest
- type PcloudPvminstancesVolumesSetbootPutInternalServerError
- type PcloudPvminstancesVolumesSetbootPutNotFound
- type PcloudPvminstancesVolumesSetbootPutOK
- type PcloudPvminstancesVolumesSetbootPutParams
- func NewPcloudPvminstancesVolumesSetbootPutParams() *PcloudPvminstancesVolumesSetbootPutParams
- func NewPcloudPvminstancesVolumesSetbootPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesSetbootPutParams
- func NewPcloudPvminstancesVolumesSetbootPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesSetbootPutParams
- func NewPcloudPvminstancesVolumesSetbootPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudPvminstancesVolumesSetbootPutParams) SetContext(ctx context.Context)
- func (o *PcloudPvminstancesVolumesSetbootPutParams) SetDefaults()
- func (o *PcloudPvminstancesVolumesSetbootPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudPvminstancesVolumesSetbootPutParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudPvminstancesVolumesSetbootPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudPvminstancesVolumesSetbootPutParams) SetVolumeID(volumeID string)
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WithDefaults() *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesSetbootPutParams
- func (o *PcloudPvminstancesVolumesSetbootPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudPvminstancesVolumesSetbootPutReader
- type PcloudPvminstancesVolumesSetbootPutUnauthorized
- type PcloudV2PvminstancesVolumesPostAccepted
- type PcloudV2PvminstancesVolumesPostBadRequest
- type PcloudV2PvminstancesVolumesPostInternalServerError
- type PcloudV2PvminstancesVolumesPostNotFound
- type PcloudV2PvminstancesVolumesPostParams
- func NewPcloudV2PvminstancesVolumesPostParams() *PcloudV2PvminstancesVolumesPostParams
- func NewPcloudV2PvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudV2PvminstancesVolumesPostParams
- func NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesVolumesPostParams
- func NewPcloudV2PvminstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) SetBody(body *models.VolumesAttach)
- func (o *PcloudV2PvminstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2PvminstancesVolumesPostParams) SetContext(ctx context.Context)
- func (o *PcloudV2PvminstancesVolumesPostParams) SetDefaults()
- func (o *PcloudV2PvminstancesVolumesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2PvminstancesVolumesPostParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *PcloudV2PvminstancesVolumesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2PvminstancesVolumesPostParams) WithBody(body *models.VolumesAttach) *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) WithContext(ctx context.Context) *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) WithDefaults() *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesVolumesPostParams
- func (o *PcloudV2PvminstancesVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2PvminstancesVolumesPostReader
- type PcloudV2PvminstancesVolumesPostUnauthorized
- type PcloudV2VolumesClonePostAccepted
- type PcloudV2VolumesClonePostBadRequest
- type PcloudV2VolumesClonePostInternalServerError
- type PcloudV2VolumesClonePostNotFound
- type PcloudV2VolumesClonePostParams
- func NewPcloudV2VolumesClonePostParams() *PcloudV2VolumesClonePostParams
- func NewPcloudV2VolumesClonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesClonePostParams
- func NewPcloudV2VolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonePostParams
- func NewPcloudV2VolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonePostParams
- func (o *PcloudV2VolumesClonePostParams) SetBody(body *models.VolumesCloneAsyncRequest)
- func (o *PcloudV2VolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumesClonePostParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumesClonePostParams) SetDefaults()
- func (o *PcloudV2VolumesClonePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumesClonePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumesClonePostParams) WithBody(body *models.VolumesCloneAsyncRequest) *PcloudV2VolumesClonePostParams
- func (o *PcloudV2VolumesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesClonePostParams
- func (o *PcloudV2VolumesClonePostParams) WithContext(ctx context.Context) *PcloudV2VolumesClonePostParams
- func (o *PcloudV2VolumesClonePostParams) WithDefaults() *PcloudV2VolumesClonePostParams
- func (o *PcloudV2VolumesClonePostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesClonePostParams
- func (o *PcloudV2VolumesClonePostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesClonePostParams
- func (o *PcloudV2VolumesClonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumesClonePostReader
- type PcloudV2VolumesClonePostUnauthorized
- type PcloudV2VolumesClonetasksGetBadRequest
- type PcloudV2VolumesClonetasksGetConflict
- type PcloudV2VolumesClonetasksGetInternalServerError
- type PcloudV2VolumesClonetasksGetNotFound
- type PcloudV2VolumesClonetasksGetOK
- type PcloudV2VolumesClonetasksGetParams
- func NewPcloudV2VolumesClonetasksGetParams() *PcloudV2VolumesClonetasksGetParams
- func NewPcloudV2VolumesClonetasksGetParamsWithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams
- func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonetasksGetParams
- func NewPcloudV2VolumesClonetasksGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonetasksGetParams
- func (o *PcloudV2VolumesClonetasksGetParams) SetCloneTaskID(cloneTaskID string)
- func (o *PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumesClonetasksGetParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumesClonetasksGetParams) SetDefaults()
- func (o *PcloudV2VolumesClonetasksGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumesClonetasksGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumesClonetasksGetParams) WithCloneTaskID(cloneTaskID string) *PcloudV2VolumesClonetasksGetParams
- func (o *PcloudV2VolumesClonetasksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesClonetasksGetParams
- func (o *PcloudV2VolumesClonetasksGetParams) WithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams
- func (o *PcloudV2VolumesClonetasksGetParams) WithDefaults() *PcloudV2VolumesClonetasksGetParams
- func (o *PcloudV2VolumesClonetasksGetParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesClonetasksGetParams
- func (o *PcloudV2VolumesClonetasksGetParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesClonetasksGetParams
- func (o *PcloudV2VolumesClonetasksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumesClonetasksGetReader
- type PcloudV2VolumesClonetasksGetUnauthorized
- type PcloudV2VolumesPostBadRequest
- type PcloudV2VolumesPostConflict
- type PcloudV2VolumesPostCreated
- type PcloudV2VolumesPostInternalServerError
- type PcloudV2VolumesPostParams
- func NewPcloudV2VolumesPostParams() *PcloudV2VolumesPostParams
- func NewPcloudV2VolumesPostParamsWithContext(ctx context.Context) *PcloudV2VolumesPostParams
- func NewPcloudV2VolumesPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams
- func NewPcloudV2VolumesPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesPostParams
- func (o *PcloudV2VolumesPostParams) SetBody(body *models.MultiVolumesCreate)
- func (o *PcloudV2VolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumesPostParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumesPostParams) SetDefaults()
- func (o *PcloudV2VolumesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumesPostParams) WithBody(body *models.MultiVolumesCreate) *PcloudV2VolumesPostParams
- func (o *PcloudV2VolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesPostParams
- func (o *PcloudV2VolumesPostParams) WithContext(ctx context.Context) *PcloudV2VolumesPostParams
- func (o *PcloudV2VolumesPostParams) WithDefaults() *PcloudV2VolumesPostParams
- func (o *PcloudV2VolumesPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams
- func (o *PcloudV2VolumesPostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesPostParams
- func (o *PcloudV2VolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumesPostReader
- type PcloudV2VolumesPostUnauthorized
- type PcloudV2VolumesPostUnprocessableEntity
- type PcloudV2VolumescloneCancelPostAccepted
- type PcloudV2VolumescloneCancelPostInternalServerError
- type PcloudV2VolumescloneCancelPostNotFound
- type PcloudV2VolumescloneCancelPostParams
- func NewPcloudV2VolumescloneCancelPostParams() *PcloudV2VolumescloneCancelPostParams
- func NewPcloudV2VolumescloneCancelPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneCancelPostParams
- func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneCancelPostParams
- func NewPcloudV2VolumescloneCancelPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) SetBody(body *models.VolumesCloneCancel)
- func (o *PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumescloneCancelPostParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumescloneCancelPostParams) SetDefaults()
- func (o *PcloudV2VolumescloneCancelPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumescloneCancelPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID(volumesCloneID string)
- func (o *PcloudV2VolumescloneCancelPostParams) WithBody(body *models.VolumesCloneCancel) *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) WithContext(ctx context.Context) *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) WithDefaults() *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneCancelPostParams
- func (o *PcloudV2VolumescloneCancelPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumescloneCancelPostReader
- type PcloudV2VolumescloneCancelPostUnauthorized
- type PcloudV2VolumescloneDeleteBadRequest
- type PcloudV2VolumescloneDeleteInternalServerError
- type PcloudV2VolumescloneDeleteNotFound
- type PcloudV2VolumescloneDeleteOK
- type PcloudV2VolumescloneDeleteParams
- func NewPcloudV2VolumescloneDeleteParams() *PcloudV2VolumescloneDeleteParams
- func NewPcloudV2VolumescloneDeleteParamsWithContext(ctx context.Context) *PcloudV2VolumescloneDeleteParams
- func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneDeleteParams
- func NewPcloudV2VolumescloneDeleteParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneDeleteParams
- func (o *PcloudV2VolumescloneDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumescloneDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumescloneDeleteParams) SetDefaults()
- func (o *PcloudV2VolumescloneDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumescloneDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumescloneDeleteParams) SetVolumesCloneID(volumesCloneID string)
- func (o *PcloudV2VolumescloneDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneDeleteParams
- func (o *PcloudV2VolumescloneDeleteParams) WithContext(ctx context.Context) *PcloudV2VolumescloneDeleteParams
- func (o *PcloudV2VolumescloneDeleteParams) WithDefaults() *PcloudV2VolumescloneDeleteParams
- func (o *PcloudV2VolumescloneDeleteParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneDeleteParams
- func (o *PcloudV2VolumescloneDeleteParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneDeleteParams
- func (o *PcloudV2VolumescloneDeleteParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneDeleteParams
- func (o *PcloudV2VolumescloneDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumescloneDeleteReader
- type PcloudV2VolumescloneDeleteUnauthorized
- type PcloudV2VolumescloneExecutePostAccepted
- type PcloudV2VolumescloneExecutePostBadRequest
- type PcloudV2VolumescloneExecutePostInternalServerError
- type PcloudV2VolumescloneExecutePostNotFound
- type PcloudV2VolumescloneExecutePostParams
- func NewPcloudV2VolumescloneExecutePostParams() *PcloudV2VolumescloneExecutePostParams
- func NewPcloudV2VolumescloneExecutePostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneExecutePostParams
- func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneExecutePostParams
- func NewPcloudV2VolumescloneExecutePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) SetBody(body *models.VolumesCloneExecute)
- func (o *PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumescloneExecutePostParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumescloneExecutePostParams) SetDefaults()
- func (o *PcloudV2VolumescloneExecutePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumescloneExecutePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID(volumesCloneID string)
- func (o *PcloudV2VolumescloneExecutePostParams) WithBody(body *models.VolumesCloneExecute) *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) WithContext(ctx context.Context) *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) WithDefaults() *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneExecutePostParams
- func (o *PcloudV2VolumescloneExecutePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumescloneExecutePostReader
- type PcloudV2VolumescloneExecutePostUnauthorized
- type PcloudV2VolumescloneGetBadRequest
- type PcloudV2VolumescloneGetInternalServerError
- type PcloudV2VolumescloneGetNotFound
- type PcloudV2VolumescloneGetOK
- type PcloudV2VolumescloneGetParams
- func NewPcloudV2VolumescloneGetParams() *PcloudV2VolumescloneGetParams
- func NewPcloudV2VolumescloneGetParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetParams
- func NewPcloudV2VolumescloneGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetParams
- func NewPcloudV2VolumescloneGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetParams
- func (o *PcloudV2VolumescloneGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumescloneGetParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumescloneGetParams) SetDefaults()
- func (o *PcloudV2VolumescloneGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumescloneGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumescloneGetParams) SetVolumesCloneID(volumesCloneID string)
- func (o *PcloudV2VolumescloneGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetParams
- func (o *PcloudV2VolumescloneGetParams) WithContext(ctx context.Context) *PcloudV2VolumescloneGetParams
- func (o *PcloudV2VolumescloneGetParams) WithDefaults() *PcloudV2VolumescloneGetParams
- func (o *PcloudV2VolumescloneGetParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetParams
- func (o *PcloudV2VolumescloneGetParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetParams
- func (o *PcloudV2VolumescloneGetParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneGetParams
- func (o *PcloudV2VolumescloneGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumescloneGetReader
- type PcloudV2VolumescloneGetUnauthorized
- type PcloudV2VolumescloneGetallBadRequest
- type PcloudV2VolumescloneGetallInternalServerError
- type PcloudV2VolumescloneGetallNotFound
- type PcloudV2VolumescloneGetallOK
- type PcloudV2VolumescloneGetallParams
- func NewPcloudV2VolumescloneGetallParams() *PcloudV2VolumescloneGetallParams
- func NewPcloudV2VolumescloneGetallParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetallParams
- func NewPcloudV2VolumescloneGetallParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetallParams
- func NewPcloudV2VolumescloneGetallParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetallParams
- func (o *PcloudV2VolumescloneGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumescloneGetallParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumescloneGetallParams) SetDefaults()
- func (o *PcloudV2VolumescloneGetallParams) SetFilter(filter *string)
- func (o *PcloudV2VolumescloneGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumescloneGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumescloneGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetallParams
- func (o *PcloudV2VolumescloneGetallParams) WithContext(ctx context.Context) *PcloudV2VolumescloneGetallParams
- func (o *PcloudV2VolumescloneGetallParams) WithDefaults() *PcloudV2VolumescloneGetallParams
- func (o *PcloudV2VolumescloneGetallParams) WithFilter(filter *string) *PcloudV2VolumescloneGetallParams
- func (o *PcloudV2VolumescloneGetallParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetallParams
- func (o *PcloudV2VolumescloneGetallParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetallParams
- func (o *PcloudV2VolumescloneGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumescloneGetallReader
- type PcloudV2VolumescloneGetallUnauthorized
- type PcloudV2VolumesclonePostAccepted
- type PcloudV2VolumesclonePostBadRequest
- type PcloudV2VolumesclonePostForbidden
- type PcloudV2VolumesclonePostInternalServerError
- type PcloudV2VolumesclonePostNotFound
- type PcloudV2VolumesclonePostParams
- func NewPcloudV2VolumesclonePostParams() *PcloudV2VolumesclonePostParams
- func NewPcloudV2VolumesclonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesclonePostParams
- func NewPcloudV2VolumesclonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesclonePostParams
- func NewPcloudV2VolumesclonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesclonePostParams
- func (o *PcloudV2VolumesclonePostParams) SetBody(body *models.VolumesCloneCreate)
- func (o *PcloudV2VolumesclonePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumesclonePostParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumesclonePostParams) SetDefaults()
- func (o *PcloudV2VolumesclonePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumesclonePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumesclonePostParams) WithBody(body *models.VolumesCloneCreate) *PcloudV2VolumesclonePostParams
- func (o *PcloudV2VolumesclonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesclonePostParams
- func (o *PcloudV2VolumesclonePostParams) WithContext(ctx context.Context) *PcloudV2VolumesclonePostParams
- func (o *PcloudV2VolumesclonePostParams) WithDefaults() *PcloudV2VolumesclonePostParams
- func (o *PcloudV2VolumesclonePostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesclonePostParams
- func (o *PcloudV2VolumesclonePostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesclonePostParams
- func (o *PcloudV2VolumesclonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumesclonePostReader
- type PcloudV2VolumesclonePostUnauthorized
- type PcloudV2VolumescloneStartPostInternalServerError
- type PcloudV2VolumescloneStartPostNotFound
- type PcloudV2VolumescloneStartPostOK
- type PcloudV2VolumescloneStartPostParams
- func NewPcloudV2VolumescloneStartPostParams() *PcloudV2VolumescloneStartPostParams
- func NewPcloudV2VolumescloneStartPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneStartPostParams
- func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneStartPostParams
- func NewPcloudV2VolumescloneStartPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneStartPostParams
- func (o *PcloudV2VolumescloneStartPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2VolumescloneStartPostParams) SetContext(ctx context.Context)
- func (o *PcloudV2VolumescloneStartPostParams) SetDefaults()
- func (o *PcloudV2VolumescloneStartPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2VolumescloneStartPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2VolumescloneStartPostParams) SetVolumesCloneID(volumesCloneID string)
- func (o *PcloudV2VolumescloneStartPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneStartPostParams
- func (o *PcloudV2VolumescloneStartPostParams) WithContext(ctx context.Context) *PcloudV2VolumescloneStartPostParams
- func (o *PcloudV2VolumescloneStartPostParams) WithDefaults() *PcloudV2VolumescloneStartPostParams
- func (o *PcloudV2VolumescloneStartPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneStartPostParams
- func (o *PcloudV2VolumescloneStartPostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneStartPostParams
- func (o *PcloudV2VolumescloneStartPostParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneStartPostParams
- func (o *PcloudV2VolumescloneStartPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2VolumescloneStartPostReader
- type PcloudV2VolumescloneStartPostUnauthorized
- type PcloudVolumesClonePostBadRequest
- type PcloudVolumesClonePostConflict
- type PcloudVolumesClonePostInternalServerError
- type PcloudVolumesClonePostOK
- type PcloudVolumesClonePostParams
- func NewPcloudVolumesClonePostParams() *PcloudVolumesClonePostParams
- func NewPcloudVolumesClonePostParamsWithContext(ctx context.Context) *PcloudVolumesClonePostParams
- func NewPcloudVolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudVolumesClonePostParams
- func NewPcloudVolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudVolumesClonePostParams
- func (o *PcloudVolumesClonePostParams) SetBody(body *models.VolumesCloneRequest)
- func (o *PcloudVolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumesClonePostParams) SetContext(ctx context.Context)
- func (o *PcloudVolumesClonePostParams) SetDefaults()
- func (o *PcloudVolumesClonePostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumesClonePostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumesClonePostParams) WithBody(body *models.VolumesCloneRequest) *PcloudVolumesClonePostParams
- func (o *PcloudVolumesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumesClonePostParams
- func (o *PcloudVolumesClonePostParams) WithContext(ctx context.Context) *PcloudVolumesClonePostParams
- func (o *PcloudVolumesClonePostParams) WithDefaults() *PcloudVolumesClonePostParams
- func (o *PcloudVolumesClonePostParams) WithHTTPClient(client *http.Client) *PcloudVolumesClonePostParams
- func (o *PcloudVolumesClonePostParams) WithTimeout(timeout time.Duration) *PcloudVolumesClonePostParams
- func (o *PcloudVolumesClonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumesClonePostReader
- type PcloudVolumesClonePostUnauthorized
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 volumes API
func (*Client) PcloudCloudinstancesVolumesActionPost ¶ added in v1.0.76
func (a *Client) PcloudCloudinstancesVolumesActionPost(params *PcloudCloudinstancesVolumesActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesActionPostAccepted, error)
PcloudCloudinstancesVolumesActionPost performs an action on a volume
func (*Client) PcloudCloudinstancesVolumesDelete ¶
func (a *Client) PcloudCloudinstancesVolumesDelete(params *PcloudCloudinstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesDeleteOK, error)
PcloudCloudinstancesVolumesDelete deletes a cloud instance volume
func (*Client) PcloudCloudinstancesVolumesGet ¶
func (a *Client) PcloudCloudinstancesVolumesGet(params *PcloudCloudinstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetOK, error)
PcloudCloudinstancesVolumesGet detaileds info of a volume
func (*Client) PcloudCloudinstancesVolumesGetall ¶
func (a *Client) PcloudCloudinstancesVolumesGetall(params *PcloudCloudinstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetallOK, error)
PcloudCloudinstancesVolumesGetall lists all volumes for this cloud instance
func (*Client) PcloudCloudinstancesVolumesPost ¶
func (a *Client) PcloudCloudinstancesVolumesPost(params *PcloudCloudinstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesPostAccepted, error)
PcloudCloudinstancesVolumesPost creates a new data volume
func (*Client) PcloudCloudinstancesVolumesPut ¶
func (a *Client) PcloudCloudinstancesVolumesPut(params *PcloudCloudinstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesPutOK, error)
PcloudCloudinstancesVolumesPut updates a cloud instance volume
func (*Client) PcloudPvminstancesVolumesDelete ¶
func (a *Client) PcloudPvminstancesVolumesDelete(params *PcloudPvminstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesDeleteAccepted, error)
PcloudPvminstancesVolumesDelete detaches a volume from a p VM instance
func (*Client) PcloudPvminstancesVolumesGet ¶
func (a *Client) PcloudPvminstancesVolumesGet(params *PcloudPvminstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetOK, error)
PcloudPvminstancesVolumesGet detaileds info of a volume attached to a p VM instance
func (*Client) PcloudPvminstancesVolumesGetall ¶
func (a *Client) PcloudPvminstancesVolumesGetall(params *PcloudPvminstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetallOK, error)
PcloudPvminstancesVolumesGetall lists all volumes attached to a p VM instance
func (*Client) PcloudPvminstancesVolumesPost ¶
func (a *Client) PcloudPvminstancesVolumesPost(params *PcloudPvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPostOK, error)
PcloudPvminstancesVolumesPost attaches a volume to a p VM instance
func (*Client) PcloudPvminstancesVolumesPut ¶
func (a *Client) PcloudPvminstancesVolumesPut(params *PcloudPvminstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPutOK, error)
PcloudPvminstancesVolumesPut updates a volume attached to a p VM instance
func (*Client) PcloudPvminstancesVolumesSetbootPut ¶
func (a *Client) PcloudPvminstancesVolumesSetbootPut(params *PcloudPvminstancesVolumesSetbootPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesSetbootPutOK, error)
PcloudPvminstancesVolumesSetbootPut sets the p VM instance volume as the boot volume
func (*Client) PcloudV2PvminstancesVolumesPost ¶ added in v1.0.56
func (a *Client) PcloudV2PvminstancesVolumesPost(params *PcloudV2PvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesVolumesPostAccepted, error)
PcloudV2PvminstancesVolumesPost attaches all volumes to a p VM instance
func (*Client) PcloudV2VolumesClonePost ¶ added in v1.0.46
func (a *Client) PcloudV2VolumesClonePost(params *PcloudV2VolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonePostAccepted, error)
PcloudV2VolumesClonePost creates a volume clone for specified volumes
func (*Client) PcloudV2VolumesClonetasksGet ¶ added in v1.0.46
func (a *Client) PcloudV2VolumesClonetasksGet(params *PcloudV2VolumesClonetasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonetasksGetOK, error)
PcloudV2VolumesClonetasksGet gets the status of a volumes clone request for the specified clone task ID
func (*Client) PcloudV2VolumesPost ¶ added in v1.0.38
func (a *Client) PcloudV2VolumesPost(params *PcloudV2VolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesPostCreated, error)
PcloudV2VolumesPost creates multiple data volumes from a single definition
func (*Client) PcloudV2VolumescloneCancelPost ¶ added in v1.0.48
func (a *Client) PcloudV2VolumescloneCancelPost(params *PcloudV2VolumescloneCancelPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneCancelPostAccepted, error)
PcloudV2VolumescloneCancelPost cancels a volumes clone request initiates the cleanup action cleanup action performs the cleanup of the preparatory clones and snapshot volumes
func (*Client) PcloudV2VolumescloneDelete ¶ added in v1.0.48
func (a *Client) PcloudV2VolumescloneDelete(params *PcloudV2VolumescloneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneDeleteOK, error)
PcloudV2VolumescloneDelete deletes a volumes clone request
func (*Client) PcloudV2VolumescloneExecutePost ¶ added in v1.0.48
func (a *Client) PcloudV2VolumescloneExecutePost(params *PcloudV2VolumescloneExecutePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneExecutePostAccepted, error)
PcloudV2VolumescloneExecutePost initiates the execute action for a volumes clone request execute action creates the cloned volumes using the volume snapshots
func (*Client) PcloudV2VolumescloneGet ¶ added in v1.0.48
func (a *Client) PcloudV2VolumescloneGet(params *PcloudV2VolumescloneGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetOK, error)
PcloudV2VolumescloneGet gets the details for a volumes clone request
func (*Client) PcloudV2VolumescloneGetall ¶ added in v1.0.48
func (a *Client) PcloudV2VolumescloneGetall(params *PcloudV2VolumescloneGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetallOK, error)
PcloudV2VolumescloneGetall gets the list of volumes clone request for a cloud instance
func (*Client) PcloudV2VolumesclonePost ¶ added in v1.0.48
func (a *Client) PcloudV2VolumesclonePost(params *PcloudV2VolumesclonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesclonePostAccepted, error)
PcloudV2VolumesclonePost creates a new volumes clone request and initiates the prepare action requires a minimum of two volumes requires a minimum of one volume to be in the in use state requires a unique volumes clone name prepare action does the preparatory work for creating the snapshot volumes
func (*Client) PcloudV2VolumescloneStartPost ¶ added in v1.0.48
func (a *Client) PcloudV2VolumescloneStartPost(params *PcloudV2VolumescloneStartPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneStartPostOK, error)
PcloudV2VolumescloneStartPost initiates the start action for a volumes clone request start action starts the consistency group to initiate the flash copy
func (*Client) PcloudVolumesClonePost ¶ added in v1.0.4
func (a *Client) PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumesClonePostOK, error)
PcloudVolumesClonePost creates a volume clone for specified volumes
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 { PcloudCloudinstancesVolumesActionPost(params *PcloudCloudinstancesVolumesActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesActionPostAccepted, error) PcloudCloudinstancesVolumesDelete(params *PcloudCloudinstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesDeleteOK, error) PcloudCloudinstancesVolumesGet(params *PcloudCloudinstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetOK, error) PcloudCloudinstancesVolumesGetall(params *PcloudCloudinstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetallOK, error) PcloudCloudinstancesVolumesPost(params *PcloudCloudinstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesPostAccepted, error) PcloudCloudinstancesVolumesPut(params *PcloudCloudinstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesPutOK, error) PcloudPvminstancesVolumesDelete(params *PcloudPvminstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesDeleteAccepted, error) PcloudPvminstancesVolumesGet(params *PcloudPvminstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetOK, error) PcloudPvminstancesVolumesGetall(params *PcloudPvminstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetallOK, error) PcloudPvminstancesVolumesPost(params *PcloudPvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPostOK, error) PcloudPvminstancesVolumesPut(params *PcloudPvminstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPutOK, error) PcloudPvminstancesVolumesSetbootPut(params *PcloudPvminstancesVolumesSetbootPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesSetbootPutOK, error) PcloudV2PvminstancesVolumesPost(params *PcloudV2PvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesVolumesPostAccepted, error) PcloudV2VolumesClonePost(params *PcloudV2VolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonePostAccepted, error) PcloudV2VolumesClonetasksGet(params *PcloudV2VolumesClonetasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonetasksGetOK, error) PcloudV2VolumesPost(params *PcloudV2VolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesPostCreated, error) PcloudV2VolumescloneCancelPost(params *PcloudV2VolumescloneCancelPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneCancelPostAccepted, error) PcloudV2VolumescloneDelete(params *PcloudV2VolumescloneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneDeleteOK, error) PcloudV2VolumescloneExecutePost(params *PcloudV2VolumescloneExecutePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneExecutePostAccepted, error) PcloudV2VolumescloneGet(params *PcloudV2VolumescloneGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetOK, error) PcloudV2VolumescloneGetall(params *PcloudV2VolumescloneGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetallOK, error) PcloudV2VolumesclonePost(params *PcloudV2VolumesclonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesclonePostAccepted, error) PcloudV2VolumescloneStartPost(params *PcloudV2VolumescloneStartPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneStartPostOK, error) PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumesClonePostOK, 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 volumes API client.
type PcloudCloudinstancesVolumesActionPostAccepted ¶ added in v1.0.76
PcloudCloudinstancesVolumesActionPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudCloudinstancesVolumesActionPostAccepted ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostAccepted() *PcloudCloudinstancesVolumesActionPostAccepted
NewPcloudCloudinstancesVolumesActionPostAccepted creates a PcloudCloudinstancesVolumesActionPostAccepted with default headers values
func (*PcloudCloudinstancesVolumesActionPostAccepted) Error ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostAccepted) Error() string
func (*PcloudCloudinstancesVolumesActionPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesActionPostAccepted) GetPayload() models.Object
type PcloudCloudinstancesVolumesActionPostBadRequest ¶ added in v1.0.76
PcloudCloudinstancesVolumesActionPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesVolumesActionPostBadRequest ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostBadRequest() *PcloudCloudinstancesVolumesActionPostBadRequest
NewPcloudCloudinstancesVolumesActionPostBadRequest creates a PcloudCloudinstancesVolumesActionPostBadRequest with default headers values
func (*PcloudCloudinstancesVolumesActionPostBadRequest) Error ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostBadRequest) Error() string
func (*PcloudCloudinstancesVolumesActionPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesActionPostBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesVolumesActionPostInternalServerError ¶ added in v1.0.76
PcloudCloudinstancesVolumesActionPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesVolumesActionPostInternalServerError ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostInternalServerError() *PcloudCloudinstancesVolumesActionPostInternalServerError
NewPcloudCloudinstancesVolumesActionPostInternalServerError creates a PcloudCloudinstancesVolumesActionPostInternalServerError with default headers values
func (*PcloudCloudinstancesVolumesActionPostInternalServerError) Error ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostInternalServerError) Error() string
func (*PcloudCloudinstancesVolumesActionPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesActionPostInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesVolumesActionPostNotFound ¶ added in v1.0.76
PcloudCloudinstancesVolumesActionPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesVolumesActionPostNotFound ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostNotFound() *PcloudCloudinstancesVolumesActionPostNotFound
NewPcloudCloudinstancesVolumesActionPostNotFound creates a PcloudCloudinstancesVolumesActionPostNotFound with default headers values
func (*PcloudCloudinstancesVolumesActionPostNotFound) Error ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostNotFound) Error() string
func (*PcloudCloudinstancesVolumesActionPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesActionPostNotFound) GetPayload() *models.Error
type PcloudCloudinstancesVolumesActionPostParams ¶ added in v1.0.76
type PcloudCloudinstancesVolumesActionPostParams struct { /* Body. Parameters for the desired action */ Body *models.VolumeAction /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesVolumesActionPostParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances volumes action post operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesVolumesActionPostParams ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostParams() *PcloudCloudinstancesVolumesActionPostParams
NewPcloudCloudinstancesVolumesActionPostParams creates a new PcloudCloudinstancesVolumesActionPostParams 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 NewPcloudCloudinstancesVolumesActionPostParamsWithContext ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesActionPostParams
NewPcloudCloudinstancesVolumesActionPostParamsWithContext creates a new PcloudCloudinstancesVolumesActionPostParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesActionPostParams
NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesActionPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesVolumesActionPostParamsWithTimeout ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesActionPostParams
NewPcloudCloudinstancesVolumesActionPostParamsWithTimeout creates a new PcloudCloudinstancesVolumesActionPostParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesVolumesActionPostParams) SetBody ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) SetBody(body *models.VolumeAction)
SetBody adds the body to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) SetCloudInstanceID ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) SetContext ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesActionPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances volumes action post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesActionPostParams) SetHTTPClient ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) SetTimeout ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) SetVolumeID ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) WithBody ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) WithBody(body *models.VolumeAction) *PcloudCloudinstancesVolumesActionPostParams
WithBody adds the body to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) WithCloudInstanceID ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesActionPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) WithContext ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesActionPostParams
WithContext adds the context to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesActionPostParams) WithDefaults() *PcloudCloudinstancesVolumesActionPostParams
WithDefaults hydrates default values in the pcloud cloudinstances volumes action post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesActionPostParams) WithHTTPClient ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesActionPostParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) WithTimeout ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesActionPostParams
WithTimeout adds the timeout to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) WithVolumeID ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesActionPostParams
WithVolumeID adds the volumeID to the pcloud cloudinstances volumes action post params
func (*PcloudCloudinstancesVolumesActionPostParams) WriteToRequest ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesVolumesActionPostReader ¶ added in v1.0.76
type PcloudCloudinstancesVolumesActionPostReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesVolumesActionPostReader is a Reader for the PcloudCloudinstancesVolumesActionPost structure.
func (*PcloudCloudinstancesVolumesActionPostReader) ReadResponse ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesVolumesActionPostUnauthorized ¶ added in v1.0.76
type PcloudCloudinstancesVolumesActionPostUnauthorized struct {
}PcloudCloudinstancesVolumesActionPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesVolumesActionPostUnauthorized ¶ added in v1.0.76
func NewPcloudCloudinstancesVolumesActionPostUnauthorized() *PcloudCloudinstancesVolumesActionPostUnauthorized
NewPcloudCloudinstancesVolumesActionPostUnauthorized creates a PcloudCloudinstancesVolumesActionPostUnauthorized with default headers values
func (*PcloudCloudinstancesVolumesActionPostUnauthorized) Error ¶ added in v1.0.76
func (o *PcloudCloudinstancesVolumesActionPostUnauthorized) Error() string
func (*PcloudCloudinstancesVolumesActionPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesActionPostUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesVolumesDeleteBadRequest ¶
PcloudCloudinstancesVolumesDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesVolumesDeleteBadRequest ¶
func NewPcloudCloudinstancesVolumesDeleteBadRequest() *PcloudCloudinstancesVolumesDeleteBadRequest
NewPcloudCloudinstancesVolumesDeleteBadRequest creates a PcloudCloudinstancesVolumesDeleteBadRequest with default headers values
func (*PcloudCloudinstancesVolumesDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesVolumesDeleteBadRequest) Error() string
func (*PcloudCloudinstancesVolumesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesDeleteBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesVolumesDeleteGone ¶
PcloudCloudinstancesVolumesDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudCloudinstancesVolumesDeleteGone ¶
func NewPcloudCloudinstancesVolumesDeleteGone() *PcloudCloudinstancesVolumesDeleteGone
NewPcloudCloudinstancesVolumesDeleteGone creates a PcloudCloudinstancesVolumesDeleteGone with default headers values
func (*PcloudCloudinstancesVolumesDeleteGone) Error ¶
func (o *PcloudCloudinstancesVolumesDeleteGone) Error() string
func (*PcloudCloudinstancesVolumesDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesDeleteGone) GetPayload() *models.Error
type PcloudCloudinstancesVolumesDeleteInternalServerError ¶
PcloudCloudinstancesVolumesDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesVolumesDeleteInternalServerError ¶
func NewPcloudCloudinstancesVolumesDeleteInternalServerError() *PcloudCloudinstancesVolumesDeleteInternalServerError
NewPcloudCloudinstancesVolumesDeleteInternalServerError creates a PcloudCloudinstancesVolumesDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesVolumesDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesVolumesDeleteInternalServerError) Error() string
func (*PcloudCloudinstancesVolumesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesDeleteInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesVolumesDeleteOK ¶
PcloudCloudinstancesVolumesDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesVolumesDeleteOK ¶
func NewPcloudCloudinstancesVolumesDeleteOK() *PcloudCloudinstancesVolumesDeleteOK
NewPcloudCloudinstancesVolumesDeleteOK creates a PcloudCloudinstancesVolumesDeleteOK with default headers values
func (*PcloudCloudinstancesVolumesDeleteOK) Error ¶
func (o *PcloudCloudinstancesVolumesDeleteOK) Error() string
func (*PcloudCloudinstancesVolumesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesDeleteOK) GetPayload() models.Object
type PcloudCloudinstancesVolumesDeleteParams ¶
type PcloudCloudinstancesVolumesDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesVolumesDeleteParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances volumes delete operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesVolumesDeleteParams ¶
func NewPcloudCloudinstancesVolumesDeleteParams() *PcloudCloudinstancesVolumesDeleteParams
NewPcloudCloudinstancesVolumesDeleteParams creates a new PcloudCloudinstancesVolumesDeleteParams 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 NewPcloudCloudinstancesVolumesDeleteParamsWithContext ¶
func NewPcloudCloudinstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesDeleteParams
NewPcloudCloudinstancesVolumesDeleteParamsWithContext creates a new PcloudCloudinstancesVolumesDeleteParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesVolumesDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesVolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesDeleteParams
NewPcloudCloudinstancesVolumesDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesVolumesDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesVolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesDeleteParams
NewPcloudCloudinstancesVolumesDeleteParamsWithTimeout creates a new PcloudCloudinstancesVolumesDeleteParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesVolumesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances volumes delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) SetVolumeID ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesDeleteParams
WithContext adds the context to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesDeleteParams) WithDefaults() *PcloudCloudinstancesVolumesDeleteParams
WithDefaults hydrates default values in the pcloud cloudinstances volumes delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) WithVolumeID ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesDeleteParams
WithVolumeID adds the volumeID to the pcloud cloudinstances volumes delete params
func (*PcloudCloudinstancesVolumesDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesVolumesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesVolumesDeleteReader ¶
type PcloudCloudinstancesVolumesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesVolumesDeleteReader is a Reader for the PcloudCloudinstancesVolumesDelete structure.
func (*PcloudCloudinstancesVolumesDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesVolumesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesVolumesDeleteUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesVolumesDeleteUnauthorized struct {
}PcloudCloudinstancesVolumesDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesVolumesDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesVolumesDeleteUnauthorized() *PcloudCloudinstancesVolumesDeleteUnauthorized
NewPcloudCloudinstancesVolumesDeleteUnauthorized creates a PcloudCloudinstancesVolumesDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesVolumesDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesVolumesDeleteUnauthorized) Error() string
func (*PcloudCloudinstancesVolumesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesDeleteUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetBadRequest ¶
PcloudCloudinstancesVolumesGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesVolumesGetBadRequest ¶
func NewPcloudCloudinstancesVolumesGetBadRequest() *PcloudCloudinstancesVolumesGetBadRequest
NewPcloudCloudinstancesVolumesGetBadRequest creates a PcloudCloudinstancesVolumesGetBadRequest with default headers values
func (*PcloudCloudinstancesVolumesGetBadRequest) Error ¶
func (o *PcloudCloudinstancesVolumesGetBadRequest) Error() string
func (*PcloudCloudinstancesVolumesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetInternalServerError ¶
PcloudCloudinstancesVolumesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesVolumesGetInternalServerError ¶
func NewPcloudCloudinstancesVolumesGetInternalServerError() *PcloudCloudinstancesVolumesGetInternalServerError
NewPcloudCloudinstancesVolumesGetInternalServerError creates a PcloudCloudinstancesVolumesGetInternalServerError with default headers values
func (*PcloudCloudinstancesVolumesGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesVolumesGetInternalServerError) Error() string
func (*PcloudCloudinstancesVolumesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetNotFound ¶
PcloudCloudinstancesVolumesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesVolumesGetNotFound ¶
func NewPcloudCloudinstancesVolumesGetNotFound() *PcloudCloudinstancesVolumesGetNotFound
NewPcloudCloudinstancesVolumesGetNotFound creates a PcloudCloudinstancesVolumesGetNotFound with default headers values
func (*PcloudCloudinstancesVolumesGetNotFound) Error ¶
func (o *PcloudCloudinstancesVolumesGetNotFound) Error() string
func (*PcloudCloudinstancesVolumesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetNotFound) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetOK ¶
PcloudCloudinstancesVolumesGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesVolumesGetOK ¶
func NewPcloudCloudinstancesVolumesGetOK() *PcloudCloudinstancesVolumesGetOK
NewPcloudCloudinstancesVolumesGetOK creates a PcloudCloudinstancesVolumesGetOK with default headers values
func (*PcloudCloudinstancesVolumesGetOK) Error ¶
func (o *PcloudCloudinstancesVolumesGetOK) Error() string
func (*PcloudCloudinstancesVolumesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetOK) GetPayload() *models.Volume
type PcloudCloudinstancesVolumesGetParams ¶
type PcloudCloudinstancesVolumesGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesVolumesGetParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances volumes get operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesVolumesGetParams ¶
func NewPcloudCloudinstancesVolumesGetParams() *PcloudCloudinstancesVolumesGetParams
NewPcloudCloudinstancesVolumesGetParams creates a new PcloudCloudinstancesVolumesGetParams 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 NewPcloudCloudinstancesVolumesGetParamsWithContext ¶
func NewPcloudCloudinstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetParams
NewPcloudCloudinstancesVolumesGetParamsWithContext creates a new PcloudCloudinstancesVolumesGetParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesVolumesGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesVolumesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetParams
NewPcloudCloudinstancesVolumesGetParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesVolumesGetParamsWithTimeout ¶
func NewPcloudCloudinstancesVolumesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetParams
NewPcloudCloudinstancesVolumesGetParamsWithTimeout creates a new PcloudCloudinstancesVolumesGetParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesVolumesGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) SetContext ¶
func (o *PcloudCloudinstancesVolumesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances volumes get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesVolumesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesVolumesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) SetVolumeID ¶
func (o *PcloudCloudinstancesVolumesGetParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) WithContext ¶
func (o *PcloudCloudinstancesVolumesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetParams
WithContext adds the context to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetParams) WithDefaults() *PcloudCloudinstancesVolumesGetParams
WithDefaults hydrates default values in the pcloud cloudinstances volumes get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesVolumesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesVolumesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetParams
WithTimeout adds the timeout to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) WithVolumeID ¶
func (o *PcloudCloudinstancesVolumesGetParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesGetParams
WithVolumeID adds the volumeID to the pcloud cloudinstances volumes get params
func (*PcloudCloudinstancesVolumesGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesVolumesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesVolumesGetReader ¶
type PcloudCloudinstancesVolumesGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesVolumesGetReader is a Reader for the PcloudCloudinstancesVolumesGet structure.
func (*PcloudCloudinstancesVolumesGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesVolumesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesVolumesGetUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesVolumesGetUnauthorized struct {
}PcloudCloudinstancesVolumesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesVolumesGetUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesVolumesGetUnauthorized() *PcloudCloudinstancesVolumesGetUnauthorized
NewPcloudCloudinstancesVolumesGetUnauthorized creates a PcloudCloudinstancesVolumesGetUnauthorized with default headers values
func (*PcloudCloudinstancesVolumesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesVolumesGetUnauthorized) Error() string
func (*PcloudCloudinstancesVolumesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetallBadRequest ¶
PcloudCloudinstancesVolumesGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesVolumesGetallBadRequest ¶
func NewPcloudCloudinstancesVolumesGetallBadRequest() *PcloudCloudinstancesVolumesGetallBadRequest
NewPcloudCloudinstancesVolumesGetallBadRequest creates a PcloudCloudinstancesVolumesGetallBadRequest with default headers values
func (*PcloudCloudinstancesVolumesGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesVolumesGetallBadRequest) Error() string
func (*PcloudCloudinstancesVolumesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetallInternalServerError ¶
PcloudCloudinstancesVolumesGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesVolumesGetallInternalServerError ¶
func NewPcloudCloudinstancesVolumesGetallInternalServerError() *PcloudCloudinstancesVolumesGetallInternalServerError
NewPcloudCloudinstancesVolumesGetallInternalServerError creates a PcloudCloudinstancesVolumesGetallInternalServerError with default headers values
func (*PcloudCloudinstancesVolumesGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesVolumesGetallInternalServerError) Error() string
func (*PcloudCloudinstancesVolumesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetallNotFound ¶
PcloudCloudinstancesVolumesGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesVolumesGetallNotFound ¶
func NewPcloudCloudinstancesVolumesGetallNotFound() *PcloudCloudinstancesVolumesGetallNotFound
NewPcloudCloudinstancesVolumesGetallNotFound creates a PcloudCloudinstancesVolumesGetallNotFound with default headers values
func (*PcloudCloudinstancesVolumesGetallNotFound) Error ¶
func (o *PcloudCloudinstancesVolumesGetallNotFound) Error() string
func (*PcloudCloudinstancesVolumesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallNotFound) GetPayload() *models.Error
type PcloudCloudinstancesVolumesGetallOK ¶
PcloudCloudinstancesVolumesGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesVolumesGetallOK ¶
func NewPcloudCloudinstancesVolumesGetallOK() *PcloudCloudinstancesVolumesGetallOK
NewPcloudCloudinstancesVolumesGetallOK creates a PcloudCloudinstancesVolumesGetallOK with default headers values
func (*PcloudCloudinstancesVolumesGetallOK) Error ¶
func (o *PcloudCloudinstancesVolumesGetallOK) Error() string
func (*PcloudCloudinstancesVolumesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallOK) GetPayload() *models.Volumes
type PcloudCloudinstancesVolumesGetallParams ¶
type PcloudCloudinstancesVolumesGetallParams struct { /* Affinity. A pvmInstance (id or name), limits a volumes list response to only volumes that have affinity to the pvmInstance */ Affinity *string /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* ReplicationEnabled. true or false, limits a volumes list to replication or non replication enabled volumes */ ReplicationEnabled *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesVolumesGetallParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances volumes getall operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesVolumesGetallParams ¶
func NewPcloudCloudinstancesVolumesGetallParams() *PcloudCloudinstancesVolumesGetallParams
NewPcloudCloudinstancesVolumesGetallParams creates a new PcloudCloudinstancesVolumesGetallParams 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 NewPcloudCloudinstancesVolumesGetallParamsWithContext ¶
func NewPcloudCloudinstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetallParams
NewPcloudCloudinstancesVolumesGetallParamsWithContext creates a new PcloudCloudinstancesVolumesGetallParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesVolumesGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesVolumesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetallParams
NewPcloudCloudinstancesVolumesGetallParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesVolumesGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesVolumesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetallParams
NewPcloudCloudinstancesVolumesGetallParamsWithTimeout creates a new PcloudCloudinstancesVolumesGetallParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesVolumesGetallParams) SetAffinity ¶
func (o *PcloudCloudinstancesVolumesGetallParams) SetAffinity(affinity *string)
SetAffinity adds the affinity to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) SetContext ¶
func (o *PcloudCloudinstancesVolumesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances volumes getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesVolumesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) SetReplicationEnabled ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallParams) SetReplicationEnabled(replicationEnabled *bool)
SetReplicationEnabled adds the replicationEnabled to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesVolumesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) WithAffinity ¶
func (o *PcloudCloudinstancesVolumesGetallParams) WithAffinity(affinity *string) *PcloudCloudinstancesVolumesGetallParams
WithAffinity adds the affinity to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) WithContext ¶
func (o *PcloudCloudinstancesVolumesGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetallParams
WithContext adds the context to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallParams) WithDefaults() *PcloudCloudinstancesVolumesGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances volumes getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesVolumesGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) WithReplicationEnabled ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallParams) WithReplicationEnabled(replicationEnabled *bool) *PcloudCloudinstancesVolumesGetallParams
WithReplicationEnabled adds the replicationEnabled to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesVolumesGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances volumes getall params
func (*PcloudCloudinstancesVolumesGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesVolumesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesVolumesGetallReader ¶
type PcloudCloudinstancesVolumesGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesVolumesGetallReader is a Reader for the PcloudCloudinstancesVolumesGetall structure.
func (*PcloudCloudinstancesVolumesGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesVolumesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesVolumesGetallUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesVolumesGetallUnauthorized struct {
}PcloudCloudinstancesVolumesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesVolumesGetallUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesVolumesGetallUnauthorized() *PcloudCloudinstancesVolumesGetallUnauthorized
NewPcloudCloudinstancesVolumesGetallUnauthorized creates a PcloudCloudinstancesVolumesGetallUnauthorized with default headers values
func (*PcloudCloudinstancesVolumesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesVolumesGetallUnauthorized) Error() string
func (*PcloudCloudinstancesVolumesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesGetallUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPostAccepted ¶
PcloudCloudinstancesVolumesPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudCloudinstancesVolumesPostAccepted ¶
func NewPcloudCloudinstancesVolumesPostAccepted() *PcloudCloudinstancesVolumesPostAccepted
NewPcloudCloudinstancesVolumesPostAccepted creates a PcloudCloudinstancesVolumesPostAccepted with default headers values
func (*PcloudCloudinstancesVolumesPostAccepted) Error ¶
func (o *PcloudCloudinstancesVolumesPostAccepted) Error() string
func (*PcloudCloudinstancesVolumesPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostAccepted) GetPayload() *models.Volume
type PcloudCloudinstancesVolumesPostBadRequest ¶
PcloudCloudinstancesVolumesPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesVolumesPostBadRequest ¶
func NewPcloudCloudinstancesVolumesPostBadRequest() *PcloudCloudinstancesVolumesPostBadRequest
NewPcloudCloudinstancesVolumesPostBadRequest creates a PcloudCloudinstancesVolumesPostBadRequest with default headers values
func (*PcloudCloudinstancesVolumesPostBadRequest) Error ¶
func (o *PcloudCloudinstancesVolumesPostBadRequest) Error() string
func (*PcloudCloudinstancesVolumesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPostConflict ¶
PcloudCloudinstancesVolumesPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudCloudinstancesVolumesPostConflict ¶
func NewPcloudCloudinstancesVolumesPostConflict() *PcloudCloudinstancesVolumesPostConflict
NewPcloudCloudinstancesVolumesPostConflict creates a PcloudCloudinstancesVolumesPostConflict with default headers values
func (*PcloudCloudinstancesVolumesPostConflict) Error ¶
func (o *PcloudCloudinstancesVolumesPostConflict) Error() string
func (*PcloudCloudinstancesVolumesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostConflict) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPostInternalServerError ¶
PcloudCloudinstancesVolumesPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesVolumesPostInternalServerError ¶
func NewPcloudCloudinstancesVolumesPostInternalServerError() *PcloudCloudinstancesVolumesPostInternalServerError
NewPcloudCloudinstancesVolumesPostInternalServerError creates a PcloudCloudinstancesVolumesPostInternalServerError with default headers values
func (*PcloudCloudinstancesVolumesPostInternalServerError) Error ¶
func (o *PcloudCloudinstancesVolumesPostInternalServerError) Error() string
func (*PcloudCloudinstancesVolumesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPostParams ¶
type PcloudCloudinstancesVolumesPostParams struct { /* Body. Parameters for the creation of a new data volume */ Body *models.CreateDataVolume /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesVolumesPostParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances volumes post operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesVolumesPostParams ¶
func NewPcloudCloudinstancesVolumesPostParams() *PcloudCloudinstancesVolumesPostParams
NewPcloudCloudinstancesVolumesPostParams creates a new PcloudCloudinstancesVolumesPostParams 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 NewPcloudCloudinstancesVolumesPostParamsWithContext ¶
func NewPcloudCloudinstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPostParams
NewPcloudCloudinstancesVolumesPostParamsWithContext creates a new PcloudCloudinstancesVolumesPostParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesVolumesPostParamsWithHTTPClient ¶
func NewPcloudCloudinstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPostParams
NewPcloudCloudinstancesVolumesPostParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesVolumesPostParamsWithTimeout ¶
func NewPcloudCloudinstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPostParams
NewPcloudCloudinstancesVolumesPostParamsWithTimeout creates a new PcloudCloudinstancesVolumesPostParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesVolumesPostParams) SetBody ¶
func (o *PcloudCloudinstancesVolumesPostParams) SetBody(body *models.CreateDataVolume)
SetBody adds the body to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) SetContext ¶
func (o *PcloudCloudinstancesVolumesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesPostParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesVolumesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) SetTimeout ¶
func (o *PcloudCloudinstancesVolumesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) WithBody ¶
func (o *PcloudCloudinstancesVolumesPostParams) WithBody(body *models.CreateDataVolume) *PcloudCloudinstancesVolumesPostParams
WithBody adds the body to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) WithContext ¶
func (o *PcloudCloudinstancesVolumesPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesPostParams
WithContext adds the context to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostParams) WithDefaults() *PcloudCloudinstancesVolumesPostParams
WithDefaults hydrates default values in the pcloud cloudinstances volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesPostParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesVolumesPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPostParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) WithTimeout ¶
func (o *PcloudCloudinstancesVolumesPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPostParams
WithTimeout adds the timeout to the pcloud cloudinstances volumes post params
func (*PcloudCloudinstancesVolumesPostParams) WriteToRequest ¶
func (o *PcloudCloudinstancesVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesVolumesPostReader ¶
type PcloudCloudinstancesVolumesPostReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesVolumesPostReader is a Reader for the PcloudCloudinstancesVolumesPost structure.
func (*PcloudCloudinstancesVolumesPostReader) ReadResponse ¶
func (o *PcloudCloudinstancesVolumesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesVolumesPostUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesVolumesPostUnauthorized struct {
}PcloudCloudinstancesVolumesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesVolumesPostUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesVolumesPostUnauthorized() *PcloudCloudinstancesVolumesPostUnauthorized
NewPcloudCloudinstancesVolumesPostUnauthorized creates a PcloudCloudinstancesVolumesPostUnauthorized with default headers values
func (*PcloudCloudinstancesVolumesPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesVolumesPostUnauthorized) Error() string
func (*PcloudCloudinstancesVolumesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPostUnprocessableEntity ¶
PcloudCloudinstancesVolumesPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudCloudinstancesVolumesPostUnprocessableEntity ¶
func NewPcloudCloudinstancesVolumesPostUnprocessableEntity() *PcloudCloudinstancesVolumesPostUnprocessableEntity
NewPcloudCloudinstancesVolumesPostUnprocessableEntity creates a PcloudCloudinstancesVolumesPostUnprocessableEntity with default headers values
func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) Error ¶
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) Error() string
func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPutBadRequest ¶
PcloudCloudinstancesVolumesPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesVolumesPutBadRequest ¶
func NewPcloudCloudinstancesVolumesPutBadRequest() *PcloudCloudinstancesVolumesPutBadRequest
NewPcloudCloudinstancesVolumesPutBadRequest creates a PcloudCloudinstancesVolumesPutBadRequest with default headers values
func (*PcloudCloudinstancesVolumesPutBadRequest) Error ¶
func (o *PcloudCloudinstancesVolumesPutBadRequest) Error() string
func (*PcloudCloudinstancesVolumesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPutConflict ¶
PcloudCloudinstancesVolumesPutConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudCloudinstancesVolumesPutConflict ¶
func NewPcloudCloudinstancesVolumesPutConflict() *PcloudCloudinstancesVolumesPutConflict
NewPcloudCloudinstancesVolumesPutConflict creates a PcloudCloudinstancesVolumesPutConflict with default headers values
func (*PcloudCloudinstancesVolumesPutConflict) Error ¶
func (o *PcloudCloudinstancesVolumesPutConflict) Error() string
func (*PcloudCloudinstancesVolumesPutConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutConflict) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPutInternalServerError ¶
PcloudCloudinstancesVolumesPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesVolumesPutInternalServerError ¶
func NewPcloudCloudinstancesVolumesPutInternalServerError() *PcloudCloudinstancesVolumesPutInternalServerError
NewPcloudCloudinstancesVolumesPutInternalServerError creates a PcloudCloudinstancesVolumesPutInternalServerError with default headers values
func (*PcloudCloudinstancesVolumesPutInternalServerError) Error ¶
func (o *PcloudCloudinstancesVolumesPutInternalServerError) Error() string
func (*PcloudCloudinstancesVolumesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPutOK ¶
PcloudCloudinstancesVolumesPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesVolumesPutOK ¶
func NewPcloudCloudinstancesVolumesPutOK() *PcloudCloudinstancesVolumesPutOK
NewPcloudCloudinstancesVolumesPutOK creates a PcloudCloudinstancesVolumesPutOK with default headers values
func (*PcloudCloudinstancesVolumesPutOK) Error ¶
func (o *PcloudCloudinstancesVolumesPutOK) Error() string
func (*PcloudCloudinstancesVolumesPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutOK) GetPayload() *models.Volume
type PcloudCloudinstancesVolumesPutParams ¶
type PcloudCloudinstancesVolumesPutParams struct { /* Body. Parameters to update a cloud instance volume */ Body *models.UpdateVolume /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesVolumesPutParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances volumes put operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesVolumesPutParams ¶
func NewPcloudCloudinstancesVolumesPutParams() *PcloudCloudinstancesVolumesPutParams
NewPcloudCloudinstancesVolumesPutParams creates a new PcloudCloudinstancesVolumesPutParams 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 NewPcloudCloudinstancesVolumesPutParamsWithContext ¶
func NewPcloudCloudinstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPutParams
NewPcloudCloudinstancesVolumesPutParamsWithContext creates a new PcloudCloudinstancesVolumesPutParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesVolumesPutParamsWithHTTPClient ¶
func NewPcloudCloudinstancesVolumesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPutParams
NewPcloudCloudinstancesVolumesPutParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesVolumesPutParamsWithTimeout ¶
func NewPcloudCloudinstancesVolumesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPutParams
NewPcloudCloudinstancesVolumesPutParamsWithTimeout creates a new PcloudCloudinstancesVolumesPutParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesVolumesPutParams) SetBody ¶
func (o *PcloudCloudinstancesVolumesPutParams) SetBody(body *models.UpdateVolume)
SetBody adds the body to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) SetContext ¶
func (o *PcloudCloudinstancesVolumesPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances volumes put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesPutParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesVolumesPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) SetTimeout ¶
func (o *PcloudCloudinstancesVolumesPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) SetVolumeID ¶
func (o *PcloudCloudinstancesVolumesPutParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) WithBody ¶
func (o *PcloudCloudinstancesVolumesPutParams) WithBody(body *models.UpdateVolume) *PcloudCloudinstancesVolumesPutParams
WithBody adds the body to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesVolumesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVolumesPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) WithContext ¶
func (o *PcloudCloudinstancesVolumesPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesVolumesPutParams
WithContext adds the context to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutParams) WithDefaults() *PcloudCloudinstancesVolumesPutParams
WithDefaults hydrates default values in the pcloud cloudinstances volumes put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVolumesPutParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesVolumesPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPutParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) WithTimeout ¶
func (o *PcloudCloudinstancesVolumesPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPutParams
WithTimeout adds the timeout to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) WithVolumeID ¶
func (o *PcloudCloudinstancesVolumesPutParams) WithVolumeID(volumeID string) *PcloudCloudinstancesVolumesPutParams
WithVolumeID adds the volumeID to the pcloud cloudinstances volumes put params
func (*PcloudCloudinstancesVolumesPutParams) WriteToRequest ¶
func (o *PcloudCloudinstancesVolumesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesVolumesPutReader ¶
type PcloudCloudinstancesVolumesPutReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesVolumesPutReader is a Reader for the PcloudCloudinstancesVolumesPut structure.
func (*PcloudCloudinstancesVolumesPutReader) ReadResponse ¶
func (o *PcloudCloudinstancesVolumesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesVolumesPutUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesVolumesPutUnauthorized struct {
}PcloudCloudinstancesVolumesPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesVolumesPutUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesVolumesPutUnauthorized() *PcloudCloudinstancesVolumesPutUnauthorized
NewPcloudCloudinstancesVolumesPutUnauthorized creates a PcloudCloudinstancesVolumesPutUnauthorized with default headers values
func (*PcloudCloudinstancesVolumesPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesVolumesPutUnauthorized) Error() string
func (*PcloudCloudinstancesVolumesPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesVolumesPutUnprocessableEntity ¶
PcloudCloudinstancesVolumesPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudCloudinstancesVolumesPutUnprocessableEntity ¶
func NewPcloudCloudinstancesVolumesPutUnprocessableEntity() *PcloudCloudinstancesVolumesPutUnprocessableEntity
NewPcloudCloudinstancesVolumesPutUnprocessableEntity creates a PcloudCloudinstancesVolumesPutUnprocessableEntity with default headers values
func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) Error ¶
func (o *PcloudCloudinstancesVolumesPutUnprocessableEntity) Error() string
func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesVolumesPutUnprocessableEntity) GetPayload() *models.Error
type PcloudPvminstancesVolumesDeleteAccepted ¶
PcloudPvminstancesVolumesDeleteAccepted describes a response with status code 202, with default header values.
OK
func NewPcloudPvminstancesVolumesDeleteAccepted ¶
func NewPcloudPvminstancesVolumesDeleteAccepted() *PcloudPvminstancesVolumesDeleteAccepted
NewPcloudPvminstancesVolumesDeleteAccepted creates a PcloudPvminstancesVolumesDeleteAccepted with default headers values
func (*PcloudPvminstancesVolumesDeleteAccepted) Error ¶
func (o *PcloudPvminstancesVolumesDeleteAccepted) Error() string
func (*PcloudPvminstancesVolumesDeleteAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteAccepted) GetPayload() models.Object
type PcloudPvminstancesVolumesDeleteBadRequest ¶
PcloudPvminstancesVolumesDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVolumesDeleteBadRequest ¶
func NewPcloudPvminstancesVolumesDeleteBadRequest() *PcloudPvminstancesVolumesDeleteBadRequest
NewPcloudPvminstancesVolumesDeleteBadRequest creates a PcloudPvminstancesVolumesDeleteBadRequest with default headers values
func (*PcloudPvminstancesVolumesDeleteBadRequest) Error ¶
func (o *PcloudPvminstancesVolumesDeleteBadRequest) Error() string
func (*PcloudPvminstancesVolumesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteBadRequest) GetPayload() *models.Error
type PcloudPvminstancesVolumesDeleteConflict ¶
PcloudPvminstancesVolumesDeleteConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesVolumesDeleteConflict ¶
func NewPcloudPvminstancesVolumesDeleteConflict() *PcloudPvminstancesVolumesDeleteConflict
NewPcloudPvminstancesVolumesDeleteConflict creates a PcloudPvminstancesVolumesDeleteConflict with default headers values
func (*PcloudPvminstancesVolumesDeleteConflict) Error ¶
func (o *PcloudPvminstancesVolumesDeleteConflict) Error() string
func (*PcloudPvminstancesVolumesDeleteConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteConflict) GetPayload() *models.Error
type PcloudPvminstancesVolumesDeleteForbidden ¶
PcloudPvminstancesVolumesDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesVolumesDeleteForbidden ¶
func NewPcloudPvminstancesVolumesDeleteForbidden() *PcloudPvminstancesVolumesDeleteForbidden
NewPcloudPvminstancesVolumesDeleteForbidden creates a PcloudPvminstancesVolumesDeleteForbidden with default headers values
func (*PcloudPvminstancesVolumesDeleteForbidden) Error ¶
func (o *PcloudPvminstancesVolumesDeleteForbidden) Error() string
func (*PcloudPvminstancesVolumesDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteForbidden) GetPayload() *models.Error
type PcloudPvminstancesVolumesDeleteInternalServerError ¶
PcloudPvminstancesVolumesDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVolumesDeleteInternalServerError ¶
func NewPcloudPvminstancesVolumesDeleteInternalServerError() *PcloudPvminstancesVolumesDeleteInternalServerError
NewPcloudPvminstancesVolumesDeleteInternalServerError creates a PcloudPvminstancesVolumesDeleteInternalServerError with default headers values
func (*PcloudPvminstancesVolumesDeleteInternalServerError) Error ¶
func (o *PcloudPvminstancesVolumesDeleteInternalServerError) Error() string
func (*PcloudPvminstancesVolumesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteInternalServerError) GetPayload() *models.Error
type PcloudPvminstancesVolumesDeleteNotFound ¶
PcloudPvminstancesVolumesDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVolumesDeleteNotFound ¶
func NewPcloudPvminstancesVolumesDeleteNotFound() *PcloudPvminstancesVolumesDeleteNotFound
NewPcloudPvminstancesVolumesDeleteNotFound creates a PcloudPvminstancesVolumesDeleteNotFound with default headers values
func (*PcloudPvminstancesVolumesDeleteNotFound) Error ¶
func (o *PcloudPvminstancesVolumesDeleteNotFound) Error() string
func (*PcloudPvminstancesVolumesDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteNotFound) GetPayload() *models.Error
type PcloudPvminstancesVolumesDeleteParams ¶
type PcloudPvminstancesVolumesDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVolumesDeleteParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances volumes delete operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVolumesDeleteParams ¶
func NewPcloudPvminstancesVolumesDeleteParams() *PcloudPvminstancesVolumesDeleteParams
NewPcloudPvminstancesVolumesDeleteParams creates a new PcloudPvminstancesVolumesDeleteParams 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 NewPcloudPvminstancesVolumesDeleteParamsWithContext ¶
func NewPcloudPvminstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesDeleteParams
NewPcloudPvminstancesVolumesDeleteParamsWithContext creates a new PcloudPvminstancesVolumesDeleteParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVolumesDeleteParamsWithHTTPClient ¶
func NewPcloudPvminstancesVolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesDeleteParams
NewPcloudPvminstancesVolumesDeleteParamsWithHTTPClient creates a new PcloudPvminstancesVolumesDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVolumesDeleteParamsWithTimeout ¶
func NewPcloudPvminstancesVolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesDeleteParams
NewPcloudPvminstancesVolumesDeleteParamsWithTimeout creates a new PcloudPvminstancesVolumesDeleteParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVolumesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) SetContext ¶
func (o *PcloudPvminstancesVolumesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances volumes delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesDeleteParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVolumesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesDeleteParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) SetTimeout ¶
func (o *PcloudPvminstancesVolumesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) SetVolumeID ¶
func (o *PcloudPvminstancesVolumesDeleteParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) WithContext ¶
func (o *PcloudPvminstancesVolumesDeleteParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesDeleteParams
WithContext adds the context to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteParams) WithDefaults() *PcloudPvminstancesVolumesDeleteParams
WithDefaults hydrates default values in the pcloud pvminstances volumes delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesDeleteParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVolumesDeleteParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesDeleteParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) WithTimeout ¶
func (o *PcloudPvminstancesVolumesDeleteParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesDeleteParams
WithTimeout adds the timeout to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) WithVolumeID ¶
func (o *PcloudPvminstancesVolumesDeleteParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesDeleteParams
WithVolumeID adds the volumeID to the pcloud pvminstances volumes delete params
func (*PcloudPvminstancesVolumesDeleteParams) WriteToRequest ¶
func (o *PcloudPvminstancesVolumesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVolumesDeleteReader ¶
type PcloudPvminstancesVolumesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVolumesDeleteReader is a Reader for the PcloudPvminstancesVolumesDelete structure.
func (*PcloudPvminstancesVolumesDeleteReader) ReadResponse ¶
func (o *PcloudPvminstancesVolumesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVolumesDeleteUnauthorized ¶
type PcloudPvminstancesVolumesDeleteUnauthorized struct {
}PcloudPvminstancesVolumesDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVolumesDeleteUnauthorized ¶
func NewPcloudPvminstancesVolumesDeleteUnauthorized() *PcloudPvminstancesVolumesDeleteUnauthorized
NewPcloudPvminstancesVolumesDeleteUnauthorized creates a PcloudPvminstancesVolumesDeleteUnauthorized with default headers values
func (*PcloudPvminstancesVolumesDeleteUnauthorized) Error ¶
func (o *PcloudPvminstancesVolumesDeleteUnauthorized) Error() string
func (*PcloudPvminstancesVolumesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesDeleteUnauthorized) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetBadRequest ¶
PcloudPvminstancesVolumesGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVolumesGetBadRequest ¶
func NewPcloudPvminstancesVolumesGetBadRequest() *PcloudPvminstancesVolumesGetBadRequest
NewPcloudPvminstancesVolumesGetBadRequest creates a PcloudPvminstancesVolumesGetBadRequest with default headers values
func (*PcloudPvminstancesVolumesGetBadRequest) Error ¶
func (o *PcloudPvminstancesVolumesGetBadRequest) Error() string
func (*PcloudPvminstancesVolumesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetBadRequest) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetInternalServerError ¶
PcloudPvminstancesVolumesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVolumesGetInternalServerError ¶
func NewPcloudPvminstancesVolumesGetInternalServerError() *PcloudPvminstancesVolumesGetInternalServerError
NewPcloudPvminstancesVolumesGetInternalServerError creates a PcloudPvminstancesVolumesGetInternalServerError with default headers values
func (*PcloudPvminstancesVolumesGetInternalServerError) Error ¶
func (o *PcloudPvminstancesVolumesGetInternalServerError) Error() string
func (*PcloudPvminstancesVolumesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetInternalServerError) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetNotFound ¶
PcloudPvminstancesVolumesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVolumesGetNotFound ¶
func NewPcloudPvminstancesVolumesGetNotFound() *PcloudPvminstancesVolumesGetNotFound
NewPcloudPvminstancesVolumesGetNotFound creates a PcloudPvminstancesVolumesGetNotFound with default headers values
func (*PcloudPvminstancesVolumesGetNotFound) Error ¶
func (o *PcloudPvminstancesVolumesGetNotFound) Error() string
func (*PcloudPvminstancesVolumesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetNotFound) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetOK ¶
PcloudPvminstancesVolumesGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesVolumesGetOK ¶
func NewPcloudPvminstancesVolumesGetOK() *PcloudPvminstancesVolumesGetOK
NewPcloudPvminstancesVolumesGetOK creates a PcloudPvminstancesVolumesGetOK with default headers values
func (*PcloudPvminstancesVolumesGetOK) Error ¶
func (o *PcloudPvminstancesVolumesGetOK) Error() string
func (*PcloudPvminstancesVolumesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetOK) GetPayload() *models.Volume
type PcloudPvminstancesVolumesGetParams ¶
type PcloudPvminstancesVolumesGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVolumesGetParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances volumes get operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVolumesGetParams ¶
func NewPcloudPvminstancesVolumesGetParams() *PcloudPvminstancesVolumesGetParams
NewPcloudPvminstancesVolumesGetParams creates a new PcloudPvminstancesVolumesGetParams 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 NewPcloudPvminstancesVolumesGetParamsWithContext ¶
func NewPcloudPvminstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetParams
NewPcloudPvminstancesVolumesGetParamsWithContext creates a new PcloudPvminstancesVolumesGetParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVolumesGetParamsWithHTTPClient ¶
func NewPcloudPvminstancesVolumesGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetParams
NewPcloudPvminstancesVolumesGetParamsWithHTTPClient creates a new PcloudPvminstancesVolumesGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVolumesGetParamsWithTimeout ¶
func NewPcloudPvminstancesVolumesGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetParams
NewPcloudPvminstancesVolumesGetParamsWithTimeout creates a new PcloudPvminstancesVolumesGetParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVolumesGetParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) SetContext ¶
func (o *PcloudPvminstancesVolumesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances volumes get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesGetParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVolumesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesGetParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) SetTimeout ¶
func (o *PcloudPvminstancesVolumesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) SetVolumeID ¶
func (o *PcloudPvminstancesVolumesGetParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) WithContext ¶
func (o *PcloudPvminstancesVolumesGetParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesGetParams
WithContext adds the context to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetParams) WithDefaults() *PcloudPvminstancesVolumesGetParams
WithDefaults hydrates default values in the pcloud pvminstances volumes get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesGetParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVolumesGetParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesGetParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) WithTimeout ¶
func (o *PcloudPvminstancesVolumesGetParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetParams
WithTimeout adds the timeout to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) WithVolumeID ¶
func (o *PcloudPvminstancesVolumesGetParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesGetParams
WithVolumeID adds the volumeID to the pcloud pvminstances volumes get params
func (*PcloudPvminstancesVolumesGetParams) WriteToRequest ¶
func (o *PcloudPvminstancesVolumesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVolumesGetReader ¶
type PcloudPvminstancesVolumesGetReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVolumesGetReader is a Reader for the PcloudPvminstancesVolumesGet structure.
func (*PcloudPvminstancesVolumesGetReader) ReadResponse ¶
func (o *PcloudPvminstancesVolumesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVolumesGetUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesVolumesGetUnauthorized struct {
}PcloudPvminstancesVolumesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVolumesGetUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesVolumesGetUnauthorized() *PcloudPvminstancesVolumesGetUnauthorized
NewPcloudPvminstancesVolumesGetUnauthorized creates a PcloudPvminstancesVolumesGetUnauthorized with default headers values
func (*PcloudPvminstancesVolumesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesVolumesGetUnauthorized) Error() string
func (*PcloudPvminstancesVolumesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetUnauthorized) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetallBadRequest ¶
PcloudPvminstancesVolumesGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVolumesGetallBadRequest ¶
func NewPcloudPvminstancesVolumesGetallBadRequest() *PcloudPvminstancesVolumesGetallBadRequest
NewPcloudPvminstancesVolumesGetallBadRequest creates a PcloudPvminstancesVolumesGetallBadRequest with default headers values
func (*PcloudPvminstancesVolumesGetallBadRequest) Error ¶
func (o *PcloudPvminstancesVolumesGetallBadRequest) Error() string
func (*PcloudPvminstancesVolumesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetallBadRequest) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetallInternalServerError ¶
PcloudPvminstancesVolumesGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVolumesGetallInternalServerError ¶
func NewPcloudPvminstancesVolumesGetallInternalServerError() *PcloudPvminstancesVolumesGetallInternalServerError
NewPcloudPvminstancesVolumesGetallInternalServerError creates a PcloudPvminstancesVolumesGetallInternalServerError with default headers values
func (*PcloudPvminstancesVolumesGetallInternalServerError) Error ¶
func (o *PcloudPvminstancesVolumesGetallInternalServerError) Error() string
func (*PcloudPvminstancesVolumesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetallInternalServerError) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetallNotFound ¶
PcloudPvminstancesVolumesGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVolumesGetallNotFound ¶
func NewPcloudPvminstancesVolumesGetallNotFound() *PcloudPvminstancesVolumesGetallNotFound
NewPcloudPvminstancesVolumesGetallNotFound creates a PcloudPvminstancesVolumesGetallNotFound with default headers values
func (*PcloudPvminstancesVolumesGetallNotFound) Error ¶
func (o *PcloudPvminstancesVolumesGetallNotFound) Error() string
func (*PcloudPvminstancesVolumesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetallNotFound) GetPayload() *models.Error
type PcloudPvminstancesVolumesGetallOK ¶
PcloudPvminstancesVolumesGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesVolumesGetallOK ¶
func NewPcloudPvminstancesVolumesGetallOK() *PcloudPvminstancesVolumesGetallOK
NewPcloudPvminstancesVolumesGetallOK creates a PcloudPvminstancesVolumesGetallOK with default headers values
func (*PcloudPvminstancesVolumesGetallOK) Error ¶
func (o *PcloudPvminstancesVolumesGetallOK) Error() string
func (*PcloudPvminstancesVolumesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetallOK) GetPayload() *models.Volumes
type PcloudPvminstancesVolumesGetallParams ¶
type PcloudPvminstancesVolumesGetallParams 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 }
PcloudPvminstancesVolumesGetallParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances volumes getall operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVolumesGetallParams ¶
func NewPcloudPvminstancesVolumesGetallParams() *PcloudPvminstancesVolumesGetallParams
NewPcloudPvminstancesVolumesGetallParams creates a new PcloudPvminstancesVolumesGetallParams 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 NewPcloudPvminstancesVolumesGetallParamsWithContext ¶
func NewPcloudPvminstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetallParams
NewPcloudPvminstancesVolumesGetallParamsWithContext creates a new PcloudPvminstancesVolumesGetallParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVolumesGetallParamsWithHTTPClient ¶
func NewPcloudPvminstancesVolumesGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetallParams
NewPcloudPvminstancesVolumesGetallParamsWithHTTPClient creates a new PcloudPvminstancesVolumesGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVolumesGetallParamsWithTimeout ¶
func NewPcloudPvminstancesVolumesGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetallParams
NewPcloudPvminstancesVolumesGetallParamsWithTimeout creates a new PcloudPvminstancesVolumesGetallParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVolumesGetallParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) SetContext ¶
func (o *PcloudPvminstancesVolumesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances volumes getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesGetallParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVolumesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesGetallParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) SetTimeout ¶
func (o *PcloudPvminstancesVolumesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) WithContext ¶
func (o *PcloudPvminstancesVolumesGetallParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesGetallParams
WithContext adds the context to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetallParams) WithDefaults() *PcloudPvminstancesVolumesGetallParams
WithDefaults hydrates default values in the pcloud pvminstances volumes getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesGetallParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVolumesGetallParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesGetallParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesGetallParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) WithTimeout ¶
func (o *PcloudPvminstancesVolumesGetallParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetallParams
WithTimeout adds the timeout to the pcloud pvminstances volumes getall params
func (*PcloudPvminstancesVolumesGetallParams) WriteToRequest ¶
func (o *PcloudPvminstancesVolumesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVolumesGetallReader ¶
type PcloudPvminstancesVolumesGetallReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVolumesGetallReader is a Reader for the PcloudPvminstancesVolumesGetall structure.
func (*PcloudPvminstancesVolumesGetallReader) ReadResponse ¶
func (o *PcloudPvminstancesVolumesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVolumesGetallUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesVolumesGetallUnauthorized struct {
}PcloudPvminstancesVolumesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVolumesGetallUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesVolumesGetallUnauthorized() *PcloudPvminstancesVolumesGetallUnauthorized
NewPcloudPvminstancesVolumesGetallUnauthorized creates a PcloudPvminstancesVolumesGetallUnauthorized with default headers values
func (*PcloudPvminstancesVolumesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesVolumesGetallUnauthorized) Error() string
func (*PcloudPvminstancesVolumesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesGetallUnauthorized) GetPayload() *models.Error
type PcloudPvminstancesVolumesPostBadRequest ¶
PcloudPvminstancesVolumesPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVolumesPostBadRequest ¶
func NewPcloudPvminstancesVolumesPostBadRequest() *PcloudPvminstancesVolumesPostBadRequest
NewPcloudPvminstancesVolumesPostBadRequest creates a PcloudPvminstancesVolumesPostBadRequest with default headers values
func (*PcloudPvminstancesVolumesPostBadRequest) Error ¶
func (o *PcloudPvminstancesVolumesPostBadRequest) Error() string
func (*PcloudPvminstancesVolumesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostBadRequest) GetPayload() *models.Error
type PcloudPvminstancesVolumesPostConflict ¶
PcloudPvminstancesVolumesPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudPvminstancesVolumesPostConflict ¶
func NewPcloudPvminstancesVolumesPostConflict() *PcloudPvminstancesVolumesPostConflict
NewPcloudPvminstancesVolumesPostConflict creates a PcloudPvminstancesVolumesPostConflict with default headers values
func (*PcloudPvminstancesVolumesPostConflict) Error ¶
func (o *PcloudPvminstancesVolumesPostConflict) Error() string
func (*PcloudPvminstancesVolumesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostConflict) GetPayload() *models.Error
type PcloudPvminstancesVolumesPostForbidden ¶
PcloudPvminstancesVolumesPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudPvminstancesVolumesPostForbidden ¶
func NewPcloudPvminstancesVolumesPostForbidden() *PcloudPvminstancesVolumesPostForbidden
NewPcloudPvminstancesVolumesPostForbidden creates a PcloudPvminstancesVolumesPostForbidden with default headers values
func (*PcloudPvminstancesVolumesPostForbidden) Error ¶
func (o *PcloudPvminstancesVolumesPostForbidden) Error() string
func (*PcloudPvminstancesVolumesPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostForbidden) GetPayload() *models.Error
type PcloudPvminstancesVolumesPostInternalServerError ¶
PcloudPvminstancesVolumesPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVolumesPostInternalServerError ¶
func NewPcloudPvminstancesVolumesPostInternalServerError() *PcloudPvminstancesVolumesPostInternalServerError
NewPcloudPvminstancesVolumesPostInternalServerError creates a PcloudPvminstancesVolumesPostInternalServerError with default headers values
func (*PcloudPvminstancesVolumesPostInternalServerError) Error ¶
func (o *PcloudPvminstancesVolumesPostInternalServerError) Error() string
func (*PcloudPvminstancesVolumesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostInternalServerError) GetPayload() *models.Error
type PcloudPvminstancesVolumesPostNotFound ¶
PcloudPvminstancesVolumesPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVolumesPostNotFound ¶
func NewPcloudPvminstancesVolumesPostNotFound() *PcloudPvminstancesVolumesPostNotFound
NewPcloudPvminstancesVolumesPostNotFound creates a PcloudPvminstancesVolumesPostNotFound with default headers values
func (*PcloudPvminstancesVolumesPostNotFound) Error ¶
func (o *PcloudPvminstancesVolumesPostNotFound) Error() string
func (*PcloudPvminstancesVolumesPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostNotFound) GetPayload() *models.Error
type PcloudPvminstancesVolumesPostOK ¶
PcloudPvminstancesVolumesPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesVolumesPostOK ¶
func NewPcloudPvminstancesVolumesPostOK() *PcloudPvminstancesVolumesPostOK
NewPcloudPvminstancesVolumesPostOK creates a PcloudPvminstancesVolumesPostOK with default headers values
func (*PcloudPvminstancesVolumesPostOK) Error ¶
func (o *PcloudPvminstancesVolumesPostOK) Error() string
func (*PcloudPvminstancesVolumesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostOK) GetPayload() models.Object
type PcloudPvminstancesVolumesPostParams ¶
type PcloudPvminstancesVolumesPostParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVolumesPostParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances volumes post operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVolumesPostParams ¶
func NewPcloudPvminstancesVolumesPostParams() *PcloudPvminstancesVolumesPostParams
NewPcloudPvminstancesVolumesPostParams creates a new PcloudPvminstancesVolumesPostParams 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 NewPcloudPvminstancesVolumesPostParamsWithContext ¶
func NewPcloudPvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPostParams
NewPcloudPvminstancesVolumesPostParamsWithContext creates a new PcloudPvminstancesVolumesPostParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVolumesPostParamsWithHTTPClient ¶
func NewPcloudPvminstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPostParams
NewPcloudPvminstancesVolumesPostParamsWithHTTPClient creates a new PcloudPvminstancesVolumesPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVolumesPostParamsWithTimeout ¶
func NewPcloudPvminstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPostParams
NewPcloudPvminstancesVolumesPostParamsWithTimeout creates a new PcloudPvminstancesVolumesPostParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVolumesPostParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) SetContext ¶
func (o *PcloudPvminstancesVolumesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesPostParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVolumesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesPostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) SetTimeout ¶
func (o *PcloudPvminstancesVolumesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) SetVolumeID ¶
func (o *PcloudPvminstancesVolumesPostParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) WithContext ¶
func (o *PcloudPvminstancesVolumesPostParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesPostParams
WithContext adds the context to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostParams) WithDefaults() *PcloudPvminstancesVolumesPostParams
WithDefaults hydrates default values in the pcloud pvminstances volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesPostParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVolumesPostParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPostParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesPostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) WithTimeout ¶
func (o *PcloudPvminstancesVolumesPostParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPostParams
WithTimeout adds the timeout to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) WithVolumeID ¶
func (o *PcloudPvminstancesVolumesPostParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesPostParams
WithVolumeID adds the volumeID to the pcloud pvminstances volumes post params
func (*PcloudPvminstancesVolumesPostParams) WriteToRequest ¶
func (o *PcloudPvminstancesVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVolumesPostReader ¶
type PcloudPvminstancesVolumesPostReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVolumesPostReader is a Reader for the PcloudPvminstancesVolumesPost structure.
func (*PcloudPvminstancesVolumesPostReader) ReadResponse ¶
func (o *PcloudPvminstancesVolumesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVolumesPostUnauthorized ¶
type PcloudPvminstancesVolumesPostUnauthorized struct {
}PcloudPvminstancesVolumesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVolumesPostUnauthorized ¶
func NewPcloudPvminstancesVolumesPostUnauthorized() *PcloudPvminstancesVolumesPostUnauthorized
NewPcloudPvminstancesVolumesPostUnauthorized creates a PcloudPvminstancesVolumesPostUnauthorized with default headers values
func (*PcloudPvminstancesVolumesPostUnauthorized) Error ¶
func (o *PcloudPvminstancesVolumesPostUnauthorized) Error() string
func (*PcloudPvminstancesVolumesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPostUnauthorized) GetPayload() *models.Error
type PcloudPvminstancesVolumesPutBadRequest ¶
PcloudPvminstancesVolumesPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVolumesPutBadRequest ¶
func NewPcloudPvminstancesVolumesPutBadRequest() *PcloudPvminstancesVolumesPutBadRequest
NewPcloudPvminstancesVolumesPutBadRequest creates a PcloudPvminstancesVolumesPutBadRequest with default headers values
func (*PcloudPvminstancesVolumesPutBadRequest) Error ¶
func (o *PcloudPvminstancesVolumesPutBadRequest) Error() string
func (*PcloudPvminstancesVolumesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPutBadRequest) GetPayload() *models.Error
type PcloudPvminstancesVolumesPutInternalServerError ¶
PcloudPvminstancesVolumesPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVolumesPutInternalServerError ¶
func NewPcloudPvminstancesVolumesPutInternalServerError() *PcloudPvminstancesVolumesPutInternalServerError
NewPcloudPvminstancesVolumesPutInternalServerError creates a PcloudPvminstancesVolumesPutInternalServerError with default headers values
func (*PcloudPvminstancesVolumesPutInternalServerError) Error ¶
func (o *PcloudPvminstancesVolumesPutInternalServerError) Error() string
func (*PcloudPvminstancesVolumesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPutInternalServerError) GetPayload() *models.Error
type PcloudPvminstancesVolumesPutOK ¶
PcloudPvminstancesVolumesPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesVolumesPutOK ¶
func NewPcloudPvminstancesVolumesPutOK() *PcloudPvminstancesVolumesPutOK
NewPcloudPvminstancesVolumesPutOK creates a PcloudPvminstancesVolumesPutOK with default headers values
func (*PcloudPvminstancesVolumesPutOK) Error ¶
func (o *PcloudPvminstancesVolumesPutOK) Error() string
func (*PcloudPvminstancesVolumesPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPutOK) GetPayload() models.Object
type PcloudPvminstancesVolumesPutParams ¶
type PcloudPvminstancesVolumesPutParams struct { /* Body. Parameters to update a volume attached to a PVMInstance */ Body *models.PVMInstanceVolumeUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVolumesPutParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances volumes put operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVolumesPutParams ¶
func NewPcloudPvminstancesVolumesPutParams() *PcloudPvminstancesVolumesPutParams
NewPcloudPvminstancesVolumesPutParams creates a new PcloudPvminstancesVolumesPutParams 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 NewPcloudPvminstancesVolumesPutParamsWithContext ¶
func NewPcloudPvminstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPutParams
NewPcloudPvminstancesVolumesPutParamsWithContext creates a new PcloudPvminstancesVolumesPutParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVolumesPutParamsWithHTTPClient ¶
func NewPcloudPvminstancesVolumesPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPutParams
NewPcloudPvminstancesVolumesPutParamsWithHTTPClient creates a new PcloudPvminstancesVolumesPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVolumesPutParamsWithTimeout ¶
func NewPcloudPvminstancesVolumesPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPutParams
NewPcloudPvminstancesVolumesPutParamsWithTimeout creates a new PcloudPvminstancesVolumesPutParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVolumesPutParams) SetBody ¶
func (o *PcloudPvminstancesVolumesPutParams) SetBody(body *models.PVMInstanceVolumeUpdate)
SetBody adds the body to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) SetContext ¶
func (o *PcloudPvminstancesVolumesPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances volumes put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesPutParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVolumesPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesPutParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) SetTimeout ¶
func (o *PcloudPvminstancesVolumesPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) SetVolumeID ¶
func (o *PcloudPvminstancesVolumesPutParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WithBody ¶
func (o *PcloudPvminstancesVolumesPutParams) WithBody(body *models.PVMInstanceVolumeUpdate) *PcloudPvminstancesVolumesPutParams
WithBody adds the body to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WithContext ¶
func (o *PcloudPvminstancesVolumesPutParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesPutParams
WithContext adds the context to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesPutParams) WithDefaults() *PcloudPvminstancesVolumesPutParams
WithDefaults hydrates default values in the pcloud pvminstances volumes put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesPutParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVolumesPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPutParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesPutParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WithTimeout ¶
func (o *PcloudPvminstancesVolumesPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPutParams
WithTimeout adds the timeout to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WithVolumeID ¶
func (o *PcloudPvminstancesVolumesPutParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesPutParams
WithVolumeID adds the volumeID to the pcloud pvminstances volumes put params
func (*PcloudPvminstancesVolumesPutParams) WriteToRequest ¶
func (o *PcloudPvminstancesVolumesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVolumesPutReader ¶
type PcloudPvminstancesVolumesPutReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVolumesPutReader is a Reader for the PcloudPvminstancesVolumesPut structure.
func (*PcloudPvminstancesVolumesPutReader) ReadResponse ¶
func (o *PcloudPvminstancesVolumesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVolumesSetbootPutBadRequest ¶
PcloudPvminstancesVolumesSetbootPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudPvminstancesVolumesSetbootPutBadRequest ¶
func NewPcloudPvminstancesVolumesSetbootPutBadRequest() *PcloudPvminstancesVolumesSetbootPutBadRequest
NewPcloudPvminstancesVolumesSetbootPutBadRequest creates a PcloudPvminstancesVolumesSetbootPutBadRequest with default headers values
func (*PcloudPvminstancesVolumesSetbootPutBadRequest) Error ¶
func (o *PcloudPvminstancesVolumesSetbootPutBadRequest) Error() string
func (*PcloudPvminstancesVolumesSetbootPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesSetbootPutBadRequest) GetPayload() *models.Error
type PcloudPvminstancesVolumesSetbootPutInternalServerError ¶
PcloudPvminstancesVolumesSetbootPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudPvminstancesVolumesSetbootPutInternalServerError ¶
func NewPcloudPvminstancesVolumesSetbootPutInternalServerError() *PcloudPvminstancesVolumesSetbootPutInternalServerError
NewPcloudPvminstancesVolumesSetbootPutInternalServerError creates a PcloudPvminstancesVolumesSetbootPutInternalServerError with default headers values
func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) Error ¶
func (o *PcloudPvminstancesVolumesSetbootPutInternalServerError) Error() string
func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesSetbootPutInternalServerError) GetPayload() *models.Error
type PcloudPvminstancesVolumesSetbootPutNotFound ¶
PcloudPvminstancesVolumesSetbootPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudPvminstancesVolumesSetbootPutNotFound ¶
func NewPcloudPvminstancesVolumesSetbootPutNotFound() *PcloudPvminstancesVolumesSetbootPutNotFound
NewPcloudPvminstancesVolumesSetbootPutNotFound creates a PcloudPvminstancesVolumesSetbootPutNotFound with default headers values
func (*PcloudPvminstancesVolumesSetbootPutNotFound) Error ¶
func (o *PcloudPvminstancesVolumesSetbootPutNotFound) Error() string
func (*PcloudPvminstancesVolumesSetbootPutNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesSetbootPutNotFound) GetPayload() *models.Error
type PcloudPvminstancesVolumesSetbootPutOK ¶
PcloudPvminstancesVolumesSetbootPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudPvminstancesVolumesSetbootPutOK ¶
func NewPcloudPvminstancesVolumesSetbootPutOK() *PcloudPvminstancesVolumesSetbootPutOK
NewPcloudPvminstancesVolumesSetbootPutOK creates a PcloudPvminstancesVolumesSetbootPutOK with default headers values
func (*PcloudPvminstancesVolumesSetbootPutOK) Error ¶
func (o *PcloudPvminstancesVolumesSetbootPutOK) Error() string
func (*PcloudPvminstancesVolumesSetbootPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesSetbootPutOK) GetPayload() models.Object
type PcloudPvminstancesVolumesSetbootPutParams ¶
type PcloudPvminstancesVolumesSetbootPutParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* PvmInstanceID. PCloud PVM Instance ID */ PvmInstanceID string /* VolumeID. Volume ID */ VolumeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudPvminstancesVolumesSetbootPutParams contains all the parameters to send to the API endpoint
for the pcloud pvminstances volumes setboot put operation. Typically these are written to a http.Request.
func NewPcloudPvminstancesVolumesSetbootPutParams ¶
func NewPcloudPvminstancesVolumesSetbootPutParams() *PcloudPvminstancesVolumesSetbootPutParams
NewPcloudPvminstancesVolumesSetbootPutParams creates a new PcloudPvminstancesVolumesSetbootPutParams 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 NewPcloudPvminstancesVolumesSetbootPutParamsWithContext ¶
func NewPcloudPvminstancesVolumesSetbootPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesSetbootPutParams
NewPcloudPvminstancesVolumesSetbootPutParamsWithContext creates a new PcloudPvminstancesVolumesSetbootPutParams object with the ability to set a context for a request.
func NewPcloudPvminstancesVolumesSetbootPutParamsWithHTTPClient ¶
func NewPcloudPvminstancesVolumesSetbootPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesSetbootPutParams
NewPcloudPvminstancesVolumesSetbootPutParamsWithHTTPClient creates a new PcloudPvminstancesVolumesSetbootPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudPvminstancesVolumesSetbootPutParamsWithTimeout ¶
func NewPcloudPvminstancesVolumesSetbootPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesSetbootPutParams
NewPcloudPvminstancesVolumesSetbootPutParamsWithTimeout creates a new PcloudPvminstancesVolumesSetbootPutParams object with the ability to set a timeout on a request.
func (*PcloudPvminstancesVolumesSetbootPutParams) SetCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) SetContext ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesSetbootPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud pvminstances volumes setboot put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesSetbootPutParams) SetHTTPClient ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) SetPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) SetTimeout ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) SetVolumeID ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) SetVolumeID(volumeID string)
SetVolumeID adds the volumeId to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) WithCloudInstanceID ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesVolumesSetbootPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) WithContext ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) WithContext(ctx context.Context) *PcloudPvminstancesVolumesSetbootPutParams
WithContext adds the context to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesSetbootPutParams) WithDefaults() *PcloudPvminstancesVolumesSetbootPutParams
WithDefaults hydrates default values in the pcloud pvminstances volumes setboot put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudPvminstancesVolumesSetbootPutParams) WithHTTPClient ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) WithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesSetbootPutParams
WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) WithPvmInstanceID ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesVolumesSetbootPutParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) WithTimeout ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) WithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesSetbootPutParams
WithTimeout adds the timeout to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) WithVolumeID ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) WithVolumeID(volumeID string) *PcloudPvminstancesVolumesSetbootPutParams
WithVolumeID adds the volumeID to the pcloud pvminstances volumes setboot put params
func (*PcloudPvminstancesVolumesSetbootPutParams) WriteToRequest ¶
func (o *PcloudPvminstancesVolumesSetbootPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudPvminstancesVolumesSetbootPutReader ¶
type PcloudPvminstancesVolumesSetbootPutReader struct {
// contains filtered or unexported fields
}
PcloudPvminstancesVolumesSetbootPutReader is a Reader for the PcloudPvminstancesVolumesSetbootPut structure.
func (*PcloudPvminstancesVolumesSetbootPutReader) ReadResponse ¶
func (o *PcloudPvminstancesVolumesSetbootPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudPvminstancesVolumesSetbootPutUnauthorized ¶ added in v1.0.59
type PcloudPvminstancesVolumesSetbootPutUnauthorized struct {
}PcloudPvminstancesVolumesSetbootPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudPvminstancesVolumesSetbootPutUnauthorized ¶ added in v1.0.59
func NewPcloudPvminstancesVolumesSetbootPutUnauthorized() *PcloudPvminstancesVolumesSetbootPutUnauthorized
NewPcloudPvminstancesVolumesSetbootPutUnauthorized creates a PcloudPvminstancesVolumesSetbootPutUnauthorized with default headers values
func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudPvminstancesVolumesSetbootPutUnauthorized) Error() string
func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudPvminstancesVolumesSetbootPutUnauthorized) GetPayload() *models.Error
type PcloudV2PvminstancesVolumesPostAccepted ¶ added in v1.0.56
type PcloudV2PvminstancesVolumesPostAccepted struct {
Payload *models.VolumesAttachmentResponse
}
PcloudV2PvminstancesVolumesPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudV2PvminstancesVolumesPostAccepted ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostAccepted() *PcloudV2PvminstancesVolumesPostAccepted
NewPcloudV2PvminstancesVolumesPostAccepted creates a PcloudV2PvminstancesVolumesPostAccepted with default headers values
func (*PcloudV2PvminstancesVolumesPostAccepted) Error ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostAccepted) Error() string
func (*PcloudV2PvminstancesVolumesPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesVolumesPostAccepted) GetPayload() *models.VolumesAttachmentResponse
type PcloudV2PvminstancesVolumesPostBadRequest ¶ added in v1.0.56
PcloudV2PvminstancesVolumesPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2PvminstancesVolumesPostBadRequest ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostBadRequest() *PcloudV2PvminstancesVolumesPostBadRequest
NewPcloudV2PvminstancesVolumesPostBadRequest creates a PcloudV2PvminstancesVolumesPostBadRequest with default headers values
func (*PcloudV2PvminstancesVolumesPostBadRequest) Error ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostBadRequest) Error() string
func (*PcloudV2PvminstancesVolumesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesVolumesPostBadRequest) GetPayload() *models.Error
type PcloudV2PvminstancesVolumesPostInternalServerError ¶ added in v1.0.56
PcloudV2PvminstancesVolumesPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2PvminstancesVolumesPostInternalServerError ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostInternalServerError() *PcloudV2PvminstancesVolumesPostInternalServerError
NewPcloudV2PvminstancesVolumesPostInternalServerError creates a PcloudV2PvminstancesVolumesPostInternalServerError with default headers values
func (*PcloudV2PvminstancesVolumesPostInternalServerError) Error ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostInternalServerError) Error() string
func (*PcloudV2PvminstancesVolumesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesVolumesPostInternalServerError) GetPayload() *models.Error
type PcloudV2PvminstancesVolumesPostNotFound ¶ added in v1.0.56
PcloudV2PvminstancesVolumesPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2PvminstancesVolumesPostNotFound ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostNotFound() *PcloudV2PvminstancesVolumesPostNotFound
NewPcloudV2PvminstancesVolumesPostNotFound creates a PcloudV2PvminstancesVolumesPostNotFound with default headers values
func (*PcloudV2PvminstancesVolumesPostNotFound) Error ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostNotFound) Error() string
func (*PcloudV2PvminstancesVolumesPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesVolumesPostNotFound) GetPayload() *models.Error
type PcloudV2PvminstancesVolumesPostParams ¶ added in v1.0.56
type PcloudV2PvminstancesVolumesPostParams struct { /* Body. Parameter to attach volumes to a PVMInstance */ Body *models.VolumesAttach /* 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 }
PcloudV2PvminstancesVolumesPostParams contains all the parameters to send to the API endpoint
for the pcloud v2 pvminstances volumes post operation. Typically these are written to a http.Request.
func NewPcloudV2PvminstancesVolumesPostParams ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostParams() *PcloudV2PvminstancesVolumesPostParams
NewPcloudV2PvminstancesVolumesPostParams creates a new PcloudV2PvminstancesVolumesPostParams 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 NewPcloudV2PvminstancesVolumesPostParamsWithContext ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudV2PvminstancesVolumesPostParams
NewPcloudV2PvminstancesVolumesPostParamsWithContext creates a new PcloudV2PvminstancesVolumesPostParams object with the ability to set a context for a request.
func NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesVolumesPostParams
NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient creates a new PcloudV2PvminstancesVolumesPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2PvminstancesVolumesPostParamsWithTimeout ¶ added in v1.0.56
func NewPcloudV2PvminstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesVolumesPostParams
NewPcloudV2PvminstancesVolumesPostParamsWithTimeout creates a new PcloudV2PvminstancesVolumesPostParams object with the ability to set a timeout on a request.
func (*PcloudV2PvminstancesVolumesPostParams) SetBody ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) SetBody(body *models.VolumesAttach)
SetBody adds the body to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) SetCloudInstanceID ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) SetContext ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2PvminstancesVolumesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 pvminstances volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesVolumesPostParams) SetHTTPClient ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) SetPvmInstanceID ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) SetPvmInstanceID(pvmInstanceID string)
SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) SetTimeout ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) WithBody ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) WithBody(body *models.VolumesAttach) *PcloudV2PvminstancesVolumesPostParams
WithBody adds the body to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) WithCloudInstanceID ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesVolumesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) WithContext ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) WithContext(ctx context.Context) *PcloudV2PvminstancesVolumesPostParams
WithContext adds the context to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2PvminstancesVolumesPostParams) WithDefaults() *PcloudV2PvminstancesVolumesPostParams
WithDefaults hydrates default values in the pcloud v2 pvminstances volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2PvminstancesVolumesPostParams) WithHTTPClient ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) WithHTTPClient(client *http.Client) *PcloudV2PvminstancesVolumesPostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) WithPvmInstanceID ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudV2PvminstancesVolumesPostParams
WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) WithTimeout ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) WithTimeout(timeout time.Duration) *PcloudV2PvminstancesVolumesPostParams
WithTimeout adds the timeout to the pcloud v2 pvminstances volumes post params
func (*PcloudV2PvminstancesVolumesPostParams) WriteToRequest ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2PvminstancesVolumesPostReader ¶ added in v1.0.56
type PcloudV2PvminstancesVolumesPostReader struct {
// contains filtered or unexported fields
}
PcloudV2PvminstancesVolumesPostReader is a Reader for the PcloudV2PvminstancesVolumesPost structure.
func (*PcloudV2PvminstancesVolumesPostReader) ReadResponse ¶ added in v1.0.56
func (o *PcloudV2PvminstancesVolumesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2PvminstancesVolumesPostUnauthorized ¶ added in v1.0.59
type PcloudV2PvminstancesVolumesPostUnauthorized struct {
}PcloudV2PvminstancesVolumesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2PvminstancesVolumesPostUnauthorized ¶ added in v1.0.59
func NewPcloudV2PvminstancesVolumesPostUnauthorized() *PcloudV2PvminstancesVolumesPostUnauthorized
NewPcloudV2PvminstancesVolumesPostUnauthorized creates a PcloudV2PvminstancesVolumesPostUnauthorized with default headers values
func (*PcloudV2PvminstancesVolumesPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2PvminstancesVolumesPostUnauthorized) Error() string
func (*PcloudV2PvminstancesVolumesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2PvminstancesVolumesPostUnauthorized) GetPayload() *models.Error
type PcloudV2VolumesClonePostAccepted ¶ added in v1.0.46
type PcloudV2VolumesClonePostAccepted struct {
Payload *models.CloneTaskReference
}
PcloudV2VolumesClonePostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudV2VolumesClonePostAccepted ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostAccepted() *PcloudV2VolumesClonePostAccepted
NewPcloudV2VolumesClonePostAccepted creates a PcloudV2VolumesClonePostAccepted with default headers values
func (*PcloudV2VolumesClonePostAccepted) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostAccepted) Error() string
func (*PcloudV2VolumesClonePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonePostAccepted) GetPayload() *models.CloneTaskReference
type PcloudV2VolumesClonePostBadRequest ¶ added in v1.0.46
PcloudV2VolumesClonePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumesClonePostBadRequest ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostBadRequest() *PcloudV2VolumesClonePostBadRequest
NewPcloudV2VolumesClonePostBadRequest creates a PcloudV2VolumesClonePostBadRequest with default headers values
func (*PcloudV2VolumesClonePostBadRequest) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostBadRequest) Error() string
func (*PcloudV2VolumesClonePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonePostBadRequest) GetPayload() *models.Error
type PcloudV2VolumesClonePostInternalServerError ¶ added in v1.0.46
PcloudV2VolumesClonePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumesClonePostInternalServerError ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostInternalServerError() *PcloudV2VolumesClonePostInternalServerError
NewPcloudV2VolumesClonePostInternalServerError creates a PcloudV2VolumesClonePostInternalServerError with default headers values
func (*PcloudV2VolumesClonePostInternalServerError) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostInternalServerError) Error() string
func (*PcloudV2VolumesClonePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonePostInternalServerError) GetPayload() *models.Error
type PcloudV2VolumesClonePostNotFound ¶ added in v1.0.46
PcloudV2VolumesClonePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumesClonePostNotFound ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostNotFound() *PcloudV2VolumesClonePostNotFound
NewPcloudV2VolumesClonePostNotFound creates a PcloudV2VolumesClonePostNotFound with default headers values
func (*PcloudV2VolumesClonePostNotFound) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostNotFound) Error() string
func (*PcloudV2VolumesClonePostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonePostNotFound) GetPayload() *models.Error
type PcloudV2VolumesClonePostParams ¶ added in v1.0.46
type PcloudV2VolumesClonePostParams struct { /* Body. Parameters for the cloning of volumes */ Body *models.VolumesCloneAsyncRequest /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumesClonePostParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumes clone post operation. Typically these are written to a http.Request.
func NewPcloudV2VolumesClonePostParams ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostParams() *PcloudV2VolumesClonePostParams
NewPcloudV2VolumesClonePostParams creates a new PcloudV2VolumesClonePostParams 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 NewPcloudV2VolumesClonePostParamsWithContext ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesClonePostParams
NewPcloudV2VolumesClonePostParamsWithContext creates a new PcloudV2VolumesClonePostParams object with the ability to set a context for a request.
func NewPcloudV2VolumesClonePostParamsWithHTTPClient ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonePostParams
NewPcloudV2VolumesClonePostParamsWithHTTPClient creates a new PcloudV2VolumesClonePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumesClonePostParamsWithTimeout ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonePostParams
NewPcloudV2VolumesClonePostParamsWithTimeout creates a new PcloudV2VolumesClonePostParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumesClonePostParams) SetBody ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) SetBody(body *models.VolumesCloneAsyncRequest)
SetBody adds the body to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) SetCloudInstanceID ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) SetContext ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesClonePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumes clone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesClonePostParams) SetHTTPClient ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) SetTimeout ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) WithBody ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) WithBody(body *models.VolumesCloneAsyncRequest) *PcloudV2VolumesClonePostParams
WithBody adds the body to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) WithCloudInstanceID ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesClonePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) WithContext ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) WithContext(ctx context.Context) *PcloudV2VolumesClonePostParams
WithContext adds the context to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesClonePostParams) WithDefaults() *PcloudV2VolumesClonePostParams
WithDefaults hydrates default values in the pcloud v2 volumes clone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesClonePostParams) WithHTTPClient ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesClonePostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) WithTimeout ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesClonePostParams
WithTimeout adds the timeout to the pcloud v2 volumes clone post params
func (*PcloudV2VolumesClonePostParams) WriteToRequest ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumesClonePostReader ¶ added in v1.0.46
type PcloudV2VolumesClonePostReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumesClonePostReader is a Reader for the PcloudV2VolumesClonePost structure.
func (*PcloudV2VolumesClonePostReader) ReadResponse ¶ added in v1.0.46
func (o *PcloudV2VolumesClonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumesClonePostUnauthorized ¶ added in v1.0.59
type PcloudV2VolumesClonePostUnauthorized struct {
}PcloudV2VolumesClonePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumesClonePostUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumesClonePostUnauthorized() *PcloudV2VolumesClonePostUnauthorized
NewPcloudV2VolumesClonePostUnauthorized creates a PcloudV2VolumesClonePostUnauthorized with default headers values
func (*PcloudV2VolumesClonePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumesClonePostUnauthorized) Error() string
func (*PcloudV2VolumesClonePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonePostUnauthorized) GetPayload() *models.Error
type PcloudV2VolumesClonetasksGetBadRequest ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumesClonetasksGetBadRequest ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetBadRequest() *PcloudV2VolumesClonetasksGetBadRequest
NewPcloudV2VolumesClonetasksGetBadRequest creates a PcloudV2VolumesClonetasksGetBadRequest with default headers values
func (*PcloudV2VolumesClonetasksGetBadRequest) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetBadRequest) Error() string
func (*PcloudV2VolumesClonetasksGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetBadRequest) GetPayload() *models.Error
type PcloudV2VolumesClonetasksGetConflict ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudV2VolumesClonetasksGetConflict ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetConflict() *PcloudV2VolumesClonetasksGetConflict
NewPcloudV2VolumesClonetasksGetConflict creates a PcloudV2VolumesClonetasksGetConflict with default headers values
func (*PcloudV2VolumesClonetasksGetConflict) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetConflict) Error() string
func (*PcloudV2VolumesClonetasksGetConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetConflict) GetPayload() *models.Error
type PcloudV2VolumesClonetasksGetInternalServerError ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumesClonetasksGetInternalServerError ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetInternalServerError() *PcloudV2VolumesClonetasksGetInternalServerError
NewPcloudV2VolumesClonetasksGetInternalServerError creates a PcloudV2VolumesClonetasksGetInternalServerError with default headers values
func (*PcloudV2VolumesClonetasksGetInternalServerError) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetInternalServerError) Error() string
func (*PcloudV2VolumesClonetasksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetInternalServerError) GetPayload() *models.Error
type PcloudV2VolumesClonetasksGetNotFound ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumesClonetasksGetNotFound ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetNotFound() *PcloudV2VolumesClonetasksGetNotFound
NewPcloudV2VolumesClonetasksGetNotFound creates a PcloudV2VolumesClonetasksGetNotFound with default headers values
func (*PcloudV2VolumesClonetasksGetNotFound) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetNotFound) Error() string
func (*PcloudV2VolumesClonetasksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetNotFound) GetPayload() *models.Error
type PcloudV2VolumesClonetasksGetOK ¶ added in v1.0.46
type PcloudV2VolumesClonetasksGetOK struct {
Payload *models.CloneTaskStatus
}
PcloudV2VolumesClonetasksGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2VolumesClonetasksGetOK ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetOK() *PcloudV2VolumesClonetasksGetOK
NewPcloudV2VolumesClonetasksGetOK creates a PcloudV2VolumesClonetasksGetOK with default headers values
func (*PcloudV2VolumesClonetasksGetOK) Error ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetOK) Error() string
func (*PcloudV2VolumesClonetasksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetOK) GetPayload() *models.CloneTaskStatus
type PcloudV2VolumesClonetasksGetParams ¶ added in v1.0.46
type PcloudV2VolumesClonetasksGetParams struct { /* CloneTaskID. Volumes Clone Task ID */ CloneTaskID string /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumesClonetasksGetParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumes clonetasks get operation. Typically these are written to a http.Request.
func NewPcloudV2VolumesClonetasksGetParams ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetParams() *PcloudV2VolumesClonetasksGetParams
NewPcloudV2VolumesClonetasksGetParams creates a new PcloudV2VolumesClonetasksGetParams 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 NewPcloudV2VolumesClonetasksGetParamsWithContext ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetParamsWithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams
NewPcloudV2VolumesClonetasksGetParamsWithContext creates a new PcloudV2VolumesClonetasksGetParams object with the ability to set a context for a request.
func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonetasksGetParams
NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient creates a new PcloudV2VolumesClonetasksGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumesClonetasksGetParamsWithTimeout ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonetasksGetParams
NewPcloudV2VolumesClonetasksGetParamsWithTimeout creates a new PcloudV2VolumesClonetasksGetParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumesClonetasksGetParams) SetCloneTaskID ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) SetCloneTaskID(cloneTaskID string)
SetCloneTaskID adds the cloneTaskId to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) SetContext ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumes clonetasks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesClonetasksGetParams) SetHTTPClient ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) SetTimeout ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) WithCloneTaskID ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) WithCloneTaskID(cloneTaskID string) *PcloudV2VolumesClonetasksGetParams
WithCloneTaskID adds the cloneTaskID to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) WithCloudInstanceID ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesClonetasksGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) WithContext ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) WithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams
WithContext adds the context to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetParams) WithDefaults() *PcloudV2VolumesClonetasksGetParams
WithDefaults hydrates default values in the pcloud v2 volumes clonetasks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesClonetasksGetParams) WithHTTPClient ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesClonetasksGetParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) WithTimeout ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesClonetasksGetParams
WithTimeout adds the timeout to the pcloud v2 volumes clonetasks get params
func (*PcloudV2VolumesClonetasksGetParams) WriteToRequest ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumesClonetasksGetReader ¶ added in v1.0.46
type PcloudV2VolumesClonetasksGetReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumesClonetasksGetReader is a Reader for the PcloudV2VolumesClonetasksGet structure.
func (*PcloudV2VolumesClonetasksGetReader) ReadResponse ¶ added in v1.0.46
func (o *PcloudV2VolumesClonetasksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumesClonetasksGetUnauthorized ¶ added in v1.0.59
type PcloudV2VolumesClonetasksGetUnauthorized struct {
}PcloudV2VolumesClonetasksGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumesClonetasksGetUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumesClonetasksGetUnauthorized() *PcloudV2VolumesClonetasksGetUnauthorized
NewPcloudV2VolumesClonetasksGetUnauthorized creates a PcloudV2VolumesClonetasksGetUnauthorized with default headers values
func (*PcloudV2VolumesClonetasksGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumesClonetasksGetUnauthorized) Error() string
func (*PcloudV2VolumesClonetasksGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesClonetasksGetUnauthorized) GetPayload() *models.Error
type PcloudV2VolumesPostBadRequest ¶ added in v1.0.38
PcloudV2VolumesPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumesPostBadRequest ¶ added in v1.0.38
func NewPcloudV2VolumesPostBadRequest() *PcloudV2VolumesPostBadRequest
NewPcloudV2VolumesPostBadRequest creates a PcloudV2VolumesPostBadRequest with default headers values
func (*PcloudV2VolumesPostBadRequest) Error ¶ added in v1.0.38
func (o *PcloudV2VolumesPostBadRequest) Error() string
func (*PcloudV2VolumesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesPostBadRequest) GetPayload() *models.Error
type PcloudV2VolumesPostConflict ¶ added in v1.0.38
PcloudV2VolumesPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudV2VolumesPostConflict ¶ added in v1.0.38
func NewPcloudV2VolumesPostConflict() *PcloudV2VolumesPostConflict
NewPcloudV2VolumesPostConflict creates a PcloudV2VolumesPostConflict with default headers values
func (*PcloudV2VolumesPostConflict) Error ¶ added in v1.0.38
func (o *PcloudV2VolumesPostConflict) Error() string
func (*PcloudV2VolumesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesPostConflict) GetPayload() *models.Error
type PcloudV2VolumesPostCreated ¶ added in v1.0.38
PcloudV2VolumesPostCreated describes a response with status code 201, with default header values.
Created
func NewPcloudV2VolumesPostCreated ¶ added in v1.0.38
func NewPcloudV2VolumesPostCreated() *PcloudV2VolumesPostCreated
NewPcloudV2VolumesPostCreated creates a PcloudV2VolumesPostCreated with default headers values
func (*PcloudV2VolumesPostCreated) Error ¶ added in v1.0.38
func (o *PcloudV2VolumesPostCreated) Error() string
func (*PcloudV2VolumesPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesPostCreated) GetPayload() *models.Volumes
type PcloudV2VolumesPostInternalServerError ¶ added in v1.0.38
PcloudV2VolumesPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumesPostInternalServerError ¶ added in v1.0.38
func NewPcloudV2VolumesPostInternalServerError() *PcloudV2VolumesPostInternalServerError
NewPcloudV2VolumesPostInternalServerError creates a PcloudV2VolumesPostInternalServerError with default headers values
func (*PcloudV2VolumesPostInternalServerError) Error ¶ added in v1.0.38
func (o *PcloudV2VolumesPostInternalServerError) Error() string
func (*PcloudV2VolumesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesPostInternalServerError) GetPayload() *models.Error
type PcloudV2VolumesPostParams ¶ added in v1.0.38
type PcloudV2VolumesPostParams struct { /* Body. Parameters for creating multiple volumes */ Body *models.MultiVolumesCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumesPostParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumes post operation. Typically these are written to a http.Request.
func NewPcloudV2VolumesPostParams ¶ added in v1.0.38
func NewPcloudV2VolumesPostParams() *PcloudV2VolumesPostParams
NewPcloudV2VolumesPostParams creates a new PcloudV2VolumesPostParams 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 NewPcloudV2VolumesPostParamsWithContext ¶ added in v1.0.38
func NewPcloudV2VolumesPostParamsWithContext(ctx context.Context) *PcloudV2VolumesPostParams
NewPcloudV2VolumesPostParamsWithContext creates a new PcloudV2VolumesPostParams object with the ability to set a context for a request.
func NewPcloudV2VolumesPostParamsWithHTTPClient ¶ added in v1.0.38
func NewPcloudV2VolumesPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams
NewPcloudV2VolumesPostParamsWithHTTPClient creates a new PcloudV2VolumesPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumesPostParamsWithTimeout ¶ added in v1.0.38
func NewPcloudV2VolumesPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesPostParams
NewPcloudV2VolumesPostParamsWithTimeout creates a new PcloudV2VolumesPostParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumesPostParams) SetBody ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) SetBody(body *models.MultiVolumesCreate)
SetBody adds the body to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) SetCloudInstanceID ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) SetContext ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesPostParams) SetHTTPClient ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) SetTimeout ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) WithBody ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) WithBody(body *models.MultiVolumesCreate) *PcloudV2VolumesPostParams
WithBody adds the body to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) WithCloudInstanceID ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) WithContext ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) WithContext(ctx context.Context) *PcloudV2VolumesPostParams
WithContext adds the context to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesPostParams) WithDefaults() *PcloudV2VolumesPostParams
WithDefaults hydrates default values in the pcloud v2 volumes post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesPostParams) WithHTTPClient ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) WithTimeout ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesPostParams
WithTimeout adds the timeout to the pcloud v2 volumes post params
func (*PcloudV2VolumesPostParams) WriteToRequest ¶ added in v1.0.38
func (o *PcloudV2VolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumesPostReader ¶ added in v1.0.38
type PcloudV2VolumesPostReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumesPostReader is a Reader for the PcloudV2VolumesPost structure.
func (*PcloudV2VolumesPostReader) ReadResponse ¶ added in v1.0.38
func (o *PcloudV2VolumesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumesPostUnauthorized ¶ added in v1.0.59
type PcloudV2VolumesPostUnauthorized struct {
}PcloudV2VolumesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumesPostUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumesPostUnauthorized() *PcloudV2VolumesPostUnauthorized
NewPcloudV2VolumesPostUnauthorized creates a PcloudV2VolumesPostUnauthorized with default headers values
func (*PcloudV2VolumesPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumesPostUnauthorized) Error() string
func (*PcloudV2VolumesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesPostUnauthorized) GetPayload() *models.Error
type PcloudV2VolumesPostUnprocessableEntity ¶ added in v1.0.56
PcloudV2VolumesPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudV2VolumesPostUnprocessableEntity ¶ added in v1.0.56
func NewPcloudV2VolumesPostUnprocessableEntity() *PcloudV2VolumesPostUnprocessableEntity
NewPcloudV2VolumesPostUnprocessableEntity creates a PcloudV2VolumesPostUnprocessableEntity with default headers values
func (*PcloudV2VolumesPostUnprocessableEntity) Error ¶ added in v1.0.56
func (o *PcloudV2VolumesPostUnprocessableEntity) Error() string
func (*PcloudV2VolumesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesPostUnprocessableEntity) GetPayload() *models.Error
type PcloudV2VolumescloneCancelPostAccepted ¶ added in v1.0.48
type PcloudV2VolumescloneCancelPostAccepted struct {
Payload *models.VolumesClone
}
PcloudV2VolumescloneCancelPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudV2VolumescloneCancelPostAccepted ¶ added in v1.0.48
func NewPcloudV2VolumescloneCancelPostAccepted() *PcloudV2VolumescloneCancelPostAccepted
NewPcloudV2VolumescloneCancelPostAccepted creates a PcloudV2VolumescloneCancelPostAccepted with default headers values
func (*PcloudV2VolumescloneCancelPostAccepted) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostAccepted) Error() string
func (*PcloudV2VolumescloneCancelPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneCancelPostAccepted) GetPayload() *models.VolumesClone
type PcloudV2VolumescloneCancelPostInternalServerError ¶ added in v1.0.48
PcloudV2VolumescloneCancelPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumescloneCancelPostInternalServerError ¶ added in v1.0.48
func NewPcloudV2VolumescloneCancelPostInternalServerError() *PcloudV2VolumescloneCancelPostInternalServerError
NewPcloudV2VolumescloneCancelPostInternalServerError creates a PcloudV2VolumescloneCancelPostInternalServerError with default headers values
func (*PcloudV2VolumescloneCancelPostInternalServerError) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostInternalServerError) Error() string
func (*PcloudV2VolumescloneCancelPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneCancelPostInternalServerError) GetPayload() *models.Error
type PcloudV2VolumescloneCancelPostNotFound ¶ added in v1.0.48
PcloudV2VolumescloneCancelPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumescloneCancelPostNotFound ¶ added in v1.0.48
func NewPcloudV2VolumescloneCancelPostNotFound() *PcloudV2VolumescloneCancelPostNotFound
NewPcloudV2VolumescloneCancelPostNotFound creates a PcloudV2VolumescloneCancelPostNotFound with default headers values
func (*PcloudV2VolumescloneCancelPostNotFound) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostNotFound) Error() string
func (*PcloudV2VolumescloneCancelPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneCancelPostNotFound) GetPayload() *models.Error
type PcloudV2VolumescloneCancelPostParams ¶ added in v1.0.48
type PcloudV2VolumescloneCancelPostParams struct { /* Body. Parameters for cancelling a volumes-clone request */ Body *models.VolumesCloneCancel /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumesCloneID. Volumes Clone ID */ VolumesCloneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumescloneCancelPostParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumesclone cancel post operation. Typically these are written to a http.Request.
func NewPcloudV2VolumescloneCancelPostParams ¶ added in v1.0.48
func NewPcloudV2VolumescloneCancelPostParams() *PcloudV2VolumescloneCancelPostParams
NewPcloudV2VolumescloneCancelPostParams creates a new PcloudV2VolumescloneCancelPostParams 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 NewPcloudV2VolumescloneCancelPostParamsWithContext ¶ added in v1.0.48
func NewPcloudV2VolumescloneCancelPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneCancelPostParams
NewPcloudV2VolumescloneCancelPostParamsWithContext creates a new PcloudV2VolumescloneCancelPostParams object with the ability to set a context for a request.
func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient ¶ added in v1.0.48
func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneCancelPostParams
NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient creates a new PcloudV2VolumescloneCancelPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumescloneCancelPostParamsWithTimeout ¶ added in v1.0.48
func NewPcloudV2VolumescloneCancelPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneCancelPostParams
NewPcloudV2VolumescloneCancelPostParamsWithTimeout creates a new PcloudV2VolumescloneCancelPostParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumescloneCancelPostParams) SetBody ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) SetBody(body *models.VolumesCloneCancel)
SetBody adds the body to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) SetContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneCancelPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumesclone cancel post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneCancelPostParams) SetHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) SetTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID(volumesCloneID string)
SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) WithBody ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) WithBody(body *models.VolumesCloneCancel) *PcloudV2VolumescloneCancelPostParams
WithBody adds the body to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneCancelPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) WithContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) WithContext(ctx context.Context) *PcloudV2VolumescloneCancelPostParams
WithContext adds the context to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneCancelPostParams) WithDefaults() *PcloudV2VolumescloneCancelPostParams
WithDefaults hydrates default values in the pcloud v2 volumesclone cancel post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneCancelPostParams) WithHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneCancelPostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) WithTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneCancelPostParams
WithTimeout adds the timeout to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) WithVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneCancelPostParams
WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone cancel post params
func (*PcloudV2VolumescloneCancelPostParams) WriteToRequest ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumescloneCancelPostReader ¶ added in v1.0.48
type PcloudV2VolumescloneCancelPostReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumescloneCancelPostReader is a Reader for the PcloudV2VolumescloneCancelPost structure.
func (*PcloudV2VolumescloneCancelPostReader) ReadResponse ¶ added in v1.0.48
func (o *PcloudV2VolumescloneCancelPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumescloneCancelPostUnauthorized ¶ added in v1.0.59
type PcloudV2VolumescloneCancelPostUnauthorized struct {
}PcloudV2VolumescloneCancelPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumescloneCancelPostUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumescloneCancelPostUnauthorized() *PcloudV2VolumescloneCancelPostUnauthorized
NewPcloudV2VolumescloneCancelPostUnauthorized creates a PcloudV2VolumescloneCancelPostUnauthorized with default headers values
func (*PcloudV2VolumescloneCancelPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumescloneCancelPostUnauthorized) Error() string
func (*PcloudV2VolumescloneCancelPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneCancelPostUnauthorized) GetPayload() *models.Error
type PcloudV2VolumescloneDeleteBadRequest ¶ added in v1.0.48
PcloudV2VolumescloneDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumescloneDeleteBadRequest ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteBadRequest() *PcloudV2VolumescloneDeleteBadRequest
NewPcloudV2VolumescloneDeleteBadRequest creates a PcloudV2VolumescloneDeleteBadRequest with default headers values
func (*PcloudV2VolumescloneDeleteBadRequest) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteBadRequest) Error() string
func (*PcloudV2VolumescloneDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneDeleteBadRequest) GetPayload() *models.Error
type PcloudV2VolumescloneDeleteInternalServerError ¶ added in v1.0.48
PcloudV2VolumescloneDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumescloneDeleteInternalServerError ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteInternalServerError() *PcloudV2VolumescloneDeleteInternalServerError
NewPcloudV2VolumescloneDeleteInternalServerError creates a PcloudV2VolumescloneDeleteInternalServerError with default headers values
func (*PcloudV2VolumescloneDeleteInternalServerError) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteInternalServerError) Error() string
func (*PcloudV2VolumescloneDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneDeleteInternalServerError) GetPayload() *models.Error
type PcloudV2VolumescloneDeleteNotFound ¶ added in v1.0.48
PcloudV2VolumescloneDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumescloneDeleteNotFound ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteNotFound() *PcloudV2VolumescloneDeleteNotFound
NewPcloudV2VolumescloneDeleteNotFound creates a PcloudV2VolumescloneDeleteNotFound with default headers values
func (*PcloudV2VolumescloneDeleteNotFound) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteNotFound) Error() string
func (*PcloudV2VolumescloneDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneDeleteNotFound) GetPayload() *models.Error
type PcloudV2VolumescloneDeleteOK ¶ added in v1.0.48
PcloudV2VolumescloneDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2VolumescloneDeleteOK ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteOK() *PcloudV2VolumescloneDeleteOK
NewPcloudV2VolumescloneDeleteOK creates a PcloudV2VolumescloneDeleteOK with default headers values
func (*PcloudV2VolumescloneDeleteOK) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteOK) Error() string
func (*PcloudV2VolumescloneDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneDeleteOK) GetPayload() models.Object
type PcloudV2VolumescloneDeleteParams ¶ added in v1.0.48
type PcloudV2VolumescloneDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumesCloneID. Volumes Clone ID */ VolumesCloneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumescloneDeleteParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumesclone delete operation. Typically these are written to a http.Request.
func NewPcloudV2VolumescloneDeleteParams ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteParams() *PcloudV2VolumescloneDeleteParams
NewPcloudV2VolumescloneDeleteParams creates a new PcloudV2VolumescloneDeleteParams 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 NewPcloudV2VolumescloneDeleteParamsWithContext ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteParamsWithContext(ctx context.Context) *PcloudV2VolumescloneDeleteParams
NewPcloudV2VolumescloneDeleteParamsWithContext creates a new PcloudV2VolumescloneDeleteParams object with the ability to set a context for a request.
func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneDeleteParams
NewPcloudV2VolumescloneDeleteParamsWithHTTPClient creates a new PcloudV2VolumescloneDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumescloneDeleteParamsWithTimeout ¶ added in v1.0.48
func NewPcloudV2VolumescloneDeleteParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneDeleteParams
NewPcloudV2VolumescloneDeleteParamsWithTimeout creates a new PcloudV2VolumescloneDeleteParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumescloneDeleteParams) SetCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) SetContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumesclone delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneDeleteParams) SetHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) SetTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) SetVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) SetVolumesCloneID(volumesCloneID string)
SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) WithCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) WithContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) WithContext(ctx context.Context) *PcloudV2VolumescloneDeleteParams
WithContext adds the context to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneDeleteParams) WithDefaults() *PcloudV2VolumescloneDeleteParams
WithDefaults hydrates default values in the pcloud v2 volumesclone delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneDeleteParams) WithHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) WithTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneDeleteParams
WithTimeout adds the timeout to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) WithVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneDeleteParams
WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone delete params
func (*PcloudV2VolumescloneDeleteParams) WriteToRequest ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumescloneDeleteReader ¶ added in v1.0.48
type PcloudV2VolumescloneDeleteReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumescloneDeleteReader is a Reader for the PcloudV2VolumescloneDelete structure.
func (*PcloudV2VolumescloneDeleteReader) ReadResponse ¶ added in v1.0.48
func (o *PcloudV2VolumescloneDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumescloneDeleteUnauthorized ¶ added in v1.0.59
type PcloudV2VolumescloneDeleteUnauthorized struct {
}PcloudV2VolumescloneDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumescloneDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumescloneDeleteUnauthorized() *PcloudV2VolumescloneDeleteUnauthorized
NewPcloudV2VolumescloneDeleteUnauthorized creates a PcloudV2VolumescloneDeleteUnauthorized with default headers values
func (*PcloudV2VolumescloneDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumescloneDeleteUnauthorized) Error() string
func (*PcloudV2VolumescloneDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneDeleteUnauthorized) GetPayload() *models.Error
type PcloudV2VolumescloneExecutePostAccepted ¶ added in v1.0.48
type PcloudV2VolumescloneExecutePostAccepted struct {
Payload *models.VolumesClone
}
PcloudV2VolumescloneExecutePostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudV2VolumescloneExecutePostAccepted ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostAccepted() *PcloudV2VolumescloneExecutePostAccepted
NewPcloudV2VolumescloneExecutePostAccepted creates a PcloudV2VolumescloneExecutePostAccepted with default headers values
func (*PcloudV2VolumescloneExecutePostAccepted) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostAccepted) Error() string
func (*PcloudV2VolumescloneExecutePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneExecutePostAccepted) GetPayload() *models.VolumesClone
type PcloudV2VolumescloneExecutePostBadRequest ¶ added in v1.0.48
PcloudV2VolumescloneExecutePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumescloneExecutePostBadRequest ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostBadRequest() *PcloudV2VolumescloneExecutePostBadRequest
NewPcloudV2VolumescloneExecutePostBadRequest creates a PcloudV2VolumescloneExecutePostBadRequest with default headers values
func (*PcloudV2VolumescloneExecutePostBadRequest) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostBadRequest) Error() string
func (*PcloudV2VolumescloneExecutePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneExecutePostBadRequest) GetPayload() *models.Error
type PcloudV2VolumescloneExecutePostInternalServerError ¶ added in v1.0.48
PcloudV2VolumescloneExecutePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumescloneExecutePostInternalServerError ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostInternalServerError() *PcloudV2VolumescloneExecutePostInternalServerError
NewPcloudV2VolumescloneExecutePostInternalServerError creates a PcloudV2VolumescloneExecutePostInternalServerError with default headers values
func (*PcloudV2VolumescloneExecutePostInternalServerError) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostInternalServerError) Error() string
func (*PcloudV2VolumescloneExecutePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneExecutePostInternalServerError) GetPayload() *models.Error
type PcloudV2VolumescloneExecutePostNotFound ¶ added in v1.0.48
PcloudV2VolumescloneExecutePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumescloneExecutePostNotFound ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostNotFound() *PcloudV2VolumescloneExecutePostNotFound
NewPcloudV2VolumescloneExecutePostNotFound creates a PcloudV2VolumescloneExecutePostNotFound with default headers values
func (*PcloudV2VolumescloneExecutePostNotFound) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostNotFound) Error() string
func (*PcloudV2VolumescloneExecutePostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneExecutePostNotFound) GetPayload() *models.Error
type PcloudV2VolumescloneExecutePostParams ¶ added in v1.0.48
type PcloudV2VolumescloneExecutePostParams struct { /* Body. Parameters for the cloning of volumes */ Body *models.VolumesCloneExecute /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumesCloneID. Volumes Clone ID */ VolumesCloneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumescloneExecutePostParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumesclone execute post operation. Typically these are written to a http.Request.
func NewPcloudV2VolumescloneExecutePostParams ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostParams() *PcloudV2VolumescloneExecutePostParams
NewPcloudV2VolumescloneExecutePostParams creates a new PcloudV2VolumescloneExecutePostParams 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 NewPcloudV2VolumescloneExecutePostParamsWithContext ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneExecutePostParams
NewPcloudV2VolumescloneExecutePostParamsWithContext creates a new PcloudV2VolumescloneExecutePostParams object with the ability to set a context for a request.
func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneExecutePostParams
NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient creates a new PcloudV2VolumescloneExecutePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumescloneExecutePostParamsWithTimeout ¶ added in v1.0.48
func NewPcloudV2VolumescloneExecutePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneExecutePostParams
NewPcloudV2VolumescloneExecutePostParamsWithTimeout creates a new PcloudV2VolumescloneExecutePostParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumescloneExecutePostParams) SetBody ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) SetBody(body *models.VolumesCloneExecute)
SetBody adds the body to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) SetContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneExecutePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumesclone execute post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneExecutePostParams) SetHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) SetTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID(volumesCloneID string)
SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) WithBody ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) WithBody(body *models.VolumesCloneExecute) *PcloudV2VolumescloneExecutePostParams
WithBody adds the body to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) WithCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneExecutePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) WithContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) WithContext(ctx context.Context) *PcloudV2VolumescloneExecutePostParams
WithContext adds the context to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneExecutePostParams) WithDefaults() *PcloudV2VolumescloneExecutePostParams
WithDefaults hydrates default values in the pcloud v2 volumesclone execute post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneExecutePostParams) WithHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneExecutePostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) WithTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneExecutePostParams
WithTimeout adds the timeout to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) WithVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneExecutePostParams
WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone execute post params
func (*PcloudV2VolumescloneExecutePostParams) WriteToRequest ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumescloneExecutePostReader ¶ added in v1.0.48
type PcloudV2VolumescloneExecutePostReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumescloneExecutePostReader is a Reader for the PcloudV2VolumescloneExecutePost structure.
func (*PcloudV2VolumescloneExecutePostReader) ReadResponse ¶ added in v1.0.48
func (o *PcloudV2VolumescloneExecutePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumescloneExecutePostUnauthorized ¶ added in v1.0.59
type PcloudV2VolumescloneExecutePostUnauthorized struct {
}PcloudV2VolumescloneExecutePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumescloneExecutePostUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumescloneExecutePostUnauthorized() *PcloudV2VolumescloneExecutePostUnauthorized
NewPcloudV2VolumescloneExecutePostUnauthorized creates a PcloudV2VolumescloneExecutePostUnauthorized with default headers values
func (*PcloudV2VolumescloneExecutePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumescloneExecutePostUnauthorized) Error() string
func (*PcloudV2VolumescloneExecutePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneExecutePostUnauthorized) GetPayload() *models.Error
type PcloudV2VolumescloneGetBadRequest ¶ added in v1.0.48
PcloudV2VolumescloneGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumescloneGetBadRequest ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetBadRequest() *PcloudV2VolumescloneGetBadRequest
NewPcloudV2VolumescloneGetBadRequest creates a PcloudV2VolumescloneGetBadRequest with default headers values
func (*PcloudV2VolumescloneGetBadRequest) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetBadRequest) Error() string
func (*PcloudV2VolumescloneGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetBadRequest) GetPayload() *models.Error
type PcloudV2VolumescloneGetInternalServerError ¶ added in v1.0.48
PcloudV2VolumescloneGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumescloneGetInternalServerError ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetInternalServerError() *PcloudV2VolumescloneGetInternalServerError
NewPcloudV2VolumescloneGetInternalServerError creates a PcloudV2VolumescloneGetInternalServerError with default headers values
func (*PcloudV2VolumescloneGetInternalServerError) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetInternalServerError) Error() string
func (*PcloudV2VolumescloneGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetInternalServerError) GetPayload() *models.Error
type PcloudV2VolumescloneGetNotFound ¶ added in v1.0.48
PcloudV2VolumescloneGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumescloneGetNotFound ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetNotFound() *PcloudV2VolumescloneGetNotFound
NewPcloudV2VolumescloneGetNotFound creates a PcloudV2VolumescloneGetNotFound with default headers values
func (*PcloudV2VolumescloneGetNotFound) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetNotFound) Error() string
func (*PcloudV2VolumescloneGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetNotFound) GetPayload() *models.Error
type PcloudV2VolumescloneGetOK ¶ added in v1.0.48
type PcloudV2VolumescloneGetOK struct {
Payload *models.VolumesCloneDetail
}
PcloudV2VolumescloneGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2VolumescloneGetOK ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetOK() *PcloudV2VolumescloneGetOK
NewPcloudV2VolumescloneGetOK creates a PcloudV2VolumescloneGetOK with default headers values
func (*PcloudV2VolumescloneGetOK) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetOK) Error() string
func (*PcloudV2VolumescloneGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetOK) GetPayload() *models.VolumesCloneDetail
type PcloudV2VolumescloneGetParams ¶ added in v1.0.48
type PcloudV2VolumescloneGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumesCloneID. Volumes Clone ID */ VolumesCloneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumescloneGetParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumesclone get operation. Typically these are written to a http.Request.
func NewPcloudV2VolumescloneGetParams ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetParams() *PcloudV2VolumescloneGetParams
NewPcloudV2VolumescloneGetParams creates a new PcloudV2VolumescloneGetParams 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 NewPcloudV2VolumescloneGetParamsWithContext ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetParams
NewPcloudV2VolumescloneGetParamsWithContext creates a new PcloudV2VolumescloneGetParams object with the ability to set a context for a request.
func NewPcloudV2VolumescloneGetParamsWithHTTPClient ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetParams
NewPcloudV2VolumescloneGetParamsWithHTTPClient creates a new PcloudV2VolumescloneGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumescloneGetParamsWithTimeout ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetParams
NewPcloudV2VolumescloneGetParamsWithTimeout creates a new PcloudV2VolumescloneGetParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumescloneGetParams) SetCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) SetContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumesclone get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneGetParams) SetHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) SetTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) SetVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) SetVolumesCloneID(volumesCloneID string)
SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) WithCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) WithContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) WithContext(ctx context.Context) *PcloudV2VolumescloneGetParams
WithContext adds the context to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetParams) WithDefaults() *PcloudV2VolumescloneGetParams
WithDefaults hydrates default values in the pcloud v2 volumesclone get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneGetParams) WithHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) WithTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetParams
WithTimeout adds the timeout to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) WithVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneGetParams
WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone get params
func (*PcloudV2VolumescloneGetParams) WriteToRequest ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumescloneGetReader ¶ added in v1.0.48
type PcloudV2VolumescloneGetReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumescloneGetReader is a Reader for the PcloudV2VolumescloneGet structure.
func (*PcloudV2VolumescloneGetReader) ReadResponse ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumescloneGetUnauthorized ¶ added in v1.0.59
type PcloudV2VolumescloneGetUnauthorized struct {
}PcloudV2VolumescloneGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumescloneGetUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumescloneGetUnauthorized() *PcloudV2VolumescloneGetUnauthorized
NewPcloudV2VolumescloneGetUnauthorized creates a PcloudV2VolumescloneGetUnauthorized with default headers values
func (*PcloudV2VolumescloneGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumescloneGetUnauthorized) Error() string
func (*PcloudV2VolumescloneGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetUnauthorized) GetPayload() *models.Error
type PcloudV2VolumescloneGetallBadRequest ¶ added in v1.0.48
PcloudV2VolumescloneGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumescloneGetallBadRequest ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallBadRequest() *PcloudV2VolumescloneGetallBadRequest
NewPcloudV2VolumescloneGetallBadRequest creates a PcloudV2VolumescloneGetallBadRequest with default headers values
func (*PcloudV2VolumescloneGetallBadRequest) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallBadRequest) Error() string
func (*PcloudV2VolumescloneGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetallBadRequest) GetPayload() *models.Error
type PcloudV2VolumescloneGetallInternalServerError ¶ added in v1.0.48
PcloudV2VolumescloneGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumescloneGetallInternalServerError ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallInternalServerError() *PcloudV2VolumescloneGetallInternalServerError
NewPcloudV2VolumescloneGetallInternalServerError creates a PcloudV2VolumescloneGetallInternalServerError with default headers values
func (*PcloudV2VolumescloneGetallInternalServerError) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallInternalServerError) Error() string
func (*PcloudV2VolumescloneGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetallInternalServerError) GetPayload() *models.Error
type PcloudV2VolumescloneGetallNotFound ¶ added in v1.0.48
PcloudV2VolumescloneGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumescloneGetallNotFound ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallNotFound() *PcloudV2VolumescloneGetallNotFound
NewPcloudV2VolumescloneGetallNotFound creates a PcloudV2VolumescloneGetallNotFound with default headers values
func (*PcloudV2VolumescloneGetallNotFound) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallNotFound) Error() string
func (*PcloudV2VolumescloneGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetallNotFound) GetPayload() *models.Error
type PcloudV2VolumescloneGetallOK ¶ added in v1.0.48
type PcloudV2VolumescloneGetallOK struct {
Payload *models.VolumesClones
}
PcloudV2VolumescloneGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2VolumescloneGetallOK ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallOK() *PcloudV2VolumescloneGetallOK
NewPcloudV2VolumescloneGetallOK creates a PcloudV2VolumescloneGetallOK with default headers values
func (*PcloudV2VolumescloneGetallOK) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallOK) Error() string
func (*PcloudV2VolumescloneGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetallOK) GetPayload() *models.VolumesClones
type PcloudV2VolumescloneGetallParams ¶ added in v1.0.48
type PcloudV2VolumescloneGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* Filter. volumes-clone filter to limit list items: prepare - includes status values (preparing, prepared) start - includes status values (starting, available) execute - includes status values (executing, available-rollback) cancel - includes status values (cancelling) completed - includes status values (completed) failed - includes status values (failed) cancelled - includes status values (cancelled) finalized - included status values (completed, failed, cancelled) */ Filter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumescloneGetallParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumesclone getall operation. Typically these are written to a http.Request.
func NewPcloudV2VolumescloneGetallParams ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallParams() *PcloudV2VolumescloneGetallParams
NewPcloudV2VolumescloneGetallParams creates a new PcloudV2VolumescloneGetallParams 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 NewPcloudV2VolumescloneGetallParamsWithContext ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetallParams
NewPcloudV2VolumescloneGetallParamsWithContext creates a new PcloudV2VolumescloneGetallParams object with the ability to set a context for a request.
func NewPcloudV2VolumescloneGetallParamsWithHTTPClient ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetallParams
NewPcloudV2VolumescloneGetallParamsWithHTTPClient creates a new PcloudV2VolumescloneGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumescloneGetallParamsWithTimeout ¶ added in v1.0.48
func NewPcloudV2VolumescloneGetallParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetallParams
NewPcloudV2VolumescloneGetallParamsWithTimeout creates a new PcloudV2VolumescloneGetallParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumescloneGetallParams) SetCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) SetContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumesclone getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneGetallParams) SetFilter ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) SetFilter(filter *string)
SetFilter adds the filter to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) SetHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) SetTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) WithCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) WithContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) WithContext(ctx context.Context) *PcloudV2VolumescloneGetallParams
WithContext adds the context to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetallParams) WithDefaults() *PcloudV2VolumescloneGetallParams
WithDefaults hydrates default values in the pcloud v2 volumesclone getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneGetallParams) WithFilter ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) WithFilter(filter *string) *PcloudV2VolumescloneGetallParams
WithFilter adds the filter to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) WithHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetallParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) WithTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetallParams
WithTimeout adds the timeout to the pcloud v2 volumesclone getall params
func (*PcloudV2VolumescloneGetallParams) WriteToRequest ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumescloneGetallReader ¶ added in v1.0.48
type PcloudV2VolumescloneGetallReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumescloneGetallReader is a Reader for the PcloudV2VolumescloneGetall structure.
func (*PcloudV2VolumescloneGetallReader) ReadResponse ¶ added in v1.0.48
func (o *PcloudV2VolumescloneGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumescloneGetallUnauthorized ¶ added in v1.0.59
type PcloudV2VolumescloneGetallUnauthorized struct {
}PcloudV2VolumescloneGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumescloneGetallUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumescloneGetallUnauthorized() *PcloudV2VolumescloneGetallUnauthorized
NewPcloudV2VolumescloneGetallUnauthorized creates a PcloudV2VolumescloneGetallUnauthorized with default headers values
func (*PcloudV2VolumescloneGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumescloneGetallUnauthorized) Error() string
func (*PcloudV2VolumescloneGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneGetallUnauthorized) GetPayload() *models.Error
type PcloudV2VolumesclonePostAccepted ¶ added in v1.0.48
type PcloudV2VolumesclonePostAccepted struct {
Payload *models.VolumesClone
}
PcloudV2VolumesclonePostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudV2VolumesclonePostAccepted ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostAccepted() *PcloudV2VolumesclonePostAccepted
NewPcloudV2VolumesclonePostAccepted creates a PcloudV2VolumesclonePostAccepted with default headers values
func (*PcloudV2VolumesclonePostAccepted) Error ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostAccepted) Error() string
func (*PcloudV2VolumesclonePostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostAccepted) GetPayload() *models.VolumesClone
type PcloudV2VolumesclonePostBadRequest ¶ added in v1.0.48
PcloudV2VolumesclonePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2VolumesclonePostBadRequest ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostBadRequest() *PcloudV2VolumesclonePostBadRequest
NewPcloudV2VolumesclonePostBadRequest creates a PcloudV2VolumesclonePostBadRequest with default headers values
func (*PcloudV2VolumesclonePostBadRequest) Error ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostBadRequest) Error() string
func (*PcloudV2VolumesclonePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostBadRequest) GetPayload() *models.Error
type PcloudV2VolumesclonePostForbidden ¶ added in v1.0.48
PcloudV2VolumesclonePostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudV2VolumesclonePostForbidden ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostForbidden() *PcloudV2VolumesclonePostForbidden
NewPcloudV2VolumesclonePostForbidden creates a PcloudV2VolumesclonePostForbidden with default headers values
func (*PcloudV2VolumesclonePostForbidden) Error ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostForbidden) Error() string
func (*PcloudV2VolumesclonePostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostForbidden) GetPayload() *models.Error
type PcloudV2VolumesclonePostInternalServerError ¶ added in v1.0.48
PcloudV2VolumesclonePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumesclonePostInternalServerError ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostInternalServerError() *PcloudV2VolumesclonePostInternalServerError
NewPcloudV2VolumesclonePostInternalServerError creates a PcloudV2VolumesclonePostInternalServerError with default headers values
func (*PcloudV2VolumesclonePostInternalServerError) Error ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostInternalServerError) Error() string
func (*PcloudV2VolumesclonePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostInternalServerError) GetPayload() *models.Error
type PcloudV2VolumesclonePostNotFound ¶ added in v1.0.48
PcloudV2VolumesclonePostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumesclonePostNotFound ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostNotFound() *PcloudV2VolumesclonePostNotFound
NewPcloudV2VolumesclonePostNotFound creates a PcloudV2VolumesclonePostNotFound with default headers values
func (*PcloudV2VolumesclonePostNotFound) Error ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostNotFound) Error() string
func (*PcloudV2VolumesclonePostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostNotFound) GetPayload() *models.Error
type PcloudV2VolumesclonePostParams ¶ added in v1.0.48
type PcloudV2VolumesclonePostParams struct { /* Body. Parameters for preparing a set of volumes to be cloned */ Body *models.VolumesCloneCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumesclonePostParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumesclone post operation. Typically these are written to a http.Request.
func NewPcloudV2VolumesclonePostParams ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostParams() *PcloudV2VolumesclonePostParams
NewPcloudV2VolumesclonePostParams creates a new PcloudV2VolumesclonePostParams 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 NewPcloudV2VolumesclonePostParamsWithContext ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesclonePostParams
NewPcloudV2VolumesclonePostParamsWithContext creates a new PcloudV2VolumesclonePostParams object with the ability to set a context for a request.
func NewPcloudV2VolumesclonePostParamsWithHTTPClient ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesclonePostParams
NewPcloudV2VolumesclonePostParamsWithHTTPClient creates a new PcloudV2VolumesclonePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumesclonePostParamsWithTimeout ¶ added in v1.0.48
func NewPcloudV2VolumesclonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesclonePostParams
NewPcloudV2VolumesclonePostParamsWithTimeout creates a new PcloudV2VolumesclonePostParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumesclonePostParams) SetBody ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) SetBody(body *models.VolumesCloneCreate)
SetBody adds the body to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) SetCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) SetContext ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumesclone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesclonePostParams) SetHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) SetTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) WithBody ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) WithBody(body *models.VolumesCloneCreate) *PcloudV2VolumesclonePostParams
WithBody adds the body to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) WithCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesclonePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) WithContext ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) WithContext(ctx context.Context) *PcloudV2VolumesclonePostParams
WithContext adds the context to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostParams) WithDefaults() *PcloudV2VolumesclonePostParams
WithDefaults hydrates default values in the pcloud v2 volumesclone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumesclonePostParams) WithHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesclonePostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) WithTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumesclonePostParams
WithTimeout adds the timeout to the pcloud v2 volumesclone post params
func (*PcloudV2VolumesclonePostParams) WriteToRequest ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumesclonePostReader ¶ added in v1.0.48
type PcloudV2VolumesclonePostReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumesclonePostReader is a Reader for the PcloudV2VolumesclonePost structure.
func (*PcloudV2VolumesclonePostReader) ReadResponse ¶ added in v1.0.48
func (o *PcloudV2VolumesclonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumesclonePostUnauthorized ¶ added in v1.0.59
type PcloudV2VolumesclonePostUnauthorized struct {
}PcloudV2VolumesclonePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumesclonePostUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumesclonePostUnauthorized() *PcloudV2VolumesclonePostUnauthorized
NewPcloudV2VolumesclonePostUnauthorized creates a PcloudV2VolumesclonePostUnauthorized with default headers values
func (*PcloudV2VolumesclonePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumesclonePostUnauthorized) Error() string
func (*PcloudV2VolumesclonePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumesclonePostUnauthorized) GetPayload() *models.Error
type PcloudV2VolumescloneStartPostInternalServerError ¶ added in v1.0.48
PcloudV2VolumescloneStartPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2VolumescloneStartPostInternalServerError ¶ added in v1.0.48
func NewPcloudV2VolumescloneStartPostInternalServerError() *PcloudV2VolumescloneStartPostInternalServerError
NewPcloudV2VolumescloneStartPostInternalServerError creates a PcloudV2VolumescloneStartPostInternalServerError with default headers values
func (*PcloudV2VolumescloneStartPostInternalServerError) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostInternalServerError) Error() string
func (*PcloudV2VolumescloneStartPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneStartPostInternalServerError) GetPayload() *models.Error
type PcloudV2VolumescloneStartPostNotFound ¶ added in v1.0.48
PcloudV2VolumescloneStartPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2VolumescloneStartPostNotFound ¶ added in v1.0.48
func NewPcloudV2VolumescloneStartPostNotFound() *PcloudV2VolumescloneStartPostNotFound
NewPcloudV2VolumescloneStartPostNotFound creates a PcloudV2VolumescloneStartPostNotFound with default headers values
func (*PcloudV2VolumescloneStartPostNotFound) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostNotFound) Error() string
func (*PcloudV2VolumescloneStartPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneStartPostNotFound) GetPayload() *models.Error
type PcloudV2VolumescloneStartPostOK ¶ added in v1.0.48
type PcloudV2VolumescloneStartPostOK struct {
Payload *models.VolumesClone
}
PcloudV2VolumescloneStartPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2VolumescloneStartPostOK ¶ added in v1.0.48
func NewPcloudV2VolumescloneStartPostOK() *PcloudV2VolumescloneStartPostOK
NewPcloudV2VolumescloneStartPostOK creates a PcloudV2VolumescloneStartPostOK with default headers values
func (*PcloudV2VolumescloneStartPostOK) Error ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostOK) Error() string
func (*PcloudV2VolumescloneStartPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneStartPostOK) GetPayload() *models.VolumesClone
type PcloudV2VolumescloneStartPostParams ¶ added in v1.0.48
type PcloudV2VolumescloneStartPostParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumesCloneID. Volumes Clone ID */ VolumesCloneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV2VolumescloneStartPostParams contains all the parameters to send to the API endpoint
for the pcloud v2 volumesclone start post operation. Typically these are written to a http.Request.
func NewPcloudV2VolumescloneStartPostParams ¶ added in v1.0.48
func NewPcloudV2VolumescloneStartPostParams() *PcloudV2VolumescloneStartPostParams
NewPcloudV2VolumescloneStartPostParams creates a new PcloudV2VolumescloneStartPostParams 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 NewPcloudV2VolumescloneStartPostParamsWithContext ¶ added in v1.0.48
func NewPcloudV2VolumescloneStartPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneStartPostParams
NewPcloudV2VolumescloneStartPostParamsWithContext creates a new PcloudV2VolumescloneStartPostParams object with the ability to set a context for a request.
func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient ¶ added in v1.0.48
func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneStartPostParams
NewPcloudV2VolumescloneStartPostParamsWithHTTPClient creates a new PcloudV2VolumescloneStartPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2VolumescloneStartPostParamsWithTimeout ¶ added in v1.0.48
func NewPcloudV2VolumescloneStartPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneStartPostParams
NewPcloudV2VolumescloneStartPostParamsWithTimeout creates a new PcloudV2VolumescloneStartPostParams object with the ability to set a timeout on a request.
func (*PcloudV2VolumescloneStartPostParams) SetCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) SetContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneStartPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 volumesclone start post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneStartPostParams) SetHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) SetTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) SetVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) SetVolumesCloneID(volumesCloneID string)
SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) WithCloudInstanceID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneStartPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) WithContext ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) WithContext(ctx context.Context) *PcloudV2VolumescloneStartPostParams
WithContext adds the context to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2VolumescloneStartPostParams) WithDefaults() *PcloudV2VolumescloneStartPostParams
WithDefaults hydrates default values in the pcloud v2 volumesclone start post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2VolumescloneStartPostParams) WithHTTPClient ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumescloneStartPostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) WithTimeout ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) WithTimeout(timeout time.Duration) *PcloudV2VolumescloneStartPostParams
WithTimeout adds the timeout to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) WithVolumesCloneID ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneStartPostParams
WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone start post params
func (*PcloudV2VolumescloneStartPostParams) WriteToRequest ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2VolumescloneStartPostReader ¶ added in v1.0.48
type PcloudV2VolumescloneStartPostReader struct {
// contains filtered or unexported fields
}
PcloudV2VolumescloneStartPostReader is a Reader for the PcloudV2VolumescloneStartPost structure.
func (*PcloudV2VolumescloneStartPostReader) ReadResponse ¶ added in v1.0.48
func (o *PcloudV2VolumescloneStartPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2VolumescloneStartPostUnauthorized ¶ added in v1.0.59
type PcloudV2VolumescloneStartPostUnauthorized struct {
}PcloudV2VolumescloneStartPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2VolumescloneStartPostUnauthorized ¶ added in v1.0.59
func NewPcloudV2VolumescloneStartPostUnauthorized() *PcloudV2VolumescloneStartPostUnauthorized
NewPcloudV2VolumescloneStartPostUnauthorized creates a PcloudV2VolumescloneStartPostUnauthorized with default headers values
func (*PcloudV2VolumescloneStartPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudV2VolumescloneStartPostUnauthorized) Error() string
func (*PcloudV2VolumescloneStartPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2VolumescloneStartPostUnauthorized) GetPayload() *models.Error
type PcloudVolumesClonePostBadRequest ¶ added in v1.0.6
PcloudVolumesClonePostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumesClonePostBadRequest ¶ added in v1.0.6
func NewPcloudVolumesClonePostBadRequest() *PcloudVolumesClonePostBadRequest
NewPcloudVolumesClonePostBadRequest creates a PcloudVolumesClonePostBadRequest with default headers values
func (*PcloudVolumesClonePostBadRequest) Error ¶ added in v1.0.6
func (o *PcloudVolumesClonePostBadRequest) Error() string
func (*PcloudVolumesClonePostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVolumesClonePostBadRequest) GetPayload() *models.Error
type PcloudVolumesClonePostConflict ¶ added in v1.0.6
PcloudVolumesClonePostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudVolumesClonePostConflict ¶ added in v1.0.6
func NewPcloudVolumesClonePostConflict() *PcloudVolumesClonePostConflict
NewPcloudVolumesClonePostConflict creates a PcloudVolumesClonePostConflict with default headers values
func (*PcloudVolumesClonePostConflict) Error ¶ added in v1.0.6
func (o *PcloudVolumesClonePostConflict) Error() string
func (*PcloudVolumesClonePostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudVolumesClonePostConflict) GetPayload() *models.Error
type PcloudVolumesClonePostInternalServerError ¶ added in v1.0.6
PcloudVolumesClonePostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumesClonePostInternalServerError ¶ added in v1.0.6
func NewPcloudVolumesClonePostInternalServerError() *PcloudVolumesClonePostInternalServerError
NewPcloudVolumesClonePostInternalServerError creates a PcloudVolumesClonePostInternalServerError with default headers values
func (*PcloudVolumesClonePostInternalServerError) Error ¶ added in v1.0.6
func (o *PcloudVolumesClonePostInternalServerError) Error() string
func (*PcloudVolumesClonePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVolumesClonePostInternalServerError) GetPayload() *models.Error
type PcloudVolumesClonePostOK ¶ added in v1.0.6
type PcloudVolumesClonePostOK struct {
Payload *models.VolumesCloneResponse
}
PcloudVolumesClonePostOK describes a response with status code 200, with default header values.
OK
func NewPcloudVolumesClonePostOK ¶ added in v1.0.6
func NewPcloudVolumesClonePostOK() *PcloudVolumesClonePostOK
NewPcloudVolumesClonePostOK creates a PcloudVolumesClonePostOK with default headers values
func (*PcloudVolumesClonePostOK) Error ¶ added in v1.0.6
func (o *PcloudVolumesClonePostOK) Error() string
func (*PcloudVolumesClonePostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVolumesClonePostOK) GetPayload() *models.VolumesCloneResponse
type PcloudVolumesClonePostParams ¶ added in v1.0.6
type PcloudVolumesClonePostParams struct { /* Body. Parameters for the cloning of volumes */ Body *models.VolumesCloneRequest /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumesClonePostParams contains all the parameters to send to the API endpoint
for the pcloud volumes clone post operation. Typically these are written to a http.Request.
func NewPcloudVolumesClonePostParams ¶ added in v1.0.6
func NewPcloudVolumesClonePostParams() *PcloudVolumesClonePostParams
NewPcloudVolumesClonePostParams creates a new PcloudVolumesClonePostParams 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 NewPcloudVolumesClonePostParamsWithContext ¶ added in v1.0.6
func NewPcloudVolumesClonePostParamsWithContext(ctx context.Context) *PcloudVolumesClonePostParams
NewPcloudVolumesClonePostParamsWithContext creates a new PcloudVolumesClonePostParams object with the ability to set a context for a request.
func NewPcloudVolumesClonePostParamsWithHTTPClient ¶ added in v1.0.6
func NewPcloudVolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudVolumesClonePostParams
NewPcloudVolumesClonePostParamsWithHTTPClient creates a new PcloudVolumesClonePostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumesClonePostParamsWithTimeout ¶ added in v1.0.6
func NewPcloudVolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudVolumesClonePostParams
NewPcloudVolumesClonePostParamsWithTimeout creates a new PcloudVolumesClonePostParams object with the ability to set a timeout on a request.
func (*PcloudVolumesClonePostParams) SetBody ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) SetBody(body *models.VolumesCloneRequest)
SetBody adds the body to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) SetCloudInstanceID ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) SetContext ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudVolumesClonePostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volumes clone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumesClonePostParams) SetHTTPClient ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) SetTimeout ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) WithBody ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) WithBody(body *models.VolumesCloneRequest) *PcloudVolumesClonePostParams
WithBody adds the body to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) WithCloudInstanceID ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumesClonePostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) WithContext ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) WithContext(ctx context.Context) *PcloudVolumesClonePostParams
WithContext adds the context to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVolumesClonePostParams) WithDefaults() *PcloudVolumesClonePostParams
WithDefaults hydrates default values in the pcloud volumes clone post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumesClonePostParams) WithHTTPClient ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) WithHTTPClient(client *http.Client) *PcloudVolumesClonePostParams
WithHTTPClient adds the HTTPClient to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) WithTimeout ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) WithTimeout(timeout time.Duration) *PcloudVolumesClonePostParams
WithTimeout adds the timeout to the pcloud volumes clone post params
func (*PcloudVolumesClonePostParams) WriteToRequest ¶ added in v1.0.6
func (o *PcloudVolumesClonePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumesClonePostReader ¶ added in v1.0.6
type PcloudVolumesClonePostReader struct {
// contains filtered or unexported fields
}
PcloudVolumesClonePostReader is a Reader for the PcloudVolumesClonePost structure.
func (*PcloudVolumesClonePostReader) ReadResponse ¶ added in v1.0.6
func (o *PcloudVolumesClonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumesClonePostUnauthorized ¶ added in v1.0.59
type PcloudVolumesClonePostUnauthorized struct {
}PcloudVolumesClonePostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumesClonePostUnauthorized ¶ added in v1.0.59
func NewPcloudVolumesClonePostUnauthorized() *PcloudVolumesClonePostUnauthorized
NewPcloudVolumesClonePostUnauthorized creates a PcloudVolumesClonePostUnauthorized with default headers values
func (*PcloudVolumesClonePostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudVolumesClonePostUnauthorized) Error() string
func (*PcloudVolumesClonePostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVolumesClonePostUnauthorized) GetPayload() *models.Error
Source Files ¶
- p_cloud_volumes_client.go
- pcloud_cloudinstances_volumes_action_post_parameters.go
- pcloud_cloudinstances_volumes_action_post_responses.go
- pcloud_cloudinstances_volumes_delete_parameters.go
- pcloud_cloudinstances_volumes_delete_responses.go
- pcloud_cloudinstances_volumes_get_parameters.go
- pcloud_cloudinstances_volumes_get_responses.go
- pcloud_cloudinstances_volumes_getall_parameters.go
- pcloud_cloudinstances_volumes_getall_responses.go
- pcloud_cloudinstances_volumes_post_parameters.go
- pcloud_cloudinstances_volumes_post_responses.go
- pcloud_cloudinstances_volumes_put_parameters.go
- pcloud_cloudinstances_volumes_put_responses.go
- pcloud_pvminstances_volumes_delete_parameters.go
- pcloud_pvminstances_volumes_delete_responses.go
- pcloud_pvminstances_volumes_get_parameters.go
- pcloud_pvminstances_volumes_get_responses.go
- pcloud_pvminstances_volumes_getall_parameters.go
- pcloud_pvminstances_volumes_getall_responses.go
- pcloud_pvminstances_volumes_post_parameters.go
- pcloud_pvminstances_volumes_post_responses.go
- pcloud_pvminstances_volumes_put_parameters.go
- pcloud_pvminstances_volumes_put_responses.go
- pcloud_pvminstances_volumes_setboot_put_parameters.go
- pcloud_pvminstances_volumes_setboot_put_responses.go
- pcloud_v2_pvminstances_volumes_post_parameters.go
- pcloud_v2_pvminstances_volumes_post_responses.go
- pcloud_v2_volumes_clone_post_parameters.go
- pcloud_v2_volumes_clone_post_responses.go
- pcloud_v2_volumes_clonetasks_get_parameters.go
- pcloud_v2_volumes_clonetasks_get_responses.go
- pcloud_v2_volumes_post_parameters.go
- pcloud_v2_volumes_post_responses.go
- pcloud_v2_volumesclone_cancel_post_parameters.go
- pcloud_v2_volumesclone_cancel_post_responses.go
- pcloud_v2_volumesclone_delete_parameters.go
- pcloud_v2_volumesclone_delete_responses.go
- pcloud_v2_volumesclone_execute_post_parameters.go
- pcloud_v2_volumesclone_execute_post_responses.go
- pcloud_v2_volumesclone_get_parameters.go
- pcloud_v2_volumesclone_get_responses.go
- pcloud_v2_volumesclone_getall_parameters.go
- pcloud_v2_volumesclone_getall_responses.go
- pcloud_v2_volumesclone_post_parameters.go
- pcloud_v2_volumesclone_post_responses.go
- pcloud_v2_volumesclone_start_post_parameters.go
- pcloud_v2_volumesclone_start_post_responses.go
- pcloud_volumes_clone_post_parameters.go
- pcloud_volumes_clone_post_responses.go