Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type PcloudCloudinstancesStoragetiersGetallBadRequest
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) Code() int
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) Error() string
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) String() string
- type PcloudCloudinstancesStoragetiersGetallForbidden
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) Code() int
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) Error() string
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesStoragetiersGetallForbidden) String() string
- type PcloudCloudinstancesStoragetiersGetallInternalServerError
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) Code() int
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) Error() string
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) String() string
- type PcloudCloudinstancesStoragetiersGetallNotFound
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) Code() int
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) Error() string
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesStoragetiersGetallNotFound) String() string
- type PcloudCloudinstancesStoragetiersGetallOK
- func (o *PcloudCloudinstancesStoragetiersGetallOK) Code() int
- func (o *PcloudCloudinstancesStoragetiersGetallOK) Error() string
- func (o *PcloudCloudinstancesStoragetiersGetallOK) GetPayload() models.RegionStorageTiers
- func (o *PcloudCloudinstancesStoragetiersGetallOK) IsClientError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesStoragetiersGetallOK) IsRedirect() bool
- func (o *PcloudCloudinstancesStoragetiersGetallOK) IsServerError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallOK) IsSuccess() bool
- func (o *PcloudCloudinstancesStoragetiersGetallOK) String() string
- type PcloudCloudinstancesStoragetiersGetallParams
- func NewPcloudCloudinstancesStoragetiersGetallParams() *PcloudCloudinstancesStoragetiersGetallParams
- func NewPcloudCloudinstancesStoragetiersGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesStoragetiersGetallParams
- func NewPcloudCloudinstancesStoragetiersGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesStoragetiersGetallParams
- func NewPcloudCloudinstancesStoragetiersGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesStoragetiersGetallParams
- func (o *PcloudCloudinstancesStoragetiersGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesStoragetiersGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesStoragetiersGetallParams) SetDefaults()
- func (o *PcloudCloudinstancesStoragetiersGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesStoragetiersGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesStoragetiersGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesStoragetiersGetallParams
- func (o *PcloudCloudinstancesStoragetiersGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesStoragetiersGetallParams
- func (o *PcloudCloudinstancesStoragetiersGetallParams) WithDefaults() *PcloudCloudinstancesStoragetiersGetallParams
- func (o *PcloudCloudinstancesStoragetiersGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesStoragetiersGetallParams
- func (o *PcloudCloudinstancesStoragetiersGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesStoragetiersGetallParams
- func (o *PcloudCloudinstancesStoragetiersGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesStoragetiersGetallReader
- type PcloudCloudinstancesStoragetiersGetallUnauthorized
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) Code() int
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) Error() string
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) 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 tiers API
func (*Client) PcloudCloudinstancesStoragetiersGetall ¶
func (a *Client) PcloudCloudinstancesStoragetiersGetall(params *PcloudCloudinstancesStoragetiersGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesStoragetiersGetallOK, error)
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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud storage tiers API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud storage tiers API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type PcloudCloudinstancesStoragetiersGetallBadRequest ¶
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 ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances storagetiers getall bad request response
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) Error() string
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) GetPayload ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsClientError ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances storagetiers getall bad request response has a 4xx status code
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsCode ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances storagetiers getall bad request response a status code equal to that given
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsRedirect ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances storagetiers getall bad request response has a 3xx status code
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsServerError ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances storagetiers getall bad request response has a 5xx status code
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) IsSuccess ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances storagetiers getall bad request response has a 2xx status code
func (*PcloudCloudinstancesStoragetiersGetallBadRequest) String ¶
func (o *PcloudCloudinstancesStoragetiersGetallBadRequest) String() string
type PcloudCloudinstancesStoragetiersGetallForbidden ¶ added in v1.4.2
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
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) Code() int
Code gets the status code for the pcloud cloudinstances storagetiers getall forbidden response
func (*PcloudCloudinstancesStoragetiersGetallForbidden) Error ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) Error() string
func (*PcloudCloudinstancesStoragetiersGetallForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 4xx status code
func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsCode(code int) bool
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
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 3xx status code
func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 5xx status code
func (*PcloudCloudinstancesStoragetiersGetallForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances storagetiers getall forbidden response has a 2xx status code
func (*PcloudCloudinstancesStoragetiersGetallForbidden) String ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallForbidden) String() string
type PcloudCloudinstancesStoragetiersGetallInternalServerError ¶
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 ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances storagetiers getall internal server error response
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) Error() string
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) GetPayload ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsClientError ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances storagetiers getall internal server error response has a 4xx status code
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsCode ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances storagetiers getall internal server error response a status code equal to that given
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsRedirect ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances storagetiers getall internal server error response has a 3xx status code
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsServerError ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances storagetiers getall internal server error response has a 5xx status code
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) IsSuccess ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances storagetiers getall internal server error response has a 2xx status code
func (*PcloudCloudinstancesStoragetiersGetallInternalServerError) String ¶
func (o *PcloudCloudinstancesStoragetiersGetallInternalServerError) String() string
type PcloudCloudinstancesStoragetiersGetallNotFound ¶ added in v1.4.2
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
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) Code() int
Code gets the status code for the pcloud cloudinstances storagetiers getall not found response
func (*PcloudCloudinstancesStoragetiersGetallNotFound) Error ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) Error() string
func (*PcloudCloudinstancesStoragetiersGetallNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesStoragetiersGetallNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsClientError() bool
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
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsCode(code int) bool
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
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsRedirect() bool
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
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsServerError() bool
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
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) IsSuccess() bool
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
func (o *PcloudCloudinstancesStoragetiersGetallNotFound) String() string
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 ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) Code() int
Code gets the status code for the pcloud cloudinstances storagetiers getall o k response
func (*PcloudCloudinstancesStoragetiersGetallOK) Error ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) Error() string
func (*PcloudCloudinstancesStoragetiersGetallOK) GetPayload ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) GetPayload() models.RegionStorageTiers
func (*PcloudCloudinstancesStoragetiersGetallOK) IsClientError ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances storagetiers getall o k response has a 4xx status code
func (*PcloudCloudinstancesStoragetiersGetallOK) IsCode ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances storagetiers getall o k response a status code equal to that given
func (*PcloudCloudinstancesStoragetiersGetallOK) IsRedirect ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances storagetiers getall o k response has a 3xx status code
func (*PcloudCloudinstancesStoragetiersGetallOK) IsServerError ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances storagetiers getall o k response has a 5xx status code
func (*PcloudCloudinstancesStoragetiersGetallOK) IsSuccess ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances storagetiers getall o k response has a 2xx status code
func (*PcloudCloudinstancesStoragetiersGetallOK) String ¶
func (o *PcloudCloudinstancesStoragetiersGetallOK) String() 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 ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances storagetiers getall params
func (*PcloudCloudinstancesStoragetiersGetallParams) SetDefaults ¶
func (o *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 ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances storagetiers getall params
func (*PcloudCloudinstancesStoragetiersGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesStoragetiersGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances storagetiers getall params
func (*PcloudCloudinstancesStoragetiersGetallParams) WithContext ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesStoragetiersGetallParams
WithContext adds the context to the pcloud cloudinstances storagetiers getall params
func (*PcloudCloudinstancesStoragetiersGetallParams) WithDefaults ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) WithDefaults() *PcloudCloudinstancesStoragetiersGetallParams
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 ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesStoragetiersGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances storagetiers getall params
func (*PcloudCloudinstancesStoragetiersGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesStoragetiersGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances storagetiers getall params
func (*PcloudCloudinstancesStoragetiersGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesStoragetiersGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances storagetiers getall unauthorized response
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) Error ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) Error() string
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) GetPayload ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsClientError ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 4xx status code
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsCode ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances storagetiers getall unauthorized response a status code equal to that given
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsRedirect ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 3xx status code
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsServerError ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 5xx status code
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) IsSuccess ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances storagetiers getall unauthorized response has a 2xx status code
func (*PcloudCloudinstancesStoragetiersGetallUnauthorized) String ¶
func (o *PcloudCloudinstancesStoragetiersGetallUnauthorized) String() string