p_cloud_storage_capacity

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 storage capacity API

func (*Client) PcloudStoragecapacityPoolsGet

func (a *Client) PcloudStoragecapacityPoolsGet(params *PcloudStoragecapacityPoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudStoragecapacityPoolsGetOK, error)

PcloudStoragecapacityPoolsGet storages capacity for a storage pool in a region

func (*Client) PcloudStoragecapacityPoolsGetall

func (a *Client) PcloudStoragecapacityPoolsGetall(params *PcloudStoragecapacityPoolsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*PcloudStoragecapacityTypesGetOK, error)

PcloudStoragecapacityTypesGet storages capacity for a storage type in a region

func (*Client) PcloudStoragecapacityTypesGetall

func (a *Client) PcloudStoragecapacityTypesGetall(params *PcloudStoragecapacityTypesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	PcloudStoragecapacityPoolsGet(params *PcloudStoragecapacityPoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudStoragecapacityPoolsGetOK, error)

	PcloudStoragecapacityPoolsGetall(params *PcloudStoragecapacityPoolsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudStoragecapacityPoolsGetallOK, error)

	PcloudStoragecapacityTypesGet(params *PcloudStoragecapacityTypesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudStoragecapacityTypesGetOK, error)

	PcloudStoragecapacityTypesGetall(params *PcloudStoragecapacityTypesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudStoragecapacityTypesGetallOK, 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 storage capacity API client.

type PcloudStoragecapacityPoolsGetInternalServerError

type PcloudStoragecapacityPoolsGetInternalServerError struct {
	Payload *models.Error
}
PcloudStoragecapacityPoolsGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudStoragecapacityPoolsGetInternalServerError

func NewPcloudStoragecapacityPoolsGetInternalServerError() *PcloudStoragecapacityPoolsGetInternalServerError

NewPcloudStoragecapacityPoolsGetInternalServerError creates a PcloudStoragecapacityPoolsGetInternalServerError with default headers values

func (*PcloudStoragecapacityPoolsGetInternalServerError) Error

func (*PcloudStoragecapacityPoolsGetInternalServerError) GetPayload added in v1.1.0

type PcloudStoragecapacityPoolsGetNotFound

type PcloudStoragecapacityPoolsGetNotFound struct {
	Payload *models.Error
}
PcloudStoragecapacityPoolsGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudStoragecapacityPoolsGetNotFound

func NewPcloudStoragecapacityPoolsGetNotFound() *PcloudStoragecapacityPoolsGetNotFound

NewPcloudStoragecapacityPoolsGetNotFound creates a PcloudStoragecapacityPoolsGetNotFound with default headers values

func (*PcloudStoragecapacityPoolsGetNotFound) Error

func (*PcloudStoragecapacityPoolsGetNotFound) GetPayload added in v1.1.0

type PcloudStoragecapacityPoolsGetOK

type PcloudStoragecapacityPoolsGetOK struct {
	Payload *models.StoragePoolCapacity
}
PcloudStoragecapacityPoolsGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudStoragecapacityPoolsGetOK

func NewPcloudStoragecapacityPoolsGetOK() *PcloudStoragecapacityPoolsGetOK

NewPcloudStoragecapacityPoolsGetOK creates a PcloudStoragecapacityPoolsGetOK with default headers values

func (*PcloudStoragecapacityPoolsGetOK) Error

func (*PcloudStoragecapacityPoolsGetOK) GetPayload added in v1.1.0

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 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 NewPcloudStoragecapacityPoolsGetParamsWithContext

func NewPcloudStoragecapacityPoolsGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams

NewPcloudStoragecapacityPoolsGetParamsWithContext creates a new PcloudStoragecapacityPoolsGetParams object with 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 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 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

SetContext adds the context to the pcloud storagecapacity pools get params

func (*PcloudStoragecapacityPoolsGetParams) SetDefaults added in v1.1.0

func (o *PcloudStoragecapacityPoolsGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud storagecapacity pools get params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the pcloud storagecapacity pools get params

func (*PcloudStoragecapacityPoolsGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud storagecapacity pools get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudStoragecapacityPoolsGetParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud storagecapacity pools get params

func (*PcloudStoragecapacityPoolsGetParams) WriteToRequest

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 {
	Payload *models.Error
}
PcloudStoragecapacityPoolsGetUnauthorized describes a response with status code 401, 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 (*PcloudStoragecapacityPoolsGetUnauthorized) GetPayload added in v1.1.0

type PcloudStoragecapacityPoolsGetallInternalServerError

type PcloudStoragecapacityPoolsGetallInternalServerError struct {
	Payload *models.Error
}
PcloudStoragecapacityPoolsGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudStoragecapacityPoolsGetallInternalServerError

func NewPcloudStoragecapacityPoolsGetallInternalServerError() *PcloudStoragecapacityPoolsGetallInternalServerError

NewPcloudStoragecapacityPoolsGetallInternalServerError creates a PcloudStoragecapacityPoolsGetallInternalServerError with default headers values

func (*PcloudStoragecapacityPoolsGetallInternalServerError) Error

func (*PcloudStoragecapacityPoolsGetallInternalServerError) GetPayload added in v1.1.0

type PcloudStoragecapacityPoolsGetallOK

type PcloudStoragecapacityPoolsGetallOK struct {
	Payload *models.StoragePoolsCapacity
}
PcloudStoragecapacityPoolsGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudStoragecapacityPoolsGetallOK

func NewPcloudStoragecapacityPoolsGetallOK() *PcloudStoragecapacityPoolsGetallOK

NewPcloudStoragecapacityPoolsGetallOK creates a PcloudStoragecapacityPoolsGetallOK with default headers values

func (*PcloudStoragecapacityPoolsGetallOK) Error

func (*PcloudStoragecapacityPoolsGetallOK) GetPayload added in v1.1.0

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 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 NewPcloudStoragecapacityPoolsGetallParamsWithContext

func NewPcloudStoragecapacityPoolsGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams

NewPcloudStoragecapacityPoolsGetallParamsWithContext creates a new PcloudStoragecapacityPoolsGetallParams object with 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 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 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

SetContext adds the context to the pcloud storagecapacity pools getall params

func (*PcloudStoragecapacityPoolsGetallParams) SetDefaults added in v1.1.0

func (o *PcloudStoragecapacityPoolsGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud storagecapacity pools getall params (not the query body).

All values with no default are reset to their zero value.

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity pools getall params

func (*PcloudStoragecapacityPoolsGetallParams) WithContext

WithContext adds the context to the pcloud storagecapacity pools getall params

func (*PcloudStoragecapacityPoolsGetallParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud storagecapacity pools getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudStoragecapacityPoolsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud storagecapacity pools getall params

func (*PcloudStoragecapacityPoolsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud storagecapacity pools getall params

func (*PcloudStoragecapacityPoolsGetallParams) WriteToRequest

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 {
	Payload *models.Error
}
PcloudStoragecapacityPoolsGetallUnauthorized describes a response with status code 401, 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 (*PcloudStoragecapacityPoolsGetallUnauthorized) GetPayload added in v1.1.0

type PcloudStoragecapacityTypesGetInternalServerError

type PcloudStoragecapacityTypesGetInternalServerError struct {
	Payload *models.Error
}
PcloudStoragecapacityTypesGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudStoragecapacityTypesGetInternalServerError

func NewPcloudStoragecapacityTypesGetInternalServerError() *PcloudStoragecapacityTypesGetInternalServerError

NewPcloudStoragecapacityTypesGetInternalServerError creates a PcloudStoragecapacityTypesGetInternalServerError with default headers values

func (*PcloudStoragecapacityTypesGetInternalServerError) Error

func (*PcloudStoragecapacityTypesGetInternalServerError) GetPayload added in v1.1.0

type PcloudStoragecapacityTypesGetNotFound

type PcloudStoragecapacityTypesGetNotFound struct {
	Payload *models.Error
}
PcloudStoragecapacityTypesGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudStoragecapacityTypesGetNotFound

func NewPcloudStoragecapacityTypesGetNotFound() *PcloudStoragecapacityTypesGetNotFound

NewPcloudStoragecapacityTypesGetNotFound creates a PcloudStoragecapacityTypesGetNotFound with default headers values

func (*PcloudStoragecapacityTypesGetNotFound) Error

func (*PcloudStoragecapacityTypesGetNotFound) GetPayload added in v1.1.0

type PcloudStoragecapacityTypesGetOK

type PcloudStoragecapacityTypesGetOK struct {
	Payload *models.StorageTypeCapacity
}
PcloudStoragecapacityTypesGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudStoragecapacityTypesGetOK

func NewPcloudStoragecapacityTypesGetOK() *PcloudStoragecapacityTypesGetOK

NewPcloudStoragecapacityTypesGetOK creates a PcloudStoragecapacityTypesGetOK with default headers values

func (*PcloudStoragecapacityTypesGetOK) Error

func (*PcloudStoragecapacityTypesGetOK) GetPayload added in v1.1.0

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 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 NewPcloudStoragecapacityTypesGetParamsWithContext

func NewPcloudStoragecapacityTypesGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams

NewPcloudStoragecapacityTypesGetParamsWithContext creates a new PcloudStoragecapacityTypesGetParams object with 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 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 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

SetContext adds the context to the pcloud storagecapacity types get params

func (*PcloudStoragecapacityTypesGetParams) SetDefaults added in v1.1.0

func (o *PcloudStoragecapacityTypesGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud storagecapacity types get params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the pcloud storagecapacity types get params

func (*PcloudStoragecapacityTypesGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud storagecapacity types get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudStoragecapacityTypesGetParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud storagecapacity types get params

func (*PcloudStoragecapacityTypesGetParams) WriteToRequest

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 {
	Payload *models.Error
}
PcloudStoragecapacityTypesGetUnauthorized describes a response with status code 401, 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 (*PcloudStoragecapacityTypesGetUnauthorized) GetPayload added in v1.1.0

type PcloudStoragecapacityTypesGetallInternalServerError

type PcloudStoragecapacityTypesGetallInternalServerError struct {
	Payload *models.Error
}
PcloudStoragecapacityTypesGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudStoragecapacityTypesGetallInternalServerError

func NewPcloudStoragecapacityTypesGetallInternalServerError() *PcloudStoragecapacityTypesGetallInternalServerError

NewPcloudStoragecapacityTypesGetallInternalServerError creates a PcloudStoragecapacityTypesGetallInternalServerError with default headers values

func (*PcloudStoragecapacityTypesGetallInternalServerError) Error

func (*PcloudStoragecapacityTypesGetallInternalServerError) GetPayload added in v1.1.0

type PcloudStoragecapacityTypesGetallOK

type PcloudStoragecapacityTypesGetallOK struct {
	Payload *models.StorageTypesCapacity
}
PcloudStoragecapacityTypesGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudStoragecapacityTypesGetallOK

func NewPcloudStoragecapacityTypesGetallOK() *PcloudStoragecapacityTypesGetallOK

NewPcloudStoragecapacityTypesGetallOK creates a PcloudStoragecapacityTypesGetallOK with default headers values

func (*PcloudStoragecapacityTypesGetallOK) Error

func (*PcloudStoragecapacityTypesGetallOK) GetPayload added in v1.1.0

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 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 NewPcloudStoragecapacityTypesGetallParamsWithContext

func NewPcloudStoragecapacityTypesGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams

NewPcloudStoragecapacityTypesGetallParamsWithContext creates a new PcloudStoragecapacityTypesGetallParams object with 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 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 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

SetContext adds the context to the pcloud storagecapacity types getall params

func (*PcloudStoragecapacityTypesGetallParams) SetDefaults added in v1.1.0

func (o *PcloudStoragecapacityTypesGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud storagecapacity types getall params (not the query body).

All values with no default are reset to their zero value.

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity types getall params

func (*PcloudStoragecapacityTypesGetallParams) WithContext

WithContext adds the context to the pcloud storagecapacity types getall params

func (*PcloudStoragecapacityTypesGetallParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud storagecapacity types getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudStoragecapacityTypesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud storagecapacity types getall params

func (*PcloudStoragecapacityTypesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud storagecapacity types getall params

func (*PcloudStoragecapacityTypesGetallParams) WriteToRequest

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 {
	Payload *models.Error
}
PcloudStoragecapacityTypesGetallUnauthorized describes a response with status code 401, 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 (*PcloudStoragecapacityTypesGetallUnauthorized) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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