Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesDelete(params *PcloudCloudinstancesDeleteParams, ...) (*PcloudCloudinstancesDeleteOK, error)
- func (a *Client) PcloudCloudinstancesGet(params *PcloudCloudinstancesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesGetOK, error)
- func (a *Client) PcloudCloudinstancesPut(params *PcloudCloudinstancesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudCloudinstancesDeleteBadRequest
- type PcloudCloudinstancesDeleteGone
- type PcloudCloudinstancesDeleteInternalServerError
- type PcloudCloudinstancesDeleteOK
- type PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParams() *PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesDeleteReader
- type PcloudCloudinstancesDeleteUnauthorized
- type PcloudCloudinstancesGetBadRequest
- type PcloudCloudinstancesGetInternalServerError
- type PcloudCloudinstancesGetNotFound
- type PcloudCloudinstancesGetOK
- type PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParams() *PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesGetReader
- type PcloudCloudinstancesGetUnauthorized
- type PcloudCloudinstancesPutBadRequest
- type PcloudCloudinstancesPutInternalServerError
- type PcloudCloudinstancesPutOK
- type PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParams() *PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) SetBody(body *models.CloudInstanceUpdate)
- func (o *PcloudCloudinstancesPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesPutParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesPutParams) WithBody(body *models.CloudInstanceUpdate) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesPutReader
- type PcloudCloudinstancesPutUnauthorized
- type PcloudCloudinstancesPutUnprocessableEntity
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 instances API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud instances API client.
func (*Client) PcloudCloudinstancesDelete ¶
func (a *Client) PcloudCloudinstancesDelete(params *PcloudCloudinstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesDeleteOK, error)
PcloudCloudinstancesDelete deletes a power cloud instance
func (*Client) PcloudCloudinstancesGet ¶
func (a *Client) PcloudCloudinstancesGet(params *PcloudCloudinstancesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesGetOK, error)
PcloudCloudinstancesGet gets a cloud instance s current state information
func (*Client) PcloudCloudinstancesPut ¶
func (a *Client) PcloudCloudinstancesPut(params *PcloudCloudinstancesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesPutOK, error)
PcloudCloudinstancesPut updates upgrade a cloud instance
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudCloudinstancesDeleteBadRequest ¶
PcloudCloudinstancesDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesDeleteBadRequest ¶
func NewPcloudCloudinstancesDeleteBadRequest() *PcloudCloudinstancesDeleteBadRequest
NewPcloudCloudinstancesDeleteBadRequest creates a PcloudCloudinstancesDeleteBadRequest with default headers values
func (*PcloudCloudinstancesDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesDeleteBadRequest) Error() string
type PcloudCloudinstancesDeleteGone ¶
PcloudCloudinstancesDeleteGone handles this case with default header values.
Gone
func NewPcloudCloudinstancesDeleteGone ¶
func NewPcloudCloudinstancesDeleteGone() *PcloudCloudinstancesDeleteGone
NewPcloudCloudinstancesDeleteGone creates a PcloudCloudinstancesDeleteGone with default headers values
func (*PcloudCloudinstancesDeleteGone) Error ¶
func (o *PcloudCloudinstancesDeleteGone) Error() string
type PcloudCloudinstancesDeleteInternalServerError ¶
PcloudCloudinstancesDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesDeleteInternalServerError ¶
func NewPcloudCloudinstancesDeleteInternalServerError() *PcloudCloudinstancesDeleteInternalServerError
NewPcloudCloudinstancesDeleteInternalServerError creates a PcloudCloudinstancesDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) Error() string
type PcloudCloudinstancesDeleteOK ¶
PcloudCloudinstancesDeleteOK handles this case with default header values.
OK
func NewPcloudCloudinstancesDeleteOK ¶
func NewPcloudCloudinstancesDeleteOK() *PcloudCloudinstancesDeleteOK
NewPcloudCloudinstancesDeleteOK creates a PcloudCloudinstancesDeleteOK with default headers values
func (*PcloudCloudinstancesDeleteOK) Error ¶
func (o *PcloudCloudinstancesDeleteOK) Error() string
type PcloudCloudinstancesDeleteParams ¶
type PcloudCloudinstancesDeleteParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesDeleteParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances delete operation typically these are written to a http.Request
func NewPcloudCloudinstancesDeleteParams ¶
func NewPcloudCloudinstancesDeleteParams() *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParams creates a new PcloudCloudinstancesDeleteParams object with the default values initialized.
func NewPcloudCloudinstancesDeleteParamsWithContext ¶
func NewPcloudCloudinstancesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParamsWithContext creates a new PcloudCloudinstancesDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParamsWithTimeout creates a new PcloudCloudinstancesDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
WithContext adds the context to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesDeleteReader ¶
type PcloudCloudinstancesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesDeleteReader is a Reader for the PcloudCloudinstancesDelete structure.
func (*PcloudCloudinstancesDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesDeleteUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesDeleteUnauthorized struct {
}PcloudCloudinstancesDeleteUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudCloudinstancesDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesDeleteUnauthorized() *PcloudCloudinstancesDeleteUnauthorized
NewPcloudCloudinstancesDeleteUnauthorized creates a PcloudCloudinstancesDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesDeleteUnauthorized) Error() string
type PcloudCloudinstancesGetBadRequest ¶
PcloudCloudinstancesGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesGetBadRequest ¶
func NewPcloudCloudinstancesGetBadRequest() *PcloudCloudinstancesGetBadRequest
NewPcloudCloudinstancesGetBadRequest creates a PcloudCloudinstancesGetBadRequest with default headers values
func (*PcloudCloudinstancesGetBadRequest) Error ¶
func (o *PcloudCloudinstancesGetBadRequest) Error() string
type PcloudCloudinstancesGetInternalServerError ¶
PcloudCloudinstancesGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesGetInternalServerError ¶
func NewPcloudCloudinstancesGetInternalServerError() *PcloudCloudinstancesGetInternalServerError
NewPcloudCloudinstancesGetInternalServerError creates a PcloudCloudinstancesGetInternalServerError with default headers values
func (*PcloudCloudinstancesGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesGetInternalServerError) Error() string
type PcloudCloudinstancesGetNotFound ¶
PcloudCloudinstancesGetNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesGetNotFound ¶
func NewPcloudCloudinstancesGetNotFound() *PcloudCloudinstancesGetNotFound
NewPcloudCloudinstancesGetNotFound creates a PcloudCloudinstancesGetNotFound with default headers values
func (*PcloudCloudinstancesGetNotFound) Error ¶
func (o *PcloudCloudinstancesGetNotFound) Error() string
type PcloudCloudinstancesGetOK ¶
type PcloudCloudinstancesGetOK struct {
Payload *models.CloudInstance
}
PcloudCloudinstancesGetOK handles this case with default header values.
OK
func NewPcloudCloudinstancesGetOK ¶
func NewPcloudCloudinstancesGetOK() *PcloudCloudinstancesGetOK
NewPcloudCloudinstancesGetOK creates a PcloudCloudinstancesGetOK with default headers values
func (*PcloudCloudinstancesGetOK) Error ¶
func (o *PcloudCloudinstancesGetOK) Error() string
type PcloudCloudinstancesGetParams ¶
type PcloudCloudinstancesGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesGetParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances get operation typically these are written to a http.Request
func NewPcloudCloudinstancesGetParams ¶
func NewPcloudCloudinstancesGetParams() *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParams creates a new PcloudCloudinstancesGetParams object with the default values initialized.
func NewPcloudCloudinstancesGetParamsWithContext ¶
func NewPcloudCloudinstancesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParamsWithContext creates a new PcloudCloudinstancesGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParamsWithHTTPClient creates a new PcloudCloudinstancesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesGetParamsWithTimeout ¶
func NewPcloudCloudinstancesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParamsWithTimeout creates a new PcloudCloudinstancesGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) SetContext ¶
func (o *PcloudCloudinstancesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithContext ¶
func (o *PcloudCloudinstancesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesGetParams
WithContext adds the context to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
WithTimeout adds the timeout to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesGetReader ¶
type PcloudCloudinstancesGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesGetReader is a Reader for the PcloudCloudinstancesGet structure.
func (*PcloudCloudinstancesGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesGetUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesGetUnauthorized struct {
}PcloudCloudinstancesGetUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudCloudinstancesGetUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesGetUnauthorized() *PcloudCloudinstancesGetUnauthorized
NewPcloudCloudinstancesGetUnauthorized creates a PcloudCloudinstancesGetUnauthorized with default headers values
func (*PcloudCloudinstancesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesGetUnauthorized) Error() string
type PcloudCloudinstancesPutBadRequest ¶
PcloudCloudinstancesPutBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesPutBadRequest ¶
func NewPcloudCloudinstancesPutBadRequest() *PcloudCloudinstancesPutBadRequest
NewPcloudCloudinstancesPutBadRequest creates a PcloudCloudinstancesPutBadRequest with default headers values
func (*PcloudCloudinstancesPutBadRequest) Error ¶
func (o *PcloudCloudinstancesPutBadRequest) Error() string
type PcloudCloudinstancesPutInternalServerError ¶
PcloudCloudinstancesPutInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesPutInternalServerError ¶
func NewPcloudCloudinstancesPutInternalServerError() *PcloudCloudinstancesPutInternalServerError
NewPcloudCloudinstancesPutInternalServerError creates a PcloudCloudinstancesPutInternalServerError with default headers values
func (*PcloudCloudinstancesPutInternalServerError) Error ¶
func (o *PcloudCloudinstancesPutInternalServerError) Error() string
type PcloudCloudinstancesPutOK ¶
type PcloudCloudinstancesPutOK struct {
Payload *models.CloudInstance
}
PcloudCloudinstancesPutOK handles this case with default header values.
OK
func NewPcloudCloudinstancesPutOK ¶
func NewPcloudCloudinstancesPutOK() *PcloudCloudinstancesPutOK
NewPcloudCloudinstancesPutOK creates a PcloudCloudinstancesPutOK with default headers values
func (*PcloudCloudinstancesPutOK) Error ¶
func (o *PcloudCloudinstancesPutOK) Error() string
type PcloudCloudinstancesPutParams ¶
type PcloudCloudinstancesPutParams struct { /*Body Parameters for updating a Power Cloud Instance */ Body *models.CloudInstanceUpdate /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesPutParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances put operation typically these are written to a http.Request
func NewPcloudCloudinstancesPutParams ¶
func NewPcloudCloudinstancesPutParams() *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParams creates a new PcloudCloudinstancesPutParams object with the default values initialized.
func NewPcloudCloudinstancesPutParamsWithContext ¶
func NewPcloudCloudinstancesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParamsWithContext creates a new PcloudCloudinstancesPutParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesPutParamsWithHTTPClient ¶
func NewPcloudCloudinstancesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParamsWithHTTPClient creates a new PcloudCloudinstancesPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesPutParamsWithTimeout ¶
func NewPcloudCloudinstancesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParamsWithTimeout creates a new PcloudCloudinstancesPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesPutParams) SetBody ¶
func (o *PcloudCloudinstancesPutParams) SetBody(body *models.CloudInstanceUpdate)
SetBody adds the body to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetContext ¶
func (o *PcloudCloudinstancesPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetTimeout ¶
func (o *PcloudCloudinstancesPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithBody ¶
func (o *PcloudCloudinstancesPutParams) WithBody(body *models.CloudInstanceUpdate) *PcloudCloudinstancesPutParams
WithBody adds the body to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithContext ¶
func (o *PcloudCloudinstancesPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesPutParams
WithContext adds the context to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithTimeout ¶
func (o *PcloudCloudinstancesPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
WithTimeout adds the timeout to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WriteToRequest ¶
func (o *PcloudCloudinstancesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesPutReader ¶
type PcloudCloudinstancesPutReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesPutReader is a Reader for the PcloudCloudinstancesPut structure.
func (*PcloudCloudinstancesPutReader) ReadResponse ¶
func (o *PcloudCloudinstancesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesPutUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesPutUnauthorized struct {
}PcloudCloudinstancesPutUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudCloudinstancesPutUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesPutUnauthorized() *PcloudCloudinstancesPutUnauthorized
NewPcloudCloudinstancesPutUnauthorized creates a PcloudCloudinstancesPutUnauthorized with default headers values
func (*PcloudCloudinstancesPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesPutUnauthorized) Error() string
type PcloudCloudinstancesPutUnprocessableEntity ¶
PcloudCloudinstancesPutUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudCloudinstancesPutUnprocessableEntity ¶
func NewPcloudCloudinstancesPutUnprocessableEntity() *PcloudCloudinstancesPutUnprocessableEntity
NewPcloudCloudinstancesPutUnprocessableEntity creates a PcloudCloudinstancesPutUnprocessableEntity with default headers values
func (*PcloudCloudinstancesPutUnprocessableEntity) Error ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) Error() string