Documentation ¶
Index ¶
- type Client
- 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) 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) PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudVolumesClonePostOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- 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) 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) 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 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) 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) 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 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) SetHTTPClient(client *http.Client)
- 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) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetallParams
- func (o *PcloudCloudinstancesVolumesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVolumesGetallReader
- 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) 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) 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 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) 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) 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 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) 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) 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) 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) 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 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) 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) 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 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) 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) 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) 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) 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) 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) 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 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) 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) 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 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) 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) 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 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) 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) 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 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) 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) 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
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud volumes API client.
func (*Client) PcloudCloudinstancesVolumesDelete ¶
func (a *Client) PcloudCloudinstancesVolumesDelete(params *PcloudCloudinstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesVolumesDeleteOK, error)
PcloudCloudinstancesVolumesDelete deletes a cloud instance volume
func (*Client) PcloudCloudinstancesVolumesGet ¶
func (a *Client) PcloudCloudinstancesVolumesGet(params *PcloudCloudinstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesVolumesGetOK, error)
PcloudCloudinstancesVolumesGet detaileds info of a volume
func (*Client) PcloudCloudinstancesVolumesGetall ¶
func (a *Client) PcloudCloudinstancesVolumesGetall(params *PcloudCloudinstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesVolumesGetallOK, error)
PcloudCloudinstancesVolumesGetall lists all volumes for this cloud instance
func (*Client) PcloudCloudinstancesVolumesPost ¶
func (a *Client) PcloudCloudinstancesVolumesPost(params *PcloudCloudinstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesVolumesPostAccepted, error)
PcloudCloudinstancesVolumesPost creates a new data volume
func (*Client) PcloudCloudinstancesVolumesPut ¶
func (a *Client) PcloudCloudinstancesVolumesPut(params *PcloudCloudinstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesVolumesPutOK, error)
PcloudCloudinstancesVolumesPut updates a cloud instance volume
func (*Client) PcloudPvminstancesVolumesDelete ¶
func (a *Client) PcloudPvminstancesVolumesDelete(params *PcloudPvminstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesVolumesDeleteAccepted, error)
PcloudPvminstancesVolumesDelete detaches a volume from a p VM instance
func (*Client) PcloudPvminstancesVolumesGet ¶
func (a *Client) PcloudPvminstancesVolumesGet(params *PcloudPvminstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*PcloudPvminstancesVolumesGetallOK, error)
PcloudPvminstancesVolumesGetall lists all volumes attached to a p VM instance
func (*Client) PcloudPvminstancesVolumesPost ¶
func (a *Client) PcloudPvminstancesVolumesPost(params *PcloudPvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesVolumesPostOK, error)
PcloudPvminstancesVolumesPost attaches a volume to a p VM instance
func (*Client) PcloudPvminstancesVolumesPut ¶
func (a *Client) PcloudPvminstancesVolumesPut(params *PcloudPvminstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesVolumesPutOK, error)
PcloudPvminstancesVolumesPut updates a volume attached to a p VM instance
func (*Client) PcloudPvminstancesVolumesSetbootPut ¶
func (a *Client) PcloudPvminstancesVolumesSetbootPut(params *PcloudPvminstancesVolumesSetbootPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesVolumesSetbootPutOK, error)
PcloudPvminstancesVolumesSetbootPut sets the p VM instance volume as the boot volume
func (*Client) PcloudV2VolumesClonePost ¶ added in v1.0.46
func (a *Client) PcloudV2VolumesClonePost(params *PcloudV2VolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*PcloudV2VolumesPostCreated, error)
PcloudV2VolumesPost creates multiple data volumes from a single definition
func (*Client) PcloudVolumesClonePost ¶ added in v1.0.4
func (a *Client) PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter) (*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 PcloudCloudinstancesVolumesDeleteBadRequest ¶
PcloudCloudinstancesVolumesDeleteBadRequest handles this case 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
type PcloudCloudinstancesVolumesDeleteGone ¶
PcloudCloudinstancesVolumesDeleteGone handles this case 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
type PcloudCloudinstancesVolumesDeleteInternalServerError ¶
PcloudCloudinstancesVolumesDeleteInternalServerError handles this case 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
type PcloudCloudinstancesVolumesDeleteOK ¶
PcloudCloudinstancesVolumesDeleteOK handles this case 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
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 values initialized.
func NewPcloudCloudinstancesVolumesDeleteParamsWithContext ¶
func NewPcloudCloudinstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesDeleteParams
NewPcloudCloudinstancesVolumesDeleteParamsWithContext creates a new PcloudCloudinstancesVolumesDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesGetBadRequest ¶
PcloudCloudinstancesVolumesGetBadRequest handles this case 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
type PcloudCloudinstancesVolumesGetInternalServerError ¶
PcloudCloudinstancesVolumesGetInternalServerError handles this case 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
type PcloudCloudinstancesVolumesGetNotFound ¶
PcloudCloudinstancesVolumesGetNotFound handles this case 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
type PcloudCloudinstancesVolumesGetOK ¶
PcloudCloudinstancesVolumesGetOK handles this case 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
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 values initialized.
func NewPcloudCloudinstancesVolumesGetParamsWithContext ¶
func NewPcloudCloudinstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetParams
NewPcloudCloudinstancesVolumesGetParamsWithContext creates a new PcloudCloudinstancesVolumesGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesGetallBadRequest ¶
PcloudCloudinstancesVolumesGetallBadRequest handles this case 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
type PcloudCloudinstancesVolumesGetallInternalServerError ¶
PcloudCloudinstancesVolumesGetallInternalServerError handles this case 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
type PcloudCloudinstancesVolumesGetallNotFound ¶
PcloudCloudinstancesVolumesGetallNotFound handles this case 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
type PcloudCloudinstancesVolumesGetallOK ¶
PcloudCloudinstancesVolumesGetallOK handles this case 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
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 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 values initialized.
func NewPcloudCloudinstancesVolumesGetallParamsWithContext ¶
func NewPcloudCloudinstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetallParams
NewPcloudCloudinstancesVolumesGetallParamsWithContext creates a new PcloudCloudinstancesVolumesGetallParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *PcloudCloudinstancesVolumesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithHTTPClient ¶
func (o *PcloudCloudinstancesVolumesGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetallParams
WithHTTPClient adds the HTTPClient 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 PcloudCloudinstancesVolumesPostAccepted ¶
PcloudCloudinstancesVolumesPostAccepted handles this case 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
type PcloudCloudinstancesVolumesPostBadRequest ¶
PcloudCloudinstancesVolumesPostBadRequest handles this case 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
type PcloudCloudinstancesVolumesPostConflict ¶
PcloudCloudinstancesVolumesPostConflict handles this case 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
type PcloudCloudinstancesVolumesPostInternalServerError ¶
PcloudCloudinstancesVolumesPostInternalServerError handles this case 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
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 values initialized.
func NewPcloudCloudinstancesVolumesPostParamsWithContext ¶
func NewPcloudCloudinstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPostParams
NewPcloudCloudinstancesVolumesPostParamsWithContext creates a new PcloudCloudinstancesVolumesPostParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesPostUnprocessableEntity ¶
PcloudCloudinstancesVolumesPostUnprocessableEntity handles this case 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
type PcloudCloudinstancesVolumesPutBadRequest ¶
PcloudCloudinstancesVolumesPutBadRequest handles this case 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
type PcloudCloudinstancesVolumesPutConflict ¶
PcloudCloudinstancesVolumesPutConflict handles this case 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
type PcloudCloudinstancesVolumesPutInternalServerError ¶
PcloudCloudinstancesVolumesPutInternalServerError handles this case 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
type PcloudCloudinstancesVolumesPutOK ¶
PcloudCloudinstancesVolumesPutOK handles this case 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
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 values initialized.
func NewPcloudCloudinstancesVolumesPutParamsWithContext ¶
func NewPcloudCloudinstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPutParams
NewPcloudCloudinstancesVolumesPutParamsWithContext creates a new PcloudCloudinstancesVolumesPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesPutUnprocessableEntity ¶
PcloudCloudinstancesVolumesPutUnprocessableEntity handles this case 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
type PcloudPvminstancesVolumesDeleteAccepted ¶
PcloudPvminstancesVolumesDeleteAccepted handles this case 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
type PcloudPvminstancesVolumesDeleteBadRequest ¶
PcloudPvminstancesVolumesDeleteBadRequest handles this case 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
type PcloudPvminstancesVolumesDeleteConflict ¶
PcloudPvminstancesVolumesDeleteConflict handles this case 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
type PcloudPvminstancesVolumesDeleteForbidden ¶
PcloudPvminstancesVolumesDeleteForbidden handles this case 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
type PcloudPvminstancesVolumesDeleteInternalServerError ¶
PcloudPvminstancesVolumesDeleteInternalServerError handles this case 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
type PcloudPvminstancesVolumesDeleteNotFound ¶
PcloudPvminstancesVolumesDeleteNotFound handles this case 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
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 values initialized.
func NewPcloudPvminstancesVolumesDeleteParamsWithContext ¶
func NewPcloudPvminstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesDeleteParams
NewPcloudPvminstancesVolumesDeleteParamsWithContext creates a new PcloudPvminstancesVolumesDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type PcloudPvminstancesVolumesGetBadRequest ¶
PcloudPvminstancesVolumesGetBadRequest handles this case 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
type PcloudPvminstancesVolumesGetInternalServerError ¶
PcloudPvminstancesVolumesGetInternalServerError handles this case 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
type PcloudPvminstancesVolumesGetNotFound ¶
PcloudPvminstancesVolumesGetNotFound handles this case 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
type PcloudPvminstancesVolumesGetOK ¶
PcloudPvminstancesVolumesGetOK handles this case 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
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 values initialized.
func NewPcloudPvminstancesVolumesGetParamsWithContext ¶
func NewPcloudPvminstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetParams
NewPcloudPvminstancesVolumesGetParamsWithContext creates a new PcloudPvminstancesVolumesGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudPvminstancesVolumesGetallBadRequest ¶
PcloudPvminstancesVolumesGetallBadRequest handles this case 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
type PcloudPvminstancesVolumesGetallInternalServerError ¶
PcloudPvminstancesVolumesGetallInternalServerError handles this case 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
type PcloudPvminstancesVolumesGetallNotFound ¶
PcloudPvminstancesVolumesGetallNotFound handles this case 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
type PcloudPvminstancesVolumesGetallOK ¶
PcloudPvminstancesVolumesGetallOK handles this case 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
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 values initialized.
func NewPcloudPvminstancesVolumesGetallParamsWithContext ¶
func NewPcloudPvminstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetallParams
NewPcloudPvminstancesVolumesGetallParamsWithContext creates a new PcloudPvminstancesVolumesGetallParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudPvminstancesVolumesPostBadRequest ¶
PcloudPvminstancesVolumesPostBadRequest handles this case 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
type PcloudPvminstancesVolumesPostConflict ¶
PcloudPvminstancesVolumesPostConflict handles this case 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
type PcloudPvminstancesVolumesPostForbidden ¶
PcloudPvminstancesVolumesPostForbidden handles this case 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
type PcloudPvminstancesVolumesPostInternalServerError ¶
PcloudPvminstancesVolumesPostInternalServerError handles this case 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
type PcloudPvminstancesVolumesPostNotFound ¶
PcloudPvminstancesVolumesPostNotFound handles this case 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
type PcloudPvminstancesVolumesPostOK ¶
PcloudPvminstancesVolumesPostOK handles this case 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
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 values initialized.
func NewPcloudPvminstancesVolumesPostParamsWithContext ¶
func NewPcloudPvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPostParams
NewPcloudPvminstancesVolumesPostParamsWithContext creates a new PcloudPvminstancesVolumesPostParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type PcloudPvminstancesVolumesPutBadRequest ¶
PcloudPvminstancesVolumesPutBadRequest handles this case 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
type PcloudPvminstancesVolumesPutInternalServerError ¶
PcloudPvminstancesVolumesPutInternalServerError handles this case 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
type PcloudPvminstancesVolumesPutOK ¶
PcloudPvminstancesVolumesPutOK handles this case 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
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 values initialized.
func NewPcloudPvminstancesVolumesPutParamsWithContext ¶
func NewPcloudPvminstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPutParams
NewPcloudPvminstancesVolumesPutParamsWithContext creates a new PcloudPvminstancesVolumesPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type PcloudPvminstancesVolumesSetbootPutInternalServerError ¶
PcloudPvminstancesVolumesSetbootPutInternalServerError handles this case 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
type PcloudPvminstancesVolumesSetbootPutNotFound ¶
PcloudPvminstancesVolumesSetbootPutNotFound handles this case 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
type PcloudPvminstancesVolumesSetbootPutOK ¶
PcloudPvminstancesVolumesSetbootPutOK handles this case 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
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 values initialized.
func NewPcloudPvminstancesVolumesSetbootPutParamsWithContext ¶
func NewPcloudPvminstancesVolumesSetbootPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesSetbootPutParams
NewPcloudPvminstancesVolumesSetbootPutParamsWithContext creates a new PcloudPvminstancesVolumesSetbootPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudV2VolumesClonePostAccepted ¶ added in v1.0.46
type PcloudV2VolumesClonePostAccepted struct {
Payload *models.CloneTaskReference
}
PcloudV2VolumesClonePostAccepted handles this case 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
type PcloudV2VolumesClonePostBadRequest ¶ added in v1.0.46
PcloudV2VolumesClonePostBadRequest handles this case 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
type PcloudV2VolumesClonePostInternalServerError ¶ added in v1.0.46
PcloudV2VolumesClonePostInternalServerError handles this case 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
type PcloudV2VolumesClonePostNotFound ¶ added in v1.0.46
PcloudV2VolumesClonePostNotFound handles this case 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
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 values initialized.
func NewPcloudV2VolumesClonePostParamsWithContext ¶ added in v1.0.46
func NewPcloudV2VolumesClonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesClonePostParams
NewPcloudV2VolumesClonePostParamsWithContext creates a new PcloudV2VolumesClonePostParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudV2VolumesClonetasksGetBadRequest ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetBadRequest handles this case 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
type PcloudV2VolumesClonetasksGetConflict ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetConflict handles this case 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
type PcloudV2VolumesClonetasksGetInternalServerError ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetInternalServerError handles this case 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
type PcloudV2VolumesClonetasksGetNotFound ¶ added in v1.0.46
PcloudV2VolumesClonetasksGetNotFound handles this case 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
type PcloudV2VolumesClonetasksGetOK ¶ added in v1.0.46
type PcloudV2VolumesClonetasksGetOK struct {
Payload *models.CloneTaskStatus
}
PcloudV2VolumesClonetasksGetOK handles this case 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
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 values initialized.
func NewPcloudV2VolumesClonetasksGetParamsWithContext ¶ added in v1.0.46
func NewPcloudV2VolumesClonetasksGetParamsWithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams
NewPcloudV2VolumesClonetasksGetParamsWithContext creates a new PcloudV2VolumesClonetasksGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudV2VolumesPostBadRequest ¶ added in v1.0.38
PcloudV2VolumesPostBadRequest handles this case 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
type PcloudV2VolumesPostConflict ¶ added in v1.0.38
PcloudV2VolumesPostConflict handles this case 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
type PcloudV2VolumesPostCreated ¶ added in v1.0.38
PcloudV2VolumesPostCreated handles this case 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
type PcloudV2VolumesPostInternalServerError ¶ added in v1.0.38
PcloudV2VolumesPostInternalServerError handles this case 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
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 values initialized.
func NewPcloudV2VolumesPostParamsWithContext ¶ added in v1.0.38
func NewPcloudV2VolumesPostParamsWithContext(ctx context.Context) *PcloudV2VolumesPostParams
NewPcloudV2VolumesPostParamsWithContext creates a new PcloudV2VolumesPostParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudVolumesClonePostBadRequest ¶ added in v1.0.6
PcloudVolumesClonePostBadRequest handles this case 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
type PcloudVolumesClonePostConflict ¶ added in v1.0.6
PcloudVolumesClonePostConflict handles this case 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
type PcloudVolumesClonePostInternalServerError ¶ added in v1.0.6
PcloudVolumesClonePostInternalServerError handles this case 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
type PcloudVolumesClonePostOK ¶ added in v1.0.6
type PcloudVolumesClonePostOK struct {
Payload *models.VolumesCloneResponse
}
PcloudVolumesClonePostOK handles this case 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
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 values initialized.
func NewPcloudVolumesClonePostParamsWithContext ¶ added in v1.0.6
func NewPcloudVolumesClonePostParamsWithContext(ctx context.Context) *PcloudVolumesClonePostParams
NewPcloudVolumesClonePostParamsWithContext creates a new PcloudVolumesClonePostParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.
Source Files ¶
- p_cloud_volumes_client.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_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_volumes_clone_post_parameters.go
- pcloud_volumes_clone_post_responses.go