Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesImagesDelete(params *PcloudCloudinstancesImagesDeleteParams, ...) (*PcloudCloudinstancesImagesDeleteOK, error)
- func (a *Client) PcloudCloudinstancesImagesExportPost(params *PcloudCloudinstancesImagesExportPostParams, ...) (*PcloudCloudinstancesImagesExportPostAccepted, error)
- func (a *Client) PcloudCloudinstancesImagesGet(params *PcloudCloudinstancesImagesGetParams, ...) (*PcloudCloudinstancesImagesGetOK, error)
- func (a *Client) PcloudCloudinstancesImagesGetall(params *PcloudCloudinstancesImagesGetallParams, ...) (*PcloudCloudinstancesImagesGetallOK, error)
- func (a *Client) PcloudCloudinstancesImagesPost(params *PcloudCloudinstancesImagesPostParams, ...) (*PcloudCloudinstancesImagesPostOK, *PcloudCloudinstancesImagesPostCreated, ...)
- func (a *Client) PcloudCloudinstancesStockimagesGet(params *PcloudCloudinstancesStockimagesGetParams, ...) (*PcloudCloudinstancesStockimagesGetOK, error)
- func (a *Client) PcloudCloudinstancesStockimagesGetall(params *PcloudCloudinstancesStockimagesGetallParams, ...) (*PcloudCloudinstancesStockimagesGetallOK, error)
- func (a *Client) PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetOK, error)
- func (a *Client) PcloudImagesGetall(params *PcloudImagesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudCloudinstancesImagesDeleteBadRequest
- type PcloudCloudinstancesImagesDeleteGone
- type PcloudCloudinstancesImagesDeleteInternalServerError
- type PcloudCloudinstancesImagesDeleteOK
- type PcloudCloudinstancesImagesDeleteParams
- func NewPcloudCloudinstancesImagesDeleteParams() *PcloudCloudinstancesImagesDeleteParams
- func NewPcloudCloudinstancesImagesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams
- func NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesDeleteParams
- func NewPcloudCloudinstancesImagesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesDeleteParams
- func (o *PcloudCloudinstancesImagesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesImagesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesImagesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesImagesDeleteParams) SetImageID(imageID string)
- func (o *PcloudCloudinstancesImagesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesImagesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesDeleteParams
- func (o *PcloudCloudinstancesImagesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams
- func (o *PcloudCloudinstancesImagesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesDeleteParams
- func (o *PcloudCloudinstancesImagesDeleteParams) WithImageID(imageID string) *PcloudCloudinstancesImagesDeleteParams
- func (o *PcloudCloudinstancesImagesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesDeleteParams
- func (o *PcloudCloudinstancesImagesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesImagesDeleteReader
- type PcloudCloudinstancesImagesExportPostAccepted
- type PcloudCloudinstancesImagesExportPostBadRequest
- type PcloudCloudinstancesImagesExportPostInternalServerError
- type PcloudCloudinstancesImagesExportPostNotFound
- type PcloudCloudinstancesImagesExportPostParams
- func NewPcloudCloudinstancesImagesExportPostParams() *PcloudCloudinstancesImagesExportPostParams
- func NewPcloudCloudinstancesImagesExportPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams
- func NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesExportPostParams
- func NewPcloudCloudinstancesImagesExportPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesExportPostParams
- func (o *PcloudCloudinstancesImagesExportPostParams) SetBody(body *models.ExportImage)
- func (o *PcloudCloudinstancesImagesExportPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesImagesExportPostParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesImagesExportPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesImagesExportPostParams) SetImageID(imageID string)
- func (o *PcloudCloudinstancesImagesExportPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesImagesExportPostParams) WithBody(body *models.ExportImage) *PcloudCloudinstancesImagesExportPostParams
- func (o *PcloudCloudinstancesImagesExportPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesExportPostParams
- func (o *PcloudCloudinstancesImagesExportPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams
- func (o *PcloudCloudinstancesImagesExportPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesExportPostParams
- func (o *PcloudCloudinstancesImagesExportPostParams) WithImageID(imageID string) *PcloudCloudinstancesImagesExportPostParams
- func (o *PcloudCloudinstancesImagesExportPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesExportPostParams
- func (o *PcloudCloudinstancesImagesExportPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesImagesExportPostReader
- type PcloudCloudinstancesImagesGetBadRequest
- type PcloudCloudinstancesImagesGetInternalServerError
- type PcloudCloudinstancesImagesGetNotFound
- type PcloudCloudinstancesImagesGetOK
- type PcloudCloudinstancesImagesGetParams
- func NewPcloudCloudinstancesImagesGetParams() *PcloudCloudinstancesImagesGetParams
- func NewPcloudCloudinstancesImagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams
- func NewPcloudCloudinstancesImagesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetParams
- func NewPcloudCloudinstancesImagesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetParams
- func (o *PcloudCloudinstancesImagesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesImagesGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesImagesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesImagesGetParams) SetImageID(imageID string)
- func (o *PcloudCloudinstancesImagesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesImagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesGetParams
- func (o *PcloudCloudinstancesImagesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams
- func (o *PcloudCloudinstancesImagesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetParams
- func (o *PcloudCloudinstancesImagesGetParams) WithImageID(imageID string) *PcloudCloudinstancesImagesGetParams
- func (o *PcloudCloudinstancesImagesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetParams
- func (o *PcloudCloudinstancesImagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesImagesGetReader
- type PcloudCloudinstancesImagesGetallBadRequest
- type PcloudCloudinstancesImagesGetallInternalServerError
- type PcloudCloudinstancesImagesGetallNotFound
- type PcloudCloudinstancesImagesGetallOK
- type PcloudCloudinstancesImagesGetallParams
- func NewPcloudCloudinstancesImagesGetallParams() *PcloudCloudinstancesImagesGetallParams
- func NewPcloudCloudinstancesImagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams
- func NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetallParams
- func NewPcloudCloudinstancesImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetallParams
- func (o *PcloudCloudinstancesImagesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesImagesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesImagesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesImagesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesImagesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesGetallParams
- func (o *PcloudCloudinstancesImagesGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams
- func (o *PcloudCloudinstancesImagesGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetallParams
- func (o *PcloudCloudinstancesImagesGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetallParams
- func (o *PcloudCloudinstancesImagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesImagesGetallReader
- type PcloudCloudinstancesImagesPostBadRequest
- type PcloudCloudinstancesImagesPostConflict
- type PcloudCloudinstancesImagesPostCreated
- type PcloudCloudinstancesImagesPostInternalServerError
- type PcloudCloudinstancesImagesPostOK
- type PcloudCloudinstancesImagesPostParams
- func NewPcloudCloudinstancesImagesPostParams() *PcloudCloudinstancesImagesPostParams
- func NewPcloudCloudinstancesImagesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams
- func NewPcloudCloudinstancesImagesPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesPostParams
- func NewPcloudCloudinstancesImagesPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesPostParams
- func (o *PcloudCloudinstancesImagesPostParams) SetBody(body *models.CreateImage)
- func (o *PcloudCloudinstancesImagesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesImagesPostParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesImagesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesImagesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesImagesPostParams) WithBody(body *models.CreateImage) *PcloudCloudinstancesImagesPostParams
- func (o *PcloudCloudinstancesImagesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesPostParams
- func (o *PcloudCloudinstancesImagesPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams
- func (o *PcloudCloudinstancesImagesPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesPostParams
- func (o *PcloudCloudinstancesImagesPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesPostParams
- func (o *PcloudCloudinstancesImagesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesImagesPostReader
- type PcloudCloudinstancesImagesPostUnprocessableEntity
- type PcloudCloudinstancesStockimagesGetBadRequest
- type PcloudCloudinstancesStockimagesGetInternalServerError
- type PcloudCloudinstancesStockimagesGetNotFound
- type PcloudCloudinstancesStockimagesGetOK
- type PcloudCloudinstancesStockimagesGetParams
- func NewPcloudCloudinstancesStockimagesGetParams() *PcloudCloudinstancesStockimagesGetParams
- func NewPcloudCloudinstancesStockimagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetParams
- func NewPcloudCloudinstancesStockimagesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetParams
- func NewPcloudCloudinstancesStockimagesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetParams
- func (o *PcloudCloudinstancesStockimagesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesStockimagesGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesStockimagesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesStockimagesGetParams) SetImageID(imageID string)
- func (o *PcloudCloudinstancesStockimagesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesStockimagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesStockimagesGetParams
- func (o *PcloudCloudinstancesStockimagesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetParams
- func (o *PcloudCloudinstancesStockimagesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetParams
- func (o *PcloudCloudinstancesStockimagesGetParams) WithImageID(imageID string) *PcloudCloudinstancesStockimagesGetParams
- func (o *PcloudCloudinstancesStockimagesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetParams
- func (o *PcloudCloudinstancesStockimagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesStockimagesGetReader
- type PcloudCloudinstancesStockimagesGetallBadRequest
- type PcloudCloudinstancesStockimagesGetallInternalServerError
- type PcloudCloudinstancesStockimagesGetallNotFound
- type PcloudCloudinstancesStockimagesGetallOK
- type PcloudCloudinstancesStockimagesGetallParams
- func NewPcloudCloudinstancesStockimagesGetallParams() *PcloudCloudinstancesStockimagesGetallParams
- func NewPcloudCloudinstancesStockimagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams
- func NewPcloudCloudinstancesStockimagesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetallParams
- func NewPcloudCloudinstancesStockimagesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetSap(sap *bool)
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithSap(sap *bool) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesStockimagesGetallReader
- type PcloudImagesGetBadRequest
- type PcloudImagesGetInternalServerError
- type PcloudImagesGetNotFound
- type PcloudImagesGetOK
- type PcloudImagesGetParams
- func NewPcloudImagesGetParams() *PcloudImagesGetParams
- func NewPcloudImagesGetParamsWithContext(ctx context.Context) *PcloudImagesGetParams
- func NewPcloudImagesGetParamsWithHTTPClient(client *http.Client) *PcloudImagesGetParams
- func NewPcloudImagesGetParamsWithTimeout(timeout time.Duration) *PcloudImagesGetParams
- func (o *PcloudImagesGetParams) SetContext(ctx context.Context)
- func (o *PcloudImagesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudImagesGetParams) SetImageID(imageID string)
- func (o *PcloudImagesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudImagesGetParams) WithContext(ctx context.Context) *PcloudImagesGetParams
- func (o *PcloudImagesGetParams) WithHTTPClient(client *http.Client) *PcloudImagesGetParams
- func (o *PcloudImagesGetParams) WithImageID(imageID string) *PcloudImagesGetParams
- func (o *PcloudImagesGetParams) WithTimeout(timeout time.Duration) *PcloudImagesGetParams
- func (o *PcloudImagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudImagesGetReader
- type PcloudImagesGetallBadRequest
- type PcloudImagesGetallInternalServerError
- type PcloudImagesGetallNotFound
- type PcloudImagesGetallOK
- type PcloudImagesGetallParams
- func NewPcloudImagesGetallParams() *PcloudImagesGetallParams
- func NewPcloudImagesGetallParamsWithContext(ctx context.Context) *PcloudImagesGetallParams
- func NewPcloudImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudImagesGetallParams
- func NewPcloudImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudImagesGetallParams
- func (o *PcloudImagesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudImagesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudImagesGetallParams) SetSap(sap *bool)
- func (o *PcloudImagesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudImagesGetallParams) WithContext(ctx context.Context) *PcloudImagesGetallParams
- func (o *PcloudImagesGetallParams) WithHTTPClient(client *http.Client) *PcloudImagesGetallParams
- func (o *PcloudImagesGetallParams) WithSap(sap *bool) *PcloudImagesGetallParams
- func (o *PcloudImagesGetallParams) WithTimeout(timeout time.Duration) *PcloudImagesGetallParams
- func (o *PcloudImagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudImagesGetallReader
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 images API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud images API client.
func (*Client) PcloudCloudinstancesImagesDelete ¶
func (a *Client) PcloudCloudinstancesImagesDelete(params *PcloudCloudinstancesImagesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesImagesDeleteOK, error)
PcloudCloudinstancesImagesDelete deletes an image from a cloud instance
func (*Client) PcloudCloudinstancesImagesExportPost ¶
func (a *Client) PcloudCloudinstancesImagesExportPost(params *PcloudCloudinstancesImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesImagesExportPostAccepted, error)
PcloudCloudinstancesImagesExportPost exports an image
func (*Client) PcloudCloudinstancesImagesGet ¶
func (a *Client) PcloudCloudinstancesImagesGet(params *PcloudCloudinstancesImagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesImagesGetOK, error)
PcloudCloudinstancesImagesGet detaileds info of an image
func (*Client) PcloudCloudinstancesImagesGetall ¶
func (a *Client) PcloudCloudinstancesImagesGetall(params *PcloudCloudinstancesImagesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesImagesGetallOK, error)
PcloudCloudinstancesImagesGetall lists all images for this cloud instance
func (*Client) PcloudCloudinstancesImagesPost ¶
func (a *Client) PcloudCloudinstancesImagesPost(params *PcloudCloudinstancesImagesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesImagesPostOK, *PcloudCloudinstancesImagesPostCreated, error)
PcloudCloudinstancesImagesPost creates a new image from available images
func (*Client) PcloudCloudinstancesStockimagesGet ¶ added in v1.0.53
func (a *Client) PcloudCloudinstancesStockimagesGet(params *PcloudCloudinstancesStockimagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesStockimagesGetOK, error)
PcloudCloudinstancesStockimagesGet detaileds info of an available stock image
func (*Client) PcloudCloudinstancesStockimagesGetall ¶ added in v1.0.53
func (a *Client) PcloudCloudinstancesStockimagesGetall(params *PcloudCloudinstancesStockimagesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesStockimagesGetallOK, error)
PcloudCloudinstancesStockimagesGetall lists all available stock images
func (*Client) PcloudImagesGet ¶
func (a *Client) PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetOK, error)
PcloudImagesGet deprecateds for pcloud v1 cloud instances cloud instance id stock images image id detailed info of an available stock image
func (*Client) PcloudImagesGetall ¶
func (a *Client) PcloudImagesGetall(params *PcloudImagesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetallOK, error)
PcloudImagesGetall deprecateds for pcloud v1 cloud instances cloud instance id stock images list all available stock images
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudCloudinstancesImagesDeleteBadRequest ¶
PcloudCloudinstancesImagesDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesImagesDeleteBadRequest ¶
func NewPcloudCloudinstancesImagesDeleteBadRequest() *PcloudCloudinstancesImagesDeleteBadRequest
NewPcloudCloudinstancesImagesDeleteBadRequest creates a PcloudCloudinstancesImagesDeleteBadRequest with default headers values
func (*PcloudCloudinstancesImagesDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesImagesDeleteBadRequest) Error() string
type PcloudCloudinstancesImagesDeleteGone ¶
PcloudCloudinstancesImagesDeleteGone handles this case with default header values.
Gone
func NewPcloudCloudinstancesImagesDeleteGone ¶
func NewPcloudCloudinstancesImagesDeleteGone() *PcloudCloudinstancesImagesDeleteGone
NewPcloudCloudinstancesImagesDeleteGone creates a PcloudCloudinstancesImagesDeleteGone with default headers values
func (*PcloudCloudinstancesImagesDeleteGone) Error ¶
func (o *PcloudCloudinstancesImagesDeleteGone) Error() string
type PcloudCloudinstancesImagesDeleteInternalServerError ¶
PcloudCloudinstancesImagesDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesImagesDeleteInternalServerError ¶
func NewPcloudCloudinstancesImagesDeleteInternalServerError() *PcloudCloudinstancesImagesDeleteInternalServerError
NewPcloudCloudinstancesImagesDeleteInternalServerError creates a PcloudCloudinstancesImagesDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesImagesDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesImagesDeleteInternalServerError) Error() string
type PcloudCloudinstancesImagesDeleteOK ¶
PcloudCloudinstancesImagesDeleteOK handles this case with default header values.
OK
func NewPcloudCloudinstancesImagesDeleteOK ¶
func NewPcloudCloudinstancesImagesDeleteOK() *PcloudCloudinstancesImagesDeleteOK
NewPcloudCloudinstancesImagesDeleteOK creates a PcloudCloudinstancesImagesDeleteOK with default headers values
func (*PcloudCloudinstancesImagesDeleteOK) Error ¶
func (o *PcloudCloudinstancesImagesDeleteOK) Error() string
type PcloudCloudinstancesImagesDeleteParams ¶
type PcloudCloudinstancesImagesDeleteParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*ImageID Image ID of a image */ ImageID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesImagesDeleteParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images delete operation typically these are written to a http.Request
func NewPcloudCloudinstancesImagesDeleteParams ¶
func NewPcloudCloudinstancesImagesDeleteParams() *PcloudCloudinstancesImagesDeleteParams
NewPcloudCloudinstancesImagesDeleteParams creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized.
func NewPcloudCloudinstancesImagesDeleteParamsWithContext ¶
func NewPcloudCloudinstancesImagesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams
NewPcloudCloudinstancesImagesDeleteParamsWithContext creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesDeleteParams
NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesImagesDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesImagesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesDeleteParams
NewPcloudCloudinstancesImagesDeleteParamsWithTimeout creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesImagesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesImagesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesImagesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) SetImageID ¶
func (o *PcloudCloudinstancesImagesDeleteParams) SetImageID(imageID string)
SetImageID adds the imageId to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesImagesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesImagesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams
WithContext adds the context to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesImagesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) WithImageID ¶
func (o *PcloudCloudinstancesImagesDeleteParams) WithImageID(imageID string) *PcloudCloudinstancesImagesDeleteParams
WithImageID adds the imageID to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesImagesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances images delete params
func (*PcloudCloudinstancesImagesDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesImagesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesImagesDeleteReader ¶
type PcloudCloudinstancesImagesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesImagesDeleteReader is a Reader for the PcloudCloudinstancesImagesDelete structure.
func (*PcloudCloudinstancesImagesDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesImagesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesImagesExportPostAccepted ¶
PcloudCloudinstancesImagesExportPostAccepted handles this case with default header values.
Accepted
func NewPcloudCloudinstancesImagesExportPostAccepted ¶
func NewPcloudCloudinstancesImagesExportPostAccepted() *PcloudCloudinstancesImagesExportPostAccepted
NewPcloudCloudinstancesImagesExportPostAccepted creates a PcloudCloudinstancesImagesExportPostAccepted with default headers values
func (*PcloudCloudinstancesImagesExportPostAccepted) Error ¶
func (o *PcloudCloudinstancesImagesExportPostAccepted) Error() string
type PcloudCloudinstancesImagesExportPostBadRequest ¶
PcloudCloudinstancesImagesExportPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesImagesExportPostBadRequest ¶
func NewPcloudCloudinstancesImagesExportPostBadRequest() *PcloudCloudinstancesImagesExportPostBadRequest
NewPcloudCloudinstancesImagesExportPostBadRequest creates a PcloudCloudinstancesImagesExportPostBadRequest with default headers values
func (*PcloudCloudinstancesImagesExportPostBadRequest) Error ¶
func (o *PcloudCloudinstancesImagesExportPostBadRequest) Error() string
type PcloudCloudinstancesImagesExportPostInternalServerError ¶
PcloudCloudinstancesImagesExportPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesImagesExportPostInternalServerError ¶
func NewPcloudCloudinstancesImagesExportPostInternalServerError() *PcloudCloudinstancesImagesExportPostInternalServerError
NewPcloudCloudinstancesImagesExportPostInternalServerError creates a PcloudCloudinstancesImagesExportPostInternalServerError with default headers values
func (*PcloudCloudinstancesImagesExportPostInternalServerError) Error ¶
func (o *PcloudCloudinstancesImagesExportPostInternalServerError) Error() string
type PcloudCloudinstancesImagesExportPostNotFound ¶
PcloudCloudinstancesImagesExportPostNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesImagesExportPostNotFound ¶
func NewPcloudCloudinstancesImagesExportPostNotFound() *PcloudCloudinstancesImagesExportPostNotFound
NewPcloudCloudinstancesImagesExportPostNotFound creates a PcloudCloudinstancesImagesExportPostNotFound with default headers values
func (*PcloudCloudinstancesImagesExportPostNotFound) Error ¶
func (o *PcloudCloudinstancesImagesExportPostNotFound) Error() string
type PcloudCloudinstancesImagesExportPostParams ¶
type PcloudCloudinstancesImagesExportPostParams struct { /*Body Parameters for exporting an image */ Body *models.ExportImage /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*ImageID Image ID of a image */ ImageID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesImagesExportPostParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images export post operation typically these are written to a http.Request
func NewPcloudCloudinstancesImagesExportPostParams ¶
func NewPcloudCloudinstancesImagesExportPostParams() *PcloudCloudinstancesImagesExportPostParams
NewPcloudCloudinstancesImagesExportPostParams creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized.
func NewPcloudCloudinstancesImagesExportPostParamsWithContext ¶
func NewPcloudCloudinstancesImagesExportPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams
NewPcloudCloudinstancesImagesExportPostParamsWithContext creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient ¶
func NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesExportPostParams
NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesImagesExportPostParamsWithTimeout ¶
func NewPcloudCloudinstancesImagesExportPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesExportPostParams
NewPcloudCloudinstancesImagesExportPostParamsWithTimeout creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesImagesExportPostParams) SetBody ¶
func (o *PcloudCloudinstancesImagesExportPostParams) SetBody(body *models.ExportImage)
SetBody adds the body to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesExportPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) SetContext ¶
func (o *PcloudCloudinstancesImagesExportPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesImagesExportPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) SetImageID ¶
func (o *PcloudCloudinstancesImagesExportPostParams) SetImageID(imageID string)
SetImageID adds the imageId to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) SetTimeout ¶
func (o *PcloudCloudinstancesImagesExportPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) WithBody ¶
func (o *PcloudCloudinstancesImagesExportPostParams) WithBody(body *models.ExportImage) *PcloudCloudinstancesImagesExportPostParams
WithBody adds the body to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesExportPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesExportPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) WithContext ¶
func (o *PcloudCloudinstancesImagesExportPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams
WithContext adds the context to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesImagesExportPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesExportPostParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) WithImageID ¶
func (o *PcloudCloudinstancesImagesExportPostParams) WithImageID(imageID string) *PcloudCloudinstancesImagesExportPostParams
WithImageID adds the imageID to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) WithTimeout ¶
func (o *PcloudCloudinstancesImagesExportPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesExportPostParams
WithTimeout adds the timeout to the pcloud cloudinstances images export post params
func (*PcloudCloudinstancesImagesExportPostParams) WriteToRequest ¶
func (o *PcloudCloudinstancesImagesExportPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesImagesExportPostReader ¶
type PcloudCloudinstancesImagesExportPostReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesImagesExportPostReader is a Reader for the PcloudCloudinstancesImagesExportPost structure.
func (*PcloudCloudinstancesImagesExportPostReader) ReadResponse ¶
func (o *PcloudCloudinstancesImagesExportPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesImagesGetBadRequest ¶
PcloudCloudinstancesImagesGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesImagesGetBadRequest ¶
func NewPcloudCloudinstancesImagesGetBadRequest() *PcloudCloudinstancesImagesGetBadRequest
NewPcloudCloudinstancesImagesGetBadRequest creates a PcloudCloudinstancesImagesGetBadRequest with default headers values
func (*PcloudCloudinstancesImagesGetBadRequest) Error ¶
func (o *PcloudCloudinstancesImagesGetBadRequest) Error() string
type PcloudCloudinstancesImagesGetInternalServerError ¶
PcloudCloudinstancesImagesGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesImagesGetInternalServerError ¶
func NewPcloudCloudinstancesImagesGetInternalServerError() *PcloudCloudinstancesImagesGetInternalServerError
NewPcloudCloudinstancesImagesGetInternalServerError creates a PcloudCloudinstancesImagesGetInternalServerError with default headers values
func (*PcloudCloudinstancesImagesGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesImagesGetInternalServerError) Error() string
type PcloudCloudinstancesImagesGetNotFound ¶
PcloudCloudinstancesImagesGetNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesImagesGetNotFound ¶
func NewPcloudCloudinstancesImagesGetNotFound() *PcloudCloudinstancesImagesGetNotFound
NewPcloudCloudinstancesImagesGetNotFound creates a PcloudCloudinstancesImagesGetNotFound with default headers values
func (*PcloudCloudinstancesImagesGetNotFound) Error ¶
func (o *PcloudCloudinstancesImagesGetNotFound) Error() string
type PcloudCloudinstancesImagesGetOK ¶
PcloudCloudinstancesImagesGetOK handles this case with default header values.
OK
func NewPcloudCloudinstancesImagesGetOK ¶
func NewPcloudCloudinstancesImagesGetOK() *PcloudCloudinstancesImagesGetOK
NewPcloudCloudinstancesImagesGetOK creates a PcloudCloudinstancesImagesGetOK with default headers values
func (*PcloudCloudinstancesImagesGetOK) Error ¶
func (o *PcloudCloudinstancesImagesGetOK) Error() string
type PcloudCloudinstancesImagesGetParams ¶
type PcloudCloudinstancesImagesGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*ImageID Image ID of a image */ ImageID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesImagesGetParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images get operation typically these are written to a http.Request
func NewPcloudCloudinstancesImagesGetParams ¶
func NewPcloudCloudinstancesImagesGetParams() *PcloudCloudinstancesImagesGetParams
NewPcloudCloudinstancesImagesGetParams creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized.
func NewPcloudCloudinstancesImagesGetParamsWithContext ¶
func NewPcloudCloudinstancesImagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams
NewPcloudCloudinstancesImagesGetParamsWithContext creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesImagesGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesImagesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetParams
NewPcloudCloudinstancesImagesGetParamsWithHTTPClient creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesImagesGetParamsWithTimeout ¶
func NewPcloudCloudinstancesImagesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetParams
NewPcloudCloudinstancesImagesGetParamsWithTimeout creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesImagesGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) SetContext ¶
func (o *PcloudCloudinstancesImagesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesImagesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) SetImageID ¶
func (o *PcloudCloudinstancesImagesGetParams) SetImageID(imageID string)
SetImageID adds the imageId to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesImagesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) WithContext ¶
func (o *PcloudCloudinstancesImagesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams
WithContext adds the context to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesImagesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) WithImageID ¶
func (o *PcloudCloudinstancesImagesGetParams) WithImageID(imageID string) *PcloudCloudinstancesImagesGetParams
WithImageID adds the imageID to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesImagesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetParams
WithTimeout adds the timeout to the pcloud cloudinstances images get params
func (*PcloudCloudinstancesImagesGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesImagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesImagesGetReader ¶
type PcloudCloudinstancesImagesGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesImagesGetReader is a Reader for the PcloudCloudinstancesImagesGet structure.
func (*PcloudCloudinstancesImagesGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesImagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesImagesGetallBadRequest ¶
PcloudCloudinstancesImagesGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesImagesGetallBadRequest ¶
func NewPcloudCloudinstancesImagesGetallBadRequest() *PcloudCloudinstancesImagesGetallBadRequest
NewPcloudCloudinstancesImagesGetallBadRequest creates a PcloudCloudinstancesImagesGetallBadRequest with default headers values
func (*PcloudCloudinstancesImagesGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesImagesGetallBadRequest) Error() string
type PcloudCloudinstancesImagesGetallInternalServerError ¶
PcloudCloudinstancesImagesGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesImagesGetallInternalServerError ¶
func NewPcloudCloudinstancesImagesGetallInternalServerError() *PcloudCloudinstancesImagesGetallInternalServerError
NewPcloudCloudinstancesImagesGetallInternalServerError creates a PcloudCloudinstancesImagesGetallInternalServerError with default headers values
func (*PcloudCloudinstancesImagesGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesImagesGetallInternalServerError) Error() string
type PcloudCloudinstancesImagesGetallNotFound ¶
PcloudCloudinstancesImagesGetallNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesImagesGetallNotFound ¶
func NewPcloudCloudinstancesImagesGetallNotFound() *PcloudCloudinstancesImagesGetallNotFound
NewPcloudCloudinstancesImagesGetallNotFound creates a PcloudCloudinstancesImagesGetallNotFound with default headers values
func (*PcloudCloudinstancesImagesGetallNotFound) Error ¶
func (o *PcloudCloudinstancesImagesGetallNotFound) Error() string
type PcloudCloudinstancesImagesGetallOK ¶
PcloudCloudinstancesImagesGetallOK handles this case with default header values.
OK
func NewPcloudCloudinstancesImagesGetallOK ¶
func NewPcloudCloudinstancesImagesGetallOK() *PcloudCloudinstancesImagesGetallOK
NewPcloudCloudinstancesImagesGetallOK creates a PcloudCloudinstancesImagesGetallOK with default headers values
func (*PcloudCloudinstancesImagesGetallOK) Error ¶
func (o *PcloudCloudinstancesImagesGetallOK) Error() string
type PcloudCloudinstancesImagesGetallParams ¶
type PcloudCloudinstancesImagesGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesImagesGetallParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images getall operation typically these are written to a http.Request
func NewPcloudCloudinstancesImagesGetallParams ¶
func NewPcloudCloudinstancesImagesGetallParams() *PcloudCloudinstancesImagesGetallParams
NewPcloudCloudinstancesImagesGetallParams creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized.
func NewPcloudCloudinstancesImagesGetallParamsWithContext ¶
func NewPcloudCloudinstancesImagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams
NewPcloudCloudinstancesImagesGetallParamsWithContext creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetallParams
NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesImagesGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetallParams
NewPcloudCloudinstancesImagesGetallParamsWithTimeout creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesImagesGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) SetContext ¶
func (o *PcloudCloudinstancesImagesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesImagesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesImagesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) WithContext ¶
func (o *PcloudCloudinstancesImagesGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams
WithContext adds the context to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesImagesGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesImagesGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances images getall params
func (*PcloudCloudinstancesImagesGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesImagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesImagesGetallReader ¶
type PcloudCloudinstancesImagesGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesImagesGetallReader is a Reader for the PcloudCloudinstancesImagesGetall structure.
func (*PcloudCloudinstancesImagesGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesImagesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesImagesPostBadRequest ¶
PcloudCloudinstancesImagesPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesImagesPostBadRequest ¶
func NewPcloudCloudinstancesImagesPostBadRequest() *PcloudCloudinstancesImagesPostBadRequest
NewPcloudCloudinstancesImagesPostBadRequest creates a PcloudCloudinstancesImagesPostBadRequest with default headers values
func (*PcloudCloudinstancesImagesPostBadRequest) Error ¶
func (o *PcloudCloudinstancesImagesPostBadRequest) Error() string
type PcloudCloudinstancesImagesPostConflict ¶
PcloudCloudinstancesImagesPostConflict handles this case with default header values.
Conflict
func NewPcloudCloudinstancesImagesPostConflict ¶
func NewPcloudCloudinstancesImagesPostConflict() *PcloudCloudinstancesImagesPostConflict
NewPcloudCloudinstancesImagesPostConflict creates a PcloudCloudinstancesImagesPostConflict with default headers values
func (*PcloudCloudinstancesImagesPostConflict) Error ¶
func (o *PcloudCloudinstancesImagesPostConflict) Error() string
type PcloudCloudinstancesImagesPostCreated ¶
PcloudCloudinstancesImagesPostCreated handles this case with default header values.
Created
func NewPcloudCloudinstancesImagesPostCreated ¶
func NewPcloudCloudinstancesImagesPostCreated() *PcloudCloudinstancesImagesPostCreated
NewPcloudCloudinstancesImagesPostCreated creates a PcloudCloudinstancesImagesPostCreated with default headers values
func (*PcloudCloudinstancesImagesPostCreated) Error ¶
func (o *PcloudCloudinstancesImagesPostCreated) Error() string
type PcloudCloudinstancesImagesPostInternalServerError ¶
PcloudCloudinstancesImagesPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesImagesPostInternalServerError ¶
func NewPcloudCloudinstancesImagesPostInternalServerError() *PcloudCloudinstancesImagesPostInternalServerError
NewPcloudCloudinstancesImagesPostInternalServerError creates a PcloudCloudinstancesImagesPostInternalServerError with default headers values
func (*PcloudCloudinstancesImagesPostInternalServerError) Error ¶
func (o *PcloudCloudinstancesImagesPostInternalServerError) Error() string
type PcloudCloudinstancesImagesPostOK ¶
PcloudCloudinstancesImagesPostOK handles this case with default header values.
OK
func NewPcloudCloudinstancesImagesPostOK ¶
func NewPcloudCloudinstancesImagesPostOK() *PcloudCloudinstancesImagesPostOK
NewPcloudCloudinstancesImagesPostOK creates a PcloudCloudinstancesImagesPostOK with default headers values
func (*PcloudCloudinstancesImagesPostOK) Error ¶
func (o *PcloudCloudinstancesImagesPostOK) Error() string
type PcloudCloudinstancesImagesPostParams ¶
type PcloudCloudinstancesImagesPostParams struct { /*Body Parameters for the creation of a new image from available images */ Body *models.CreateImage /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesImagesPostParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images post operation typically these are written to a http.Request
func NewPcloudCloudinstancesImagesPostParams ¶
func NewPcloudCloudinstancesImagesPostParams() *PcloudCloudinstancesImagesPostParams
NewPcloudCloudinstancesImagesPostParams creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized.
func NewPcloudCloudinstancesImagesPostParamsWithContext ¶
func NewPcloudCloudinstancesImagesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams
NewPcloudCloudinstancesImagesPostParamsWithContext creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesImagesPostParamsWithHTTPClient ¶
func NewPcloudCloudinstancesImagesPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesPostParams
NewPcloudCloudinstancesImagesPostParamsWithHTTPClient creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesImagesPostParamsWithTimeout ¶
func NewPcloudCloudinstancesImagesPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesPostParams
NewPcloudCloudinstancesImagesPostParamsWithTimeout creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesImagesPostParams) SetBody ¶
func (o *PcloudCloudinstancesImagesPostParams) SetBody(body *models.CreateImage)
SetBody adds the body to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) SetContext ¶
func (o *PcloudCloudinstancesImagesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesImagesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) SetTimeout ¶
func (o *PcloudCloudinstancesImagesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) WithBody ¶
func (o *PcloudCloudinstancesImagesPostParams) WithBody(body *models.CreateImage) *PcloudCloudinstancesImagesPostParams
WithBody adds the body to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesImagesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) WithContext ¶
func (o *PcloudCloudinstancesImagesPostParams) WithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams
WithContext adds the context to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesImagesPostParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesPostParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) WithTimeout ¶
func (o *PcloudCloudinstancesImagesPostParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesPostParams
WithTimeout adds the timeout to the pcloud cloudinstances images post params
func (*PcloudCloudinstancesImagesPostParams) WriteToRequest ¶
func (o *PcloudCloudinstancesImagesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesImagesPostReader ¶
type PcloudCloudinstancesImagesPostReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesImagesPostReader is a Reader for the PcloudCloudinstancesImagesPost structure.
func (*PcloudCloudinstancesImagesPostReader) ReadResponse ¶
func (o *PcloudCloudinstancesImagesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesImagesPostUnprocessableEntity ¶
PcloudCloudinstancesImagesPostUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudCloudinstancesImagesPostUnprocessableEntity ¶
func NewPcloudCloudinstancesImagesPostUnprocessableEntity() *PcloudCloudinstancesImagesPostUnprocessableEntity
NewPcloudCloudinstancesImagesPostUnprocessableEntity creates a PcloudCloudinstancesImagesPostUnprocessableEntity with default headers values
func (*PcloudCloudinstancesImagesPostUnprocessableEntity) Error ¶
func (o *PcloudCloudinstancesImagesPostUnprocessableEntity) Error() string
type PcloudCloudinstancesStockimagesGetBadRequest ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesStockimagesGetBadRequest ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetBadRequest() *PcloudCloudinstancesStockimagesGetBadRequest
NewPcloudCloudinstancesStockimagesGetBadRequest creates a PcloudCloudinstancesStockimagesGetBadRequest with default headers values
func (*PcloudCloudinstancesStockimagesGetBadRequest) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetBadRequest) Error() string
type PcloudCloudinstancesStockimagesGetInternalServerError ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesStockimagesGetInternalServerError ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetInternalServerError() *PcloudCloudinstancesStockimagesGetInternalServerError
NewPcloudCloudinstancesStockimagesGetInternalServerError creates a PcloudCloudinstancesStockimagesGetInternalServerError with default headers values
func (*PcloudCloudinstancesStockimagesGetInternalServerError) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetInternalServerError) Error() string
type PcloudCloudinstancesStockimagesGetNotFound ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesStockimagesGetNotFound ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetNotFound() *PcloudCloudinstancesStockimagesGetNotFound
NewPcloudCloudinstancesStockimagesGetNotFound creates a PcloudCloudinstancesStockimagesGetNotFound with default headers values
func (*PcloudCloudinstancesStockimagesGetNotFound) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetNotFound) Error() string
type PcloudCloudinstancesStockimagesGetOK ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetOK handles this case with default header values.
OK
func NewPcloudCloudinstancesStockimagesGetOK ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetOK() *PcloudCloudinstancesStockimagesGetOK
NewPcloudCloudinstancesStockimagesGetOK creates a PcloudCloudinstancesStockimagesGetOK with default headers values
func (*PcloudCloudinstancesStockimagesGetOK) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetOK) Error() string
type PcloudCloudinstancesStockimagesGetParams ¶ added in v1.0.53
type PcloudCloudinstancesStockimagesGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*ImageID Image ID of a image */ ImageID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesStockimagesGetParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances stockimages get operation typically these are written to a http.Request
func NewPcloudCloudinstancesStockimagesGetParams ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetParams() *PcloudCloudinstancesStockimagesGetParams
NewPcloudCloudinstancesStockimagesGetParams creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized.
func NewPcloudCloudinstancesStockimagesGetParamsWithContext ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetParams
NewPcloudCloudinstancesStockimagesGetParamsWithContext creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesStockimagesGetParamsWithHTTPClient ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetParams
NewPcloudCloudinstancesStockimagesGetParamsWithHTTPClient creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesStockimagesGetParamsWithTimeout ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetParams
NewPcloudCloudinstancesStockimagesGetParamsWithTimeout creates a new PcloudCloudinstancesStockimagesGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesStockimagesGetParams) SetCloudInstanceID ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) SetContext ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) SetHTTPClient ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) SetImageID ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) SetImageID(imageID string)
SetImageID adds the imageId to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) SetTimeout ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) WithCloudInstanceID ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesStockimagesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) WithContext ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetParams
WithContext adds the context to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) WithHTTPClient ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) WithImageID ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) WithImageID(imageID string) *PcloudCloudinstancesStockimagesGetParams
WithImageID adds the imageID to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) WithTimeout ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetParams
WithTimeout adds the timeout to the pcloud cloudinstances stockimages get params
func (*PcloudCloudinstancesStockimagesGetParams) WriteToRequest ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesStockimagesGetReader ¶ added in v1.0.53
type PcloudCloudinstancesStockimagesGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesStockimagesGetReader is a Reader for the PcloudCloudinstancesStockimagesGet structure.
func (*PcloudCloudinstancesStockimagesGetReader) ReadResponse ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesStockimagesGetallBadRequest ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesStockimagesGetallBadRequest ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallBadRequest() *PcloudCloudinstancesStockimagesGetallBadRequest
NewPcloudCloudinstancesStockimagesGetallBadRequest creates a PcloudCloudinstancesStockimagesGetallBadRequest with default headers values
func (*PcloudCloudinstancesStockimagesGetallBadRequest) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallBadRequest) Error() string
type PcloudCloudinstancesStockimagesGetallInternalServerError ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesStockimagesGetallInternalServerError ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallInternalServerError() *PcloudCloudinstancesStockimagesGetallInternalServerError
NewPcloudCloudinstancesStockimagesGetallInternalServerError creates a PcloudCloudinstancesStockimagesGetallInternalServerError with default headers values
func (*PcloudCloudinstancesStockimagesGetallInternalServerError) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallInternalServerError) Error() string
type PcloudCloudinstancesStockimagesGetallNotFound ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesStockimagesGetallNotFound ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallNotFound() *PcloudCloudinstancesStockimagesGetallNotFound
NewPcloudCloudinstancesStockimagesGetallNotFound creates a PcloudCloudinstancesStockimagesGetallNotFound with default headers values
func (*PcloudCloudinstancesStockimagesGetallNotFound) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallNotFound) Error() string
type PcloudCloudinstancesStockimagesGetallOK ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallOK handles this case with default header values.
OK
func NewPcloudCloudinstancesStockimagesGetallOK ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallOK() *PcloudCloudinstancesStockimagesGetallOK
NewPcloudCloudinstancesStockimagesGetallOK creates a PcloudCloudinstancesStockimagesGetallOK with default headers values
func (*PcloudCloudinstancesStockimagesGetallOK) Error ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallOK) Error() string
type PcloudCloudinstancesStockimagesGetallParams ¶ added in v1.0.53
type PcloudCloudinstancesStockimagesGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*Sap Include SAP images with get available stock images */ Sap *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesStockimagesGetallParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances stockimages getall operation typically these are written to a http.Request
func NewPcloudCloudinstancesStockimagesGetallParams ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallParams() *PcloudCloudinstancesStockimagesGetallParams
NewPcloudCloudinstancesStockimagesGetallParams creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized.
func NewPcloudCloudinstancesStockimagesGetallParamsWithContext ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams
NewPcloudCloudinstancesStockimagesGetallParamsWithContext creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesStockimagesGetallParamsWithHTTPClient ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetallParams
NewPcloudCloudinstancesStockimagesGetallParamsWithHTTPClient creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesStockimagesGetallParamsWithTimeout ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetallParams
NewPcloudCloudinstancesStockimagesGetallParamsWithTimeout creates a new PcloudCloudinstancesStockimagesGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesStockimagesGetallParams) SetCloudInstanceID ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) SetContext ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) SetHTTPClient ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) SetSap ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) SetSap(sap *bool)
SetSap adds the sap to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) SetTimeout ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) WithCloudInstanceID ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesStockimagesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) WithContext ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams
WithContext adds the context to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) WithHTTPClient ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesStockimagesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) WithSap ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) WithSap(sap *bool) *PcloudCloudinstancesStockimagesGetallParams
WithSap adds the sap to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) WithTimeout ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesStockimagesGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances stockimages getall params
func (*PcloudCloudinstancesStockimagesGetallParams) WriteToRequest ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesStockimagesGetallReader ¶ added in v1.0.53
type PcloudCloudinstancesStockimagesGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesStockimagesGetallReader is a Reader for the PcloudCloudinstancesStockimagesGetall structure.
func (*PcloudCloudinstancesStockimagesGetallReader) ReadResponse ¶ added in v1.0.53
func (o *PcloudCloudinstancesStockimagesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudImagesGetBadRequest ¶
PcloudImagesGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudImagesGetBadRequest ¶
func NewPcloudImagesGetBadRequest() *PcloudImagesGetBadRequest
NewPcloudImagesGetBadRequest creates a PcloudImagesGetBadRequest with default headers values
func (*PcloudImagesGetBadRequest) Error ¶
func (o *PcloudImagesGetBadRequest) Error() string
type PcloudImagesGetInternalServerError ¶
PcloudImagesGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudImagesGetInternalServerError ¶
func NewPcloudImagesGetInternalServerError() *PcloudImagesGetInternalServerError
NewPcloudImagesGetInternalServerError creates a PcloudImagesGetInternalServerError with default headers values
func (*PcloudImagesGetInternalServerError) Error ¶
func (o *PcloudImagesGetInternalServerError) Error() string
type PcloudImagesGetNotFound ¶
PcloudImagesGetNotFound handles this case with default header values.
Not Found
func NewPcloudImagesGetNotFound ¶
func NewPcloudImagesGetNotFound() *PcloudImagesGetNotFound
NewPcloudImagesGetNotFound creates a PcloudImagesGetNotFound with default headers values
func (*PcloudImagesGetNotFound) Error ¶
func (o *PcloudImagesGetNotFound) Error() string
type PcloudImagesGetOK ¶
PcloudImagesGetOK handles this case with default header values.
OK
func NewPcloudImagesGetOK ¶
func NewPcloudImagesGetOK() *PcloudImagesGetOK
NewPcloudImagesGetOK creates a PcloudImagesGetOK with default headers values
func (*PcloudImagesGetOK) Error ¶
func (o *PcloudImagesGetOK) Error() string
type PcloudImagesGetParams ¶
type PcloudImagesGetParams struct { /*ImageID Image ID of a image */ ImageID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudImagesGetParams contains all the parameters to send to the API endpoint for the pcloud images get operation typically these are written to a http.Request
func NewPcloudImagesGetParams ¶
func NewPcloudImagesGetParams() *PcloudImagesGetParams
NewPcloudImagesGetParams creates a new PcloudImagesGetParams object with the default values initialized.
func NewPcloudImagesGetParamsWithContext ¶
func NewPcloudImagesGetParamsWithContext(ctx context.Context) *PcloudImagesGetParams
NewPcloudImagesGetParamsWithContext creates a new PcloudImagesGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudImagesGetParamsWithHTTPClient ¶
func NewPcloudImagesGetParamsWithHTTPClient(client *http.Client) *PcloudImagesGetParams
NewPcloudImagesGetParamsWithHTTPClient creates a new PcloudImagesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudImagesGetParamsWithTimeout ¶
func NewPcloudImagesGetParamsWithTimeout(timeout time.Duration) *PcloudImagesGetParams
NewPcloudImagesGetParamsWithTimeout creates a new PcloudImagesGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudImagesGetParams) SetContext ¶
func (o *PcloudImagesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud images get params
func (*PcloudImagesGetParams) SetHTTPClient ¶
func (o *PcloudImagesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud images get params
func (*PcloudImagesGetParams) SetImageID ¶
func (o *PcloudImagesGetParams) SetImageID(imageID string)
SetImageID adds the imageId to the pcloud images get params
func (*PcloudImagesGetParams) SetTimeout ¶
func (o *PcloudImagesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud images get params
func (*PcloudImagesGetParams) WithContext ¶
func (o *PcloudImagesGetParams) WithContext(ctx context.Context) *PcloudImagesGetParams
WithContext adds the context to the pcloud images get params
func (*PcloudImagesGetParams) WithHTTPClient ¶
func (o *PcloudImagesGetParams) WithHTTPClient(client *http.Client) *PcloudImagesGetParams
WithHTTPClient adds the HTTPClient to the pcloud images get params
func (*PcloudImagesGetParams) WithImageID ¶
func (o *PcloudImagesGetParams) WithImageID(imageID string) *PcloudImagesGetParams
WithImageID adds the imageID to the pcloud images get params
func (*PcloudImagesGetParams) WithTimeout ¶
func (o *PcloudImagesGetParams) WithTimeout(timeout time.Duration) *PcloudImagesGetParams
WithTimeout adds the timeout to the pcloud images get params
func (*PcloudImagesGetParams) WriteToRequest ¶
func (o *PcloudImagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudImagesGetReader ¶
type PcloudImagesGetReader struct {
// contains filtered or unexported fields
}
PcloudImagesGetReader is a Reader for the PcloudImagesGet structure.
func (*PcloudImagesGetReader) ReadResponse ¶
func (o *PcloudImagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudImagesGetallBadRequest ¶
PcloudImagesGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudImagesGetallBadRequest ¶
func NewPcloudImagesGetallBadRequest() *PcloudImagesGetallBadRequest
NewPcloudImagesGetallBadRequest creates a PcloudImagesGetallBadRequest with default headers values
func (*PcloudImagesGetallBadRequest) Error ¶
func (o *PcloudImagesGetallBadRequest) Error() string
type PcloudImagesGetallInternalServerError ¶
PcloudImagesGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudImagesGetallInternalServerError ¶
func NewPcloudImagesGetallInternalServerError() *PcloudImagesGetallInternalServerError
NewPcloudImagesGetallInternalServerError creates a PcloudImagesGetallInternalServerError with default headers values
func (*PcloudImagesGetallInternalServerError) Error ¶
func (o *PcloudImagesGetallInternalServerError) Error() string
type PcloudImagesGetallNotFound ¶
PcloudImagesGetallNotFound handles this case with default header values.
Not Found
func NewPcloudImagesGetallNotFound ¶
func NewPcloudImagesGetallNotFound() *PcloudImagesGetallNotFound
NewPcloudImagesGetallNotFound creates a PcloudImagesGetallNotFound with default headers values
func (*PcloudImagesGetallNotFound) Error ¶
func (o *PcloudImagesGetallNotFound) Error() string
type PcloudImagesGetallOK ¶
PcloudImagesGetallOK handles this case with default header values.
OK
func NewPcloudImagesGetallOK ¶
func NewPcloudImagesGetallOK() *PcloudImagesGetallOK
NewPcloudImagesGetallOK creates a PcloudImagesGetallOK with default headers values
func (*PcloudImagesGetallOK) Error ¶
func (o *PcloudImagesGetallOK) Error() string
type PcloudImagesGetallParams ¶
type PcloudImagesGetallParams struct { /*Sap Include SAP images with get available stock images */ Sap *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudImagesGetallParams contains all the parameters to send to the API endpoint for the pcloud images getall operation typically these are written to a http.Request
func NewPcloudImagesGetallParams ¶
func NewPcloudImagesGetallParams() *PcloudImagesGetallParams
NewPcloudImagesGetallParams creates a new PcloudImagesGetallParams object with the default values initialized.
func NewPcloudImagesGetallParamsWithContext ¶
func NewPcloudImagesGetallParamsWithContext(ctx context.Context) *PcloudImagesGetallParams
NewPcloudImagesGetallParamsWithContext creates a new PcloudImagesGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudImagesGetallParamsWithHTTPClient ¶
func NewPcloudImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudImagesGetallParams
NewPcloudImagesGetallParamsWithHTTPClient creates a new PcloudImagesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudImagesGetallParamsWithTimeout ¶
func NewPcloudImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudImagesGetallParams
NewPcloudImagesGetallParamsWithTimeout creates a new PcloudImagesGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudImagesGetallParams) SetContext ¶
func (o *PcloudImagesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud images getall params
func (*PcloudImagesGetallParams) SetHTTPClient ¶
func (o *PcloudImagesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud images getall params
func (*PcloudImagesGetallParams) SetSap ¶ added in v1.0.10
func (o *PcloudImagesGetallParams) SetSap(sap *bool)
SetSap adds the sap to the pcloud images getall params
func (*PcloudImagesGetallParams) SetTimeout ¶
func (o *PcloudImagesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud images getall params
func (*PcloudImagesGetallParams) WithContext ¶
func (o *PcloudImagesGetallParams) WithContext(ctx context.Context) *PcloudImagesGetallParams
WithContext adds the context to the pcloud images getall params
func (*PcloudImagesGetallParams) WithHTTPClient ¶
func (o *PcloudImagesGetallParams) WithHTTPClient(client *http.Client) *PcloudImagesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud images getall params
func (*PcloudImagesGetallParams) WithSap ¶ added in v1.0.10
func (o *PcloudImagesGetallParams) WithSap(sap *bool) *PcloudImagesGetallParams
WithSap adds the sap to the pcloud images getall params
func (*PcloudImagesGetallParams) WithTimeout ¶
func (o *PcloudImagesGetallParams) WithTimeout(timeout time.Duration) *PcloudImagesGetallParams
WithTimeout adds the timeout to the pcloud images getall params
func (*PcloudImagesGetallParams) WriteToRequest ¶
func (o *PcloudImagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudImagesGetallReader ¶
type PcloudImagesGetallReader struct {
// contains filtered or unexported fields
}
PcloudImagesGetallReader is a Reader for the PcloudImagesGetall structure.
func (*PcloudImagesGetallReader) ReadResponse ¶
func (o *PcloudImagesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- p_cloud_images_client.go
- pcloud_cloudinstances_images_delete_parameters.go
- pcloud_cloudinstances_images_delete_responses.go
- pcloud_cloudinstances_images_export_post_parameters.go
- pcloud_cloudinstances_images_export_post_responses.go
- pcloud_cloudinstances_images_get_parameters.go
- pcloud_cloudinstances_images_get_responses.go
- pcloud_cloudinstances_images_getall_parameters.go
- pcloud_cloudinstances_images_getall_responses.go
- pcloud_cloudinstances_images_post_parameters.go
- pcloud_cloudinstances_images_post_responses.go
- pcloud_cloudinstances_stockimages_get_parameters.go
- pcloud_cloudinstances_stockimages_get_responses.go
- pcloud_cloudinstances_stockimages_getall_parameters.go
- pcloud_cloudinstances_stockimages_getall_responses.go
- pcloud_images_get_parameters.go
- pcloud_images_get_responses.go
- pcloud_images_getall_parameters.go
- pcloud_images_getall_responses.go