Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudStoragecapacityPoolsGet(params *PcloudStoragecapacityPoolsGetParams, ...) (*PcloudStoragecapacityPoolsGetOK, error)
- func (a *Client) PcloudStoragecapacityPoolsGetall(params *PcloudStoragecapacityPoolsGetallParams, ...) (*PcloudStoragecapacityPoolsGetallOK, error)
- func (a *Client) PcloudStoragecapacityTypesGet(params *PcloudStoragecapacityTypesGetParams, ...) (*PcloudStoragecapacityTypesGetOK, error)
- func (a *Client) PcloudStoragecapacityTypesGetall(params *PcloudStoragecapacityTypesGetallParams, ...) (*PcloudStoragecapacityTypesGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudStoragecapacityPoolsGetForbidden
- func (o *PcloudStoragecapacityPoolsGetForbidden) Code() int
- func (o *PcloudStoragecapacityPoolsGetForbidden) Error() string
- func (o *PcloudStoragecapacityPoolsGetForbidden) GetPayload() *models.Error
- func (o *PcloudStoragecapacityPoolsGetForbidden) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetForbidden) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetForbidden) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetForbidden) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetForbidden) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetForbidden) String() string
- type PcloudStoragecapacityPoolsGetInternalServerError
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) Code() int
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) Error() string
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetInternalServerError) String() string
- type PcloudStoragecapacityPoolsGetNotFound
- func (o *PcloudStoragecapacityPoolsGetNotFound) Code() int
- func (o *PcloudStoragecapacityPoolsGetNotFound) Error() string
- func (o *PcloudStoragecapacityPoolsGetNotFound) GetPayload() *models.Error
- func (o *PcloudStoragecapacityPoolsGetNotFound) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetNotFound) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetNotFound) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetNotFound) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetNotFound) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetNotFound) String() string
- type PcloudStoragecapacityPoolsGetOK
- func (o *PcloudStoragecapacityPoolsGetOK) Code() int
- func (o *PcloudStoragecapacityPoolsGetOK) Error() string
- func (o *PcloudStoragecapacityPoolsGetOK) GetPayload() *models.StoragePoolCapacity
- func (o *PcloudStoragecapacityPoolsGetOK) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetOK) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetOK) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetOK) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetOK) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetOK) String() string
- type PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParams() *PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetParams
- func NewPcloudStoragecapacityPoolsGetParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityPoolsGetParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityPoolsGetParams) SetDefaults()
- func (o *PcloudStoragecapacityPoolsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityPoolsGetParams) SetStoragePoolName(storagePoolName string)
- func (o *PcloudStoragecapacityPoolsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityPoolsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithDefaults() *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithStoragePoolName(storagePoolName string) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetParams
- func (o *PcloudStoragecapacityPoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityPoolsGetReader
- type PcloudStoragecapacityPoolsGetUnauthorized
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) Code() int
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) Error() string
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetUnauthorized) String() string
- type PcloudStoragecapacityPoolsGetallForbidden
- func (o *PcloudStoragecapacityPoolsGetallForbidden) Code() int
- func (o *PcloudStoragecapacityPoolsGetallForbidden) Error() string
- func (o *PcloudStoragecapacityPoolsGetallForbidden) GetPayload() *models.Error
- func (o *PcloudStoragecapacityPoolsGetallForbidden) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetallForbidden) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetallForbidden) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetallForbidden) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetallForbidden) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetallForbidden) String() string
- type PcloudStoragecapacityPoolsGetallInternalServerError
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) Code() int
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) Error() string
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetallInternalServerError) String() string
- type PcloudStoragecapacityPoolsGetallOK
- func (o *PcloudStoragecapacityPoolsGetallOK) Code() int
- func (o *PcloudStoragecapacityPoolsGetallOK) Error() string
- func (o *PcloudStoragecapacityPoolsGetallOK) GetPayload() *models.StoragePoolsCapacity
- func (o *PcloudStoragecapacityPoolsGetallOK) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetallOK) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetallOK) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetallOK) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetallOK) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetallOK) String() string
- type PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParams() *PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetallParams
- func NewPcloudStoragecapacityPoolsGetallParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityPoolsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityPoolsGetallParams) SetDefaults()
- func (o *PcloudStoragecapacityPoolsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityPoolsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityPoolsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WithDefaults() *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetallParams
- func (o *PcloudStoragecapacityPoolsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityPoolsGetallReader
- type PcloudStoragecapacityPoolsGetallUnauthorized
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) Code() int
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) Error() string
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsClientError() bool
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsRedirect() bool
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsServerError() bool
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsSuccess() bool
- func (o *PcloudStoragecapacityPoolsGetallUnauthorized) String() string
- type PcloudStoragecapacityTypesGetForbidden
- func (o *PcloudStoragecapacityTypesGetForbidden) Code() int
- func (o *PcloudStoragecapacityTypesGetForbidden) Error() string
- func (o *PcloudStoragecapacityTypesGetForbidden) GetPayload() *models.Error
- func (o *PcloudStoragecapacityTypesGetForbidden) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetForbidden) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetForbidden) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetForbidden) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetForbidden) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetForbidden) String() string
- type PcloudStoragecapacityTypesGetInternalServerError
- func (o *PcloudStoragecapacityTypesGetInternalServerError) Code() int
- func (o *PcloudStoragecapacityTypesGetInternalServerError) Error() string
- func (o *PcloudStoragecapacityTypesGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudStoragecapacityTypesGetInternalServerError) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetInternalServerError) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetInternalServerError) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetInternalServerError) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetInternalServerError) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetInternalServerError) String() string
- type PcloudStoragecapacityTypesGetNotFound
- func (o *PcloudStoragecapacityTypesGetNotFound) Code() int
- func (o *PcloudStoragecapacityTypesGetNotFound) Error() string
- func (o *PcloudStoragecapacityTypesGetNotFound) GetPayload() *models.Error
- func (o *PcloudStoragecapacityTypesGetNotFound) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetNotFound) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetNotFound) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetNotFound) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetNotFound) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetNotFound) String() string
- type PcloudStoragecapacityTypesGetOK
- func (o *PcloudStoragecapacityTypesGetOK) Code() int
- func (o *PcloudStoragecapacityTypesGetOK) Error() string
- func (o *PcloudStoragecapacityTypesGetOK) GetPayload() *models.StorageTypeCapacity
- func (o *PcloudStoragecapacityTypesGetOK) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetOK) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetOK) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetOK) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetOK) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetOK) String() string
- type PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParams() *PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetParams
- func NewPcloudStoragecapacityTypesGetParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityTypesGetParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityTypesGetParams) SetDefaults()
- func (o *PcloudStoragecapacityTypesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityTypesGetParams) SetStorageTypeName(storageTypeName string)
- func (o *PcloudStoragecapacityTypesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityTypesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithDefaults() *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithStorageTypeName(storageTypeName string) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetParams
- func (o *PcloudStoragecapacityTypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityTypesGetReader
- type PcloudStoragecapacityTypesGetUnauthorized
- func (o *PcloudStoragecapacityTypesGetUnauthorized) Code() int
- func (o *PcloudStoragecapacityTypesGetUnauthorized) Error() string
- func (o *PcloudStoragecapacityTypesGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudStoragecapacityTypesGetUnauthorized) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetUnauthorized) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetUnauthorized) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetUnauthorized) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetUnauthorized) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetUnauthorized) String() string
- type PcloudStoragecapacityTypesGetallForbidden
- func (o *PcloudStoragecapacityTypesGetallForbidden) Code() int
- func (o *PcloudStoragecapacityTypesGetallForbidden) Error() string
- func (o *PcloudStoragecapacityTypesGetallForbidden) GetPayload() *models.Error
- func (o *PcloudStoragecapacityTypesGetallForbidden) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetallForbidden) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetallForbidden) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetallForbidden) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetallForbidden) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetallForbidden) String() string
- type PcloudStoragecapacityTypesGetallInternalServerError
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) Code() int
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) Error() string
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetallInternalServerError) String() string
- type PcloudStoragecapacityTypesGetallOK
- func (o *PcloudStoragecapacityTypesGetallOK) Code() int
- func (o *PcloudStoragecapacityTypesGetallOK) Error() string
- func (o *PcloudStoragecapacityTypesGetallOK) GetPayload() *models.StorageTypesCapacity
- func (o *PcloudStoragecapacityTypesGetallOK) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetallOK) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetallOK) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetallOK) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetallOK) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetallOK) String() string
- type PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParams() *PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParamsWithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParamsWithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetallParams
- func NewPcloudStoragecapacityTypesGetallParamsWithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudStoragecapacityTypesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudStoragecapacityTypesGetallParams) SetDefaults()
- func (o *PcloudStoragecapacityTypesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudStoragecapacityTypesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudStoragecapacityTypesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WithDefaults() *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetallParams
- func (o *PcloudStoragecapacityTypesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudStoragecapacityTypesGetallReader
- type PcloudStoragecapacityTypesGetallUnauthorized
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) Code() int
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) Error() string
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsClientError() bool
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsRedirect() bool
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsServerError() bool
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsSuccess() bool
- func (o *PcloudStoragecapacityTypesGetallUnauthorized) String() string
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 PcloudStoragecapacityPoolsGetForbidden ¶ added in v1.2.2
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
func (o *PcloudStoragecapacityPoolsGetForbidden) Code() int
Code gets the status code for the pcloud storagecapacity pools get forbidden response
func (*PcloudStoragecapacityPoolsGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetForbidden) Error() string
func (*PcloudStoragecapacityPoolsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetForbidden) GetPayload() *models.Error
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
func (o *PcloudStoragecapacityPoolsGetForbidden) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetForbidden) IsRedirect() bool
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
func (o *PcloudStoragecapacityPoolsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity pools get forbidden response has a 2xx status code
func (*PcloudStoragecapacityPoolsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetForbidden) String() string
type PcloudStoragecapacityPoolsGetInternalServerError ¶
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
func (o *PcloudStoragecapacityPoolsGetInternalServerError) Code() int
Code gets the status code for the pcloud storagecapacity pools get internal server error response
func (*PcloudStoragecapacityPoolsGetInternalServerError) Error ¶
func (o *PcloudStoragecapacityPoolsGetInternalServerError) Error() string
func (*PcloudStoragecapacityPoolsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetInternalServerError) GetPayload() *models.Error
func (*PcloudStoragecapacityPoolsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsClientError() bool
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
func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsRedirect() bool
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
func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsServerError() bool
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
func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsSuccess() bool
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
func (o *PcloudStoragecapacityPoolsGetInternalServerError) String() string
type PcloudStoragecapacityPoolsGetNotFound ¶
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
func (o *PcloudStoragecapacityPoolsGetNotFound) Code() int
Code gets the status code for the pcloud storagecapacity pools get not found response
func (*PcloudStoragecapacityPoolsGetNotFound) Error ¶
func (o *PcloudStoragecapacityPoolsGetNotFound) Error() string
func (*PcloudStoragecapacityPoolsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetNotFound) GetPayload() *models.Error
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
func (o *PcloudStoragecapacityPoolsGetNotFound) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetNotFound) IsRedirect() bool
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
func (o *PcloudStoragecapacityPoolsGetNotFound) IsSuccess() bool
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
func (o *PcloudStoragecapacityPoolsGetNotFound) String() string
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
func (o *PcloudStoragecapacityPoolsGetOK) Code() int
Code gets the status code for the pcloud storagecapacity pools get o k response
func (*PcloudStoragecapacityPoolsGetOK) Error ¶
func (o *PcloudStoragecapacityPoolsGetOK) Error() string
func (*PcloudStoragecapacityPoolsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetOK) GetPayload() *models.StoragePoolCapacity
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
func (o *PcloudStoragecapacityPoolsGetOK) String() string
type PcloudStoragecapacityPoolsGetParams ¶
type PcloudStoragecapacityPoolsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* StoragePoolName. Storage pool name */ StoragePoolName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityPoolsGetParams contains all the parameters to send to the API endpoint
for the pcloud storagecapacity pools get operation. Typically these are written to a http.Request.
func NewPcloudStoragecapacityPoolsGetParams ¶
func NewPcloudStoragecapacityPoolsGetParams() *PcloudStoragecapacityPoolsGetParams
NewPcloudStoragecapacityPoolsGetParams creates a new PcloudStoragecapacityPoolsGetParams object, with the default 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 ¶
func (o *PcloudStoragecapacityPoolsGetParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetParams
WithContext adds the context to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetParams) WithDefaults() *PcloudStoragecapacityPoolsGetParams
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 ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithStoragePoolName ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithStoragePoolName(storagePoolName string) *PcloudStoragecapacityPoolsGetParams
WithStoragePoolName adds the storagePoolName to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WithTimeout ¶
func (o *PcloudStoragecapacityPoolsGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetParams
WithTimeout adds the timeout to the pcloud storagecapacity pools get params
func (*PcloudStoragecapacityPoolsGetParams) WriteToRequest ¶
func (o *PcloudStoragecapacityPoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityPoolsGetReader ¶
type PcloudStoragecapacityPoolsGetReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityPoolsGetReader is a Reader for the PcloudStoragecapacityPoolsGet structure.
func (*PcloudStoragecapacityPoolsGetReader) ReadResponse ¶
func (o *PcloudStoragecapacityPoolsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityPoolsGetUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityPoolsGetUnauthorized struct {
}PcloudStoragecapacityPoolsGetUnauthorized 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
func (o *PcloudStoragecapacityPoolsGetUnauthorized) Code() int
Code gets the status code for the pcloud storagecapacity pools get unauthorized response
func (*PcloudStoragecapacityPoolsGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityPoolsGetUnauthorized) Error() string
func (*PcloudStoragecapacityPoolsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetUnauthorized) GetPayload() *models.Error
func (*PcloudStoragecapacityPoolsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud storagecapacity pools get unauthorized response has a 4xx status code
func (*PcloudStoragecapacityPoolsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud storagecapacity pools get unauthorized response has a 3xx status code
func (*PcloudStoragecapacityPoolsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud storagecapacity pools get unauthorized response has a 5xx status code
func (*PcloudStoragecapacityPoolsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity pools get unauthorized response has a 2xx status code
func (*PcloudStoragecapacityPoolsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetUnauthorized) String() string
type PcloudStoragecapacityPoolsGetallForbidden ¶ added in v1.2.2
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
func (o *PcloudStoragecapacityPoolsGetallForbidden) Code() int
Code gets the status code for the pcloud storagecapacity pools getall forbidden response
func (*PcloudStoragecapacityPoolsGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallForbidden) Error() string
func (*PcloudStoragecapacityPoolsGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallForbidden) GetPayload() *models.Error
func (*PcloudStoragecapacityPoolsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud storagecapacity pools getall forbidden response has a 4xx status code
func (*PcloudStoragecapacityPoolsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallForbidden) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud storagecapacity pools getall forbidden response has a 3xx status code
func (*PcloudStoragecapacityPoolsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud storagecapacity pools getall forbidden response has a 5xx status code
func (*PcloudStoragecapacityPoolsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity pools getall forbidden response has a 2xx status code
func (*PcloudStoragecapacityPoolsGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallForbidden) String() string
type PcloudStoragecapacityPoolsGetallInternalServerError ¶
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
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) Code() int
Code gets the status code for the pcloud storagecapacity pools getall internal server error response
func (*PcloudStoragecapacityPoolsGetallInternalServerError) Error ¶
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) Error() string
func (*PcloudStoragecapacityPoolsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) GetPayload() *models.Error
func (*PcloudStoragecapacityPoolsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsClientError() bool
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
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsRedirect() bool
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
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsServerError() bool
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
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsSuccess() bool
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
func (o *PcloudStoragecapacityPoolsGetallInternalServerError) String() string
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
func (o *PcloudStoragecapacityPoolsGetallOK) Code() int
Code gets the status code for the pcloud storagecapacity pools getall o k response
func (*PcloudStoragecapacityPoolsGetallOK) Error ¶
func (o *PcloudStoragecapacityPoolsGetallOK) Error() string
func (*PcloudStoragecapacityPoolsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetallOK) GetPayload() *models.StoragePoolsCapacity
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
func (o *PcloudStoragecapacityPoolsGetallOK) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetallOK) IsSuccess() bool
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
func (o *PcloudStoragecapacityPoolsGetallOK) String() string
type PcloudStoragecapacityPoolsGetallParams ¶
type PcloudStoragecapacityPoolsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityPoolsGetallParams contains all the parameters to send to the API endpoint
for the pcloud storagecapacity pools getall operation. Typically these are written to a http.Request.
func NewPcloudStoragecapacityPoolsGetallParams ¶
func NewPcloudStoragecapacityPoolsGetallParams() *PcloudStoragecapacityPoolsGetallParams
NewPcloudStoragecapacityPoolsGetallParams creates a new PcloudStoragecapacityPoolsGetallParams object, with the default 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 ¶
func (o *PcloudStoragecapacityPoolsGetallParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityPoolsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WithContext ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityPoolsGetallParams
WithContext adds the context to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetallParams) WithDefaults() *PcloudStoragecapacityPoolsGetallParams
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 ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityPoolsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WithTimeout ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityPoolsGetallParams
WithTimeout adds the timeout to the pcloud storagecapacity pools getall params
func (*PcloudStoragecapacityPoolsGetallParams) WriteToRequest ¶
func (o *PcloudStoragecapacityPoolsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityPoolsGetallReader ¶
type PcloudStoragecapacityPoolsGetallReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityPoolsGetallReader is a Reader for the PcloudStoragecapacityPoolsGetall structure.
func (*PcloudStoragecapacityPoolsGetallReader) ReadResponse ¶
func (o *PcloudStoragecapacityPoolsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityPoolsGetallUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityPoolsGetallUnauthorized struct {
}PcloudStoragecapacityPoolsGetallUnauthorized 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
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) Code() int
Code gets the status code for the pcloud storagecapacity pools getall unauthorized response
func (*PcloudStoragecapacityPoolsGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) Error() string
func (*PcloudStoragecapacityPoolsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) GetPayload() *models.Error
func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud storagecapacity pools getall unauthorized response has a 4xx status code
func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsCode(code int) bool
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
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud storagecapacity pools getall unauthorized response has a 3xx status code
func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud storagecapacity pools getall unauthorized response has a 5xx status code
func (*PcloudStoragecapacityPoolsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity pools getall unauthorized response has a 2xx status code
func (*PcloudStoragecapacityPoolsGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityPoolsGetallUnauthorized) String() string
type PcloudStoragecapacityTypesGetForbidden ¶ added in v1.2.2
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
func (o *PcloudStoragecapacityTypesGetForbidden) Code() int
Code gets the status code for the pcloud storagecapacity types get forbidden response
func (*PcloudStoragecapacityTypesGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetForbidden) Error() string
func (*PcloudStoragecapacityTypesGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetForbidden) GetPayload() *models.Error
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
func (o *PcloudStoragecapacityTypesGetForbidden) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetForbidden) IsRedirect() bool
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
func (o *PcloudStoragecapacityTypesGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity types get forbidden response has a 2xx status code
func (*PcloudStoragecapacityTypesGetForbidden) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetForbidden) String() string
type PcloudStoragecapacityTypesGetInternalServerError ¶
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
func (o *PcloudStoragecapacityTypesGetInternalServerError) Code() int
Code gets the status code for the pcloud storagecapacity types get internal server error response
func (*PcloudStoragecapacityTypesGetInternalServerError) Error ¶
func (o *PcloudStoragecapacityTypesGetInternalServerError) Error() string
func (*PcloudStoragecapacityTypesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetInternalServerError) GetPayload() *models.Error
func (*PcloudStoragecapacityTypesGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetInternalServerError) IsClientError() bool
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
func (o *PcloudStoragecapacityTypesGetInternalServerError) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetInternalServerError) IsRedirect() bool
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
func (o *PcloudStoragecapacityTypesGetInternalServerError) IsServerError() bool
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
func (o *PcloudStoragecapacityTypesGetInternalServerError) IsSuccess() bool
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
func (o *PcloudStoragecapacityTypesGetInternalServerError) String() string
type PcloudStoragecapacityTypesGetNotFound ¶
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
func (o *PcloudStoragecapacityTypesGetNotFound) Code() int
Code gets the status code for the pcloud storagecapacity types get not found response
func (*PcloudStoragecapacityTypesGetNotFound) Error ¶
func (o *PcloudStoragecapacityTypesGetNotFound) Error() string
func (*PcloudStoragecapacityTypesGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetNotFound) GetPayload() *models.Error
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
func (o *PcloudStoragecapacityTypesGetNotFound) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetNotFound) IsRedirect() bool
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
func (o *PcloudStoragecapacityTypesGetNotFound) IsSuccess() bool
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
func (o *PcloudStoragecapacityTypesGetNotFound) String() string
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
func (o *PcloudStoragecapacityTypesGetOK) Code() int
Code gets the status code for the pcloud storagecapacity types get o k response
func (*PcloudStoragecapacityTypesGetOK) Error ¶
func (o *PcloudStoragecapacityTypesGetOK) Error() string
func (*PcloudStoragecapacityTypesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetOK) GetPayload() *models.StorageTypeCapacity
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
func (o *PcloudStoragecapacityTypesGetOK) String() string
type PcloudStoragecapacityTypesGetParams ¶
type PcloudStoragecapacityTypesGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* StorageTypeName. Storage type name */ StorageTypeName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityTypesGetParams contains all the parameters to send to the API endpoint
for the pcloud storagecapacity types get operation. Typically these are written to a http.Request.
func NewPcloudStoragecapacityTypesGetParams ¶
func NewPcloudStoragecapacityTypesGetParams() *PcloudStoragecapacityTypesGetParams
NewPcloudStoragecapacityTypesGetParams creates a new PcloudStoragecapacityTypesGetParams object, with the default 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 ¶
func (o *PcloudStoragecapacityTypesGetParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudStoragecapacityTypesGetParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetParams
WithContext adds the context to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetParams) WithDefaults() *PcloudStoragecapacityTypesGetParams
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 ¶
func (o *PcloudStoragecapacityTypesGetParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithStorageTypeName ¶
func (o *PcloudStoragecapacityTypesGetParams) WithStorageTypeName(storageTypeName string) *PcloudStoragecapacityTypesGetParams
WithStorageTypeName adds the storageTypeName to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WithTimeout ¶
func (o *PcloudStoragecapacityTypesGetParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetParams
WithTimeout adds the timeout to the pcloud storagecapacity types get params
func (*PcloudStoragecapacityTypesGetParams) WriteToRequest ¶
func (o *PcloudStoragecapacityTypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityTypesGetReader ¶
type PcloudStoragecapacityTypesGetReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityTypesGetReader is a Reader for the PcloudStoragecapacityTypesGet structure.
func (*PcloudStoragecapacityTypesGetReader) ReadResponse ¶
func (o *PcloudStoragecapacityTypesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityTypesGetUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityTypesGetUnauthorized struct {
}PcloudStoragecapacityTypesGetUnauthorized 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
func (o *PcloudStoragecapacityTypesGetUnauthorized) Code() int
Code gets the status code for the pcloud storagecapacity types get unauthorized response
func (*PcloudStoragecapacityTypesGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityTypesGetUnauthorized) Error() string
func (*PcloudStoragecapacityTypesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetUnauthorized) GetPayload() *models.Error
func (*PcloudStoragecapacityTypesGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud storagecapacity types get unauthorized response has a 4xx status code
func (*PcloudStoragecapacityTypesGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetUnauthorized) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud storagecapacity types get unauthorized response has a 3xx status code
func (*PcloudStoragecapacityTypesGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud storagecapacity types get unauthorized response has a 5xx status code
func (*PcloudStoragecapacityTypesGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity types get unauthorized response has a 2xx status code
func (*PcloudStoragecapacityTypesGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetUnauthorized) String() string
type PcloudStoragecapacityTypesGetallForbidden ¶ added in v1.2.2
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
func (o *PcloudStoragecapacityTypesGetallForbidden) Code() int
Code gets the status code for the pcloud storagecapacity types getall forbidden response
func (*PcloudStoragecapacityTypesGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallForbidden) Error() string
func (*PcloudStoragecapacityTypesGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallForbidden) GetPayload() *models.Error
func (*PcloudStoragecapacityTypesGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud storagecapacity types getall forbidden response has a 4xx status code
func (*PcloudStoragecapacityTypesGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallForbidden) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud storagecapacity types getall forbidden response has a 3xx status code
func (*PcloudStoragecapacityTypesGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud storagecapacity types getall forbidden response has a 5xx status code
func (*PcloudStoragecapacityTypesGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity types getall forbidden response has a 2xx status code
func (*PcloudStoragecapacityTypesGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallForbidden) String() string
type PcloudStoragecapacityTypesGetallInternalServerError ¶
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
func (o *PcloudStoragecapacityTypesGetallInternalServerError) Code() int
Code gets the status code for the pcloud storagecapacity types getall internal server error response
func (*PcloudStoragecapacityTypesGetallInternalServerError) Error ¶
func (o *PcloudStoragecapacityTypesGetallInternalServerError) Error() string
func (*PcloudStoragecapacityTypesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetallInternalServerError) GetPayload() *models.Error
func (*PcloudStoragecapacityTypesGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsClientError() bool
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
func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsRedirect() bool
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
func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsServerError() bool
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
func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsSuccess() bool
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
func (o *PcloudStoragecapacityTypesGetallInternalServerError) String() string
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
func (o *PcloudStoragecapacityTypesGetallOK) Code() int
Code gets the status code for the pcloud storagecapacity types getall o k response
func (*PcloudStoragecapacityTypesGetallOK) Error ¶
func (o *PcloudStoragecapacityTypesGetallOK) Error() string
func (*PcloudStoragecapacityTypesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetallOK) GetPayload() *models.StorageTypesCapacity
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
func (o *PcloudStoragecapacityTypesGetallOK) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetallOK) IsSuccess() bool
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
func (o *PcloudStoragecapacityTypesGetallOK) String() string
type PcloudStoragecapacityTypesGetallParams ¶
type PcloudStoragecapacityTypesGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudStoragecapacityTypesGetallParams contains all the parameters to send to the API endpoint
for the pcloud storagecapacity types getall operation. Typically these are written to a http.Request.
func NewPcloudStoragecapacityTypesGetallParams ¶
func NewPcloudStoragecapacityTypesGetallParams() *PcloudStoragecapacityTypesGetallParams
NewPcloudStoragecapacityTypesGetallParams creates a new PcloudStoragecapacityTypesGetallParams object, with the default 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 ¶
func (o *PcloudStoragecapacityTypesGetallParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudStoragecapacityTypesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WithContext ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithContext(ctx context.Context) *PcloudStoragecapacityTypesGetallParams
WithContext adds the context to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetallParams) WithDefaults() *PcloudStoragecapacityTypesGetallParams
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 ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithHTTPClient(client *http.Client) *PcloudStoragecapacityTypesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WithTimeout ¶
func (o *PcloudStoragecapacityTypesGetallParams) WithTimeout(timeout time.Duration) *PcloudStoragecapacityTypesGetallParams
WithTimeout adds the timeout to the pcloud storagecapacity types getall params
func (*PcloudStoragecapacityTypesGetallParams) WriteToRequest ¶
func (o *PcloudStoragecapacityTypesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudStoragecapacityTypesGetallReader ¶
type PcloudStoragecapacityTypesGetallReader struct {
// contains filtered or unexported fields
}
PcloudStoragecapacityTypesGetallReader is a Reader for the PcloudStoragecapacityTypesGetall structure.
func (*PcloudStoragecapacityTypesGetallReader) ReadResponse ¶
func (o *PcloudStoragecapacityTypesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudStoragecapacityTypesGetallUnauthorized ¶ added in v1.0.59
type PcloudStoragecapacityTypesGetallUnauthorized struct {
}PcloudStoragecapacityTypesGetallUnauthorized 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
func (o *PcloudStoragecapacityTypesGetallUnauthorized) Code() int
Code gets the status code for the pcloud storagecapacity types getall unauthorized response
func (*PcloudStoragecapacityTypesGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudStoragecapacityTypesGetallUnauthorized) Error() string
func (*PcloudStoragecapacityTypesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudStoragecapacityTypesGetallUnauthorized) GetPayload() *models.Error
func (*PcloudStoragecapacityTypesGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud storagecapacity types getall unauthorized response has a 4xx status code
func (*PcloudStoragecapacityTypesGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsCode(code int) bool
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
func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud storagecapacity types getall unauthorized response has a 3xx status code
func (*PcloudStoragecapacityTypesGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud storagecapacity types getall unauthorized response has a 5xx status code
func (*PcloudStoragecapacityTypesGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud storagecapacity types getall unauthorized response has a 2xx status code
func (*PcloudStoragecapacityTypesGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudStoragecapacityTypesGetallUnauthorized) String() string
Source Files ¶
- p_cloud_storage_capacity_client.go
- pcloud_storagecapacity_pools_get_parameters.go
- pcloud_storagecapacity_pools_get_responses.go
- pcloud_storagecapacity_pools_getall_parameters.go
- pcloud_storagecapacity_pools_getall_responses.go
- pcloud_storagecapacity_types_get_parameters.go
- pcloud_storagecapacity_types_get_responses.go
- pcloud_storagecapacity_types_getall_parameters.go
- pcloud_storagecapacity_types_getall_responses.go