p_cloud_storage_capacity

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 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 PcloudStoragecapacityPoolsGetBadRequest added in v1.4.2

type PcloudStoragecapacityPoolsGetBadRequest struct {
	Payload *models.Error
}

PcloudStoragecapacityPoolsGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudStoragecapacityPoolsGetBadRequest added in v1.4.2

func NewPcloudStoragecapacityPoolsGetBadRequest() *PcloudStoragecapacityPoolsGetBadRequest

NewPcloudStoragecapacityPoolsGetBadRequest creates a PcloudStoragecapacityPoolsGetBadRequest with default headers values

func (*PcloudStoragecapacityPoolsGetBadRequest) Code added in v1.4.2

Code gets the status code for the pcloud storagecapacity pools get bad request response

func (*PcloudStoragecapacityPoolsGetBadRequest) Error added in v1.4.2

func (*PcloudStoragecapacityPoolsGetBadRequest) GetPayload added in v1.4.2

func (*PcloudStoragecapacityPoolsGetBadRequest) IsClientError added in v1.4.2

func (o *PcloudStoragecapacityPoolsGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity pools get bad request response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetBadRequest) IsCode added in v1.4.2

IsCode returns true when this pcloud storagecapacity pools get bad request response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetBadRequest) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud storagecapacity pools get bad request response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetBadRequest) IsServerError added in v1.4.2

func (o *PcloudStoragecapacityPoolsGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity pools get bad request response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud storagecapacity pools get bad request response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetBadRequest) String added in v1.4.2

type PcloudStoragecapacityPoolsGetForbidden added in v1.2.2

type PcloudStoragecapacityPoolsGetForbidden struct {
	Payload *models.Error
}

PcloudStoragecapacityPoolsGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudStoragecapacityPoolsGetForbidden added in v1.2.2

func NewPcloudStoragecapacityPoolsGetForbidden() *PcloudStoragecapacityPoolsGetForbidden

NewPcloudStoragecapacityPoolsGetForbidden creates a PcloudStoragecapacityPoolsGetForbidden with default headers values

func (*PcloudStoragecapacityPoolsGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools get forbidden response

func (*PcloudStoragecapacityPoolsGetForbidden) Error added in v1.2.2

func (*PcloudStoragecapacityPoolsGetForbidden) GetPayload added in v1.2.2

func (*PcloudStoragecapacityPoolsGetForbidden) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity pools get forbidden response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools get forbidden response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity pools get forbidden response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetForbidden) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity pools get forbidden response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools get forbidden response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools get internal server error response

func (*PcloudStoragecapacityPoolsGetInternalServerError) Error

func (*PcloudStoragecapacityPoolsGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudStoragecapacityPoolsGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity pools get internal server error response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools get internal server error response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity pools get internal server error response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity pools get internal server error response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools get internal server error response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools get not found response

func (*PcloudStoragecapacityPoolsGetNotFound) Error

func (*PcloudStoragecapacityPoolsGetNotFound) GetPayload added in v1.1.0

func (*PcloudStoragecapacityPoolsGetNotFound) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity pools get not found response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools get not found response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity pools get not found response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetNotFound) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity pools get not found response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools get not found response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetNotFound) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools get o k response

func (*PcloudStoragecapacityPoolsGetOK) Error

func (*PcloudStoragecapacityPoolsGetOK) GetPayload added in v1.1.0

func (*PcloudStoragecapacityPoolsGetOK) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetOK) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity pools get o k response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetOK) IsCode added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetOK) IsCode(code int) bool

IsCode returns true when this pcloud storagecapacity pools get o k response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetOK) IsRedirect added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud storagecapacity pools get o k response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetOK) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetOK) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity pools get o k response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetOK) IsSuccess added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud storagecapacity pools get o k response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetOK) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools get unauthorized response

func (*PcloudStoragecapacityPoolsGetUnauthorized) Error added in v1.0.59

func (*PcloudStoragecapacityPoolsGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudStoragecapacityPoolsGetUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity pools get unauthorized response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools get unauthorized response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity pools get unauthorized response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity pools get unauthorized response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools get unauthorized response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetUnauthorized) String added in v1.2.2

type PcloudStoragecapacityPoolsGetallBadRequest added in v1.4.2

type PcloudStoragecapacityPoolsGetallBadRequest struct {
	Payload *models.Error
}

PcloudStoragecapacityPoolsGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudStoragecapacityPoolsGetallBadRequest added in v1.4.2

func NewPcloudStoragecapacityPoolsGetallBadRequest() *PcloudStoragecapacityPoolsGetallBadRequest

NewPcloudStoragecapacityPoolsGetallBadRequest creates a PcloudStoragecapacityPoolsGetallBadRequest with default headers values

func (*PcloudStoragecapacityPoolsGetallBadRequest) Code added in v1.4.2

Code gets the status code for the pcloud storagecapacity pools getall bad request response

func (*PcloudStoragecapacityPoolsGetallBadRequest) Error added in v1.4.2

func (*PcloudStoragecapacityPoolsGetallBadRequest) GetPayload added in v1.4.2

func (*PcloudStoragecapacityPoolsGetallBadRequest) IsClientError added in v1.4.2

IsClientError returns true when this pcloud storagecapacity pools getall bad request response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetallBadRequest) IsCode added in v1.4.2

IsCode returns true when this pcloud storagecapacity pools getall bad request response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetallBadRequest) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud storagecapacity pools getall bad request response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetallBadRequest) IsServerError added in v1.4.2

IsServerError returns true when this pcloud storagecapacity pools getall bad request response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetallBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud storagecapacity pools getall bad request response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetallBadRequest) String added in v1.4.2

type PcloudStoragecapacityPoolsGetallForbidden added in v1.2.2

type PcloudStoragecapacityPoolsGetallForbidden struct {
	Payload *models.Error
}

PcloudStoragecapacityPoolsGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudStoragecapacityPoolsGetallForbidden added in v1.2.2

func NewPcloudStoragecapacityPoolsGetallForbidden() *PcloudStoragecapacityPoolsGetallForbidden

NewPcloudStoragecapacityPoolsGetallForbidden creates a PcloudStoragecapacityPoolsGetallForbidden with default headers values

func (*PcloudStoragecapacityPoolsGetallForbidden) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools getall forbidden response

func (*PcloudStoragecapacityPoolsGetallForbidden) Error added in v1.2.2

func (*PcloudStoragecapacityPoolsGetallForbidden) GetPayload added in v1.2.2

func (*PcloudStoragecapacityPoolsGetallForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity pools getall forbidden response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetallForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools getall forbidden response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetallForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity pools getall forbidden response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetallForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity pools getall forbidden response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetallForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools getall forbidden response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetallForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools getall internal server error response

func (*PcloudStoragecapacityPoolsGetallInternalServerError) Error

func (*PcloudStoragecapacityPoolsGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudStoragecapacityPoolsGetallInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity pools getall internal server error response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools getall internal server error response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity pools getall internal server error response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetallInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity pools getall internal server error response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools getall internal server error response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetallInternalServerError) String added in v1.2.2

type PcloudStoragecapacityPoolsGetallNotFound added in v1.4.2

type PcloudStoragecapacityPoolsGetallNotFound struct {
	Payload *models.Error
}

PcloudStoragecapacityPoolsGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudStoragecapacityPoolsGetallNotFound added in v1.4.2

func NewPcloudStoragecapacityPoolsGetallNotFound() *PcloudStoragecapacityPoolsGetallNotFound

NewPcloudStoragecapacityPoolsGetallNotFound creates a PcloudStoragecapacityPoolsGetallNotFound with default headers values

func (*PcloudStoragecapacityPoolsGetallNotFound) Code added in v1.4.2

Code gets the status code for the pcloud storagecapacity pools getall not found response

func (*PcloudStoragecapacityPoolsGetallNotFound) Error added in v1.4.2

func (*PcloudStoragecapacityPoolsGetallNotFound) GetPayload added in v1.4.2

func (*PcloudStoragecapacityPoolsGetallNotFound) IsClientError added in v1.4.2

IsClientError returns true when this pcloud storagecapacity pools getall not found response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetallNotFound) IsCode added in v1.4.2

IsCode returns true when this pcloud storagecapacity pools getall not found response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetallNotFound) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud storagecapacity pools getall not found response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetallNotFound) IsServerError added in v1.4.2

IsServerError returns true when this pcloud storagecapacity pools getall not found response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetallNotFound) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud storagecapacity pools getall not found response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetallNotFound) String added in v1.4.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools getall o k response

func (*PcloudStoragecapacityPoolsGetallOK) Error

func (*PcloudStoragecapacityPoolsGetallOK) GetPayload added in v1.1.0

func (*PcloudStoragecapacityPoolsGetallOK) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetallOK) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity pools getall o k response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetallOK) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools getall o k response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetallOK) IsRedirect added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetallOK) IsRedirect() bool

IsRedirect returns true when this pcloud storagecapacity pools getall o k response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetallOK) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityPoolsGetallOK) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity pools getall o k response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetallOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools getall o k response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetallOK) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity pools getall unauthorized response

func (*PcloudStoragecapacityPoolsGetallUnauthorized) Error added in v1.0.59

func (*PcloudStoragecapacityPoolsGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity pools getall unauthorized response has a 4xx status code

func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity pools getall unauthorized response a status code equal to that given

func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity pools getall unauthorized response has a 3xx status code

func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity pools getall unauthorized response has a 5xx status code

func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity pools getall unauthorized response has a 2xx status code

func (*PcloudStoragecapacityPoolsGetallUnauthorized) String added in v1.2.2

type PcloudStoragecapacityTypesGetBadRequest added in v1.4.2

type PcloudStoragecapacityTypesGetBadRequest struct {
	Payload *models.Error
}

PcloudStoragecapacityTypesGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudStoragecapacityTypesGetBadRequest added in v1.4.2

func NewPcloudStoragecapacityTypesGetBadRequest() *PcloudStoragecapacityTypesGetBadRequest

NewPcloudStoragecapacityTypesGetBadRequest creates a PcloudStoragecapacityTypesGetBadRequest with default headers values

func (*PcloudStoragecapacityTypesGetBadRequest) Code added in v1.4.2

Code gets the status code for the pcloud storagecapacity types get bad request response

func (*PcloudStoragecapacityTypesGetBadRequest) Error added in v1.4.2

func (*PcloudStoragecapacityTypesGetBadRequest) GetPayload added in v1.4.2

func (*PcloudStoragecapacityTypesGetBadRequest) IsClientError added in v1.4.2

func (o *PcloudStoragecapacityTypesGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity types get bad request response has a 4xx status code

func (*PcloudStoragecapacityTypesGetBadRequest) IsCode added in v1.4.2

IsCode returns true when this pcloud storagecapacity types get bad request response a status code equal to that given

func (*PcloudStoragecapacityTypesGetBadRequest) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud storagecapacity types get bad request response has a 3xx status code

func (*PcloudStoragecapacityTypesGetBadRequest) IsServerError added in v1.4.2

func (o *PcloudStoragecapacityTypesGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity types get bad request response has a 5xx status code

func (*PcloudStoragecapacityTypesGetBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud storagecapacity types get bad request response has a 2xx status code

func (*PcloudStoragecapacityTypesGetBadRequest) String added in v1.4.2

type PcloudStoragecapacityTypesGetForbidden added in v1.2.2

type PcloudStoragecapacityTypesGetForbidden struct {
	Payload *models.Error
}

PcloudStoragecapacityTypesGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudStoragecapacityTypesGetForbidden added in v1.2.2

func NewPcloudStoragecapacityTypesGetForbidden() *PcloudStoragecapacityTypesGetForbidden

NewPcloudStoragecapacityTypesGetForbidden creates a PcloudStoragecapacityTypesGetForbidden with default headers values

func (*PcloudStoragecapacityTypesGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types get forbidden response

func (*PcloudStoragecapacityTypesGetForbidden) Error added in v1.2.2

func (*PcloudStoragecapacityTypesGetForbidden) GetPayload added in v1.2.2

func (*PcloudStoragecapacityTypesGetForbidden) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity types get forbidden response has a 4xx status code

func (*PcloudStoragecapacityTypesGetForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types get forbidden response a status code equal to that given

func (*PcloudStoragecapacityTypesGetForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity types get forbidden response has a 3xx status code

func (*PcloudStoragecapacityTypesGetForbidden) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity types get forbidden response has a 5xx status code

func (*PcloudStoragecapacityTypesGetForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types get forbidden response has a 2xx status code

func (*PcloudStoragecapacityTypesGetForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types get internal server error response

func (*PcloudStoragecapacityTypesGetInternalServerError) Error

func (*PcloudStoragecapacityTypesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudStoragecapacityTypesGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity types get internal server error response has a 4xx status code

func (*PcloudStoragecapacityTypesGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types get internal server error response a status code equal to that given

func (*PcloudStoragecapacityTypesGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity types get internal server error response has a 3xx status code

func (*PcloudStoragecapacityTypesGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity types get internal server error response has a 5xx status code

func (*PcloudStoragecapacityTypesGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types get internal server error response has a 2xx status code

func (*PcloudStoragecapacityTypesGetInternalServerError) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types get not found response

func (*PcloudStoragecapacityTypesGetNotFound) Error

func (*PcloudStoragecapacityTypesGetNotFound) GetPayload added in v1.1.0

func (*PcloudStoragecapacityTypesGetNotFound) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity types get not found response has a 4xx status code

func (*PcloudStoragecapacityTypesGetNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types get not found response a status code equal to that given

func (*PcloudStoragecapacityTypesGetNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity types get not found response has a 3xx status code

func (*PcloudStoragecapacityTypesGetNotFound) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity types get not found response has a 5xx status code

func (*PcloudStoragecapacityTypesGetNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types get not found response has a 2xx status code

func (*PcloudStoragecapacityTypesGetNotFound) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types get o k response

func (*PcloudStoragecapacityTypesGetOK) Error

func (*PcloudStoragecapacityTypesGetOK) GetPayload added in v1.1.0

func (*PcloudStoragecapacityTypesGetOK) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetOK) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity types get o k response has a 4xx status code

func (*PcloudStoragecapacityTypesGetOK) IsCode added in v1.2.2

func (o *PcloudStoragecapacityTypesGetOK) IsCode(code int) bool

IsCode returns true when this pcloud storagecapacity types get o k response a status code equal to that given

func (*PcloudStoragecapacityTypesGetOK) IsRedirect added in v1.2.2

func (o *PcloudStoragecapacityTypesGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud storagecapacity types get o k response has a 3xx status code

func (*PcloudStoragecapacityTypesGetOK) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetOK) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity types get o k response has a 5xx status code

func (*PcloudStoragecapacityTypesGetOK) IsSuccess added in v1.2.2

func (o *PcloudStoragecapacityTypesGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud storagecapacity types get o k response has a 2xx status code

func (*PcloudStoragecapacityTypesGetOK) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types get unauthorized response

func (*PcloudStoragecapacityTypesGetUnauthorized) Error added in v1.0.59

func (*PcloudStoragecapacityTypesGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudStoragecapacityTypesGetUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity types get unauthorized response has a 4xx status code

func (*PcloudStoragecapacityTypesGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types get unauthorized response a status code equal to that given

func (*PcloudStoragecapacityTypesGetUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity types get unauthorized response has a 3xx status code

func (*PcloudStoragecapacityTypesGetUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity types get unauthorized response has a 5xx status code

func (*PcloudStoragecapacityTypesGetUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types get unauthorized response has a 2xx status code

func (*PcloudStoragecapacityTypesGetUnauthorized) String added in v1.2.2

type PcloudStoragecapacityTypesGetallBadRequest added in v1.4.2

type PcloudStoragecapacityTypesGetallBadRequest struct {
	Payload *models.Error
}

PcloudStoragecapacityTypesGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudStoragecapacityTypesGetallBadRequest added in v1.4.2

func NewPcloudStoragecapacityTypesGetallBadRequest() *PcloudStoragecapacityTypesGetallBadRequest

NewPcloudStoragecapacityTypesGetallBadRequest creates a PcloudStoragecapacityTypesGetallBadRequest with default headers values

func (*PcloudStoragecapacityTypesGetallBadRequest) Code added in v1.4.2

Code gets the status code for the pcloud storagecapacity types getall bad request response

func (*PcloudStoragecapacityTypesGetallBadRequest) Error added in v1.4.2

func (*PcloudStoragecapacityTypesGetallBadRequest) GetPayload added in v1.4.2

func (*PcloudStoragecapacityTypesGetallBadRequest) IsClientError added in v1.4.2

IsClientError returns true when this pcloud storagecapacity types getall bad request response has a 4xx status code

func (*PcloudStoragecapacityTypesGetallBadRequest) IsCode added in v1.4.2

IsCode returns true when this pcloud storagecapacity types getall bad request response a status code equal to that given

func (*PcloudStoragecapacityTypesGetallBadRequest) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud storagecapacity types getall bad request response has a 3xx status code

func (*PcloudStoragecapacityTypesGetallBadRequest) IsServerError added in v1.4.2

IsServerError returns true when this pcloud storagecapacity types getall bad request response has a 5xx status code

func (*PcloudStoragecapacityTypesGetallBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud storagecapacity types getall bad request response has a 2xx status code

func (*PcloudStoragecapacityTypesGetallBadRequest) String added in v1.4.2

type PcloudStoragecapacityTypesGetallForbidden added in v1.2.2

type PcloudStoragecapacityTypesGetallForbidden struct {
	Payload *models.Error
}

PcloudStoragecapacityTypesGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudStoragecapacityTypesGetallForbidden added in v1.2.2

func NewPcloudStoragecapacityTypesGetallForbidden() *PcloudStoragecapacityTypesGetallForbidden

NewPcloudStoragecapacityTypesGetallForbidden creates a PcloudStoragecapacityTypesGetallForbidden with default headers values

func (*PcloudStoragecapacityTypesGetallForbidden) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types getall forbidden response

func (*PcloudStoragecapacityTypesGetallForbidden) Error added in v1.2.2

func (*PcloudStoragecapacityTypesGetallForbidden) GetPayload added in v1.2.2

func (*PcloudStoragecapacityTypesGetallForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity types getall forbidden response has a 4xx status code

func (*PcloudStoragecapacityTypesGetallForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types getall forbidden response a status code equal to that given

func (*PcloudStoragecapacityTypesGetallForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity types getall forbidden response has a 3xx status code

func (*PcloudStoragecapacityTypesGetallForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity types getall forbidden response has a 5xx status code

func (*PcloudStoragecapacityTypesGetallForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types getall forbidden response has a 2xx status code

func (*PcloudStoragecapacityTypesGetallForbidden) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types getall internal server error response

func (*PcloudStoragecapacityTypesGetallInternalServerError) Error

func (*PcloudStoragecapacityTypesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudStoragecapacityTypesGetallInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity types getall internal server error response has a 4xx status code

func (*PcloudStoragecapacityTypesGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types getall internal server error response a status code equal to that given

func (*PcloudStoragecapacityTypesGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity types getall internal server error response has a 3xx status code

func (*PcloudStoragecapacityTypesGetallInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity types getall internal server error response has a 5xx status code

func (*PcloudStoragecapacityTypesGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types getall internal server error response has a 2xx status code

func (*PcloudStoragecapacityTypesGetallInternalServerError) String added in v1.2.2

type PcloudStoragecapacityTypesGetallNotFound added in v1.4.2

type PcloudStoragecapacityTypesGetallNotFound struct {
	Payload *models.Error
}

PcloudStoragecapacityTypesGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudStoragecapacityTypesGetallNotFound added in v1.4.2

func NewPcloudStoragecapacityTypesGetallNotFound() *PcloudStoragecapacityTypesGetallNotFound

NewPcloudStoragecapacityTypesGetallNotFound creates a PcloudStoragecapacityTypesGetallNotFound with default headers values

func (*PcloudStoragecapacityTypesGetallNotFound) Code added in v1.4.2

Code gets the status code for the pcloud storagecapacity types getall not found response

func (*PcloudStoragecapacityTypesGetallNotFound) Error added in v1.4.2

func (*PcloudStoragecapacityTypesGetallNotFound) GetPayload added in v1.4.2

func (*PcloudStoragecapacityTypesGetallNotFound) IsClientError added in v1.4.2

IsClientError returns true when this pcloud storagecapacity types getall not found response has a 4xx status code

func (*PcloudStoragecapacityTypesGetallNotFound) IsCode added in v1.4.2

IsCode returns true when this pcloud storagecapacity types getall not found response a status code equal to that given

func (*PcloudStoragecapacityTypesGetallNotFound) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud storagecapacity types getall not found response has a 3xx status code

func (*PcloudStoragecapacityTypesGetallNotFound) IsServerError added in v1.4.2

IsServerError returns true when this pcloud storagecapacity types getall not found response has a 5xx status code

func (*PcloudStoragecapacityTypesGetallNotFound) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud storagecapacity types getall not found response has a 2xx status code

func (*PcloudStoragecapacityTypesGetallNotFound) String added in v1.4.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types getall o k response

func (*PcloudStoragecapacityTypesGetallOK) Error

func (*PcloudStoragecapacityTypesGetallOK) GetPayload added in v1.1.0

func (*PcloudStoragecapacityTypesGetallOK) IsClientError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetallOK) IsClientError() bool

IsClientError returns true when this pcloud storagecapacity types getall o k response has a 4xx status code

func (*PcloudStoragecapacityTypesGetallOK) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types getall o k response a status code equal to that given

func (*PcloudStoragecapacityTypesGetallOK) IsRedirect added in v1.2.2

func (o *PcloudStoragecapacityTypesGetallOK) IsRedirect() bool

IsRedirect returns true when this pcloud storagecapacity types getall o k response has a 3xx status code

func (*PcloudStoragecapacityTypesGetallOK) IsServerError added in v1.2.2

func (o *PcloudStoragecapacityTypesGetallOK) IsServerError() bool

IsServerError returns true when this pcloud storagecapacity types getall o k response has a 5xx status code

func (*PcloudStoragecapacityTypesGetallOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types getall o k response has a 2xx status code

func (*PcloudStoragecapacityTypesGetallOK) String added in v1.2.2

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) Code added in v1.2.4

Code gets the status code for the pcloud storagecapacity types getall unauthorized response

func (*PcloudStoragecapacityTypesGetallUnauthorized) Error added in v1.0.59

func (*PcloudStoragecapacityTypesGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudStoragecapacityTypesGetallUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud storagecapacity types getall unauthorized response has a 4xx status code

func (*PcloudStoragecapacityTypesGetallUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud storagecapacity types getall unauthorized response a status code equal to that given

func (*PcloudStoragecapacityTypesGetallUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud storagecapacity types getall unauthorized response has a 3xx status code

func (*PcloudStoragecapacityTypesGetallUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud storagecapacity types getall unauthorized response has a 5xx status code

func (*PcloudStoragecapacityTypesGetallUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud storagecapacity types getall unauthorized response has a 2xx status code

func (*PcloudStoragecapacityTypesGetallUnauthorized) String added in v1.2.2

Jump to

Keyboard shortcuts

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