p_cloud_volume_groups

package
v1.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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

type PcloudVolumegroupsDeleteAccepted struct {
	Payload models.Object
}
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 (*PcloudVolumegroupsDeleteAccepted) GetPayload

type PcloudVolumegroupsDeleteBadRequest

type PcloudVolumegroupsDeleteBadRequest struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsDeleteBadRequest) GetPayload

type PcloudVolumegroupsDeleteInternalServerError

type PcloudVolumegroupsDeleteInternalServerError struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsDeleteInternalServerError) GetPayload

type PcloudVolumegroupsDeleteNotFound

type PcloudVolumegroupsDeleteNotFound struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsDeleteNotFound) GetPayload

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

WithContext adds the context to the pcloud volumegroups delete params

func (*PcloudVolumegroupsDeleteParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud volumegroups delete params

func (*PcloudVolumegroupsDeleteParams) WithTimeout

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

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 {
	Payload *models.Error
}
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 (*PcloudVolumegroupsDeleteUnauthorized) GetPayload

type PcloudVolumegroupsGetBadRequest

type PcloudVolumegroupsGetBadRequest struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetBadRequest) GetPayload

func (o *PcloudVolumegroupsGetBadRequest) GetPayload() *models.Error

type PcloudVolumegroupsGetDetailsBadRequest

type PcloudVolumegroupsGetDetailsBadRequest struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetDetailsBadRequest) GetPayload

type PcloudVolumegroupsGetDetailsInternalServerError

type PcloudVolumegroupsGetDetailsInternalServerError struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetDetailsInternalServerError) GetPayload

type PcloudVolumegroupsGetDetailsNotFound

type PcloudVolumegroupsGetDetailsNotFound struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetDetailsNotFound) GetPayload

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 (*PcloudVolumegroupsGetDetailsOK) GetPayload

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

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

WithContext adds the context to the pcloud volumegroups get details params

func (*PcloudVolumegroupsGetDetailsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud volumegroups get details params

func (*PcloudVolumegroupsGetDetailsParams) WithTimeout

WithTimeout adds the timeout to the pcloud volumegroups get details params

func (*PcloudVolumegroupsGetDetailsParams) WithVolumeGroupID

WithVolumeGroupID adds the volumeGroupID to the pcloud volumegroups get details params

func (*PcloudVolumegroupsGetDetailsParams) WriteToRequest

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

type PcloudVolumegroupsGetInternalServerError struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetInternalServerError) GetPayload

type PcloudVolumegroupsGetNotFound

type PcloudVolumegroupsGetNotFound struct {
	Payload *models.Error
}
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 (*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

WithContext adds the context to the pcloud volumegroups get params

func (*PcloudVolumegroupsGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud volumegroups get params

func (*PcloudVolumegroupsGetParams) WithTimeout

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

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

type PcloudVolumegroupsGetallBadRequest struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetallBadRequest) GetPayload

type PcloudVolumegroupsGetallDetailsBadRequest

type PcloudVolumegroupsGetallDetailsBadRequest struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetallDetailsBadRequest) GetPayload

type PcloudVolumegroupsGetallDetailsInternalServerError

type PcloudVolumegroupsGetallDetailsInternalServerError struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetallDetailsInternalServerError) GetPayload

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 (*PcloudVolumegroupsGetallDetailsOK) GetPayload

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

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud volumegroups getall details params

func (*PcloudVolumegroupsGetallDetailsParams) WithContext

WithContext adds the context to the pcloud volumegroups getall details params

func (*PcloudVolumegroupsGetallDetailsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud volumegroups getall details params

func (*PcloudVolumegroupsGetallDetailsParams) WithTimeout

WithTimeout adds the timeout to the pcloud volumegroups getall details params

func (*PcloudVolumegroupsGetallDetailsParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetallDetailsUnauthorized) GetPayload

type PcloudVolumegroupsGetallInternalServerError

type PcloudVolumegroupsGetallInternalServerError struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetallInternalServerError) GetPayload

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 (*PcloudVolumegroupsGetallOK) GetPayload

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

WithContext adds the context to the pcloud volumegroups getall params

func (*PcloudVolumegroupsGetallParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud volumegroups getall params

func (*PcloudVolumegroupsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud volumegroups getall params

func (*PcloudVolumegroupsGetallParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*PcloudVolumegroupsGetallUnauthorized) GetPayload

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 (*PcloudVolumegroupsPostAccepted) GetPayload

type PcloudVolumegroupsPostBadRequest

type PcloudVolumegroupsPostBadRequest struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsPostBadRequest) GetPayload

type PcloudVolumegroupsPostConflict

type PcloudVolumegroupsPostConflict struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsPostConflict) GetPayload

func (o *PcloudVolumegroupsPostConflict) GetPayload() *models.Error

type PcloudVolumegroupsPostGatewayTimeout

type PcloudVolumegroupsPostGatewayTimeout struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsPostGatewayTimeout) GetPayload

type PcloudVolumegroupsPostInternalServerError

type PcloudVolumegroupsPostInternalServerError struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsPostInternalServerError) GetPayload

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

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

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

WithContext adds the context to the pcloud volumegroups post params

func (*PcloudVolumegroupsPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud volumegroups post params

func (*PcloudVolumegroupsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud volumegroups post params

func (*PcloudVolumegroupsPostParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*PcloudVolumegroupsPostUnauthorized) GetPayload

type PcloudVolumegroupsPostUnprocessableEntity

type PcloudVolumegroupsPostUnprocessableEntity struct {
	Payload *models.Error
}
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 (*PcloudVolumegroupsPostUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL