Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudVolumegroupsDelete(params *PcloudVolumegroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVolumegroupsDeleteAccepted, error)
- func (a *Client) PcloudVolumegroupsGet(params *PcloudVolumegroupsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVolumegroupsGetOK, error)
- func (a *Client) PcloudVolumegroupsGetDetails(params *PcloudVolumegroupsGetDetailsParams, ...) (*PcloudVolumegroupsGetDetailsOK, error)
- func (a *Client) PcloudVolumegroupsGetall(params *PcloudVolumegroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVolumegroupsGetallOK, error)
- func (a *Client) PcloudVolumegroupsGetallDetails(params *PcloudVolumegroupsGetallDetailsParams, ...) (*PcloudVolumegroupsGetallDetailsOK, error)
- func (a *Client) PcloudVolumegroupsPost(params *PcloudVolumegroupsPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVolumegroupsPostAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudVolumegroupsDeleteAccepted
- type PcloudVolumegroupsDeleteBadRequest
- type PcloudVolumegroupsDeleteInternalServerError
- type PcloudVolumegroupsDeleteNotFound
- type PcloudVolumegroupsDeleteParams
- func NewPcloudVolumegroupsDeleteParams() *PcloudVolumegroupsDeleteParams
- func NewPcloudVolumegroupsDeleteParamsWithContext(ctx context.Context) *PcloudVolumegroupsDeleteParams
- func NewPcloudVolumegroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsDeleteParams
- func NewPcloudVolumegroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsDeleteParams
- func (o *PcloudVolumegroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumegroupsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudVolumegroupsDeleteParams) SetDefaults()
- func (o *PcloudVolumegroupsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumegroupsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumegroupsDeleteParams) SetVolumeGroupID(volumeGroupID string)
- func (o *PcloudVolumegroupsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsDeleteParams
- func (o *PcloudVolumegroupsDeleteParams) WithContext(ctx context.Context) *PcloudVolumegroupsDeleteParams
- func (o *PcloudVolumegroupsDeleteParams) WithDefaults() *PcloudVolumegroupsDeleteParams
- func (o *PcloudVolumegroupsDeleteParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsDeleteParams
- func (o *PcloudVolumegroupsDeleteParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsDeleteParams
- func (o *PcloudVolumegroupsDeleteParams) WithVolumeGroupID(volumeGroupID string) *PcloudVolumegroupsDeleteParams
- func (o *PcloudVolumegroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumegroupsDeleteReader
- type PcloudVolumegroupsDeleteUnauthorized
- type PcloudVolumegroupsGetBadRequest
- type PcloudVolumegroupsGetDetailsBadRequest
- type PcloudVolumegroupsGetDetailsInternalServerError
- type PcloudVolumegroupsGetDetailsNotFound
- type PcloudVolumegroupsGetDetailsOK
- type PcloudVolumegroupsGetDetailsParams
- func NewPcloudVolumegroupsGetDetailsParams() *PcloudVolumegroupsGetDetailsParams
- func NewPcloudVolumegroupsGetDetailsParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetDetailsParams
- func NewPcloudVolumegroupsGetDetailsParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetDetailsParams
- func NewPcloudVolumegroupsGetDetailsParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetDetailsParams
- func (o *PcloudVolumegroupsGetDetailsParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumegroupsGetDetailsParams) SetContext(ctx context.Context)
- func (o *PcloudVolumegroupsGetDetailsParams) SetDefaults()
- func (o *PcloudVolumegroupsGetDetailsParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumegroupsGetDetailsParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumegroupsGetDetailsParams) SetVolumeGroupID(volumeGroupID string)
- func (o *PcloudVolumegroupsGetDetailsParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetDetailsParams
- func (o *PcloudVolumegroupsGetDetailsParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetDetailsParams
- func (o *PcloudVolumegroupsGetDetailsParams) WithDefaults() *PcloudVolumegroupsGetDetailsParams
- func (o *PcloudVolumegroupsGetDetailsParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetDetailsParams
- func (o *PcloudVolumegroupsGetDetailsParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetDetailsParams
- func (o *PcloudVolumegroupsGetDetailsParams) WithVolumeGroupID(volumeGroupID string) *PcloudVolumegroupsGetDetailsParams
- func (o *PcloudVolumegroupsGetDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumegroupsGetDetailsReader
- type PcloudVolumegroupsGetInternalServerError
- type PcloudVolumegroupsGetNotFound
- type PcloudVolumegroupsGetOK
- type PcloudVolumegroupsGetParams
- func NewPcloudVolumegroupsGetParams() *PcloudVolumegroupsGetParams
- func NewPcloudVolumegroupsGetParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetParams
- func NewPcloudVolumegroupsGetParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetParams
- func NewPcloudVolumegroupsGetParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetParams
- func (o *PcloudVolumegroupsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumegroupsGetParams) SetContext(ctx context.Context)
- func (o *PcloudVolumegroupsGetParams) SetDefaults()
- func (o *PcloudVolumegroupsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumegroupsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumegroupsGetParams) SetVolumeGroupID(volumeGroupID string)
- func (o *PcloudVolumegroupsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetParams
- func (o *PcloudVolumegroupsGetParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetParams
- func (o *PcloudVolumegroupsGetParams) WithDefaults() *PcloudVolumegroupsGetParams
- func (o *PcloudVolumegroupsGetParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetParams
- func (o *PcloudVolumegroupsGetParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetParams
- func (o *PcloudVolumegroupsGetParams) WithVolumeGroupID(volumeGroupID string) *PcloudVolumegroupsGetParams
- func (o *PcloudVolumegroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumegroupsGetReader
- type PcloudVolumegroupsGetallBadRequest
- type PcloudVolumegroupsGetallDetailsBadRequest
- type PcloudVolumegroupsGetallDetailsInternalServerError
- type PcloudVolumegroupsGetallDetailsOK
- type PcloudVolumegroupsGetallDetailsParams
- func NewPcloudVolumegroupsGetallDetailsParams() *PcloudVolumegroupsGetallDetailsParams
- func NewPcloudVolumegroupsGetallDetailsParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetallDetailsParams
- func NewPcloudVolumegroupsGetallDetailsParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallDetailsParams
- func NewPcloudVolumegroupsGetallDetailsParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallDetailsParams
- func (o *PcloudVolumegroupsGetallDetailsParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumegroupsGetallDetailsParams) SetContext(ctx context.Context)
- func (o *PcloudVolumegroupsGetallDetailsParams) SetDefaults()
- func (o *PcloudVolumegroupsGetallDetailsParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumegroupsGetallDetailsParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumegroupsGetallDetailsParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetallDetailsParams
- func (o *PcloudVolumegroupsGetallDetailsParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetallDetailsParams
- func (o *PcloudVolumegroupsGetallDetailsParams) WithDefaults() *PcloudVolumegroupsGetallDetailsParams
- func (o *PcloudVolumegroupsGetallDetailsParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallDetailsParams
- func (o *PcloudVolumegroupsGetallDetailsParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallDetailsParams
- func (o *PcloudVolumegroupsGetallDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumegroupsGetallDetailsReader
- type PcloudVolumegroupsGetallDetailsUnauthorized
- type PcloudVolumegroupsGetallInternalServerError
- type PcloudVolumegroupsGetallOK
- type PcloudVolumegroupsGetallParams
- func NewPcloudVolumegroupsGetallParams() *PcloudVolumegroupsGetallParams
- func NewPcloudVolumegroupsGetallParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetallParams
- func NewPcloudVolumegroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallParams
- func NewPcloudVolumegroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallParams
- func (o *PcloudVolumegroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumegroupsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudVolumegroupsGetallParams) SetDefaults()
- func (o *PcloudVolumegroupsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumegroupsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumegroupsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetallParams
- func (o *PcloudVolumegroupsGetallParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetallParams
- func (o *PcloudVolumegroupsGetallParams) WithDefaults() *PcloudVolumegroupsGetallParams
- func (o *PcloudVolumegroupsGetallParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallParams
- func (o *PcloudVolumegroupsGetallParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallParams
- func (o *PcloudVolumegroupsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumegroupsGetallReader
- type PcloudVolumegroupsGetallUnauthorized
- type PcloudVolumegroupsPostAccepted
- type PcloudVolumegroupsPostBadRequest
- type PcloudVolumegroupsPostConflict
- type PcloudVolumegroupsPostGatewayTimeout
- type PcloudVolumegroupsPostInternalServerError
- type PcloudVolumegroupsPostParams
- func NewPcloudVolumegroupsPostParams() *PcloudVolumegroupsPostParams
- func NewPcloudVolumegroupsPostParamsWithContext(ctx context.Context) *PcloudVolumegroupsPostParams
- func NewPcloudVolumegroupsPostParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsPostParams
- func NewPcloudVolumegroupsPostParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsPostParams
- func (o *PcloudVolumegroupsPostParams) SetBody(body *models.VolumeGroupCreate)
- func (o *PcloudVolumegroupsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumegroupsPostParams) SetContext(ctx context.Context)
- func (o *PcloudVolumegroupsPostParams) SetDefaults()
- func (o *PcloudVolumegroupsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumegroupsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumegroupsPostParams) WithBody(body *models.VolumeGroupCreate) *PcloudVolumegroupsPostParams
- func (o *PcloudVolumegroupsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsPostParams
- func (o *PcloudVolumegroupsPostParams) WithContext(ctx context.Context) *PcloudVolumegroupsPostParams
- func (o *PcloudVolumegroupsPostParams) WithDefaults() *PcloudVolumegroupsPostParams
- func (o *PcloudVolumegroupsPostParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsPostParams
- func (o *PcloudVolumegroupsPostParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsPostParams
- func (o *PcloudVolumegroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumegroupsPostReader
- type PcloudVolumegroupsPostUnauthorized
- type PcloudVolumegroupsPostUnprocessableEntity
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 volume groups API
func (*Client) PcloudVolumegroupsDelete ¶
func (a *Client) PcloudVolumegroupsDelete(params *PcloudVolumegroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsDeleteAccepted, error)
PcloudVolumegroupsDelete deletes a cloud instance volume group
func (*Client) PcloudVolumegroupsGet ¶
func (a *Client) PcloudVolumegroupsGet(params *PcloudVolumegroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetOK, error)
PcloudVolumegroupsGet gets volume group
func (*Client) PcloudVolumegroupsGetDetails ¶
func (a *Client) PcloudVolumegroupsGetDetails(params *PcloudVolumegroupsGetDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetDetailsOK, error)
PcloudVolumegroupsGetDetails gets volume group details
func (*Client) PcloudVolumegroupsGetall ¶
func (a *Client) PcloudVolumegroupsGetall(params *PcloudVolumegroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetallOK, error)
PcloudVolumegroupsGetall gets all volume groups
func (*Client) PcloudVolumegroupsGetallDetails ¶
func (a *Client) PcloudVolumegroupsGetallDetails(params *PcloudVolumegroupsGetallDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetallDetailsOK, error)
PcloudVolumegroupsGetallDetails gets all volume groups with details
func (*Client) PcloudVolumegroupsPost ¶
func (a *Client) PcloudVolumegroupsPost(params *PcloudVolumegroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsPostAccepted, error)
PcloudVolumegroupsPost creates a new volume group
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PcloudVolumegroupsDelete(params *PcloudVolumegroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsDeleteAccepted, error) PcloudVolumegroupsGet(params *PcloudVolumegroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetOK, error) PcloudVolumegroupsGetDetails(params *PcloudVolumegroupsGetDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetDetailsOK, error) PcloudVolumegroupsGetall(params *PcloudVolumegroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetallOK, error) PcloudVolumegroupsGetallDetails(params *PcloudVolumegroupsGetallDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsGetallDetailsOK, error) PcloudVolumegroupsPost(params *PcloudVolumegroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumegroupsPostAccepted, 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 volume groups API client.
type PcloudVolumegroupsDeleteAccepted ¶
PcloudVolumegroupsDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudVolumegroupsDeleteAccepted ¶
func NewPcloudVolumegroupsDeleteAccepted() *PcloudVolumegroupsDeleteAccepted
NewPcloudVolumegroupsDeleteAccepted creates a PcloudVolumegroupsDeleteAccepted with default headers values
func (*PcloudVolumegroupsDeleteAccepted) Error ¶
func (o *PcloudVolumegroupsDeleteAccepted) Error() string
func (*PcloudVolumegroupsDeleteAccepted) GetPayload ¶
func (o *PcloudVolumegroupsDeleteAccepted) GetPayload() models.Object
type PcloudVolumegroupsDeleteBadRequest ¶
PcloudVolumegroupsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumegroupsDeleteBadRequest ¶
func NewPcloudVolumegroupsDeleteBadRequest() *PcloudVolumegroupsDeleteBadRequest
NewPcloudVolumegroupsDeleteBadRequest creates a PcloudVolumegroupsDeleteBadRequest with default headers values
func (*PcloudVolumegroupsDeleteBadRequest) Error ¶
func (o *PcloudVolumegroupsDeleteBadRequest) Error() string
func (*PcloudVolumegroupsDeleteBadRequest) GetPayload ¶
func (o *PcloudVolumegroupsDeleteBadRequest) GetPayload() *models.Error
type PcloudVolumegroupsDeleteInternalServerError ¶
PcloudVolumegroupsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumegroupsDeleteInternalServerError ¶
func NewPcloudVolumegroupsDeleteInternalServerError() *PcloudVolumegroupsDeleteInternalServerError
NewPcloudVolumegroupsDeleteInternalServerError creates a PcloudVolumegroupsDeleteInternalServerError with default headers values
func (*PcloudVolumegroupsDeleteInternalServerError) Error ¶
func (o *PcloudVolumegroupsDeleteInternalServerError) Error() string
func (*PcloudVolumegroupsDeleteInternalServerError) GetPayload ¶
func (o *PcloudVolumegroupsDeleteInternalServerError) GetPayload() *models.Error
type PcloudVolumegroupsDeleteNotFound ¶
PcloudVolumegroupsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVolumegroupsDeleteNotFound ¶
func NewPcloudVolumegroupsDeleteNotFound() *PcloudVolumegroupsDeleteNotFound
NewPcloudVolumegroupsDeleteNotFound creates a PcloudVolumegroupsDeleteNotFound with default headers values
func (*PcloudVolumegroupsDeleteNotFound) Error ¶
func (o *PcloudVolumegroupsDeleteNotFound) Error() string
func (*PcloudVolumegroupsDeleteNotFound) GetPayload ¶
func (o *PcloudVolumegroupsDeleteNotFound) GetPayload() *models.Error
type PcloudVolumegroupsDeleteParams ¶
type PcloudVolumegroupsDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeGroupID. The ID of the volume group */ VolumeGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumegroupsDeleteParams contains all the parameters to send to the API endpoint
for the pcloud volumegroups delete operation. Typically these are written to a http.Request.
func NewPcloudVolumegroupsDeleteParams ¶
func NewPcloudVolumegroupsDeleteParams() *PcloudVolumegroupsDeleteParams
NewPcloudVolumegroupsDeleteParams creates a new PcloudVolumegroupsDeleteParams 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 NewPcloudVolumegroupsDeleteParamsWithContext ¶
func NewPcloudVolumegroupsDeleteParamsWithContext(ctx context.Context) *PcloudVolumegroupsDeleteParams
NewPcloudVolumegroupsDeleteParamsWithContext creates a new PcloudVolumegroupsDeleteParams object with the ability to set a context for a request.
func NewPcloudVolumegroupsDeleteParamsWithHTTPClient ¶
func NewPcloudVolumegroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsDeleteParams
NewPcloudVolumegroupsDeleteParamsWithHTTPClient creates a new PcloudVolumegroupsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumegroupsDeleteParamsWithTimeout ¶
func NewPcloudVolumegroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsDeleteParams
NewPcloudVolumegroupsDeleteParamsWithTimeout creates a new PcloudVolumegroupsDeleteParams object with the ability to set a timeout on a request.
func (*PcloudVolumegroupsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudVolumegroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) SetContext ¶
func (o *PcloudVolumegroupsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) SetDefaults ¶
func (o *PcloudVolumegroupsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volumegroups delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsDeleteParams) SetHTTPClient ¶
func (o *PcloudVolumegroupsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) SetTimeout ¶
func (o *PcloudVolumegroupsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) SetVolumeGroupID ¶
func (o *PcloudVolumegroupsDeleteParams) SetVolumeGroupID(volumeGroupID string)
SetVolumeGroupID adds the volumeGroupId to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudVolumegroupsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) WithContext ¶
func (o *PcloudVolumegroupsDeleteParams) WithContext(ctx context.Context) *PcloudVolumegroupsDeleteParams
WithContext adds the context to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) WithDefaults ¶
func (o *PcloudVolumegroupsDeleteParams) WithDefaults() *PcloudVolumegroupsDeleteParams
WithDefaults hydrates default values in the pcloud volumegroups delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsDeleteParams) WithHTTPClient ¶
func (o *PcloudVolumegroupsDeleteParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) WithTimeout ¶
func (o *PcloudVolumegroupsDeleteParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsDeleteParams
WithTimeout adds the timeout to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) WithVolumeGroupID ¶
func (o *PcloudVolumegroupsDeleteParams) WithVolumeGroupID(volumeGroupID string) *PcloudVolumegroupsDeleteParams
WithVolumeGroupID adds the volumeGroupID to the pcloud volumegroups delete params
func (*PcloudVolumegroupsDeleteParams) WriteToRequest ¶
func (o *PcloudVolumegroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumegroupsDeleteReader ¶
type PcloudVolumegroupsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudVolumegroupsDeleteReader is a Reader for the PcloudVolumegroupsDelete structure.
func (*PcloudVolumegroupsDeleteReader) ReadResponse ¶
func (o *PcloudVolumegroupsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumegroupsDeleteUnauthorized ¶
type PcloudVolumegroupsDeleteUnauthorized struct {
}PcloudVolumegroupsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumegroupsDeleteUnauthorized ¶
func NewPcloudVolumegroupsDeleteUnauthorized() *PcloudVolumegroupsDeleteUnauthorized
NewPcloudVolumegroupsDeleteUnauthorized creates a PcloudVolumegroupsDeleteUnauthorized with default headers values
func (*PcloudVolumegroupsDeleteUnauthorized) Error ¶
func (o *PcloudVolumegroupsDeleteUnauthorized) Error() string
func (*PcloudVolumegroupsDeleteUnauthorized) GetPayload ¶
func (o *PcloudVolumegroupsDeleteUnauthorized) GetPayload() *models.Error
type PcloudVolumegroupsGetBadRequest ¶
PcloudVolumegroupsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumegroupsGetBadRequest ¶
func NewPcloudVolumegroupsGetBadRequest() *PcloudVolumegroupsGetBadRequest
NewPcloudVolumegroupsGetBadRequest creates a PcloudVolumegroupsGetBadRequest with default headers values
func (*PcloudVolumegroupsGetBadRequest) Error ¶
func (o *PcloudVolumegroupsGetBadRequest) Error() string
func (*PcloudVolumegroupsGetBadRequest) GetPayload ¶
func (o *PcloudVolumegroupsGetBadRequest) GetPayload() *models.Error
type PcloudVolumegroupsGetDetailsBadRequest ¶
PcloudVolumegroupsGetDetailsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumegroupsGetDetailsBadRequest ¶
func NewPcloudVolumegroupsGetDetailsBadRequest() *PcloudVolumegroupsGetDetailsBadRequest
NewPcloudVolumegroupsGetDetailsBadRequest creates a PcloudVolumegroupsGetDetailsBadRequest with default headers values
func (*PcloudVolumegroupsGetDetailsBadRequest) Error ¶
func (o *PcloudVolumegroupsGetDetailsBadRequest) Error() string
func (*PcloudVolumegroupsGetDetailsBadRequest) GetPayload ¶
func (o *PcloudVolumegroupsGetDetailsBadRequest) GetPayload() *models.Error
type PcloudVolumegroupsGetDetailsInternalServerError ¶
PcloudVolumegroupsGetDetailsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumegroupsGetDetailsInternalServerError ¶
func NewPcloudVolumegroupsGetDetailsInternalServerError() *PcloudVolumegroupsGetDetailsInternalServerError
NewPcloudVolumegroupsGetDetailsInternalServerError creates a PcloudVolumegroupsGetDetailsInternalServerError with default headers values
func (*PcloudVolumegroupsGetDetailsInternalServerError) Error ¶
func (o *PcloudVolumegroupsGetDetailsInternalServerError) Error() string
func (*PcloudVolumegroupsGetDetailsInternalServerError) GetPayload ¶
func (o *PcloudVolumegroupsGetDetailsInternalServerError) GetPayload() *models.Error
type PcloudVolumegroupsGetDetailsNotFound ¶
PcloudVolumegroupsGetDetailsNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVolumegroupsGetDetailsNotFound ¶
func NewPcloudVolumegroupsGetDetailsNotFound() *PcloudVolumegroupsGetDetailsNotFound
NewPcloudVolumegroupsGetDetailsNotFound creates a PcloudVolumegroupsGetDetailsNotFound with default headers values
func (*PcloudVolumegroupsGetDetailsNotFound) Error ¶
func (o *PcloudVolumegroupsGetDetailsNotFound) Error() string
func (*PcloudVolumegroupsGetDetailsNotFound) GetPayload ¶
func (o *PcloudVolumegroupsGetDetailsNotFound) GetPayload() *models.Error
type PcloudVolumegroupsGetDetailsOK ¶
type PcloudVolumegroupsGetDetailsOK struct {
Payload *models.VolumeGroupCreateResponse
}
PcloudVolumegroupsGetDetailsOK describes a response with status code 200, with default header values.
OK
func NewPcloudVolumegroupsGetDetailsOK ¶
func NewPcloudVolumegroupsGetDetailsOK() *PcloudVolumegroupsGetDetailsOK
NewPcloudVolumegroupsGetDetailsOK creates a PcloudVolumegroupsGetDetailsOK with default headers values
func (*PcloudVolumegroupsGetDetailsOK) Error ¶
func (o *PcloudVolumegroupsGetDetailsOK) Error() string
func (*PcloudVolumegroupsGetDetailsOK) GetPayload ¶
func (o *PcloudVolumegroupsGetDetailsOK) GetPayload() *models.VolumeGroupCreateResponse
type PcloudVolumegroupsGetDetailsParams ¶
type PcloudVolumegroupsGetDetailsParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeGroupID. The ID of the volume group */ VolumeGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumegroupsGetDetailsParams contains all the parameters to send to the API endpoint
for the pcloud volumegroups get details operation. Typically these are written to a http.Request.
func NewPcloudVolumegroupsGetDetailsParams ¶
func NewPcloudVolumegroupsGetDetailsParams() *PcloudVolumegroupsGetDetailsParams
NewPcloudVolumegroupsGetDetailsParams creates a new PcloudVolumegroupsGetDetailsParams 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 NewPcloudVolumegroupsGetDetailsParamsWithContext ¶
func NewPcloudVolumegroupsGetDetailsParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetDetailsParams
NewPcloudVolumegroupsGetDetailsParamsWithContext creates a new PcloudVolumegroupsGetDetailsParams object with the ability to set a context for a request.
func NewPcloudVolumegroupsGetDetailsParamsWithHTTPClient ¶
func NewPcloudVolumegroupsGetDetailsParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetDetailsParams
NewPcloudVolumegroupsGetDetailsParamsWithHTTPClient creates a new PcloudVolumegroupsGetDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumegroupsGetDetailsParamsWithTimeout ¶
func NewPcloudVolumegroupsGetDetailsParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetDetailsParams
NewPcloudVolumegroupsGetDetailsParamsWithTimeout creates a new PcloudVolumegroupsGetDetailsParams object with the ability to set a timeout on a request.
func (*PcloudVolumegroupsGetDetailsParams) SetCloudInstanceID ¶
func (o *PcloudVolumegroupsGetDetailsParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) SetContext ¶
func (o *PcloudVolumegroupsGetDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) SetDefaults ¶
func (o *PcloudVolumegroupsGetDetailsParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volumegroups get details params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetDetailsParams) SetHTTPClient ¶
func (o *PcloudVolumegroupsGetDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) SetTimeout ¶
func (o *PcloudVolumegroupsGetDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) SetVolumeGroupID ¶
func (o *PcloudVolumegroupsGetDetailsParams) SetVolumeGroupID(volumeGroupID string)
SetVolumeGroupID adds the volumeGroupId to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) WithCloudInstanceID ¶
func (o *PcloudVolumegroupsGetDetailsParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetDetailsParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) WithContext ¶
func (o *PcloudVolumegroupsGetDetailsParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetDetailsParams
WithContext adds the context to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) WithDefaults ¶
func (o *PcloudVolumegroupsGetDetailsParams) WithDefaults() *PcloudVolumegroupsGetDetailsParams
WithDefaults hydrates default values in the pcloud volumegroups get details params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetDetailsParams) WithHTTPClient ¶
func (o *PcloudVolumegroupsGetDetailsParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetDetailsParams
WithHTTPClient adds the HTTPClient to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) WithTimeout ¶
func (o *PcloudVolumegroupsGetDetailsParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetDetailsParams
WithTimeout adds the timeout to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) WithVolumeGroupID ¶
func (o *PcloudVolumegroupsGetDetailsParams) WithVolumeGroupID(volumeGroupID string) *PcloudVolumegroupsGetDetailsParams
WithVolumeGroupID adds the volumeGroupID to the pcloud volumegroups get details params
func (*PcloudVolumegroupsGetDetailsParams) WriteToRequest ¶
func (o *PcloudVolumegroupsGetDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumegroupsGetDetailsReader ¶
type PcloudVolumegroupsGetDetailsReader struct {
// contains filtered or unexported fields
}
PcloudVolumegroupsGetDetailsReader is a Reader for the PcloudVolumegroupsGetDetails structure.
func (*PcloudVolumegroupsGetDetailsReader) ReadResponse ¶
func (o *PcloudVolumegroupsGetDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumegroupsGetInternalServerError ¶
PcloudVolumegroupsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumegroupsGetInternalServerError ¶
func NewPcloudVolumegroupsGetInternalServerError() *PcloudVolumegroupsGetInternalServerError
NewPcloudVolumegroupsGetInternalServerError creates a PcloudVolumegroupsGetInternalServerError with default headers values
func (*PcloudVolumegroupsGetInternalServerError) Error ¶
func (o *PcloudVolumegroupsGetInternalServerError) Error() string
func (*PcloudVolumegroupsGetInternalServerError) GetPayload ¶
func (o *PcloudVolumegroupsGetInternalServerError) GetPayload() *models.Error
type PcloudVolumegroupsGetNotFound ¶
PcloudVolumegroupsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVolumegroupsGetNotFound ¶
func NewPcloudVolumegroupsGetNotFound() *PcloudVolumegroupsGetNotFound
NewPcloudVolumegroupsGetNotFound creates a PcloudVolumegroupsGetNotFound with default headers values
func (*PcloudVolumegroupsGetNotFound) Error ¶
func (o *PcloudVolumegroupsGetNotFound) Error() string
func (*PcloudVolumegroupsGetNotFound) GetPayload ¶
func (o *PcloudVolumegroupsGetNotFound) GetPayload() *models.Error
type PcloudVolumegroupsGetOK ¶
type PcloudVolumegroupsGetOK struct {
Payload *models.VolumeGroup
}
PcloudVolumegroupsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudVolumegroupsGetOK ¶
func NewPcloudVolumegroupsGetOK() *PcloudVolumegroupsGetOK
NewPcloudVolumegroupsGetOK creates a PcloudVolumegroupsGetOK with default headers values
func (*PcloudVolumegroupsGetOK) Error ¶
func (o *PcloudVolumegroupsGetOK) Error() string
func (*PcloudVolumegroupsGetOK) GetPayload ¶
func (o *PcloudVolumegroupsGetOK) GetPayload() *models.VolumeGroup
type PcloudVolumegroupsGetParams ¶
type PcloudVolumegroupsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeGroupID. The ID of the volume group */ VolumeGroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumegroupsGetParams contains all the parameters to send to the API endpoint
for the pcloud volumegroups get operation. Typically these are written to a http.Request.
func NewPcloudVolumegroupsGetParams ¶
func NewPcloudVolumegroupsGetParams() *PcloudVolumegroupsGetParams
NewPcloudVolumegroupsGetParams creates a new PcloudVolumegroupsGetParams 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 NewPcloudVolumegroupsGetParamsWithContext ¶
func NewPcloudVolumegroupsGetParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetParams
NewPcloudVolumegroupsGetParamsWithContext creates a new PcloudVolumegroupsGetParams object with the ability to set a context for a request.
func NewPcloudVolumegroupsGetParamsWithHTTPClient ¶
func NewPcloudVolumegroupsGetParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetParams
NewPcloudVolumegroupsGetParamsWithHTTPClient creates a new PcloudVolumegroupsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumegroupsGetParamsWithTimeout ¶
func NewPcloudVolumegroupsGetParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetParams
NewPcloudVolumegroupsGetParamsWithTimeout creates a new PcloudVolumegroupsGetParams object with the ability to set a timeout on a request.
func (*PcloudVolumegroupsGetParams) SetCloudInstanceID ¶
func (o *PcloudVolumegroupsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) SetContext ¶
func (o *PcloudVolumegroupsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) SetDefaults ¶
func (o *PcloudVolumegroupsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volumegroups get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetParams) SetHTTPClient ¶
func (o *PcloudVolumegroupsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) SetTimeout ¶
func (o *PcloudVolumegroupsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) SetVolumeGroupID ¶
func (o *PcloudVolumegroupsGetParams) SetVolumeGroupID(volumeGroupID string)
SetVolumeGroupID adds the volumeGroupId to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) WithCloudInstanceID ¶
func (o *PcloudVolumegroupsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) WithContext ¶
func (o *PcloudVolumegroupsGetParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetParams
WithContext adds the context to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) WithDefaults ¶
func (o *PcloudVolumegroupsGetParams) WithDefaults() *PcloudVolumegroupsGetParams
WithDefaults hydrates default values in the pcloud volumegroups get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetParams) WithHTTPClient ¶
func (o *PcloudVolumegroupsGetParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetParams
WithHTTPClient adds the HTTPClient to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) WithTimeout ¶
func (o *PcloudVolumegroupsGetParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetParams
WithTimeout adds the timeout to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) WithVolumeGroupID ¶
func (o *PcloudVolumegroupsGetParams) WithVolumeGroupID(volumeGroupID string) *PcloudVolumegroupsGetParams
WithVolumeGroupID adds the volumeGroupID to the pcloud volumegroups get params
func (*PcloudVolumegroupsGetParams) WriteToRequest ¶
func (o *PcloudVolumegroupsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumegroupsGetReader ¶
type PcloudVolumegroupsGetReader struct {
// contains filtered or unexported fields
}
PcloudVolumegroupsGetReader is a Reader for the PcloudVolumegroupsGet structure.
func (*PcloudVolumegroupsGetReader) ReadResponse ¶
func (o *PcloudVolumegroupsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumegroupsGetallBadRequest ¶
PcloudVolumegroupsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumegroupsGetallBadRequest ¶
func NewPcloudVolumegroupsGetallBadRequest() *PcloudVolumegroupsGetallBadRequest
NewPcloudVolumegroupsGetallBadRequest creates a PcloudVolumegroupsGetallBadRequest with default headers values
func (*PcloudVolumegroupsGetallBadRequest) Error ¶
func (o *PcloudVolumegroupsGetallBadRequest) Error() string
func (*PcloudVolumegroupsGetallBadRequest) GetPayload ¶
func (o *PcloudVolumegroupsGetallBadRequest) GetPayload() *models.Error
type PcloudVolumegroupsGetallDetailsBadRequest ¶
PcloudVolumegroupsGetallDetailsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumegroupsGetallDetailsBadRequest ¶
func NewPcloudVolumegroupsGetallDetailsBadRequest() *PcloudVolumegroupsGetallDetailsBadRequest
NewPcloudVolumegroupsGetallDetailsBadRequest creates a PcloudVolumegroupsGetallDetailsBadRequest with default headers values
func (*PcloudVolumegroupsGetallDetailsBadRequest) Error ¶
func (o *PcloudVolumegroupsGetallDetailsBadRequest) Error() string
func (*PcloudVolumegroupsGetallDetailsBadRequest) GetPayload ¶
func (o *PcloudVolumegroupsGetallDetailsBadRequest) GetPayload() *models.Error
type PcloudVolumegroupsGetallDetailsInternalServerError ¶
PcloudVolumegroupsGetallDetailsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumegroupsGetallDetailsInternalServerError ¶
func NewPcloudVolumegroupsGetallDetailsInternalServerError() *PcloudVolumegroupsGetallDetailsInternalServerError
NewPcloudVolumegroupsGetallDetailsInternalServerError creates a PcloudVolumegroupsGetallDetailsInternalServerError with default headers values
func (*PcloudVolumegroupsGetallDetailsInternalServerError) Error ¶
func (o *PcloudVolumegroupsGetallDetailsInternalServerError) Error() string
func (*PcloudVolumegroupsGetallDetailsInternalServerError) GetPayload ¶
func (o *PcloudVolumegroupsGetallDetailsInternalServerError) GetPayload() *models.Error
type PcloudVolumegroupsGetallDetailsOK ¶
type PcloudVolumegroupsGetallDetailsOK struct {
Payload models.VolumeGroupsDetails
}
PcloudVolumegroupsGetallDetailsOK describes a response with status code 200, with default header values.
OK
func NewPcloudVolumegroupsGetallDetailsOK ¶
func NewPcloudVolumegroupsGetallDetailsOK() *PcloudVolumegroupsGetallDetailsOK
NewPcloudVolumegroupsGetallDetailsOK creates a PcloudVolumegroupsGetallDetailsOK with default headers values
func (*PcloudVolumegroupsGetallDetailsOK) Error ¶
func (o *PcloudVolumegroupsGetallDetailsOK) Error() string
func (*PcloudVolumegroupsGetallDetailsOK) GetPayload ¶
func (o *PcloudVolumegroupsGetallDetailsOK) GetPayload() models.VolumeGroupsDetails
type PcloudVolumegroupsGetallDetailsParams ¶
type PcloudVolumegroupsGetallDetailsParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumegroupsGetallDetailsParams contains all the parameters to send to the API endpoint
for the pcloud volumegroups getall details operation. Typically these are written to a http.Request.
func NewPcloudVolumegroupsGetallDetailsParams ¶
func NewPcloudVolumegroupsGetallDetailsParams() *PcloudVolumegroupsGetallDetailsParams
NewPcloudVolumegroupsGetallDetailsParams creates a new PcloudVolumegroupsGetallDetailsParams 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 NewPcloudVolumegroupsGetallDetailsParamsWithContext ¶
func NewPcloudVolumegroupsGetallDetailsParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetallDetailsParams
NewPcloudVolumegroupsGetallDetailsParamsWithContext creates a new PcloudVolumegroupsGetallDetailsParams object with the ability to set a context for a request.
func NewPcloudVolumegroupsGetallDetailsParamsWithHTTPClient ¶
func NewPcloudVolumegroupsGetallDetailsParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallDetailsParams
NewPcloudVolumegroupsGetallDetailsParamsWithHTTPClient creates a new PcloudVolumegroupsGetallDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumegroupsGetallDetailsParamsWithTimeout ¶
func NewPcloudVolumegroupsGetallDetailsParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallDetailsParams
NewPcloudVolumegroupsGetallDetailsParamsWithTimeout creates a new PcloudVolumegroupsGetallDetailsParams object with the ability to set a timeout on a request.
func (*PcloudVolumegroupsGetallDetailsParams) SetCloudInstanceID ¶
func (o *PcloudVolumegroupsGetallDetailsParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) SetContext ¶
func (o *PcloudVolumegroupsGetallDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) SetDefaults ¶
func (o *PcloudVolumegroupsGetallDetailsParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volumegroups getall details params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetallDetailsParams) SetHTTPClient ¶
func (o *PcloudVolumegroupsGetallDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) SetTimeout ¶
func (o *PcloudVolumegroupsGetallDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) WithCloudInstanceID ¶
func (o *PcloudVolumegroupsGetallDetailsParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetallDetailsParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) WithContext ¶
func (o *PcloudVolumegroupsGetallDetailsParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetallDetailsParams
WithContext adds the context to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) WithDefaults ¶
func (o *PcloudVolumegroupsGetallDetailsParams) WithDefaults() *PcloudVolumegroupsGetallDetailsParams
WithDefaults hydrates default values in the pcloud volumegroups getall details params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetallDetailsParams) WithHTTPClient ¶
func (o *PcloudVolumegroupsGetallDetailsParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallDetailsParams
WithHTTPClient adds the HTTPClient to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) WithTimeout ¶
func (o *PcloudVolumegroupsGetallDetailsParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallDetailsParams
WithTimeout adds the timeout to the pcloud volumegroups getall details params
func (*PcloudVolumegroupsGetallDetailsParams) WriteToRequest ¶
func (o *PcloudVolumegroupsGetallDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumegroupsGetallDetailsReader ¶
type PcloudVolumegroupsGetallDetailsReader struct {
// contains filtered or unexported fields
}
PcloudVolumegroupsGetallDetailsReader is a Reader for the PcloudVolumegroupsGetallDetails structure.
func (*PcloudVolumegroupsGetallDetailsReader) ReadResponse ¶
func (o *PcloudVolumegroupsGetallDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumegroupsGetallDetailsUnauthorized ¶
type PcloudVolumegroupsGetallDetailsUnauthorized struct {
}PcloudVolumegroupsGetallDetailsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumegroupsGetallDetailsUnauthorized ¶
func NewPcloudVolumegroupsGetallDetailsUnauthorized() *PcloudVolumegroupsGetallDetailsUnauthorized
NewPcloudVolumegroupsGetallDetailsUnauthorized creates a PcloudVolumegroupsGetallDetailsUnauthorized with default headers values
func (*PcloudVolumegroupsGetallDetailsUnauthorized) Error ¶
func (o *PcloudVolumegroupsGetallDetailsUnauthorized) Error() string
func (*PcloudVolumegroupsGetallDetailsUnauthorized) GetPayload ¶
func (o *PcloudVolumegroupsGetallDetailsUnauthorized) GetPayload() *models.Error
type PcloudVolumegroupsGetallInternalServerError ¶
PcloudVolumegroupsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumegroupsGetallInternalServerError ¶
func NewPcloudVolumegroupsGetallInternalServerError() *PcloudVolumegroupsGetallInternalServerError
NewPcloudVolumegroupsGetallInternalServerError creates a PcloudVolumegroupsGetallInternalServerError with default headers values
func (*PcloudVolumegroupsGetallInternalServerError) Error ¶
func (o *PcloudVolumegroupsGetallInternalServerError) Error() string
func (*PcloudVolumegroupsGetallInternalServerError) GetPayload ¶
func (o *PcloudVolumegroupsGetallInternalServerError) GetPayload() *models.Error
type PcloudVolumegroupsGetallOK ¶
type PcloudVolumegroupsGetallOK struct {
Payload models.VolumeGroups
}
PcloudVolumegroupsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudVolumegroupsGetallOK ¶
func NewPcloudVolumegroupsGetallOK() *PcloudVolumegroupsGetallOK
NewPcloudVolumegroupsGetallOK creates a PcloudVolumegroupsGetallOK with default headers values
func (*PcloudVolumegroupsGetallOK) Error ¶
func (o *PcloudVolumegroupsGetallOK) Error() string
func (*PcloudVolumegroupsGetallOK) GetPayload ¶
func (o *PcloudVolumegroupsGetallOK) GetPayload() models.VolumeGroups
type PcloudVolumegroupsGetallParams ¶
type PcloudVolumegroupsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumegroupsGetallParams contains all the parameters to send to the API endpoint
for the pcloud volumegroups getall operation. Typically these are written to a http.Request.
func NewPcloudVolumegroupsGetallParams ¶
func NewPcloudVolumegroupsGetallParams() *PcloudVolumegroupsGetallParams
NewPcloudVolumegroupsGetallParams creates a new PcloudVolumegroupsGetallParams 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 NewPcloudVolumegroupsGetallParamsWithContext ¶
func NewPcloudVolumegroupsGetallParamsWithContext(ctx context.Context) *PcloudVolumegroupsGetallParams
NewPcloudVolumegroupsGetallParamsWithContext creates a new PcloudVolumegroupsGetallParams object with the ability to set a context for a request.
func NewPcloudVolumegroupsGetallParamsWithHTTPClient ¶
func NewPcloudVolumegroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallParams
NewPcloudVolumegroupsGetallParamsWithHTTPClient creates a new PcloudVolumegroupsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumegroupsGetallParamsWithTimeout ¶
func NewPcloudVolumegroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallParams
NewPcloudVolumegroupsGetallParamsWithTimeout creates a new PcloudVolumegroupsGetallParams object with the ability to set a timeout on a request.
func (*PcloudVolumegroupsGetallParams) SetCloudInstanceID ¶
func (o *PcloudVolumegroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) SetContext ¶
func (o *PcloudVolumegroupsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) SetDefaults ¶
func (o *PcloudVolumegroupsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volumegroups getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetallParams) SetHTTPClient ¶
func (o *PcloudVolumegroupsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) SetTimeout ¶
func (o *PcloudVolumegroupsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) WithCloudInstanceID ¶
func (o *PcloudVolumegroupsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) WithContext ¶
func (o *PcloudVolumegroupsGetallParams) WithContext(ctx context.Context) *PcloudVolumegroupsGetallParams
WithContext adds the context to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) WithDefaults ¶
func (o *PcloudVolumegroupsGetallParams) WithDefaults() *PcloudVolumegroupsGetallParams
WithDefaults hydrates default values in the pcloud volumegroups getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsGetallParams) WithHTTPClient ¶
func (o *PcloudVolumegroupsGetallParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) WithTimeout ¶
func (o *PcloudVolumegroupsGetallParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsGetallParams
WithTimeout adds the timeout to the pcloud volumegroups getall params
func (*PcloudVolumegroupsGetallParams) WriteToRequest ¶
func (o *PcloudVolumegroupsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumegroupsGetallReader ¶
type PcloudVolumegroupsGetallReader struct {
// contains filtered or unexported fields
}
PcloudVolumegroupsGetallReader is a Reader for the PcloudVolumegroupsGetall structure.
func (*PcloudVolumegroupsGetallReader) ReadResponse ¶
func (o *PcloudVolumegroupsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumegroupsGetallUnauthorized ¶
type PcloudVolumegroupsGetallUnauthorized struct {
}PcloudVolumegroupsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumegroupsGetallUnauthorized ¶
func NewPcloudVolumegroupsGetallUnauthorized() *PcloudVolumegroupsGetallUnauthorized
NewPcloudVolumegroupsGetallUnauthorized creates a PcloudVolumegroupsGetallUnauthorized with default headers values
func (*PcloudVolumegroupsGetallUnauthorized) Error ¶
func (o *PcloudVolumegroupsGetallUnauthorized) Error() string
func (*PcloudVolumegroupsGetallUnauthorized) GetPayload ¶
func (o *PcloudVolumegroupsGetallUnauthorized) GetPayload() *models.Error
type PcloudVolumegroupsPostAccepted ¶
type PcloudVolumegroupsPostAccepted struct {
Payload *models.VolumeGroupCreateResponse
}
PcloudVolumegroupsPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudVolumegroupsPostAccepted ¶
func NewPcloudVolumegroupsPostAccepted() *PcloudVolumegroupsPostAccepted
NewPcloudVolumegroupsPostAccepted creates a PcloudVolumegroupsPostAccepted with default headers values
func (*PcloudVolumegroupsPostAccepted) Error ¶
func (o *PcloudVolumegroupsPostAccepted) Error() string
func (*PcloudVolumegroupsPostAccepted) GetPayload ¶
func (o *PcloudVolumegroupsPostAccepted) GetPayload() *models.VolumeGroupCreateResponse
type PcloudVolumegroupsPostBadRequest ¶
PcloudVolumegroupsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumegroupsPostBadRequest ¶
func NewPcloudVolumegroupsPostBadRequest() *PcloudVolumegroupsPostBadRequest
NewPcloudVolumegroupsPostBadRequest creates a PcloudVolumegroupsPostBadRequest with default headers values
func (*PcloudVolumegroupsPostBadRequest) Error ¶
func (o *PcloudVolumegroupsPostBadRequest) Error() string
func (*PcloudVolumegroupsPostBadRequest) GetPayload ¶
func (o *PcloudVolumegroupsPostBadRequest) GetPayload() *models.Error
type PcloudVolumegroupsPostConflict ¶
PcloudVolumegroupsPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudVolumegroupsPostConflict ¶
func NewPcloudVolumegroupsPostConflict() *PcloudVolumegroupsPostConflict
NewPcloudVolumegroupsPostConflict creates a PcloudVolumegroupsPostConflict with default headers values
func (*PcloudVolumegroupsPostConflict) Error ¶
func (o *PcloudVolumegroupsPostConflict) Error() string
func (*PcloudVolumegroupsPostConflict) GetPayload ¶
func (o *PcloudVolumegroupsPostConflict) GetPayload() *models.Error
type PcloudVolumegroupsPostGatewayTimeout ¶
PcloudVolumegroupsPostGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. Request is still processing and taking longer than expected.
func NewPcloudVolumegroupsPostGatewayTimeout ¶
func NewPcloudVolumegroupsPostGatewayTimeout() *PcloudVolumegroupsPostGatewayTimeout
NewPcloudVolumegroupsPostGatewayTimeout creates a PcloudVolumegroupsPostGatewayTimeout with default headers values
func (*PcloudVolumegroupsPostGatewayTimeout) Error ¶
func (o *PcloudVolumegroupsPostGatewayTimeout) Error() string
func (*PcloudVolumegroupsPostGatewayTimeout) GetPayload ¶
func (o *PcloudVolumegroupsPostGatewayTimeout) GetPayload() *models.Error
type PcloudVolumegroupsPostInternalServerError ¶
PcloudVolumegroupsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumegroupsPostInternalServerError ¶
func NewPcloudVolumegroupsPostInternalServerError() *PcloudVolumegroupsPostInternalServerError
NewPcloudVolumegroupsPostInternalServerError creates a PcloudVolumegroupsPostInternalServerError with default headers values
func (*PcloudVolumegroupsPostInternalServerError) Error ¶
func (o *PcloudVolumegroupsPostInternalServerError) Error() string
func (*PcloudVolumegroupsPostInternalServerError) GetPayload ¶
func (o *PcloudVolumegroupsPostInternalServerError) GetPayload() *models.Error
type PcloudVolumegroupsPostParams ¶
type PcloudVolumegroupsPostParams struct { /* Body. Parameters for the creation of a new volume group */ Body *models.VolumeGroupCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumegroupsPostParams contains all the parameters to send to the API endpoint
for the pcloud volumegroups post operation. Typically these are written to a http.Request.
func NewPcloudVolumegroupsPostParams ¶
func NewPcloudVolumegroupsPostParams() *PcloudVolumegroupsPostParams
NewPcloudVolumegroupsPostParams creates a new PcloudVolumegroupsPostParams 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 NewPcloudVolumegroupsPostParamsWithContext ¶
func NewPcloudVolumegroupsPostParamsWithContext(ctx context.Context) *PcloudVolumegroupsPostParams
NewPcloudVolumegroupsPostParamsWithContext creates a new PcloudVolumegroupsPostParams object with the ability to set a context for a request.
func NewPcloudVolumegroupsPostParamsWithHTTPClient ¶
func NewPcloudVolumegroupsPostParamsWithHTTPClient(client *http.Client) *PcloudVolumegroupsPostParams
NewPcloudVolumegroupsPostParamsWithHTTPClient creates a new PcloudVolumegroupsPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumegroupsPostParamsWithTimeout ¶
func NewPcloudVolumegroupsPostParamsWithTimeout(timeout time.Duration) *PcloudVolumegroupsPostParams
NewPcloudVolumegroupsPostParamsWithTimeout creates a new PcloudVolumegroupsPostParams object with the ability to set a timeout on a request.
func (*PcloudVolumegroupsPostParams) SetBody ¶
func (o *PcloudVolumegroupsPostParams) SetBody(body *models.VolumeGroupCreate)
SetBody adds the body to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) SetCloudInstanceID ¶
func (o *PcloudVolumegroupsPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) SetContext ¶
func (o *PcloudVolumegroupsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) SetDefaults ¶
func (o *PcloudVolumegroupsPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volumegroups post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsPostParams) SetHTTPClient ¶
func (o *PcloudVolumegroupsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) SetTimeout ¶
func (o *PcloudVolumegroupsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) WithBody ¶
func (o *PcloudVolumegroupsPostParams) WithBody(body *models.VolumeGroupCreate) *PcloudVolumegroupsPostParams
WithBody adds the body to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) WithCloudInstanceID ¶
func (o *PcloudVolumegroupsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumegroupsPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) WithContext ¶
func (o *PcloudVolumegroupsPostParams) WithContext(ctx context.Context) *PcloudVolumegroupsPostParams
WithContext adds the context to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) WithDefaults ¶
func (o *PcloudVolumegroupsPostParams) WithDefaults() *PcloudVolumegroupsPostParams
WithDefaults hydrates default values in the pcloud volumegroups post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumegroupsPostParams) WithHTTPClient ¶
func (o *PcloudVolumegroupsPostParams) WithHTTPClient(client *http.Client) *PcloudVolumegroupsPostParams
WithHTTPClient adds the HTTPClient to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) WithTimeout ¶
func (o *PcloudVolumegroupsPostParams) WithTimeout(timeout time.Duration) *PcloudVolumegroupsPostParams
WithTimeout adds the timeout to the pcloud volumegroups post params
func (*PcloudVolumegroupsPostParams) WriteToRequest ¶
func (o *PcloudVolumegroupsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumegroupsPostReader ¶
type PcloudVolumegroupsPostReader struct {
// contains filtered or unexported fields
}
PcloudVolumegroupsPostReader is a Reader for the PcloudVolumegroupsPost structure.
func (*PcloudVolumegroupsPostReader) ReadResponse ¶
func (o *PcloudVolumegroupsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumegroupsPostUnauthorized ¶
type PcloudVolumegroupsPostUnauthorized struct {
}PcloudVolumegroupsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumegroupsPostUnauthorized ¶
func NewPcloudVolumegroupsPostUnauthorized() *PcloudVolumegroupsPostUnauthorized
NewPcloudVolumegroupsPostUnauthorized creates a PcloudVolumegroupsPostUnauthorized with default headers values
func (*PcloudVolumegroupsPostUnauthorized) Error ¶
func (o *PcloudVolumegroupsPostUnauthorized) Error() string
func (*PcloudVolumegroupsPostUnauthorized) GetPayload ¶
func (o *PcloudVolumegroupsPostUnauthorized) GetPayload() *models.Error
type PcloudVolumegroupsPostUnprocessableEntity ¶
PcloudVolumegroupsPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudVolumegroupsPostUnprocessableEntity ¶
func NewPcloudVolumegroupsPostUnprocessableEntity() *PcloudVolumegroupsPostUnprocessableEntity
NewPcloudVolumegroupsPostUnprocessableEntity creates a PcloudVolumegroupsPostUnprocessableEntity with default headers values
func (*PcloudVolumegroupsPostUnprocessableEntity) Error ¶
func (o *PcloudVolumegroupsPostUnprocessableEntity) Error() string
func (*PcloudVolumegroupsPostUnprocessableEntity) GetPayload ¶
func (o *PcloudVolumegroupsPostUnprocessableEntity) GetPayload() *models.Error
Source Files ¶
- p_cloud_volume_groups_client.go
- pcloud_volumegroups_delete_parameters.go
- pcloud_volumegroups_delete_responses.go
- pcloud_volumegroups_get_details_parameters.go
- pcloud_volumegroups_get_details_responses.go
- pcloud_volumegroups_get_parameters.go
- pcloud_volumegroups_get_responses.go
- pcloud_volumegroups_getall_details_parameters.go
- pcloud_volumegroups_getall_details_responses.go
- pcloud_volumegroups_getall_parameters.go
- pcloud_volumegroups_getall_responses.go
- pcloud_volumegroups_post_parameters.go
- pcloud_volumegroups_post_responses.go