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) 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
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) 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.
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