p_cloud_storage_tiers

package
v1.6.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 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 tiers API

func (*Client) PcloudCloudinstancesStoragetiersGetall

PcloudCloudinstancesStoragetiersGetall lists all supported storage tiers for this cloud instance

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	PcloudCloudinstancesStoragetiersGetall(params *PcloudCloudinstancesStoragetiersGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStoragetiersGetallOK, 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 tiers API client.

type PcloudCloudinstancesStoragetiersGetallBadRequest

type PcloudCloudinstancesStoragetiersGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesStoragetiersGetallBadRequest

func NewPcloudCloudinstancesStoragetiersGetallBadRequest() *PcloudCloudinstancesStoragetiersGetallBadRequest

NewPcloudCloudinstancesStoragetiersGetallBadRequest creates a PcloudCloudinstancesStoragetiersGetallBadRequest with default headers values

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) Code

Code gets the status code for the pcloud cloudinstances storagetiers getall bad request response

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) Error

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) GetPayload

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsClientError

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

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsCode

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

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsRedirect

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

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsServerError

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

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsSuccess

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

func (*PcloudCloudinstancesStoragetiersGetallBadRequest) String

type PcloudCloudinstancesStoragetiersGetallForbidden added in v1.4.2

type PcloudCloudinstancesStoragetiersGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesStoragetiersGetallForbidden added in v1.4.2

func NewPcloudCloudinstancesStoragetiersGetallForbidden() *PcloudCloudinstancesStoragetiersGetallForbidden

NewPcloudCloudinstancesStoragetiersGetallForbidden creates a PcloudCloudinstancesStoragetiersGetallForbidden with default headers values

func (*PcloudCloudinstancesStoragetiersGetallForbidden) Code added in v1.4.2

Code gets the status code for the pcloud cloudinstances storagetiers getall forbidden response

func (*PcloudCloudinstancesStoragetiersGetallForbidden) Error added in v1.4.2

func (*PcloudCloudinstancesStoragetiersGetallForbidden) GetPayload added in v1.4.2

func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsClientError added in v1.4.2

IsClientError returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 4xx status code

func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsCode added in v1.4.2

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

func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 3xx status code

func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsServerError added in v1.4.2

IsServerError returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 5xx status code

func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 2xx status code

func (*PcloudCloudinstancesStoragetiersGetallForbidden) String added in v1.4.2

type PcloudCloudinstancesStoragetiersGetallInternalServerError

type PcloudCloudinstancesStoragetiersGetallInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesStoragetiersGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudCloudinstancesStoragetiersGetallInternalServerError

func NewPcloudCloudinstancesStoragetiersGetallInternalServerError() *PcloudCloudinstancesStoragetiersGetallInternalServerError

NewPcloudCloudinstancesStoragetiersGetallInternalServerError creates a PcloudCloudinstancesStoragetiersGetallInternalServerError with default headers values

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) Code

Code gets the status code for the pcloud cloudinstances storagetiers getall internal server error response

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) Error

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) GetPayload

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsClientError

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

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsCode

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

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsRedirect

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

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsServerError

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

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) String

type PcloudCloudinstancesStoragetiersGetallNotFound added in v1.4.2

type PcloudCloudinstancesStoragetiersGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesStoragetiersGetallNotFound added in v1.4.2

func NewPcloudCloudinstancesStoragetiersGetallNotFound() *PcloudCloudinstancesStoragetiersGetallNotFound

NewPcloudCloudinstancesStoragetiersGetallNotFound creates a PcloudCloudinstancesStoragetiersGetallNotFound with default headers values

func (*PcloudCloudinstancesStoragetiersGetallNotFound) Code added in v1.4.2

Code gets the status code for the pcloud cloudinstances storagetiers getall not found response

func (*PcloudCloudinstancesStoragetiersGetallNotFound) Error added in v1.4.2

func (*PcloudCloudinstancesStoragetiersGetallNotFound) GetPayload added in v1.4.2

func (*PcloudCloudinstancesStoragetiersGetallNotFound) IsClientError added in v1.4.2

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

func (*PcloudCloudinstancesStoragetiersGetallNotFound) IsCode added in v1.4.2

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

func (*PcloudCloudinstancesStoragetiersGetallNotFound) IsRedirect added in v1.4.2

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

func (*PcloudCloudinstancesStoragetiersGetallNotFound) IsServerError added in v1.4.2

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

func (*PcloudCloudinstancesStoragetiersGetallNotFound) IsSuccess added in v1.4.2

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

func (*PcloudCloudinstancesStoragetiersGetallNotFound) String added in v1.4.2

type PcloudCloudinstancesStoragetiersGetallOK

type PcloudCloudinstancesStoragetiersGetallOK struct {
	Payload models.RegionStorageTiers
}

PcloudCloudinstancesStoragetiersGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudCloudinstancesStoragetiersGetallOK

func NewPcloudCloudinstancesStoragetiersGetallOK() *PcloudCloudinstancesStoragetiersGetallOK

NewPcloudCloudinstancesStoragetiersGetallOK creates a PcloudCloudinstancesStoragetiersGetallOK with default headers values

func (*PcloudCloudinstancesStoragetiersGetallOK) Code

Code gets the status code for the pcloud cloudinstances storagetiers getall o k response

func (*PcloudCloudinstancesStoragetiersGetallOK) Error

func (*PcloudCloudinstancesStoragetiersGetallOK) GetPayload

func (*PcloudCloudinstancesStoragetiersGetallOK) IsClientError

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

func (*PcloudCloudinstancesStoragetiersGetallOK) IsCode

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

func (*PcloudCloudinstancesStoragetiersGetallOK) IsRedirect

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

func (*PcloudCloudinstancesStoragetiersGetallOK) IsServerError

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

func (*PcloudCloudinstancesStoragetiersGetallOK) IsSuccess

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

func (*PcloudCloudinstancesStoragetiersGetallOK) String

type PcloudCloudinstancesStoragetiersGetallParams

type PcloudCloudinstancesStoragetiersGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudCloudinstancesStoragetiersGetallParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances storagetiers getall operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesStoragetiersGetallParams

func NewPcloudCloudinstancesStoragetiersGetallParams() *PcloudCloudinstancesStoragetiersGetallParams

NewPcloudCloudinstancesStoragetiersGetallParams creates a new PcloudCloudinstancesStoragetiersGetallParams 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 NewPcloudCloudinstancesStoragetiersGetallParamsWithContext

func NewPcloudCloudinstancesStoragetiersGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesStoragetiersGetallParams

NewPcloudCloudinstancesStoragetiersGetallParamsWithContext creates a new PcloudCloudinstancesStoragetiersGetallParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesStoragetiersGetallParamsWithHTTPClient

func NewPcloudCloudinstancesStoragetiersGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStoragetiersGetallParams

NewPcloudCloudinstancesStoragetiersGetallParamsWithHTTPClient creates a new PcloudCloudinstancesStoragetiersGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesStoragetiersGetallParamsWithTimeout

func NewPcloudCloudinstancesStoragetiersGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStoragetiersGetallParams

NewPcloudCloudinstancesStoragetiersGetallParamsWithTimeout creates a new PcloudCloudinstancesStoragetiersGetallParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesStoragetiersGetallParams) SetCloudInstanceID

func (o *PcloudCloudinstancesStoragetiersGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) SetContext

SetContext adds the context to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) SetDefaults

SetDefaults hydrates default values in the pcloud cloudinstances storagetiers getall params (not the query body).

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

func (*PcloudCloudinstancesStoragetiersGetallParams) SetHTTPClient

func (o *PcloudCloudinstancesStoragetiersGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) WithContext

WithContext adds the context to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud cloudinstances storagetiers getall params (not the query body).

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

func (*PcloudCloudinstancesStoragetiersGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances storagetiers getall params

func (*PcloudCloudinstancesStoragetiersGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesStoragetiersGetallReader

type PcloudCloudinstancesStoragetiersGetallReader struct {
	// contains filtered or unexported fields
}

PcloudCloudinstancesStoragetiersGetallReader is a Reader for the PcloudCloudinstancesStoragetiersGetall structure.

func (*PcloudCloudinstancesStoragetiersGetallReader) ReadResponse

func (o *PcloudCloudinstancesStoragetiersGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesStoragetiersGetallUnauthorized

type PcloudCloudinstancesStoragetiersGetallUnauthorized struct {
	Payload *models.Error
}

PcloudCloudinstancesStoragetiersGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudCloudinstancesStoragetiersGetallUnauthorized

func NewPcloudCloudinstancesStoragetiersGetallUnauthorized() *PcloudCloudinstancesStoragetiersGetallUnauthorized

NewPcloudCloudinstancesStoragetiersGetallUnauthorized creates a PcloudCloudinstancesStoragetiersGetallUnauthorized with default headers values

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) Code

Code gets the status code for the pcloud cloudinstances storagetiers getall unauthorized response

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) Error

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) GetPayload

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsClientError

IsClientError returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 4xx status code

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsCode

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

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsRedirect

IsRedirect returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 3xx status code

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsServerError

IsServerError returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 5xx status code

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsSuccess

IsSuccess returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 2xx status code

func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) String

Jump to

Keyboard shortcuts

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