Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesSnapshotsDelete(params *PcloudCloudinstancesSnapshotsDeleteParams, ...) (*PcloudCloudinstancesSnapshotsDeleteAccepted, error)
- func (a *Client) PcloudCloudinstancesSnapshotsGet(params *PcloudCloudinstancesSnapshotsGetParams, ...) (*PcloudCloudinstancesSnapshotsGetOK, error)
- func (a *Client) PcloudCloudinstancesSnapshotsGetall(params *PcloudCloudinstancesSnapshotsGetallParams, ...) (*PcloudCloudinstancesSnapshotsGetallOK, error)
- func (a *Client) PcloudCloudinstancesSnapshotsPut(params *PcloudCloudinstancesSnapshotsPutParams, ...) (*PcloudCloudinstancesSnapshotsPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudCloudinstancesSnapshotsDeleteAccepted
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) Code() int
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) Error() string
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) GetPayload() models.Object
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) String() string
- type PcloudCloudinstancesSnapshotsDeleteBadRequest
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) Code() int
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) Error() string
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) String() string
- type PcloudCloudinstancesSnapshotsDeleteForbidden
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) Code() int
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) Error() string
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) String() string
- type PcloudCloudinstancesSnapshotsDeleteGone
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) Code() int
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) Error() string
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteGone) String() string
- type PcloudCloudinstancesSnapshotsDeleteInternalServerError
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) Code() int
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error() string
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) String() string
- type PcloudCloudinstancesSnapshotsDeleteNotFound
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) Code() int
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) Error() string
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) String() string
- type PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParams() *PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID(snapshotID string)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithDefaults() *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsDeleteReader
- type PcloudCloudinstancesSnapshotsDeleteUnauthorized
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) Code() int
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) Error() string
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) String() string
- type PcloudCloudinstancesSnapshotsGetBadRequest
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetBadRequest) String() string
- type PcloudCloudinstancesSnapshotsGetForbidden
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetForbidden) String() string
- type PcloudCloudinstancesSnapshotsGetInternalServerError
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) String() string
- type PcloudCloudinstancesSnapshotsGetNotFound
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetNotFound) String() string
- type PcloudCloudinstancesSnapshotsGetOK
- func (o *PcloudCloudinstancesSnapshotsGetOK) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetOK) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetOK) GetPayload() *models.Snapshot
- func (o *PcloudCloudinstancesSnapshotsGetOK) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetOK) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetOK) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetOK) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetOK) String() string
- type PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParams() *PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID(snapshotID string)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsGetReader
- type PcloudCloudinstancesSnapshotsGetUnauthorized
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) String() string
- type PcloudCloudinstancesSnapshotsGetallBadRequest
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) String() string
- type PcloudCloudinstancesSnapshotsGetallForbidden
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetallForbidden) String() string
- type PcloudCloudinstancesSnapshotsGetallInternalServerError
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) String() string
- type PcloudCloudinstancesSnapshotsGetallOK
- func (o *PcloudCloudinstancesSnapshotsGetallOK) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetallOK) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetallOK) GetPayload() *models.Snapshots
- func (o *PcloudCloudinstancesSnapshotsGetallOK) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetallOK) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetallOK) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallOK) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetallOK) String() string
- type PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParams() *PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsGetallReader
- type PcloudCloudinstancesSnapshotsGetallUnauthorized
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) Code() int
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) Error() string
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) String() string
- type PcloudCloudinstancesSnapshotsPutBadRequest
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) Code() int
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) Error() string
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsPutBadRequest) String() string
- type PcloudCloudinstancesSnapshotsPutForbidden
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) Code() int
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) Error() string
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsPutForbidden) String() string
- type PcloudCloudinstancesSnapshotsPutInternalServerError
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) Code() int
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) Error() string
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) String() string
- type PcloudCloudinstancesSnapshotsPutNotFound
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) Code() int
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) Error() string
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsPutNotFound) String() string
- type PcloudCloudinstancesSnapshotsPutOK
- func (o *PcloudCloudinstancesSnapshotsPutOK) Code() int
- func (o *PcloudCloudinstancesSnapshotsPutOK) Error() string
- func (o *PcloudCloudinstancesSnapshotsPutOK) GetPayload() models.Object
- func (o *PcloudCloudinstancesSnapshotsPutOK) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsPutOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsPutOK) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsPutOK) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsPutOK) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsPutOK) String() string
- type PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParams() *PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetBody(body *models.SnapshotUpdate)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID(snapshotID string)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithBody(body *models.SnapshotUpdate) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithDefaults() *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsPutReader
- type PcloudCloudinstancesSnapshotsPutUnauthorized
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) Code() int
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) Error() string
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for p cloud snapshots API
func (*Client) PcloudCloudinstancesSnapshotsDelete ¶
func (a *Client) PcloudCloudinstancesSnapshotsDelete(params *PcloudCloudinstancesSnapshotsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsDeleteAccepted, error)
PcloudCloudinstancesSnapshotsDelete deletes a p VM instance snapshot of a cloud instance
func (*Client) PcloudCloudinstancesSnapshotsGet ¶
func (a *Client) PcloudCloudinstancesSnapshotsGet(params *PcloudCloudinstancesSnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetOK, error)
PcloudCloudinstancesSnapshotsGet gets the detail of a snapshot
func (*Client) PcloudCloudinstancesSnapshotsGetall ¶
func (a *Client) PcloudCloudinstancesSnapshotsGetall(params *PcloudCloudinstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetallOK, error)
PcloudCloudinstancesSnapshotsGetall lists all p VM instance snapshots for this cloud instance
func (*Client) PcloudCloudinstancesSnapshotsPut ¶
func (a *Client) PcloudCloudinstancesSnapshotsPut(params *PcloudCloudinstancesSnapshotsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsPutOK, error)
PcloudCloudinstancesSnapshotsPut updates a p VM instance snapshot
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudCloudinstancesSnapshotsDelete(params *PcloudCloudinstancesSnapshotsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsDeleteAccepted, error) PcloudCloudinstancesSnapshotsGet(params *PcloudCloudinstancesSnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetOK, error) PcloudCloudinstancesSnapshotsGetall(params *PcloudCloudinstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetallOK, error) PcloudCloudinstancesSnapshotsPut(params *PcloudCloudinstancesSnapshotsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsPutOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new p cloud snapshots API client.
type PcloudCloudinstancesSnapshotsDeleteAccepted ¶
PcloudCloudinstancesSnapshotsDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudCloudinstancesSnapshotsDeleteAccepted ¶
func NewPcloudCloudinstancesSnapshotsDeleteAccepted() *PcloudCloudinstancesSnapshotsDeleteAccepted
NewPcloudCloudinstancesSnapshotsDeleteAccepted creates a PcloudCloudinstancesSnapshotsDeleteAccepted with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) Code() int
Code gets the status code for the pcloud cloudinstances snapshots delete accepted response
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) GetPayload() models.Object
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots delete accepted response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots delete accepted response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots delete accepted response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots delete accepted response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots delete accepted response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) String() string
type PcloudCloudinstancesSnapshotsDeleteBadRequest ¶
PcloudCloudinstancesSnapshotsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsDeleteBadRequest ¶
func NewPcloudCloudinstancesSnapshotsDeleteBadRequest() *PcloudCloudinstancesSnapshotsDeleteBadRequest
NewPcloudCloudinstancesSnapshotsDeleteBadRequest creates a PcloudCloudinstancesSnapshotsDeleteBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances snapshots delete bad request response
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots delete bad request response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots delete bad request response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots delete bad request response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots delete bad request response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots delete bad request response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) String() string
type PcloudCloudinstancesSnapshotsDeleteForbidden ¶ added in v1.2.2
PcloudCloudinstancesSnapshotsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesSnapshotsDeleteForbidden ¶ added in v1.2.2
func NewPcloudCloudinstancesSnapshotsDeleteForbidden() *PcloudCloudinstancesSnapshotsDeleteForbidden
NewPcloudCloudinstancesSnapshotsDeleteForbidden creates a PcloudCloudinstancesSnapshotsDeleteForbidden with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) Code() int
Code gets the status code for the pcloud cloudinstances snapshots delete forbidden response
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) Error ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots delete forbidden response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots delete forbidden response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots delete forbidden response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots delete forbidden response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots delete forbidden response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) String() string
type PcloudCloudinstancesSnapshotsDeleteGone ¶
PcloudCloudinstancesSnapshotsDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudCloudinstancesSnapshotsDeleteGone ¶
func NewPcloudCloudinstancesSnapshotsDeleteGone() *PcloudCloudinstancesSnapshotsDeleteGone
NewPcloudCloudinstancesSnapshotsDeleteGone creates a PcloudCloudinstancesSnapshotsDeleteGone with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteGone) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsDeleteGone) Code() int
Code gets the status code for the pcloud cloudinstances snapshots delete gone response
func (*PcloudCloudinstancesSnapshotsDeleteGone) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteGone) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteGone) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsDeleteGone) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots delete gone response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsDeleteGone) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots delete gone response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsDeleteGone) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots delete gone response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsDeleteGone) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots delete gone response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsDeleteGone) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots delete gone response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsDeleteGone) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteGone) String() string
type PcloudCloudinstancesSnapshotsDeleteInternalServerError ¶
PcloudCloudinstancesSnapshotsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsDeleteInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsDeleteInternalServerError() *PcloudCloudinstancesSnapshotsDeleteInternalServerError
NewPcloudCloudinstancesSnapshotsDeleteInternalServerError creates a PcloudCloudinstancesSnapshotsDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances snapshots delete internal server error response
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots delete internal server error response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots delete internal server error response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots delete internal server error response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots delete internal server error response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots delete internal server error response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) String() string
type PcloudCloudinstancesSnapshotsDeleteNotFound ¶ added in v1.0.56
PcloudCloudinstancesSnapshotsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesSnapshotsDeleteNotFound ¶ added in v1.0.56
func NewPcloudCloudinstancesSnapshotsDeleteNotFound() *PcloudCloudinstancesSnapshotsDeleteNotFound
NewPcloudCloudinstancesSnapshotsDeleteNotFound creates a PcloudCloudinstancesSnapshotsDeleteNotFound with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) Code() int
Code gets the status code for the pcloud cloudinstances snapshots delete not found response
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) Error ¶ added in v1.0.56
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots delete not found response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots delete not found response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots delete not found response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots delete not found response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots delete not found response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) String() string
type PcloudCloudinstancesSnapshotsDeleteParams ¶
type PcloudCloudinstancesSnapshotsDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsDeleteParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots delete operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsDeleteParams ¶
func NewPcloudCloudinstancesSnapshotsDeleteParams() *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParams creates a new PcloudCloudinstancesSnapshotsDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
WithContext adds the context to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithDefaults() *PcloudCloudinstancesSnapshotsDeleteParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsDeleteParams
WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsDeleteReader ¶
type PcloudCloudinstancesSnapshotsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsDeleteReader is a Reader for the PcloudCloudinstancesSnapshotsDelete structure.
func (*PcloudCloudinstancesSnapshotsDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsDeleteUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsDeleteUnauthorized struct {
}PcloudCloudinstancesSnapshotsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsDeleteUnauthorized() *PcloudCloudinstancesSnapshotsDeleteUnauthorized
NewPcloudCloudinstancesSnapshotsDeleteUnauthorized creates a PcloudCloudinstancesSnapshotsDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances snapshots delete unauthorized response
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots delete unauthorized response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) String() string
type PcloudCloudinstancesSnapshotsGetBadRequest ¶
PcloudCloudinstancesSnapshotsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsGetBadRequest ¶
func NewPcloudCloudinstancesSnapshotsGetBadRequest() *PcloudCloudinstancesSnapshotsGetBadRequest
NewPcloudCloudinstancesSnapshotsGetBadRequest creates a PcloudCloudinstancesSnapshotsGetBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances snapshots get bad request response
func (*PcloudCloudinstancesSnapshotsGetBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots get bad request response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots get bad request response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots get bad request response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots get bad request response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots get bad request response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) String() string
type PcloudCloudinstancesSnapshotsGetForbidden ¶ added in v1.2.2
PcloudCloudinstancesSnapshotsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesSnapshotsGetForbidden ¶ added in v1.2.2
func NewPcloudCloudinstancesSnapshotsGetForbidden() *PcloudCloudinstancesSnapshotsGetForbidden
NewPcloudCloudinstancesSnapshotsGetForbidden creates a PcloudCloudinstancesSnapshotsGetForbidden with default headers values
func (*PcloudCloudinstancesSnapshotsGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetForbidden) Code() int
Code gets the status code for the pcloud cloudinstances snapshots get forbidden response
func (*PcloudCloudinstancesSnapshotsGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) Error() string
func (*PcloudCloudinstancesSnapshotsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots get forbidden response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots get forbidden response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots get forbidden response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots get forbidden response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots get forbidden response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetForbidden) String() string
type PcloudCloudinstancesSnapshotsGetInternalServerError ¶
PcloudCloudinstancesSnapshotsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsGetInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsGetInternalServerError() *PcloudCloudinstancesSnapshotsGetInternalServerError
NewPcloudCloudinstancesSnapshotsGetInternalServerError creates a PcloudCloudinstancesSnapshotsGetInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances snapshots get internal server error response
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots get internal server error response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots get internal server error response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots get internal server error response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots get internal server error response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots get internal server error response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) String() string
type PcloudCloudinstancesSnapshotsGetNotFound ¶ added in v1.0.38
PcloudCloudinstancesSnapshotsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesSnapshotsGetNotFound ¶ added in v1.0.38
func NewPcloudCloudinstancesSnapshotsGetNotFound() *PcloudCloudinstancesSnapshotsGetNotFound
NewPcloudCloudinstancesSnapshotsGetNotFound creates a PcloudCloudinstancesSnapshotsGetNotFound with default headers values
func (*PcloudCloudinstancesSnapshotsGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetNotFound) Code() int
Code gets the status code for the pcloud cloudinstances snapshots get not found response
func (*PcloudCloudinstancesSnapshotsGetNotFound) Error ¶ added in v1.0.38
func (o *PcloudCloudinstancesSnapshotsGetNotFound) Error() string
func (*PcloudCloudinstancesSnapshotsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots get not found response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots get not found response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots get not found response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots get not found response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots get not found response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetNotFound) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetNotFound) String() string
type PcloudCloudinstancesSnapshotsGetOK ¶
PcloudCloudinstancesSnapshotsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesSnapshotsGetOK ¶
func NewPcloudCloudinstancesSnapshotsGetOK() *PcloudCloudinstancesSnapshotsGetOK
NewPcloudCloudinstancesSnapshotsGetOK creates a PcloudCloudinstancesSnapshotsGetOK with default headers values
func (*PcloudCloudinstancesSnapshotsGetOK) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetOK) Code() int
Code gets the status code for the pcloud cloudinstances snapshots get o k response
func (*PcloudCloudinstancesSnapshotsGetOK) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetOK) Error() string
func (*PcloudCloudinstancesSnapshotsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetOK) GetPayload() *models.Snapshot
func (*PcloudCloudinstancesSnapshotsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots get o k response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots get o k response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots get o k response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots get o k response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots get o k response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetOK) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetOK) String() string
type PcloudCloudinstancesSnapshotsGetParams ¶
type PcloudCloudinstancesSnapshotsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsGetParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots get operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsGetParams ¶
func NewPcloudCloudinstancesSnapshotsGetParams() *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParams creates a new PcloudCloudinstancesSnapshotsGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudCloudinstancesSnapshotsGetParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParamsWithContext creates a new PcloudCloudinstancesSnapshotsGetParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsGetParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
WithContext adds the context to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsGetParams
WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsGetReader ¶
type PcloudCloudinstancesSnapshotsGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsGetReader is a Reader for the PcloudCloudinstancesSnapshotsGet structure.
func (*PcloudCloudinstancesSnapshotsGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsGetUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsGetUnauthorized struct {
}PcloudCloudinstancesSnapshotsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsGetUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsGetUnauthorized() *PcloudCloudinstancesSnapshotsGetUnauthorized
NewPcloudCloudinstancesSnapshotsGetUnauthorized creates a PcloudCloudinstancesSnapshotsGetUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances snapshots get unauthorized response
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots get unauthorized response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots get unauthorized response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots get unauthorized response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots get unauthorized response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots get unauthorized response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) String() string
type PcloudCloudinstancesSnapshotsGetallBadRequest ¶
PcloudCloudinstancesSnapshotsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsGetallBadRequest ¶
func NewPcloudCloudinstancesSnapshotsGetallBadRequest() *PcloudCloudinstancesSnapshotsGetallBadRequest
NewPcloudCloudinstancesSnapshotsGetallBadRequest creates a PcloudCloudinstancesSnapshotsGetallBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances snapshots getall bad request response
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots getall bad request response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots getall bad request response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots getall bad request response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots getall bad request response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots getall bad request response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) String() string
type PcloudCloudinstancesSnapshotsGetallForbidden ¶ added in v1.2.2
PcloudCloudinstancesSnapshotsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesSnapshotsGetallForbidden ¶ added in v1.2.2
func NewPcloudCloudinstancesSnapshotsGetallForbidden() *PcloudCloudinstancesSnapshotsGetallForbidden
NewPcloudCloudinstancesSnapshotsGetallForbidden creates a PcloudCloudinstancesSnapshotsGetallForbidden with default headers values
func (*PcloudCloudinstancesSnapshotsGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) Code() int
Code gets the status code for the pcloud cloudinstances snapshots getall forbidden response
func (*PcloudCloudinstancesSnapshotsGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) Error() string
func (*PcloudCloudinstancesSnapshotsGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots getall forbidden response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots getall forbidden response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots getall forbidden response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots getall forbidden response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots getall forbidden response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallForbidden) String() string
type PcloudCloudinstancesSnapshotsGetallInternalServerError ¶
PcloudCloudinstancesSnapshotsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsGetallInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsGetallInternalServerError() *PcloudCloudinstancesSnapshotsGetallInternalServerError
NewPcloudCloudinstancesSnapshotsGetallInternalServerError creates a PcloudCloudinstancesSnapshotsGetallInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances snapshots getall internal server error response
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots getall internal server error response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots getall internal server error response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots getall internal server error response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots getall internal server error response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots getall internal server error response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) String() string
type PcloudCloudinstancesSnapshotsGetallOK ¶
PcloudCloudinstancesSnapshotsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesSnapshotsGetallOK ¶
func NewPcloudCloudinstancesSnapshotsGetallOK() *PcloudCloudinstancesSnapshotsGetallOK
NewPcloudCloudinstancesSnapshotsGetallOK creates a PcloudCloudinstancesSnapshotsGetallOK with default headers values
func (*PcloudCloudinstancesSnapshotsGetallOK) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetallOK) Code() int
Code gets the status code for the pcloud cloudinstances snapshots getall o k response
func (*PcloudCloudinstancesSnapshotsGetallOK) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetallOK) Error() string
func (*PcloudCloudinstancesSnapshotsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallOK) GetPayload() *models.Snapshots
func (*PcloudCloudinstancesSnapshotsGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots getall o k response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots getall o k response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots getall o k response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots getall o k response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots getall o k response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetallOK) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallOK) String() string
type PcloudCloudinstancesSnapshotsGetallParams ¶
type PcloudCloudinstancesSnapshotsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsGetallParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots getall operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsGetallParams ¶
func NewPcloudCloudinstancesSnapshotsGetallParams() *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParams creates a new PcloudCloudinstancesSnapshotsGetallParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParamsWithContext creates a new PcloudCloudinstancesSnapshotsGetallParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsGetallParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
WithContext adds the context to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsGetallReader ¶
type PcloudCloudinstancesSnapshotsGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsGetallReader is a Reader for the PcloudCloudinstancesSnapshotsGetall structure.
func (*PcloudCloudinstancesSnapshotsGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsGetallUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsGetallUnauthorized struct {
}PcloudCloudinstancesSnapshotsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsGetallUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsGetallUnauthorized() *PcloudCloudinstancesSnapshotsGetallUnauthorized
NewPcloudCloudinstancesSnapshotsGetallUnauthorized creates a PcloudCloudinstancesSnapshotsGetallUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances snapshots getall unauthorized response
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots getall unauthorized response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) String() string
type PcloudCloudinstancesSnapshotsPutBadRequest ¶
PcloudCloudinstancesSnapshotsPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsPutBadRequest ¶
func NewPcloudCloudinstancesSnapshotsPutBadRequest() *PcloudCloudinstancesSnapshotsPutBadRequest
NewPcloudCloudinstancesSnapshotsPutBadRequest creates a PcloudCloudinstancesSnapshotsPutBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsPutBadRequest) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances snapshots put bad request response
func (*PcloudCloudinstancesSnapshotsPutBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots put bad request response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots put bad request response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots put bad request response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots put bad request response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots put bad request response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) String() string
type PcloudCloudinstancesSnapshotsPutForbidden ¶ added in v1.2.2
PcloudCloudinstancesSnapshotsPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesSnapshotsPutForbidden ¶ added in v1.2.2
func NewPcloudCloudinstancesSnapshotsPutForbidden() *PcloudCloudinstancesSnapshotsPutForbidden
NewPcloudCloudinstancesSnapshotsPutForbidden creates a PcloudCloudinstancesSnapshotsPutForbidden with default headers values
func (*PcloudCloudinstancesSnapshotsPutForbidden) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsPutForbidden) Code() int
Code gets the status code for the pcloud cloudinstances snapshots put forbidden response
func (*PcloudCloudinstancesSnapshotsPutForbidden) Error ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) Error() string
func (*PcloudCloudinstancesSnapshotsPutForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots put forbidden response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots put forbidden response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots put forbidden response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots put forbidden response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots put forbidden response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsPutForbidden) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutForbidden) String() string
type PcloudCloudinstancesSnapshotsPutInternalServerError ¶
PcloudCloudinstancesSnapshotsPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsPutInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsPutInternalServerError() *PcloudCloudinstancesSnapshotsPutInternalServerError
NewPcloudCloudinstancesSnapshotsPutInternalServerError creates a PcloudCloudinstancesSnapshotsPutInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances snapshots put internal server error response
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots put internal server error response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots put internal server error response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots put internal server error response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots put internal server error response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots put internal server error response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) String() string
type PcloudCloudinstancesSnapshotsPutNotFound ¶ added in v1.0.38
PcloudCloudinstancesSnapshotsPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesSnapshotsPutNotFound ¶ added in v1.0.38
func NewPcloudCloudinstancesSnapshotsPutNotFound() *PcloudCloudinstancesSnapshotsPutNotFound
NewPcloudCloudinstancesSnapshotsPutNotFound creates a PcloudCloudinstancesSnapshotsPutNotFound with default headers values
func (*PcloudCloudinstancesSnapshotsPutNotFound) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsPutNotFound) Code() int
Code gets the status code for the pcloud cloudinstances snapshots put not found response
func (*PcloudCloudinstancesSnapshotsPutNotFound) Error ¶ added in v1.0.38
func (o *PcloudCloudinstancesSnapshotsPutNotFound) Error() string
func (*PcloudCloudinstancesSnapshotsPutNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsPutNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots put not found response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsPutNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots put not found response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsPutNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots put not found response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsPutNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots put not found response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsPutNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots put not found response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsPutNotFound) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutNotFound) String() string
type PcloudCloudinstancesSnapshotsPutOK ¶
PcloudCloudinstancesSnapshotsPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesSnapshotsPutOK ¶
func NewPcloudCloudinstancesSnapshotsPutOK() *PcloudCloudinstancesSnapshotsPutOK
NewPcloudCloudinstancesSnapshotsPutOK creates a PcloudCloudinstancesSnapshotsPutOK with default headers values
func (*PcloudCloudinstancesSnapshotsPutOK) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsPutOK) Code() int
Code gets the status code for the pcloud cloudinstances snapshots put o k response
func (*PcloudCloudinstancesSnapshotsPutOK) Error ¶
func (o *PcloudCloudinstancesSnapshotsPutOK) Error() string
func (*PcloudCloudinstancesSnapshotsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutOK) GetPayload() models.Object
func (*PcloudCloudinstancesSnapshotsPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots put o k response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots put o k response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots put o k response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots put o k response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots put o k response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsPutOK) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutOK) String() string
type PcloudCloudinstancesSnapshotsPutParams ¶
type PcloudCloudinstancesSnapshotsPutParams struct { /* Body. Parameters for the update of a PVM instance snapshot */ Body *models.SnapshotUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsPutParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots put operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsPutParams ¶
func NewPcloudCloudinstancesSnapshotsPutParams() *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParams creates a new PcloudCloudinstancesSnapshotsPutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudCloudinstancesSnapshotsPutParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParamsWithContext creates a new PcloudCloudinstancesSnapshotsPutParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsPutParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsPutParams) SetBody ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetBody(body *models.SnapshotUpdate)
SetBody adds the body to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsPutParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithBody ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithBody(body *models.SnapshotUpdate) *PcloudCloudinstancesSnapshotsPutParams
WithBody adds the body to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
WithContext adds the context to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutParams) WithDefaults() *PcloudCloudinstancesSnapshotsPutParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsPutParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsPutParams
WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsPutReader ¶
type PcloudCloudinstancesSnapshotsPutReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsPutReader is a Reader for the PcloudCloudinstancesSnapshotsPut structure.
func (*PcloudCloudinstancesSnapshotsPutReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsPutUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsPutUnauthorized struct {
}PcloudCloudinstancesSnapshotsPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsPutUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsPutUnauthorized() *PcloudCloudinstancesSnapshotsPutUnauthorized
NewPcloudCloudinstancesSnapshotsPutUnauthorized creates a PcloudCloudinstancesSnapshotsPutUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances snapshots put unauthorized response
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances snapshots put unauthorized response has a 4xx status code
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances snapshots put unauthorized response a status code equal to that given
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances snapshots put unauthorized response has a 3xx status code
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances snapshots put unauthorized response has a 5xx status code
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances snapshots put unauthorized response has a 2xx status code
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) String() string
Source Files ¶
- p_cloud_snapshots_client.go
- pcloud_cloudinstances_snapshots_delete_parameters.go
- pcloud_cloudinstances_snapshots_delete_responses.go
- pcloud_cloudinstances_snapshots_get_parameters.go
- pcloud_cloudinstances_snapshots_get_responses.go
- pcloud_cloudinstances_snapshots_getall_parameters.go
- pcloud_cloudinstances_snapshots_getall_responses.go
- pcloud_cloudinstances_snapshots_put_parameters.go
- pcloud_cloudinstances_snapshots_put_responses.go