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) PcloudV1CloudinstancesCosimagesGet(params *PcloudV1CloudinstancesCosimagesGetParams, ...) (*PcloudV1CloudinstancesCosimagesGetOK, error)
- func (a *Client) PcloudV1CloudinstancesCosimagesPost(params *PcloudV1CloudinstancesCosimagesPostParams, ...) (*PcloudV1CloudinstancesCosimagesPostAccepted, error)
- func (a *Client) PcloudV2ImagesExportGet(params *PcloudV2ImagesExportGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudV2ImagesExportGetOK, error)
- func (a *Client) PcloudV2ImagesExportPost(params *PcloudV2ImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudV2ImagesExportPostAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudCloudinstancesImagesDeleteUnauthorized
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudCloudinstancesImagesExportPostUnauthorized
- type PcloudCloudinstancesImagesExportPostUnprocessableEntity
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudCloudinstancesImagesGetUnauthorized
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudCloudinstancesImagesGetallUnauthorized
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudCloudinstancesImagesPostUnauthorized
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudCloudinstancesStockimagesGetUnauthorized
- 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) SetDefaults()
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetSap(sap *bool)
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesStockimagesGetallParams) SetVtl(vtl *bool)
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WithDefaults() *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) WithVtl(vtl *bool) *PcloudCloudinstancesStockimagesGetallParams
- func (o *PcloudCloudinstancesStockimagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesStockimagesGetallReader
- type PcloudCloudinstancesStockimagesGetallUnauthorized
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudImagesGetUnauthorized
- 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) SetDefaults()
- func (o *PcloudImagesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudImagesGetallParams) SetSap(sap *bool)
- func (o *PcloudImagesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudImagesGetallParams) SetVtl(vtl *bool)
- func (o *PcloudImagesGetallParams) WithContext(ctx context.Context) *PcloudImagesGetallParams
- func (o *PcloudImagesGetallParams) WithDefaults() *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) WithVtl(vtl *bool) *PcloudImagesGetallParams
- func (o *PcloudImagesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudImagesGetallReader
- type PcloudImagesGetallUnauthorized
- type PcloudV1CloudinstancesCosimagesGetInternalServerError
- type PcloudV1CloudinstancesCosimagesGetNotFound
- type PcloudV1CloudinstancesCosimagesGetOK
- type PcloudV1CloudinstancesCosimagesGetParams
- func NewPcloudV1CloudinstancesCosimagesGetParams() *PcloudV1CloudinstancesCosimagesGetParams
- func NewPcloudV1CloudinstancesCosimagesGetParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesGetParams
- func NewPcloudV1CloudinstancesCosimagesGetParamsWithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesGetParams
- func NewPcloudV1CloudinstancesCosimagesGetParamsWithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesGetParams
- func (o *PcloudV1CloudinstancesCosimagesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV1CloudinstancesCosimagesGetParams) SetContext(ctx context.Context)
- func (o *PcloudV1CloudinstancesCosimagesGetParams) SetDefaults()
- func (o *PcloudV1CloudinstancesCosimagesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV1CloudinstancesCosimagesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV1CloudinstancesCosimagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV1CloudinstancesCosimagesGetParams
- func (o *PcloudV1CloudinstancesCosimagesGetParams) WithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesGetParams
- func (o *PcloudV1CloudinstancesCosimagesGetParams) WithDefaults() *PcloudV1CloudinstancesCosimagesGetParams
- func (o *PcloudV1CloudinstancesCosimagesGetParams) WithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesGetParams
- func (o *PcloudV1CloudinstancesCosimagesGetParams) WithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesGetParams
- func (o *PcloudV1CloudinstancesCosimagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV1CloudinstancesCosimagesGetReader
- type PcloudV1CloudinstancesCosimagesGetUnauthorized
- type PcloudV1CloudinstancesCosimagesPostAccepted
- type PcloudV1CloudinstancesCosimagesPostBadRequest
- type PcloudV1CloudinstancesCosimagesPostConflict
- type PcloudV1CloudinstancesCosimagesPostForbidden
- type PcloudV1CloudinstancesCosimagesPostInternalServerError
- type PcloudV1CloudinstancesCosimagesPostParams
- func NewPcloudV1CloudinstancesCosimagesPostParams() *PcloudV1CloudinstancesCosimagesPostParams
- func NewPcloudV1CloudinstancesCosimagesPostParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesPostParams
- func NewPcloudV1CloudinstancesCosimagesPostParamsWithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesPostParams
- func NewPcloudV1CloudinstancesCosimagesPostParamsWithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesPostParams
- func (o *PcloudV1CloudinstancesCosimagesPostParams) SetBody(body *models.CreateCosImageImportJob)
- func (o *PcloudV1CloudinstancesCosimagesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV1CloudinstancesCosimagesPostParams) SetContext(ctx context.Context)
- func (o *PcloudV1CloudinstancesCosimagesPostParams) SetDefaults()
- func (o *PcloudV1CloudinstancesCosimagesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV1CloudinstancesCosimagesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV1CloudinstancesCosimagesPostParams) WithBody(body *models.CreateCosImageImportJob) *PcloudV1CloudinstancesCosimagesPostParams
- func (o *PcloudV1CloudinstancesCosimagesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV1CloudinstancesCosimagesPostParams
- func (o *PcloudV1CloudinstancesCosimagesPostParams) WithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesPostParams
- func (o *PcloudV1CloudinstancesCosimagesPostParams) WithDefaults() *PcloudV1CloudinstancesCosimagesPostParams
- func (o *PcloudV1CloudinstancesCosimagesPostParams) WithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesPostParams
- func (o *PcloudV1CloudinstancesCosimagesPostParams) WithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesPostParams
- func (o *PcloudV1CloudinstancesCosimagesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV1CloudinstancesCosimagesPostReader
- type PcloudV1CloudinstancesCosimagesPostUnauthorized
- type PcloudV1CloudinstancesCosimagesPostUnprocessableEntity
- type PcloudV2ImagesExportGetInternalServerError
- type PcloudV2ImagesExportGetNotFound
- type PcloudV2ImagesExportGetOK
- type PcloudV2ImagesExportGetParams
- func NewPcloudV2ImagesExportGetParams() *PcloudV2ImagesExportGetParams
- func NewPcloudV2ImagesExportGetParamsWithContext(ctx context.Context) *PcloudV2ImagesExportGetParams
- func NewPcloudV2ImagesExportGetParamsWithHTTPClient(client *http.Client) *PcloudV2ImagesExportGetParams
- func NewPcloudV2ImagesExportGetParamsWithTimeout(timeout time.Duration) *PcloudV2ImagesExportGetParams
- func (o *PcloudV2ImagesExportGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2ImagesExportGetParams) SetContext(ctx context.Context)
- func (o *PcloudV2ImagesExportGetParams) SetDefaults()
- func (o *PcloudV2ImagesExportGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2ImagesExportGetParams) SetImageID(imageID string)
- func (o *PcloudV2ImagesExportGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2ImagesExportGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2ImagesExportGetParams
- func (o *PcloudV2ImagesExportGetParams) WithContext(ctx context.Context) *PcloudV2ImagesExportGetParams
- func (o *PcloudV2ImagesExportGetParams) WithDefaults() *PcloudV2ImagesExportGetParams
- func (o *PcloudV2ImagesExportGetParams) WithHTTPClient(client *http.Client) *PcloudV2ImagesExportGetParams
- func (o *PcloudV2ImagesExportGetParams) WithImageID(imageID string) *PcloudV2ImagesExportGetParams
- func (o *PcloudV2ImagesExportGetParams) WithTimeout(timeout time.Duration) *PcloudV2ImagesExportGetParams
- func (o *PcloudV2ImagesExportGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2ImagesExportGetReader
- type PcloudV2ImagesExportGetUnauthorized
- type PcloudV2ImagesExportPostAccepted
- type PcloudV2ImagesExportPostBadRequest
- type PcloudV2ImagesExportPostConflict
- type PcloudV2ImagesExportPostInternalServerError
- type PcloudV2ImagesExportPostNotFound
- type PcloudV2ImagesExportPostParams
- func NewPcloudV2ImagesExportPostParams() *PcloudV2ImagesExportPostParams
- func NewPcloudV2ImagesExportPostParamsWithContext(ctx context.Context) *PcloudV2ImagesExportPostParams
- func NewPcloudV2ImagesExportPostParamsWithHTTPClient(client *http.Client) *PcloudV2ImagesExportPostParams
- func NewPcloudV2ImagesExportPostParamsWithTimeout(timeout time.Duration) *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) SetBody(body *models.ExportImage)
- func (o *PcloudV2ImagesExportPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudV2ImagesExportPostParams) SetContext(ctx context.Context)
- func (o *PcloudV2ImagesExportPostParams) SetDefaults()
- func (o *PcloudV2ImagesExportPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudV2ImagesExportPostParams) SetImageID(imageID string)
- func (o *PcloudV2ImagesExportPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudV2ImagesExportPostParams) WithBody(body *models.ExportImage) *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) WithContext(ctx context.Context) *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) WithDefaults() *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) WithHTTPClient(client *http.Client) *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) WithImageID(imageID string) *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) WithTimeout(timeout time.Duration) *PcloudV2ImagesExportPostParams
- func (o *PcloudV2ImagesExportPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudV2ImagesExportPostReader
- type PcloudV2ImagesExportPostUnauthorized
- type PcloudV2ImagesExportPostUnprocessableEntity
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 (*Client) PcloudCloudinstancesImagesDelete ¶
func (a *Client) PcloudCloudinstancesImagesDelete(params *PcloudCloudinstancesImagesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesDeleteOK, error)
PcloudCloudinstancesImagesDelete deletes an image from a cloud instance
func (*Client) PcloudCloudinstancesImagesExportPost ¶
func (a *Client) PcloudCloudinstancesImagesExportPost(params *PcloudCloudinstancesImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesExportPostAccepted, error)
PcloudCloudinstancesImagesExportPost exports an image
func (*Client) PcloudCloudinstancesImagesGet ¶
func (a *Client) PcloudCloudinstancesImagesGet(params *PcloudCloudinstancesImagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesGetOK, error)
PcloudCloudinstancesImagesGet detaileds info of an image
func (*Client) PcloudCloudinstancesImagesGetall ¶
func (a *Client) PcloudCloudinstancesImagesGetall(params *PcloudCloudinstancesImagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesGetallOK, error)
PcloudCloudinstancesImagesGetall lists all images for this cloud instance
func (*Client) PcloudCloudinstancesImagesPost ¶
func (a *Client) PcloudCloudinstancesImagesPost(params *PcloudCloudinstancesImagesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*PcloudCloudinstancesStockimagesGetallOK, error)
PcloudCloudinstancesStockimagesGetall lists all available stock images
func (*Client) PcloudImagesGet ¶
func (a *Client) PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*PcloudImagesGetallOK, error)
PcloudImagesGetall deprecateds for pcloud v1 cloud instances cloud instance id stock images list all available stock images
func (*Client) PcloudV1CloudinstancesCosimagesGet ¶ added in v1.0.75
func (a *Client) PcloudV1CloudinstancesCosimagesGet(params *PcloudV1CloudinstancesCosimagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV1CloudinstancesCosimagesGetOK, error)
PcloudV1CloudinstancesCosimagesGet gets detail of last cos image import job
func (*Client) PcloudV1CloudinstancesCosimagesPost ¶ added in v1.0.75
func (a *Client) PcloudV1CloudinstancesCosimagesPost(params *PcloudV1CloudinstancesCosimagesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV1CloudinstancesCosimagesPostAccepted, error)
PcloudV1CloudinstancesCosimagesPost creates an cos image import job
func (*Client) PcloudV2ImagesExportGet ¶ added in v1.0.75
func (a *Client) PcloudV2ImagesExportGet(params *PcloudV2ImagesExportGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2ImagesExportGetOK, error)
PcloudV2ImagesExportGet gets detail of last image export job
func (*Client) PcloudV2ImagesExportPost ¶ added in v1.0.75
func (a *Client) PcloudV2ImagesExportPost(params *PcloudV2ImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2ImagesExportPostAccepted, error)
PcloudV2ImagesExportPost adds image export job to the jobs queue
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 { PcloudCloudinstancesImagesDelete(params *PcloudCloudinstancesImagesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesDeleteOK, error) PcloudCloudinstancesImagesExportPost(params *PcloudCloudinstancesImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesExportPostAccepted, error) PcloudCloudinstancesImagesGet(params *PcloudCloudinstancesImagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesGetOK, error) PcloudCloudinstancesImagesGetall(params *PcloudCloudinstancesImagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesGetallOK, error) PcloudCloudinstancesImagesPost(params *PcloudCloudinstancesImagesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesImagesPostOK, *PcloudCloudinstancesImagesPostCreated, error) PcloudCloudinstancesStockimagesGet(params *PcloudCloudinstancesStockimagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStockimagesGetOK, error) PcloudCloudinstancesStockimagesGetall(params *PcloudCloudinstancesStockimagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStockimagesGetallOK, error) PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudImagesGetOK, error) PcloudImagesGetall(params *PcloudImagesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudImagesGetallOK, error) PcloudV1CloudinstancesCosimagesGet(params *PcloudV1CloudinstancesCosimagesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV1CloudinstancesCosimagesGetOK, error) PcloudV1CloudinstancesCosimagesPost(params *PcloudV1CloudinstancesCosimagesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV1CloudinstancesCosimagesPostAccepted, error) PcloudV2ImagesExportGet(params *PcloudV2ImagesExportGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2ImagesExportGetOK, error) PcloudV2ImagesExportPost(params *PcloudV2ImagesExportPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2ImagesExportPostAccepted, 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 images API client.
type PcloudCloudinstancesImagesDeleteBadRequest ¶
PcloudCloudinstancesImagesDeleteBadRequest describes a response with status code 400, 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
func (*PcloudCloudinstancesImagesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesDeleteBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesImagesDeleteGone ¶
PcloudCloudinstancesImagesDeleteGone describes a response with status code 410, 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
func (*PcloudCloudinstancesImagesDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesDeleteGone) GetPayload() *models.Error
type PcloudCloudinstancesImagesDeleteInternalServerError ¶
PcloudCloudinstancesImagesDeleteInternalServerError describes a response with status code 500, 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
func (*PcloudCloudinstancesImagesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesDeleteInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesImagesDeleteOK ¶
PcloudCloudinstancesImagesDeleteOK describes a response with status code 200, 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
func (*PcloudCloudinstancesImagesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesDeleteOK) GetPayload() models.Object
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 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 NewPcloudCloudinstancesImagesDeleteParamsWithContext ¶
func NewPcloudCloudinstancesImagesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams
NewPcloudCloudinstancesImagesDeleteParamsWithContext creates a new PcloudCloudinstancesImagesDeleteParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances images delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesDeleteParams) WithDefaults() *PcloudCloudinstancesImagesDeleteParams
WithDefaults hydrates default values in the pcloud cloudinstances images delete params (not the query body).
All values with no default are reset to their zero value.
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 PcloudCloudinstancesImagesDeleteUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesImagesDeleteUnauthorized struct {
}PcloudCloudinstancesImagesDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesImagesDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesImagesDeleteUnauthorized() *PcloudCloudinstancesImagesDeleteUnauthorized
NewPcloudCloudinstancesImagesDeleteUnauthorized creates a PcloudCloudinstancesImagesDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesImagesDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesImagesDeleteUnauthorized) Error() string
func (*PcloudCloudinstancesImagesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesDeleteUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesImagesExportPostAccepted ¶
PcloudCloudinstancesImagesExportPostAccepted describes a response with status code 202, 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
func (*PcloudCloudinstancesImagesExportPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostAccepted) GetPayload() models.Object
type PcloudCloudinstancesImagesExportPostBadRequest ¶
PcloudCloudinstancesImagesExportPostBadRequest describes a response with status code 400, 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
func (*PcloudCloudinstancesImagesExportPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesImagesExportPostInternalServerError ¶
PcloudCloudinstancesImagesExportPostInternalServerError describes a response with status code 500, 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
func (*PcloudCloudinstancesImagesExportPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesImagesExportPostNotFound ¶
PcloudCloudinstancesImagesExportPostNotFound describes a response with status code 404, 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
func (*PcloudCloudinstancesImagesExportPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostNotFound) GetPayload() *models.Error
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 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 NewPcloudCloudinstancesImagesExportPostParamsWithContext ¶
func NewPcloudCloudinstancesImagesExportPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams
NewPcloudCloudinstancesImagesExportPostParamsWithContext creates a new PcloudCloudinstancesImagesExportPostParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances images export post params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostParams) WithDefaults() *PcloudCloudinstancesImagesExportPostParams
WithDefaults hydrates default values in the pcloud cloudinstances images export post params (not the query body).
All values with no default are reset to their zero value.
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 PcloudCloudinstancesImagesExportPostUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesImagesExportPostUnauthorized struct {
}PcloudCloudinstancesImagesExportPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesImagesExportPostUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesImagesExportPostUnauthorized() *PcloudCloudinstancesImagesExportPostUnauthorized
NewPcloudCloudinstancesImagesExportPostUnauthorized creates a PcloudCloudinstancesImagesExportPostUnauthorized with default headers values
func (*PcloudCloudinstancesImagesExportPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesImagesExportPostUnauthorized) Error() string
func (*PcloudCloudinstancesImagesExportPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesImagesExportPostUnprocessableEntity ¶ added in v1.0.75
PcloudCloudinstancesImagesExportPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudCloudinstancesImagesExportPostUnprocessableEntity ¶ added in v1.0.75
func NewPcloudCloudinstancesImagesExportPostUnprocessableEntity() *PcloudCloudinstancesImagesExportPostUnprocessableEntity
NewPcloudCloudinstancesImagesExportPostUnprocessableEntity creates a PcloudCloudinstancesImagesExportPostUnprocessableEntity with default headers values
func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) Error ¶ added in v1.0.75
func (o *PcloudCloudinstancesImagesExportPostUnprocessableEntity) Error() string
func (*PcloudCloudinstancesImagesExportPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesExportPostUnprocessableEntity) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetBadRequest ¶
PcloudCloudinstancesImagesGetBadRequest describes a response with status code 400, 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
func (*PcloudCloudinstancesImagesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetInternalServerError ¶
PcloudCloudinstancesImagesGetInternalServerError describes a response with status code 500, 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
func (*PcloudCloudinstancesImagesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetNotFound ¶
PcloudCloudinstancesImagesGetNotFound describes a response with status code 404, 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
func (*PcloudCloudinstancesImagesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetNotFound) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetOK ¶
PcloudCloudinstancesImagesGetOK describes a response with status code 200, 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
func (*PcloudCloudinstancesImagesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetOK) GetPayload() *models.Image
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 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 NewPcloudCloudinstancesImagesGetParamsWithContext ¶
func NewPcloudCloudinstancesImagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams
NewPcloudCloudinstancesImagesGetParamsWithContext creates a new PcloudCloudinstancesImagesGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances images get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetParams) WithDefaults() *PcloudCloudinstancesImagesGetParams
WithDefaults hydrates default values in the pcloud cloudinstances images get params (not the query body).
All values with no default are reset to their zero value.
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 PcloudCloudinstancesImagesGetUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesImagesGetUnauthorized struct {
}PcloudCloudinstancesImagesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesImagesGetUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesImagesGetUnauthorized() *PcloudCloudinstancesImagesGetUnauthorized
NewPcloudCloudinstancesImagesGetUnauthorized creates a PcloudCloudinstancesImagesGetUnauthorized with default headers values
func (*PcloudCloudinstancesImagesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesImagesGetUnauthorized) Error() string
func (*PcloudCloudinstancesImagesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetallBadRequest ¶
PcloudCloudinstancesImagesGetallBadRequest describes a response with status code 400, 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
func (*PcloudCloudinstancesImagesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetallBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetallInternalServerError ¶
PcloudCloudinstancesImagesGetallInternalServerError describes a response with status code 500, 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
func (*PcloudCloudinstancesImagesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetallInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetallNotFound ¶
PcloudCloudinstancesImagesGetallNotFound describes a response with status code 404, 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
func (*PcloudCloudinstancesImagesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetallNotFound) GetPayload() *models.Error
type PcloudCloudinstancesImagesGetallOK ¶
PcloudCloudinstancesImagesGetallOK describes a response with status code 200, 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
func (*PcloudCloudinstancesImagesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetallOK) GetPayload() *models.Images
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 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 NewPcloudCloudinstancesImagesGetallParamsWithContext ¶
func NewPcloudCloudinstancesImagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams
NewPcloudCloudinstancesImagesGetallParamsWithContext creates a new PcloudCloudinstancesImagesGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances images getall params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetallParams) WithDefaults() *PcloudCloudinstancesImagesGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances images getall params (not the query body).
All values with no default are reset to their zero value.
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 PcloudCloudinstancesImagesGetallUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesImagesGetallUnauthorized struct {
}PcloudCloudinstancesImagesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesImagesGetallUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesImagesGetallUnauthorized() *PcloudCloudinstancesImagesGetallUnauthorized
NewPcloudCloudinstancesImagesGetallUnauthorized creates a PcloudCloudinstancesImagesGetallUnauthorized with default headers values
func (*PcloudCloudinstancesImagesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesImagesGetallUnauthorized) Error() string
func (*PcloudCloudinstancesImagesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesGetallUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesImagesPostBadRequest ¶
PcloudCloudinstancesImagesPostBadRequest describes a response with status code 400, 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
func (*PcloudCloudinstancesImagesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesImagesPostConflict ¶
PcloudCloudinstancesImagesPostConflict describes a response with status code 409, 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
func (*PcloudCloudinstancesImagesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostConflict) GetPayload() *models.Error
type PcloudCloudinstancesImagesPostCreated ¶
PcloudCloudinstancesImagesPostCreated describes a response with status code 201, 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
func (*PcloudCloudinstancesImagesPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostCreated) GetPayload() *models.Image
type PcloudCloudinstancesImagesPostInternalServerError ¶
PcloudCloudinstancesImagesPostInternalServerError describes a response with status code 500, 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
func (*PcloudCloudinstancesImagesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesImagesPostOK ¶
PcloudCloudinstancesImagesPostOK describes a response with status code 200, 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
func (*PcloudCloudinstancesImagesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostOK) GetPayload() *models.Image
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 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 NewPcloudCloudinstancesImagesPostParamsWithContext ¶
func NewPcloudCloudinstancesImagesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams
NewPcloudCloudinstancesImagesPostParamsWithContext creates a new PcloudCloudinstancesImagesPostParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances images post params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostParams) WithDefaults() *PcloudCloudinstancesImagesPostParams
WithDefaults hydrates default values in the pcloud cloudinstances images post params (not the query body).
All values with no default are reset to their zero value.
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 PcloudCloudinstancesImagesPostUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesImagesPostUnauthorized struct {
}PcloudCloudinstancesImagesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesImagesPostUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesImagesPostUnauthorized() *PcloudCloudinstancesImagesPostUnauthorized
NewPcloudCloudinstancesImagesPostUnauthorized creates a PcloudCloudinstancesImagesPostUnauthorized with default headers values
func (*PcloudCloudinstancesImagesPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesImagesPostUnauthorized) Error() string
func (*PcloudCloudinstancesImagesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesImagesPostUnprocessableEntity ¶
PcloudCloudinstancesImagesPostUnprocessableEntity describes a response with status code 422, 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
func (*PcloudCloudinstancesImagesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesImagesPostUnprocessableEntity) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetBadRequest ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetBadRequest describes a response with status code 400, 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
func (*PcloudCloudinstancesStockimagesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetInternalServerError ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetInternalServerError describes a response with status code 500, 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
func (*PcloudCloudinstancesStockimagesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetNotFound ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetNotFound describes a response with status code 404, 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
func (*PcloudCloudinstancesStockimagesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetNotFound) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetOK ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetOK describes a response with status code 200, 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
func (*PcloudCloudinstancesStockimagesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetOK) GetPayload() *models.Image
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 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 NewPcloudCloudinstancesStockimagesGetParamsWithContext ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetParams
NewPcloudCloudinstancesStockimagesGetParamsWithContext creates a new PcloudCloudinstancesStockimagesGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances stockimages get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetParams) WithDefaults() *PcloudCloudinstancesStockimagesGetParams
WithDefaults hydrates default values in the pcloud cloudinstances stockimages get params (not the query body).
All values with no default are reset to their zero value.
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 PcloudCloudinstancesStockimagesGetUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesStockimagesGetUnauthorized struct {
}PcloudCloudinstancesStockimagesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesStockimagesGetUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesStockimagesGetUnauthorized() *PcloudCloudinstancesStockimagesGetUnauthorized
NewPcloudCloudinstancesStockimagesGetUnauthorized creates a PcloudCloudinstancesStockimagesGetUnauthorized with default headers values
func (*PcloudCloudinstancesStockimagesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesStockimagesGetUnauthorized) Error() string
func (*PcloudCloudinstancesStockimagesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetallBadRequest ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallBadRequest describes a response with status code 400, 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
func (*PcloudCloudinstancesStockimagesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetallBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetallInternalServerError ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallInternalServerError describes a response with status code 500, 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
func (*PcloudCloudinstancesStockimagesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetallInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetallNotFound ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallNotFound describes a response with status code 404, 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
func (*PcloudCloudinstancesStockimagesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetallNotFound) GetPayload() *models.Error
type PcloudCloudinstancesStockimagesGetallOK ¶ added in v1.0.53
PcloudCloudinstancesStockimagesGetallOK describes a response with status code 200, 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
func (*PcloudCloudinstancesStockimagesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetallOK) GetPayload() *models.Images
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 /* Vtl. Include VTL images with get available stock images */ Vtl *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 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 NewPcloudCloudinstancesStockimagesGetallParamsWithContext ¶ added in v1.0.53
func NewPcloudCloudinstancesStockimagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesStockimagesGetallParams
NewPcloudCloudinstancesStockimagesGetallParamsWithContext creates a new PcloudCloudinstancesStockimagesGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances stockimages getall params (not the query body).
All values with no default are reset to their zero value.
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) SetVtl ¶ added in v1.0.59
func (o *PcloudCloudinstancesStockimagesGetallParams) SetVtl(vtl *bool)
SetVtl adds the vtl 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) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetallParams) WithDefaults() *PcloudCloudinstancesStockimagesGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances stockimages getall params (not the query body).
All values with no default are reset to their zero value.
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) WithVtl ¶ added in v1.0.59
func (o *PcloudCloudinstancesStockimagesGetallParams) WithVtl(vtl *bool) *PcloudCloudinstancesStockimagesGetallParams
WithVtl adds the vtl 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 PcloudCloudinstancesStockimagesGetallUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesStockimagesGetallUnauthorized struct {
}PcloudCloudinstancesStockimagesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesStockimagesGetallUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesStockimagesGetallUnauthorized() *PcloudCloudinstancesStockimagesGetallUnauthorized
NewPcloudCloudinstancesStockimagesGetallUnauthorized creates a PcloudCloudinstancesStockimagesGetallUnauthorized with default headers values
func (*PcloudCloudinstancesStockimagesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesStockimagesGetallUnauthorized) Error() string
func (*PcloudCloudinstancesStockimagesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesStockimagesGetallUnauthorized) GetPayload() *models.Error
type PcloudImagesGetBadRequest ¶
PcloudImagesGetBadRequest describes a response with status code 400, 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
func (*PcloudImagesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetBadRequest) GetPayload() *models.Error
type PcloudImagesGetInternalServerError ¶
PcloudImagesGetInternalServerError describes a response with status code 500, 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
func (*PcloudImagesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetInternalServerError) GetPayload() *models.Error
type PcloudImagesGetNotFound ¶
PcloudImagesGetNotFound describes a response with status code 404, 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
func (*PcloudImagesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetNotFound) GetPayload() *models.Error
type PcloudImagesGetOK ¶
PcloudImagesGetOK describes a response with status code 200, 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
func (*PcloudImagesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetOK) GetPayload() *models.Image
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 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 NewPcloudImagesGetParamsWithContext ¶
func NewPcloudImagesGetParamsWithContext(ctx context.Context) *PcloudImagesGetParams
NewPcloudImagesGetParamsWithContext creates a new PcloudImagesGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudImagesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud images get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudImagesGetParams) WithDefaults() *PcloudImagesGetParams
WithDefaults hydrates default values in the pcloud images get params (not the query body).
All values with no default are reset to their zero value.
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 PcloudImagesGetUnauthorized ¶ added in v1.0.59
type PcloudImagesGetUnauthorized struct {
}PcloudImagesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudImagesGetUnauthorized ¶ added in v1.0.59
func NewPcloudImagesGetUnauthorized() *PcloudImagesGetUnauthorized
NewPcloudImagesGetUnauthorized creates a PcloudImagesGetUnauthorized with default headers values
func (*PcloudImagesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudImagesGetUnauthorized) Error() string
func (*PcloudImagesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetUnauthorized) GetPayload() *models.Error
type PcloudImagesGetallBadRequest ¶
PcloudImagesGetallBadRequest describes a response with status code 400, 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
func (*PcloudImagesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetallBadRequest) GetPayload() *models.Error
type PcloudImagesGetallInternalServerError ¶
PcloudImagesGetallInternalServerError describes a response with status code 500, 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
func (*PcloudImagesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetallInternalServerError) GetPayload() *models.Error
type PcloudImagesGetallNotFound ¶
PcloudImagesGetallNotFound describes a response with status code 404, 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
func (*PcloudImagesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetallNotFound) GetPayload() *models.Error
type PcloudImagesGetallOK ¶
PcloudImagesGetallOK describes a response with status code 200, 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
func (*PcloudImagesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetallOK) GetPayload() *models.Images
type PcloudImagesGetallParams ¶
type PcloudImagesGetallParams struct { /* Sap. Include SAP images with get available stock images */ Sap *bool /* Vtl. Include VTL images with get available stock images */ Vtl *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 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 NewPcloudImagesGetallParamsWithContext ¶
func NewPcloudImagesGetallParamsWithContext(ctx context.Context) *PcloudImagesGetallParams
NewPcloudImagesGetallParamsWithContext creates a new PcloudImagesGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudImagesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud images getall params (not the query body).
All values with no default are reset to their zero value.
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) SetVtl ¶ added in v1.0.59
func (o *PcloudImagesGetallParams) SetVtl(vtl *bool)
SetVtl adds the vtl 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) WithDefaults ¶ added in v1.1.0
func (o *PcloudImagesGetallParams) WithDefaults() *PcloudImagesGetallParams
WithDefaults hydrates default values in the pcloud images getall params (not the query body).
All values with no default are reset to their zero value.
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) WithVtl ¶ added in v1.0.59
func (o *PcloudImagesGetallParams) WithVtl(vtl *bool) *PcloudImagesGetallParams
WithVtl adds the vtl 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.
type PcloudImagesGetallUnauthorized ¶ added in v1.0.59
type PcloudImagesGetallUnauthorized struct {
}PcloudImagesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudImagesGetallUnauthorized ¶ added in v1.0.59
func NewPcloudImagesGetallUnauthorized() *PcloudImagesGetallUnauthorized
NewPcloudImagesGetallUnauthorized creates a PcloudImagesGetallUnauthorized with default headers values
func (*PcloudImagesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudImagesGetallUnauthorized) Error() string
func (*PcloudImagesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudImagesGetallUnauthorized) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesGetInternalServerError ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV1CloudinstancesCosimagesGetInternalServerError ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetInternalServerError() *PcloudV1CloudinstancesCosimagesGetInternalServerError
NewPcloudV1CloudinstancesCosimagesGetInternalServerError creates a PcloudV1CloudinstancesCosimagesGetInternalServerError with default headers values
func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetInternalServerError) Error() string
func (*PcloudV1CloudinstancesCosimagesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesGetInternalServerError) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesGetNotFound ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV1CloudinstancesCosimagesGetNotFound ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetNotFound() *PcloudV1CloudinstancesCosimagesGetNotFound
NewPcloudV1CloudinstancesCosimagesGetNotFound creates a PcloudV1CloudinstancesCosimagesGetNotFound with default headers values
func (*PcloudV1CloudinstancesCosimagesGetNotFound) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetNotFound) Error() string
func (*PcloudV1CloudinstancesCosimagesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesGetNotFound) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesGetOK ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudV1CloudinstancesCosimagesGetOK ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetOK() *PcloudV1CloudinstancesCosimagesGetOK
NewPcloudV1CloudinstancesCosimagesGetOK creates a PcloudV1CloudinstancesCosimagesGetOK with default headers values
func (*PcloudV1CloudinstancesCosimagesGetOK) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetOK) Error() string
func (*PcloudV1CloudinstancesCosimagesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesGetOK) GetPayload() *models.Job
type PcloudV1CloudinstancesCosimagesGetParams ¶ added in v1.0.75
type PcloudV1CloudinstancesCosimagesGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV1CloudinstancesCosimagesGetParams contains all the parameters to send to the API endpoint
for the pcloud v1 cloudinstances cosimages get operation. Typically these are written to a http.Request.
func NewPcloudV1CloudinstancesCosimagesGetParams ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetParams() *PcloudV1CloudinstancesCosimagesGetParams
NewPcloudV1CloudinstancesCosimagesGetParams creates a new PcloudV1CloudinstancesCosimagesGetParams 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 NewPcloudV1CloudinstancesCosimagesGetParamsWithContext ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesGetParams
NewPcloudV1CloudinstancesCosimagesGetParamsWithContext creates a new PcloudV1CloudinstancesCosimagesGetParams object with the ability to set a context for a request.
func NewPcloudV1CloudinstancesCosimagesGetParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetParamsWithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesGetParams
NewPcloudV1CloudinstancesCosimagesGetParamsWithHTTPClient creates a new PcloudV1CloudinstancesCosimagesGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV1CloudinstancesCosimagesGetParamsWithTimeout ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetParamsWithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesGetParams
NewPcloudV1CloudinstancesCosimagesGetParamsWithTimeout creates a new PcloudV1CloudinstancesCosimagesGetParams object with the ability to set a timeout on a request.
func (*PcloudV1CloudinstancesCosimagesGetParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) SetContext ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v1 cloudinstances cosimages get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV1CloudinstancesCosimagesGetParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV1CloudinstancesCosimagesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) WithContext ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) WithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesGetParams
WithContext adds the context to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesGetParams) WithDefaults() *PcloudV1CloudinstancesCosimagesGetParams
WithDefaults hydrates default values in the pcloud v1 cloudinstances cosimages get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV1CloudinstancesCosimagesGetParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) WithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesGetParams
WithHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) WithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesGetParams
WithTimeout adds the timeout to the pcloud v1 cloudinstances cosimages get params
func (*PcloudV1CloudinstancesCosimagesGetParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV1CloudinstancesCosimagesGetReader ¶ added in v1.0.75
type PcloudV1CloudinstancesCosimagesGetReader struct {
// contains filtered or unexported fields
}
PcloudV1CloudinstancesCosimagesGetReader is a Reader for the PcloudV1CloudinstancesCosimagesGet structure.
func (*PcloudV1CloudinstancesCosimagesGetReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV1CloudinstancesCosimagesGetUnauthorized ¶ added in v1.0.75
type PcloudV1CloudinstancesCosimagesGetUnauthorized struct {
}PcloudV1CloudinstancesCosimagesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV1CloudinstancesCosimagesGetUnauthorized ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesGetUnauthorized() *PcloudV1CloudinstancesCosimagesGetUnauthorized
NewPcloudV1CloudinstancesCosimagesGetUnauthorized creates a PcloudV1CloudinstancesCosimagesGetUnauthorized with default headers values
func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesGetUnauthorized) Error() string
func (*PcloudV1CloudinstancesCosimagesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesGetUnauthorized) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesPostAccepted ¶ added in v1.0.75
type PcloudV1CloudinstancesCosimagesPostAccepted struct {
Payload *models.JobReference
}
PcloudV1CloudinstancesCosimagesPostAccepted describes a response with status code 202, with default header values.
Accepted, cos-image import successfully added to the jobs queue
func NewPcloudV1CloudinstancesCosimagesPostAccepted ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostAccepted() *PcloudV1CloudinstancesCosimagesPostAccepted
NewPcloudV1CloudinstancesCosimagesPostAccepted creates a PcloudV1CloudinstancesCosimagesPostAccepted with default headers values
func (*PcloudV1CloudinstancesCosimagesPostAccepted) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostAccepted) Error() string
func (*PcloudV1CloudinstancesCosimagesPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostAccepted) GetPayload() *models.JobReference
type PcloudV1CloudinstancesCosimagesPostBadRequest ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV1CloudinstancesCosimagesPostBadRequest ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostBadRequest() *PcloudV1CloudinstancesCosimagesPostBadRequest
NewPcloudV1CloudinstancesCosimagesPostBadRequest creates a PcloudV1CloudinstancesCosimagesPostBadRequest with default headers values
func (*PcloudV1CloudinstancesCosimagesPostBadRequest) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostBadRequest) Error() string
func (*PcloudV1CloudinstancesCosimagesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostBadRequest) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesPostConflict ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudV1CloudinstancesCosimagesPostConflict ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostConflict() *PcloudV1CloudinstancesCosimagesPostConflict
NewPcloudV1CloudinstancesCosimagesPostConflict creates a PcloudV1CloudinstancesCosimagesPostConflict with default headers values
func (*PcloudV1CloudinstancesCosimagesPostConflict) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostConflict) Error() string
func (*PcloudV1CloudinstancesCosimagesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostConflict) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesPostForbidden ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudV1CloudinstancesCosimagesPostForbidden ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostForbidden() *PcloudV1CloudinstancesCosimagesPostForbidden
NewPcloudV1CloudinstancesCosimagesPostForbidden creates a PcloudV1CloudinstancesCosimagesPostForbidden with default headers values
func (*PcloudV1CloudinstancesCosimagesPostForbidden) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostForbidden) Error() string
func (*PcloudV1CloudinstancesCosimagesPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostForbidden) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesPostInternalServerError ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV1CloudinstancesCosimagesPostInternalServerError ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostInternalServerError() *PcloudV1CloudinstancesCosimagesPostInternalServerError
NewPcloudV1CloudinstancesCosimagesPostInternalServerError creates a PcloudV1CloudinstancesCosimagesPostInternalServerError with default headers values
func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostInternalServerError) Error() string
func (*PcloudV1CloudinstancesCosimagesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostInternalServerError) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesPostParams ¶ added in v1.0.75
type PcloudV1CloudinstancesCosimagesPostParams struct { /* Body. Parameters for the creation of a new cos-image import job */ Body *models.CreateCosImageImportJob /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudV1CloudinstancesCosimagesPostParams contains all the parameters to send to the API endpoint
for the pcloud v1 cloudinstances cosimages post operation. Typically these are written to a http.Request.
func NewPcloudV1CloudinstancesCosimagesPostParams ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostParams() *PcloudV1CloudinstancesCosimagesPostParams
NewPcloudV1CloudinstancesCosimagesPostParams creates a new PcloudV1CloudinstancesCosimagesPostParams 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 NewPcloudV1CloudinstancesCosimagesPostParamsWithContext ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostParamsWithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesPostParams
NewPcloudV1CloudinstancesCosimagesPostParamsWithContext creates a new PcloudV1CloudinstancesCosimagesPostParams object with the ability to set a context for a request.
func NewPcloudV1CloudinstancesCosimagesPostParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostParamsWithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesPostParams
NewPcloudV1CloudinstancesCosimagesPostParamsWithHTTPClient creates a new PcloudV1CloudinstancesCosimagesPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV1CloudinstancesCosimagesPostParamsWithTimeout ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostParamsWithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesPostParams
NewPcloudV1CloudinstancesCosimagesPostParamsWithTimeout creates a new PcloudV1CloudinstancesCosimagesPostParams object with the ability to set a timeout on a request.
func (*PcloudV1CloudinstancesCosimagesPostParams) SetBody ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) SetBody(body *models.CreateCosImageImportJob)
SetBody adds the body to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) SetContext ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v1 cloudinstances cosimages post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV1CloudinstancesCosimagesPostParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) WithBody ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) WithBody(body *models.CreateCosImageImportJob) *PcloudV1CloudinstancesCosimagesPostParams
WithBody adds the body to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV1CloudinstancesCosimagesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) WithContext ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) WithContext(ctx context.Context) *PcloudV1CloudinstancesCosimagesPostParams
WithContext adds the context to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostParams) WithDefaults() *PcloudV1CloudinstancesCosimagesPostParams
WithDefaults hydrates default values in the pcloud v1 cloudinstances cosimages post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV1CloudinstancesCosimagesPostParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) WithHTTPClient(client *http.Client) *PcloudV1CloudinstancesCosimagesPostParams
WithHTTPClient adds the HTTPClient to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) WithTimeout(timeout time.Duration) *PcloudV1CloudinstancesCosimagesPostParams
WithTimeout adds the timeout to the pcloud v1 cloudinstances cosimages post params
func (*PcloudV1CloudinstancesCosimagesPostParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV1CloudinstancesCosimagesPostReader ¶ added in v1.0.75
type PcloudV1CloudinstancesCosimagesPostReader struct {
// contains filtered or unexported fields
}
PcloudV1CloudinstancesCosimagesPostReader is a Reader for the PcloudV1CloudinstancesCosimagesPost structure.
func (*PcloudV1CloudinstancesCosimagesPostReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV1CloudinstancesCosimagesPostUnauthorized ¶ added in v1.0.75
type PcloudV1CloudinstancesCosimagesPostUnauthorized struct {
}PcloudV1CloudinstancesCosimagesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV1CloudinstancesCosimagesPostUnauthorized ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostUnauthorized() *PcloudV1CloudinstancesCosimagesPostUnauthorized
NewPcloudV1CloudinstancesCosimagesPostUnauthorized creates a PcloudV1CloudinstancesCosimagesPostUnauthorized with default headers values
func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostUnauthorized) Error() string
func (*PcloudV1CloudinstancesCosimagesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostUnauthorized) GetPayload() *models.Error
type PcloudV1CloudinstancesCosimagesPostUnprocessableEntity ¶ added in v1.0.75
PcloudV1CloudinstancesCosimagesPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudV1CloudinstancesCosimagesPostUnprocessableEntity ¶ added in v1.0.75
func NewPcloudV1CloudinstancesCosimagesPostUnprocessableEntity() *PcloudV1CloudinstancesCosimagesPostUnprocessableEntity
NewPcloudV1CloudinstancesCosimagesPostUnprocessableEntity creates a PcloudV1CloudinstancesCosimagesPostUnprocessableEntity with default headers values
func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) Error ¶ added in v1.0.75
func (o *PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) Error() string
func (*PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) GetPayload() *models.Error
type PcloudV2ImagesExportGetInternalServerError ¶ added in v1.0.75
PcloudV2ImagesExportGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2ImagesExportGetInternalServerError ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetInternalServerError() *PcloudV2ImagesExportGetInternalServerError
NewPcloudV2ImagesExportGetInternalServerError creates a PcloudV2ImagesExportGetInternalServerError with default headers values
func (*PcloudV2ImagesExportGetInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetInternalServerError) Error() string
func (*PcloudV2ImagesExportGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportGetInternalServerError) GetPayload() *models.Error
type PcloudV2ImagesExportGetNotFound ¶ added in v1.0.75
PcloudV2ImagesExportGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudV2ImagesExportGetNotFound ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetNotFound() *PcloudV2ImagesExportGetNotFound
NewPcloudV2ImagesExportGetNotFound creates a PcloudV2ImagesExportGetNotFound with default headers values
func (*PcloudV2ImagesExportGetNotFound) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetNotFound) Error() string
func (*PcloudV2ImagesExportGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportGetNotFound) GetPayload() *models.Error
type PcloudV2ImagesExportGetOK ¶ added in v1.0.75
PcloudV2ImagesExportGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudV2ImagesExportGetOK ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetOK() *PcloudV2ImagesExportGetOK
NewPcloudV2ImagesExportGetOK creates a PcloudV2ImagesExportGetOK with default headers values
func (*PcloudV2ImagesExportGetOK) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetOK) Error() string
func (*PcloudV2ImagesExportGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportGetOK) GetPayload() *models.Job
type PcloudV2ImagesExportGetParams ¶ added in v1.0.75
type PcloudV2ImagesExportGetParams 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 }
PcloudV2ImagesExportGetParams contains all the parameters to send to the API endpoint
for the pcloud v2 images export get operation. Typically these are written to a http.Request.
func NewPcloudV2ImagesExportGetParams ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetParams() *PcloudV2ImagesExportGetParams
NewPcloudV2ImagesExportGetParams creates a new PcloudV2ImagesExportGetParams 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 NewPcloudV2ImagesExportGetParamsWithContext ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetParamsWithContext(ctx context.Context) *PcloudV2ImagesExportGetParams
NewPcloudV2ImagesExportGetParamsWithContext creates a new PcloudV2ImagesExportGetParams object with the ability to set a context for a request.
func NewPcloudV2ImagesExportGetParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetParamsWithHTTPClient(client *http.Client) *PcloudV2ImagesExportGetParams
NewPcloudV2ImagesExportGetParamsWithHTTPClient creates a new PcloudV2ImagesExportGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2ImagesExportGetParamsWithTimeout ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetParamsWithTimeout(timeout time.Duration) *PcloudV2ImagesExportGetParams
NewPcloudV2ImagesExportGetParamsWithTimeout creates a new PcloudV2ImagesExportGetParams object with the ability to set a timeout on a request.
func (*PcloudV2ImagesExportGetParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) SetContext ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2ImagesExportGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 images export get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2ImagesExportGetParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) SetImageID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) SetImageID(imageID string)
SetImageID adds the imageId to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2ImagesExportGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) WithContext ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) WithContext(ctx context.Context) *PcloudV2ImagesExportGetParams
WithContext adds the context to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2ImagesExportGetParams) WithDefaults() *PcloudV2ImagesExportGetParams
WithDefaults hydrates default values in the pcloud v2 images export get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2ImagesExportGetParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) WithHTTPClient(client *http.Client) *PcloudV2ImagesExportGetParams
WithHTTPClient adds the HTTPClient to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) WithImageID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) WithImageID(imageID string) *PcloudV2ImagesExportGetParams
WithImageID adds the imageID to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) WithTimeout(timeout time.Duration) *PcloudV2ImagesExportGetParams
WithTimeout adds the timeout to the pcloud v2 images export get params
func (*PcloudV2ImagesExportGetParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2ImagesExportGetReader ¶ added in v1.0.75
type PcloudV2ImagesExportGetReader struct {
// contains filtered or unexported fields
}
PcloudV2ImagesExportGetReader is a Reader for the PcloudV2ImagesExportGet structure.
func (*PcloudV2ImagesExportGetReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2ImagesExportGetUnauthorized ¶ added in v1.0.75
type PcloudV2ImagesExportGetUnauthorized struct {
}PcloudV2ImagesExportGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2ImagesExportGetUnauthorized ¶ added in v1.0.75
func NewPcloudV2ImagesExportGetUnauthorized() *PcloudV2ImagesExportGetUnauthorized
NewPcloudV2ImagesExportGetUnauthorized creates a PcloudV2ImagesExportGetUnauthorized with default headers values
func (*PcloudV2ImagesExportGetUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportGetUnauthorized) Error() string
func (*PcloudV2ImagesExportGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportGetUnauthorized) GetPayload() *models.Error
type PcloudV2ImagesExportPostAccepted ¶ added in v1.0.75
type PcloudV2ImagesExportPostAccepted struct {
Payload *models.JobReference
}
PcloudV2ImagesExportPostAccepted describes a response with status code 202, with default header values.
Accepted, image export successfully added to the jobs queue
func NewPcloudV2ImagesExportPostAccepted ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostAccepted() *PcloudV2ImagesExportPostAccepted
NewPcloudV2ImagesExportPostAccepted creates a PcloudV2ImagesExportPostAccepted with default headers values
func (*PcloudV2ImagesExportPostAccepted) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostAccepted) Error() string
func (*PcloudV2ImagesExportPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostAccepted) GetPayload() *models.JobReference
type PcloudV2ImagesExportPostBadRequest ¶ added in v1.0.75
PcloudV2ImagesExportPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudV2ImagesExportPostBadRequest ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostBadRequest() *PcloudV2ImagesExportPostBadRequest
NewPcloudV2ImagesExportPostBadRequest creates a PcloudV2ImagesExportPostBadRequest with default headers values
func (*PcloudV2ImagesExportPostBadRequest) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostBadRequest) Error() string
func (*PcloudV2ImagesExportPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostBadRequest) GetPayload() *models.Error
type PcloudV2ImagesExportPostConflict ¶ added in v1.0.75
PcloudV2ImagesExportPostConflict describes a response with status code 409, with default header values.
Conflict, a conflict has prevented adding image export job
func NewPcloudV2ImagesExportPostConflict ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostConflict() *PcloudV2ImagesExportPostConflict
NewPcloudV2ImagesExportPostConflict creates a PcloudV2ImagesExportPostConflict with default headers values
func (*PcloudV2ImagesExportPostConflict) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostConflict) Error() string
func (*PcloudV2ImagesExportPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostConflict) GetPayload() *models.Error
type PcloudV2ImagesExportPostInternalServerError ¶ added in v1.0.75
PcloudV2ImagesExportPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudV2ImagesExportPostInternalServerError ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostInternalServerError() *PcloudV2ImagesExportPostInternalServerError
NewPcloudV2ImagesExportPostInternalServerError creates a PcloudV2ImagesExportPostInternalServerError with default headers values
func (*PcloudV2ImagesExportPostInternalServerError) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostInternalServerError) Error() string
func (*PcloudV2ImagesExportPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostInternalServerError) GetPayload() *models.Error
type PcloudV2ImagesExportPostNotFound ¶ added in v1.0.75
PcloudV2ImagesExportPostNotFound describes a response with status code 404, with default header values.
image id not found
func NewPcloudV2ImagesExportPostNotFound ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostNotFound() *PcloudV2ImagesExportPostNotFound
NewPcloudV2ImagesExportPostNotFound creates a PcloudV2ImagesExportPostNotFound with default headers values
func (*PcloudV2ImagesExportPostNotFound) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostNotFound) Error() string
func (*PcloudV2ImagesExportPostNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostNotFound) GetPayload() *models.Error
type PcloudV2ImagesExportPostParams ¶ added in v1.0.75
type PcloudV2ImagesExportPostParams struct { /* Body. Parameters for the export */ 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 }
PcloudV2ImagesExportPostParams contains all the parameters to send to the API endpoint
for the pcloud v2 images export post operation. Typically these are written to a http.Request.
func NewPcloudV2ImagesExportPostParams ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostParams() *PcloudV2ImagesExportPostParams
NewPcloudV2ImagesExportPostParams creates a new PcloudV2ImagesExportPostParams 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 NewPcloudV2ImagesExportPostParamsWithContext ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostParamsWithContext(ctx context.Context) *PcloudV2ImagesExportPostParams
NewPcloudV2ImagesExportPostParamsWithContext creates a new PcloudV2ImagesExportPostParams object with the ability to set a context for a request.
func NewPcloudV2ImagesExportPostParamsWithHTTPClient ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostParamsWithHTTPClient(client *http.Client) *PcloudV2ImagesExportPostParams
NewPcloudV2ImagesExportPostParamsWithHTTPClient creates a new PcloudV2ImagesExportPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudV2ImagesExportPostParamsWithTimeout ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostParamsWithTimeout(timeout time.Duration) *PcloudV2ImagesExportPostParams
NewPcloudV2ImagesExportPostParamsWithTimeout creates a new PcloudV2ImagesExportPostParams object with the ability to set a timeout on a request.
func (*PcloudV2ImagesExportPostParams) SetBody ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) SetBody(body *models.ExportImage)
SetBody adds the body to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) SetCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) SetContext ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud v2 images export post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2ImagesExportPostParams) SetHTTPClient ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) SetImageID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) SetImageID(imageID string)
SetImageID adds the imageId to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) SetTimeout ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) WithBody ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) WithBody(body *models.ExportImage) *PcloudV2ImagesExportPostParams
WithBody adds the body to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) WithCloudInstanceID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2ImagesExportPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) WithContext ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) WithContext(ctx context.Context) *PcloudV2ImagesExportPostParams
WithContext adds the context to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostParams) WithDefaults() *PcloudV2ImagesExportPostParams
WithDefaults hydrates default values in the pcloud v2 images export post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudV2ImagesExportPostParams) WithHTTPClient ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) WithHTTPClient(client *http.Client) *PcloudV2ImagesExportPostParams
WithHTTPClient adds the HTTPClient to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) WithImageID ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) WithImageID(imageID string) *PcloudV2ImagesExportPostParams
WithImageID adds the imageID to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) WithTimeout ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) WithTimeout(timeout time.Duration) *PcloudV2ImagesExportPostParams
WithTimeout adds the timeout to the pcloud v2 images export post params
func (*PcloudV2ImagesExportPostParams) WriteToRequest ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudV2ImagesExportPostReader ¶ added in v1.0.75
type PcloudV2ImagesExportPostReader struct {
// contains filtered or unexported fields
}
PcloudV2ImagesExportPostReader is a Reader for the PcloudV2ImagesExportPost structure.
func (*PcloudV2ImagesExportPostReader) ReadResponse ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudV2ImagesExportPostUnauthorized ¶ added in v1.0.75
type PcloudV2ImagesExportPostUnauthorized struct {
}PcloudV2ImagesExportPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudV2ImagesExportPostUnauthorized ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostUnauthorized() *PcloudV2ImagesExportPostUnauthorized
NewPcloudV2ImagesExportPostUnauthorized creates a PcloudV2ImagesExportPostUnauthorized with default headers values
func (*PcloudV2ImagesExportPostUnauthorized) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostUnauthorized) Error() string
func (*PcloudV2ImagesExportPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostUnauthorized) GetPayload() *models.Error
type PcloudV2ImagesExportPostUnprocessableEntity ¶ added in v1.0.75
PcloudV2ImagesExportPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudV2ImagesExportPostUnprocessableEntity ¶ added in v1.0.75
func NewPcloudV2ImagesExportPostUnprocessableEntity() *PcloudV2ImagesExportPostUnprocessableEntity
NewPcloudV2ImagesExportPostUnprocessableEntity creates a PcloudV2ImagesExportPostUnprocessableEntity with default headers values
func (*PcloudV2ImagesExportPostUnprocessableEntity) Error ¶ added in v1.0.75
func (o *PcloudV2ImagesExportPostUnprocessableEntity) Error() string
func (*PcloudV2ImagesExportPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudV2ImagesExportPostUnprocessableEntity) GetPayload() *models.Error
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
- pcloud_v1_cloudinstances_cosimages_get_parameters.go
- pcloud_v1_cloudinstances_cosimages_get_responses.go
- pcloud_v1_cloudinstances_cosimages_post_parameters.go
- pcloud_v1_cloudinstances_cosimages_post_responses.go
- pcloud_v2_images_export_get_parameters.go
- pcloud_v2_images_export_get_responses.go
- pcloud_v2_images_export_post_parameters.go
- pcloud_v2_images_export_post_responses.go