Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudStoragecapacityPoolsGet(params *PcloudStoragecapacityPoolsGetParams, ...) (*PcloudStoragecapacityPoolsGetOK, error)
- func (a *Client) PcloudStoragecapacityPoolsGetall(params *PcloudStoragecapacityPoolsGetallParams, ...) (*PcloudStoragecapacityPoolsGetallOK, error)
- func (a *Client) PcloudStoragecapacityTypesGet(params *PcloudStoragecapacityTypesGetParams, ...) (*PcloudStoragecapacityTypesGetOK, error)
- func (a *Client) PcloudStoragecapacityTypesGetall(params *PcloudStoragecapacityTypesGetallParams, ...) (*PcloudStoragecapacityTypesGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudStoragecapacityPoolsGetInternalServerError
- type PcloudStoragecapacityPoolsGetNotFound
- type PcloudStoragecapacityPoolsGetOK
- type PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParams() *PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityPoolsGetParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityPoolsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityPoolsGetParams) SetStoragePoolName(storagePoolName string)
- func (o *PcloudStoragecapacityPoolsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityPoolsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithStoragePoolName(storagePoolName string) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityPoolsGetReader
- type PcloudStoragecapacityPoolsGetUnauthorized
- type PcloudStoragecapacityPoolsGetallInternalServerError
- type PcloudStoragecapacityPoolsGetallOK
- type PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParams() *PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityPoolsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityPoolsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityPoolsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityPoolsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityPoolsGetallReader
- type PcloudStoragecapacityPoolsGetallUnauthorized
- type PcloudStoragecapacityTypesGetInternalServerError
- type PcloudStoragecapacityTypesGetNotFound
- type PcloudStoragecapacityTypesGetOK
- type PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParams() *PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityTypesGetParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityTypesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityTypesGetParams) SetStorageTypeName(storageTypeName string)
- func (o *PcloudStoragecapacityTypesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityTypesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithStorageTypeName(storageTypeName string) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityTypesGetReader
- type PcloudStoragecapacityTypesGetUnauthorized
- type PcloudStoragecapacityTypesGetallInternalServerError
- type PcloudStoragecapacityTypesGetallOK
- type PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParams() *PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityTypesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityTypesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityTypesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityTypesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityTypesGetallReader
- type PcloudStoragecapacityTypesGetallUnauthorized
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 storage capacity API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud storage capacity API client.
func (*Client) PcloudStoragecapacityPoolsGet ¶
func (a *Client) PcloudStoragecapacityPoolsGet(params *PcloudStoragecapacityPoolsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudStoragecapacityPoolsGetOK, error)
PcloudStoragecapacityPoolsGet storages capacity for a storage pool in a region
func (*Client) PcloudStoragecapacityPoolsGetall ¶
func (a *Client) PcloudStoragecapacityPoolsGetall(params *PcloudStoragecapacityPoolsGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudStoragecapacityPoolsGetallOK, error)
PcloudStoragecapacityPoolsGetall storages capacity for all available storage pools in a region
func (*Client) PcloudStoragecapacityTypesGet ¶
func (a *Client) PcloudStoragecapacityTypesGet(params *PcloudStoragecapacityTypesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudStoragecapacityTypesGetOK, error)
PcloudStoragecapacityTypesGet storages capacity for a storage type in a region
func (*Client) PcloudStoragecapacityTypesGetall ¶
func (a *Client) PcloudStoragecapacityTypesGetall(params *PcloudStoragecapacityTypesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudStoragecapacityTypesGetallOK, error)
PcloudStoragecapacityTypesGetall storages capacity for all available storage types in a region
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudStoragecapacityPoolsGetInternalServerError ¶
PcloudStoragecapacityPoolsGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudStoragecapacityPoolsGetInternalServerError ¶
func NewPcloudStoragecapacityPoolsGetInternalServerError() *PcloudStoragecapacityPoolsGetInternalServerError
NewPcloudStoragecapacityPoolsGetInternalServerError creates a PcloudStoragecapacityPoolsGetInternalServerError with default headers values
func (*PcloudStoragecapacityPoolsGetInternalServerError) Error ¶
func (o *PcloudStoragecapacityPoolsGetInternalServerError) Error() string
type PcloudStoragecapacityPoolsGetNotFound ¶
PcloudStoragecapacityPoolsGetNotFound handles this case with default header values.
Not Found
func NewPcloudStoragecapacityPoolsGetNotFound ¶
func NewPcloudStoragecapacityPoolsGetNotFound() *PcloudStoragecapacityPoolsGetNotFound
NewPcloudStoragecapacityPoolsGetNotFound creates a PcloudStoragecapacityPoolsGetNotFound with default headers values
func (*PcloudStoragecapacityPoolsGetNotFound) Error ¶
func (o *PcloudStoragecapacityPoolsGetNotFound) Error() string
type PcloudStoragecapacityPoolsGetOK ¶
type PcloudStoragecapacityPoolsGetOK struct {
Payload *models.StoragePoolCapacity
}
PcloudStoragecapacityPoolsGetOK handles this case with default header values.
OK
func NewPcloudStoragecapacityPoolsGetOK ¶
func NewPcloudStoragecapacityPoolsGetOK() *PcloudStoragecapacityPoolsGetOK
NewPcloudStoragecapacityPoolsGetOK creates a PcloudStoragecapacityPoolsGetOK with default headers values
func (*PcloudStoragecapacityPoolsGetOK) Error ¶
func (o *PcloudStoragecapacityPoolsGetOK) Error() string
type PcloudStoragecapacityPoolsGetParams ¶
type PcloudStoragecapacityPoolsGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*StoragePoolName Storage pool name */ StoragePoolName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityPoolsGetParams contains all the parameters to send to the API endpoint for the pcloud storagecapacity pools get operation typically these are written to a http.Request
func NewPcloudStoragecapacityPoolsGetParams ¶
func NewPcloudStoragecapacityPoolsGetParams() *PcloudStoragecapacityPoolsGetParams
NewPcloudStoragecapacityPoolsGetParams creates a new PcloudStoragecapacityPoolsGetParams object with the default values initialized.
func NewPcloudStoragecapacityPoolsGetParamsWithContext ¶
func NewPcloudStoragecapacityPoolsGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams
NewPcloudStoragecapacityPoolsGetParamsWithContext creates a new PcloudStoragecapacityPoolsGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudStoragecapacityPoolsGetParamsWithHTTPClient ¶
func NewPcloudStoragecapacityPoolsGetParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetParams
NewPcloudStoragecapacityPoolsGetParamsWithHTTPClient creates a new PcloudStoragecapacityPoolsGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudStoragecapacityPoolsGetParamsWithTimeout ¶
func NewPcloudStoragecapacityPoolsGetParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetParams
NewPcloudStoragecapacityPoolsGetParamsWithTimeout creates a new PcloudStoragecapacityPoolsGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudStoragecapacityPoolsGetParams) SetCloudInstanceID ¶
func (o *PcloudStoragecapacityPoolsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) SetContext ¶
func (o *PcloudStoragecapacityPoolsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) SetHTTPClient ¶
func (o *PcloudStoragecapacityPoolsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) SetStoragePoolName ¶
func (o *PcloudStoragecapacityPoolsGetParams) SetStoragePoolName(storagePoolName string)
SetStoragePoolName adds the storagePoolName to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) SetTimeout ¶
func (o *PcloudStoragecapacityPoolsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithCloudInstanceID ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityPoolsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithContext ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams
WithContext adds the context to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithHTTPClient ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithStoragePoolName ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithStoragePoolName(storagePoolName string) *PcloudStoragecapacityPoolsGetParams
WithStoragePoolName adds the storagePoolName to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithTimeout ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetParams
WithTimeout adds the timeout to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WriteToRequest ¶
func (o *PcloudStoragecapacityPoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityPoolsGetReader ¶
type PcloudStoragecapacityPoolsGetReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityPoolsGetReader is a Reader for the PcloudStoragecapacityPoolsGet structure.
func (*PcloudStoragecapacityPoolsGetReader) ReadResponse ¶
func (o *PcloudStoragecapacityPoolsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityPoolsGetUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityPoolsGetUnauthorized struct {
}PcloudStoragecapacityPoolsGetUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudStoragecapacityPoolsGetUnauthorized ¶ added in v1.0.59
func NewPcloudStoragecapacityPoolsGetUnauthorized() *PcloudStoragecapacityPoolsGetUnauthorized
NewPcloudStoragecapacityPoolsGetUnauthorized creates a PcloudStoragecapacityPoolsGetUnauthorized with default headers values
func (*PcloudStoragecapacityPoolsGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityPoolsGetUnauthorized) Error() string
type PcloudStoragecapacityPoolsGetallInternalServerError ¶
PcloudStoragecapacityPoolsGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudStoragecapacityPoolsGetallInternalServerError ¶
func NewPcloudStoragecapacityPoolsGetallInternalServerError() *PcloudStoragecapacityPoolsGetallInternalServerError
NewPcloudStoragecapacityPoolsGetallInternalServerError creates a PcloudStoragecapacityPoolsGetallInternalServerError with default headers values
func (*PcloudStoragecapacityPoolsGetallInternalServerError) Error ¶
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) Error() string
type PcloudStoragecapacityPoolsGetallOK ¶
type PcloudStoragecapacityPoolsGetallOK struct {
Payload *models.StoragePoolsCapacity
}
PcloudStoragecapacityPoolsGetallOK handles this case with default header values.
OK
func NewPcloudStoragecapacityPoolsGetallOK ¶
func NewPcloudStoragecapacityPoolsGetallOK() *PcloudStoragecapacityPoolsGetallOK
NewPcloudStoragecapacityPoolsGetallOK creates a PcloudStoragecapacityPoolsGetallOK with default headers values
func (*PcloudStoragecapacityPoolsGetallOK) Error ¶
func (o *PcloudStoragecapacityPoolsGetallOK) Error() string
type PcloudStoragecapacityPoolsGetallParams ¶
type PcloudStoragecapacityPoolsGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityPoolsGetallParams contains all the parameters to send to the API endpoint for the pcloud storagecapacity pools getall operation typically these are written to a http.Request
func NewPcloudStoragecapacityPoolsGetallParams ¶
func NewPcloudStoragecapacityPoolsGetallParams() *PcloudStoragecapacityPoolsGetallParams
NewPcloudStoragecapacityPoolsGetallParams creates a new PcloudStoragecapacityPoolsGetallParams object with the default values initialized.
func NewPcloudStoragecapacityPoolsGetallParamsWithContext ¶
func NewPcloudStoragecapacityPoolsGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams
NewPcloudStoragecapacityPoolsGetallParamsWithContext creates a new PcloudStoragecapacityPoolsGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudStoragecapacityPoolsGetallParamsWithHTTPClient ¶
func NewPcloudStoragecapacityPoolsGetallParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetallParams
NewPcloudStoragecapacityPoolsGetallParamsWithHTTPClient creates a new PcloudStoragecapacityPoolsGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudStoragecapacityPoolsGetallParamsWithTimeout ¶
func NewPcloudStoragecapacityPoolsGetallParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetallParams
NewPcloudStoragecapacityPoolsGetallParamsWithTimeout creates a new PcloudStoragecapacityPoolsGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudStoragecapacityPoolsGetallParams) SetCloudInstanceID ¶
func (o *PcloudStoragecapacityPoolsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) SetContext ¶
func (o *PcloudStoragecapacityPoolsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) SetHTTPClient ¶
func (o *PcloudStoragecapacityPoolsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) SetTimeout ¶
func (o *PcloudStoragecapacityPoolsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WithCloudInstanceID ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityPoolsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WithContext ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams
WithContext adds the context to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WithHTTPClient ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WithTimeout ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetallParams
WithTimeout adds the timeout to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WriteToRequest ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityPoolsGetallReader ¶
type PcloudStoragecapacityPoolsGetallReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityPoolsGetallReader is a Reader for the PcloudStoragecapacityPoolsGetall structure.
func (*PcloudStoragecapacityPoolsGetallReader) ReadResponse ¶
func (o *PcloudStoragecapacityPoolsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityPoolsGetallUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityPoolsGetallUnauthorized struct {
}PcloudStoragecapacityPoolsGetallUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudStoragecapacityPoolsGetallUnauthorized ¶ added in v1.0.59
func NewPcloudStoragecapacityPoolsGetallUnauthorized() *PcloudStoragecapacityPoolsGetallUnauthorized
NewPcloudStoragecapacityPoolsGetallUnauthorized creates a PcloudStoragecapacityPoolsGetallUnauthorized with default headers values
func (*PcloudStoragecapacityPoolsGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) Error() string
type PcloudStoragecapacityTypesGetInternalServerError ¶
PcloudStoragecapacityTypesGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudStoragecapacityTypesGetInternalServerError ¶
func NewPcloudStoragecapacityTypesGetInternalServerError() *PcloudStoragecapacityTypesGetInternalServerError
NewPcloudStoragecapacityTypesGetInternalServerError creates a PcloudStoragecapacityTypesGetInternalServerError with default headers values
func (*PcloudStoragecapacityTypesGetInternalServerError) Error ¶
func (o *PcloudStoragecapacityTypesGetInternalServerError) Error() string
type PcloudStoragecapacityTypesGetNotFound ¶
PcloudStoragecapacityTypesGetNotFound handles this case with default header values.
Not Found
func NewPcloudStoragecapacityTypesGetNotFound ¶
func NewPcloudStoragecapacityTypesGetNotFound() *PcloudStoragecapacityTypesGetNotFound
NewPcloudStoragecapacityTypesGetNotFound creates a PcloudStoragecapacityTypesGetNotFound with default headers values
func (*PcloudStoragecapacityTypesGetNotFound) Error ¶
func (o *PcloudStoragecapacityTypesGetNotFound) Error() string
type PcloudStoragecapacityTypesGetOK ¶
type PcloudStoragecapacityTypesGetOK struct {
Payload *models.StorageTypeCapacity
}
PcloudStoragecapacityTypesGetOK handles this case with default header values.
OK
func NewPcloudStoragecapacityTypesGetOK ¶
func NewPcloudStoragecapacityTypesGetOK() *PcloudStoragecapacityTypesGetOK
NewPcloudStoragecapacityTypesGetOK creates a PcloudStoragecapacityTypesGetOK with default headers values
func (*PcloudStoragecapacityTypesGetOK) Error ¶
func (o *PcloudStoragecapacityTypesGetOK) Error() string
type PcloudStoragecapacityTypesGetParams ¶
type PcloudStoragecapacityTypesGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*StorageTypeName Storage type name */ StorageTypeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityTypesGetParams contains all the parameters to send to the API endpoint for the pcloud storagecapacity types get operation typically these are written to a http.Request
func NewPcloudStoragecapacityTypesGetParams ¶
func NewPcloudStoragecapacityTypesGetParams() *PcloudStoragecapacityTypesGetParams
NewPcloudStoragecapacityTypesGetParams creates a new PcloudStoragecapacityTypesGetParams object with the default values initialized.
func NewPcloudStoragecapacityTypesGetParamsWithContext ¶
func NewPcloudStoragecapacityTypesGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams
NewPcloudStoragecapacityTypesGetParamsWithContext creates a new PcloudStoragecapacityTypesGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudStoragecapacityTypesGetParamsWithHTTPClient ¶
func NewPcloudStoragecapacityTypesGetParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetParams
NewPcloudStoragecapacityTypesGetParamsWithHTTPClient creates a new PcloudStoragecapacityTypesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudStoragecapacityTypesGetParamsWithTimeout ¶
func NewPcloudStoragecapacityTypesGetParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetParams
NewPcloudStoragecapacityTypesGetParamsWithTimeout creates a new PcloudStoragecapacityTypesGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudStoragecapacityTypesGetParams) SetCloudInstanceID ¶
func (o *PcloudStoragecapacityTypesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) SetContext ¶
func (o *PcloudStoragecapacityTypesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) SetHTTPClient ¶
func (o *PcloudStoragecapacityTypesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) SetStorageTypeName ¶
func (o *PcloudStoragecapacityTypesGetParams) SetStorageTypeName(storageTypeName string)
SetStorageTypeName adds the storageTypeName to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) SetTimeout ¶
func (o *PcloudStoragecapacityTypesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithCloudInstanceID ¶
func (o *PcloudStoragecapacityTypesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityTypesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithContext ¶
func (o *PcloudStoragecapacityTypesGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams
WithContext adds the context to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithHTTPClient ¶
func (o *PcloudStoragecapacityTypesGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithStorageTypeName ¶
func (o *PcloudStoragecapacityTypesGetParams) WithStorageTypeName(storageTypeName string) *PcloudStoragecapacityTypesGetParams
WithStorageTypeName adds the storageTypeName to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithTimeout ¶
func (o *PcloudStoragecapacityTypesGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetParams
WithTimeout adds the timeout to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WriteToRequest ¶
func (o *PcloudStoragecapacityTypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityTypesGetReader ¶
type PcloudStoragecapacityTypesGetReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityTypesGetReader is a Reader for the PcloudStoragecapacityTypesGet structure.
func (*PcloudStoragecapacityTypesGetReader) ReadResponse ¶
func (o *PcloudStoragecapacityTypesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityTypesGetUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityTypesGetUnauthorized struct {
}PcloudStoragecapacityTypesGetUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudStoragecapacityTypesGetUnauthorized ¶ added in v1.0.59
func NewPcloudStoragecapacityTypesGetUnauthorized() *PcloudStoragecapacityTypesGetUnauthorized
NewPcloudStoragecapacityTypesGetUnauthorized creates a PcloudStoragecapacityTypesGetUnauthorized with default headers values
func (*PcloudStoragecapacityTypesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityTypesGetUnauthorized) Error() string
type PcloudStoragecapacityTypesGetallInternalServerError ¶
PcloudStoragecapacityTypesGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudStoragecapacityTypesGetallInternalServerError ¶
func NewPcloudStoragecapacityTypesGetallInternalServerError() *PcloudStoragecapacityTypesGetallInternalServerError
NewPcloudStoragecapacityTypesGetallInternalServerError creates a PcloudStoragecapacityTypesGetallInternalServerError with default headers values
func (*PcloudStoragecapacityTypesGetallInternalServerError) Error ¶
func (o *PcloudStoragecapacityTypesGetallInternalServerError) Error() string
type PcloudStoragecapacityTypesGetallOK ¶
type PcloudStoragecapacityTypesGetallOK struct {
Payload *models.StorageTypesCapacity
}
PcloudStoragecapacityTypesGetallOK handles this case with default header values.
OK
func NewPcloudStoragecapacityTypesGetallOK ¶
func NewPcloudStoragecapacityTypesGetallOK() *PcloudStoragecapacityTypesGetallOK
NewPcloudStoragecapacityTypesGetallOK creates a PcloudStoragecapacityTypesGetallOK with default headers values
func (*PcloudStoragecapacityTypesGetallOK) Error ¶
func (o *PcloudStoragecapacityTypesGetallOK) Error() string
type PcloudStoragecapacityTypesGetallParams ¶
type PcloudStoragecapacityTypesGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityTypesGetallParams contains all the parameters to send to the API endpoint for the pcloud storagecapacity types getall operation typically these are written to a http.Request
func NewPcloudStoragecapacityTypesGetallParams ¶
func NewPcloudStoragecapacityTypesGetallParams() *PcloudStoragecapacityTypesGetallParams
NewPcloudStoragecapacityTypesGetallParams creates a new PcloudStoragecapacityTypesGetallParams object with the default values initialized.
func NewPcloudStoragecapacityTypesGetallParamsWithContext ¶
func NewPcloudStoragecapacityTypesGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams
NewPcloudStoragecapacityTypesGetallParamsWithContext creates a new PcloudStoragecapacityTypesGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudStoragecapacityTypesGetallParamsWithHTTPClient ¶
func NewPcloudStoragecapacityTypesGetallParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetallParams
NewPcloudStoragecapacityTypesGetallParamsWithHTTPClient creates a new PcloudStoragecapacityTypesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudStoragecapacityTypesGetallParamsWithTimeout ¶
func NewPcloudStoragecapacityTypesGetallParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetallParams
NewPcloudStoragecapacityTypesGetallParamsWithTimeout creates a new PcloudStoragecapacityTypesGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudStoragecapacityTypesGetallParams) SetCloudInstanceID ¶
func (o *PcloudStoragecapacityTypesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) SetContext ¶
func (o *PcloudStoragecapacityTypesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) SetHTTPClient ¶
func (o *PcloudStoragecapacityTypesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) SetTimeout ¶
func (o *PcloudStoragecapacityTypesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WithCloudInstanceID ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityTypesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WithContext ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams
WithContext adds the context to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WithHTTPClient ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WithTimeout ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetallParams
WithTimeout adds the timeout to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WriteToRequest ¶
func (o *PcloudStoragecapacityTypesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityTypesGetallReader ¶
type PcloudStoragecapacityTypesGetallReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityTypesGetallReader is a Reader for the PcloudStoragecapacityTypesGetall structure.
func (*PcloudStoragecapacityTypesGetallReader) ReadResponse ¶
func (o *PcloudStoragecapacityTypesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityTypesGetallUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityTypesGetallUnauthorized struct {
}PcloudStoragecapacityTypesGetallUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudStoragecapacityTypesGetallUnauthorized ¶ added in v1.0.59
func NewPcloudStoragecapacityTypesGetallUnauthorized() *PcloudStoragecapacityTypesGetallUnauthorized
NewPcloudStoragecapacityTypesGetallUnauthorized creates a PcloudStoragecapacityTypesGetallUnauthorized with default headers values
func (*PcloudStoragecapacityTypesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityTypesGetallUnauthorized) Error() string
Source Files ¶
- p_cloud_storage_capacity_client.go
- pcloud_storagecapacity_pools_get_parameters.go
- pcloud_storagecapacity_pools_get_responses.go
- pcloud_storagecapacity_pools_getall_parameters.go
- pcloud_storagecapacity_pools_getall_responses.go
- pcloud_storagecapacity_types_get_parameters.go
- pcloud_storagecapacity_types_get_responses.go
- pcloud_storagecapacity_types_getall_parameters.go
- pcloud_storagecapacity_types_getall_responses.go