Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type PcloudSystempoolsGetBadRequest
- func (o *PcloudSystempoolsGetBadRequest) Code() int
- func (o *PcloudSystempoolsGetBadRequest) Error() string
- func (o *PcloudSystempoolsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudSystempoolsGetBadRequest) IsClientError() bool
- func (o *PcloudSystempoolsGetBadRequest) IsCode(code int) bool
- func (o *PcloudSystempoolsGetBadRequest) IsRedirect() bool
- func (o *PcloudSystempoolsGetBadRequest) IsServerError() bool
- func (o *PcloudSystempoolsGetBadRequest) IsSuccess() bool
- func (o *PcloudSystempoolsGetBadRequest) String() string
- type PcloudSystempoolsGetForbidden
- func (o *PcloudSystempoolsGetForbidden) Code() int
- func (o *PcloudSystempoolsGetForbidden) Error() string
- func (o *PcloudSystempoolsGetForbidden) GetPayload() *models.Error
- func (o *PcloudSystempoolsGetForbidden) IsClientError() bool
- func (o *PcloudSystempoolsGetForbidden) IsCode(code int) bool
- func (o *PcloudSystempoolsGetForbidden) IsRedirect() bool
- func (o *PcloudSystempoolsGetForbidden) IsServerError() bool
- func (o *PcloudSystempoolsGetForbidden) IsSuccess() bool
- func (o *PcloudSystempoolsGetForbidden) String() string
- type PcloudSystempoolsGetInternalServerError
- func (o *PcloudSystempoolsGetInternalServerError) Code() int
- func (o *PcloudSystempoolsGetInternalServerError) Error() string
- func (o *PcloudSystempoolsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudSystempoolsGetInternalServerError) IsClientError() bool
- func (o *PcloudSystempoolsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudSystempoolsGetInternalServerError) IsRedirect() bool
- func (o *PcloudSystempoolsGetInternalServerError) IsServerError() bool
- func (o *PcloudSystempoolsGetInternalServerError) IsSuccess() bool
- func (o *PcloudSystempoolsGetInternalServerError) String() string
- type PcloudSystempoolsGetNotFound
- func (o *PcloudSystempoolsGetNotFound) Code() int
- func (o *PcloudSystempoolsGetNotFound) Error() string
- func (o *PcloudSystempoolsGetNotFound) GetPayload() *models.Error
- func (o *PcloudSystempoolsGetNotFound) IsClientError() bool
- func (o *PcloudSystempoolsGetNotFound) IsCode(code int) bool
- func (o *PcloudSystempoolsGetNotFound) IsRedirect() bool
- func (o *PcloudSystempoolsGetNotFound) IsServerError() bool
- func (o *PcloudSystempoolsGetNotFound) IsSuccess() bool
- func (o *PcloudSystempoolsGetNotFound) String() string
- type PcloudSystempoolsGetOK
- func (o *PcloudSystempoolsGetOK) Code() int
- func (o *PcloudSystempoolsGetOK) Error() string
- func (o *PcloudSystempoolsGetOK) GetPayload() models.SystemPools
- func (o *PcloudSystempoolsGetOK) IsClientError() bool
- func (o *PcloudSystempoolsGetOK) IsCode(code int) bool
- func (o *PcloudSystempoolsGetOK) IsRedirect() bool
- func (o *PcloudSystempoolsGetOK) IsServerError() bool
- func (o *PcloudSystempoolsGetOK) IsSuccess() bool
- func (o *PcloudSystempoolsGetOK) String() string
- type PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParams() *PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParamsWithContext(ctx context.Context) *PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParamsWithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParamsWithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSystempoolsGetParams) SetContext(ctx context.Context)
- func (o *PcloudSystempoolsGetParams) SetDefaults()
- func (o *PcloudSystempoolsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSystempoolsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSystempoolsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WithContext(ctx context.Context) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WithDefaults() *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSystempoolsGetReader
- type PcloudSystempoolsGetUnauthorized
- func (o *PcloudSystempoolsGetUnauthorized) Code() int
- func (o *PcloudSystempoolsGetUnauthorized) Error() string
- func (o *PcloudSystempoolsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudSystempoolsGetUnauthorized) IsClientError() bool
- func (o *PcloudSystempoolsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudSystempoolsGetUnauthorized) IsRedirect() bool
- func (o *PcloudSystempoolsGetUnauthorized) IsServerError() bool
- func (o *PcloudSystempoolsGetUnauthorized) IsSuccess() bool
- func (o *PcloudSystempoolsGetUnauthorized) 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 system pools API
func (*Client) PcloudSystempoolsGet ¶
func (a *Client) PcloudSystempoolsGet(params *PcloudSystempoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSystempoolsGetOK, error)
PcloudSystempoolsGet lists of available system pools within a particular data center
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 may be used to customize the behavior of Client methods.
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudSystempoolsGet(params *PcloudSystempoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSystempoolsGetOK, 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 system pools API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud system pools 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 system pools 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 PcloudSystempoolsGetBadRequest ¶ added in v1.4.2
PcloudSystempoolsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudSystempoolsGetBadRequest ¶ added in v1.4.2
func NewPcloudSystempoolsGetBadRequest() *PcloudSystempoolsGetBadRequest
NewPcloudSystempoolsGetBadRequest creates a PcloudSystempoolsGetBadRequest with default headers values
func (*PcloudSystempoolsGetBadRequest) Code ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) Code() int
Code gets the status code for the pcloud systempools get bad request response
func (*PcloudSystempoolsGetBadRequest) Error ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) Error() string
func (*PcloudSystempoolsGetBadRequest) GetPayload ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) GetPayload() *models.Error
func (*PcloudSystempoolsGetBadRequest) IsClientError ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud systempools get bad request response has a 4xx status code
func (*PcloudSystempoolsGetBadRequest) IsCode ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud systempools get bad request response a status code equal to that given
func (*PcloudSystempoolsGetBadRequest) IsRedirect ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud systempools get bad request response has a 3xx status code
func (*PcloudSystempoolsGetBadRequest) IsServerError ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud systempools get bad request response has a 5xx status code
func (*PcloudSystempoolsGetBadRequest) IsSuccess ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud systempools get bad request response has a 2xx status code
func (*PcloudSystempoolsGetBadRequest) String ¶ added in v1.4.2
func (o *PcloudSystempoolsGetBadRequest) String() string
type PcloudSystempoolsGetForbidden ¶ added in v1.2.2
PcloudSystempoolsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudSystempoolsGetForbidden ¶ added in v1.2.2
func NewPcloudSystempoolsGetForbidden() *PcloudSystempoolsGetForbidden
NewPcloudSystempoolsGetForbidden creates a PcloudSystempoolsGetForbidden with default headers values
func (*PcloudSystempoolsGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudSystempoolsGetForbidden) Code() int
Code gets the status code for the pcloud systempools get forbidden response
func (*PcloudSystempoolsGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) Error() string
func (*PcloudSystempoolsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) GetPayload() *models.Error
func (*PcloudSystempoolsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud systempools get forbidden response has a 4xx status code
func (*PcloudSystempoolsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud systempools get forbidden response a status code equal to that given
func (*PcloudSystempoolsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud systempools get forbidden response has a 3xx status code
func (*PcloudSystempoolsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud systempools get forbidden response has a 5xx status code
func (*PcloudSystempoolsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud systempools get forbidden response has a 2xx status code
func (*PcloudSystempoolsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudSystempoolsGetForbidden) String() string
type PcloudSystempoolsGetInternalServerError ¶
PcloudSystempoolsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudSystempoolsGetInternalServerError ¶
func NewPcloudSystempoolsGetInternalServerError() *PcloudSystempoolsGetInternalServerError
NewPcloudSystempoolsGetInternalServerError creates a PcloudSystempoolsGetInternalServerError with default headers values
func (*PcloudSystempoolsGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudSystempoolsGetInternalServerError) Code() int
Code gets the status code for the pcloud systempools get internal server error response
func (*PcloudSystempoolsGetInternalServerError) Error ¶
func (o *PcloudSystempoolsGetInternalServerError) Error() string
func (*PcloudSystempoolsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudSystempoolsGetInternalServerError) GetPayload() *models.Error
func (*PcloudSystempoolsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud systempools get internal server error response has a 4xx status code
func (*PcloudSystempoolsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudSystempoolsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud systempools get internal server error response a status code equal to that given
func (*PcloudSystempoolsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudSystempoolsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud systempools get internal server error response has a 3xx status code
func (*PcloudSystempoolsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud systempools get internal server error response has a 5xx status code
func (*PcloudSystempoolsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudSystempoolsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud systempools get internal server error response has a 2xx status code
func (*PcloudSystempoolsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudSystempoolsGetInternalServerError) String() string
type PcloudSystempoolsGetNotFound ¶ added in v1.4.2
PcloudSystempoolsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudSystempoolsGetNotFound ¶ added in v1.4.2
func NewPcloudSystempoolsGetNotFound() *PcloudSystempoolsGetNotFound
NewPcloudSystempoolsGetNotFound creates a PcloudSystempoolsGetNotFound with default headers values
func (*PcloudSystempoolsGetNotFound) Code ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) Code() int
Code gets the status code for the pcloud systempools get not found response
func (*PcloudSystempoolsGetNotFound) Error ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) Error() string
func (*PcloudSystempoolsGetNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) GetPayload() *models.Error
func (*PcloudSystempoolsGetNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud systempools get not found response has a 4xx status code
func (*PcloudSystempoolsGetNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud systempools get not found response a status code equal to that given
func (*PcloudSystempoolsGetNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud systempools get not found response has a 3xx status code
func (*PcloudSystempoolsGetNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud systempools get not found response has a 5xx status code
func (*PcloudSystempoolsGetNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud systempools get not found response has a 2xx status code
func (*PcloudSystempoolsGetNotFound) String ¶ added in v1.4.2
func (o *PcloudSystempoolsGetNotFound) String() string
type PcloudSystempoolsGetOK ¶
type PcloudSystempoolsGetOK struct {
Payload models.SystemPools
}
PcloudSystempoolsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudSystempoolsGetOK ¶
func NewPcloudSystempoolsGetOK() *PcloudSystempoolsGetOK
NewPcloudSystempoolsGetOK creates a PcloudSystempoolsGetOK with default headers values
func (*PcloudSystempoolsGetOK) Code ¶ added in v1.2.4
func (o *PcloudSystempoolsGetOK) Code() int
Code gets the status code for the pcloud systempools get o k response
func (*PcloudSystempoolsGetOK) Error ¶
func (o *PcloudSystempoolsGetOK) Error() string
func (*PcloudSystempoolsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudSystempoolsGetOK) GetPayload() models.SystemPools
func (*PcloudSystempoolsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetOK) IsClientError() bool
IsClientError returns true when this pcloud systempools get o k response has a 4xx status code
func (*PcloudSystempoolsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudSystempoolsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud systempools get o k response a status code equal to that given
func (*PcloudSystempoolsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudSystempoolsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud systempools get o k response has a 3xx status code
func (*PcloudSystempoolsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetOK) IsServerError() bool
IsServerError returns true when this pcloud systempools get o k response has a 5xx status code
func (*PcloudSystempoolsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudSystempoolsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud systempools get o k response has a 2xx status code
func (*PcloudSystempoolsGetOK) String ¶ added in v1.2.2
func (o *PcloudSystempoolsGetOK) String() string
type PcloudSystempoolsGetParams ¶
type PcloudSystempoolsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSystempoolsGetParams contains all the parameters to send to the API endpoint
for the pcloud systempools get operation. Typically these are written to a http.Request.
func NewPcloudSystempoolsGetParams ¶
func NewPcloudSystempoolsGetParams() *PcloudSystempoolsGetParams
NewPcloudSystempoolsGetParams creates a new PcloudSystempoolsGetParams 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 NewPcloudSystempoolsGetParamsWithContext ¶
func NewPcloudSystempoolsGetParamsWithContext(ctx context.Context) *PcloudSystempoolsGetParams
NewPcloudSystempoolsGetParamsWithContext creates a new PcloudSystempoolsGetParams object with the ability to set a context for a request.
func NewPcloudSystempoolsGetParamsWithHTTPClient ¶
func NewPcloudSystempoolsGetParamsWithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams
NewPcloudSystempoolsGetParamsWithHTTPClient creates a new PcloudSystempoolsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudSystempoolsGetParamsWithTimeout ¶
func NewPcloudSystempoolsGetParamsWithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams
NewPcloudSystempoolsGetParamsWithTimeout creates a new PcloudSystempoolsGetParams object with the ability to set a timeout on a request.
func (*PcloudSystempoolsGetParams) SetCloudInstanceID ¶
func (o *PcloudSystempoolsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) SetContext ¶
func (o *PcloudSystempoolsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudSystempoolsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud systempools get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSystempoolsGetParams) SetHTTPClient ¶
func (o *PcloudSystempoolsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) SetTimeout ¶
func (o *PcloudSystempoolsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WithCloudInstanceID ¶
func (o *PcloudSystempoolsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSystempoolsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WithContext ¶
func (o *PcloudSystempoolsGetParams) WithContext(ctx context.Context) *PcloudSystempoolsGetParams
WithContext adds the context to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudSystempoolsGetParams) WithDefaults() *PcloudSystempoolsGetParams
WithDefaults hydrates default values in the pcloud systempools get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudSystempoolsGetParams) WithHTTPClient ¶
func (o *PcloudSystempoolsGetParams) WithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams
WithHTTPClient adds the HTTPClient to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WithTimeout ¶
func (o *PcloudSystempoolsGetParams) WithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams
WithTimeout adds the timeout to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WriteToRequest ¶
func (o *PcloudSystempoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSystempoolsGetReader ¶
type PcloudSystempoolsGetReader struct {
// contains filtered or unexported fields
}
PcloudSystempoolsGetReader is a Reader for the PcloudSystempoolsGet structure.
func (*PcloudSystempoolsGetReader) ReadResponse ¶
func (o *PcloudSystempoolsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSystempoolsGetUnauthorized ¶ added in v1.0.59
type PcloudSystempoolsGetUnauthorized struct {
}PcloudSystempoolsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudSystempoolsGetUnauthorized ¶ added in v1.0.59
func NewPcloudSystempoolsGetUnauthorized() *PcloudSystempoolsGetUnauthorized
NewPcloudSystempoolsGetUnauthorized creates a PcloudSystempoolsGetUnauthorized with default headers values
func (*PcloudSystempoolsGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudSystempoolsGetUnauthorized) Code() int
Code gets the status code for the pcloud systempools get unauthorized response
func (*PcloudSystempoolsGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudSystempoolsGetUnauthorized) Error() string
func (*PcloudSystempoolsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudSystempoolsGetUnauthorized) GetPayload() *models.Error
func (*PcloudSystempoolsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud systempools get unauthorized response has a 4xx status code
func (*PcloudSystempoolsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudSystempoolsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud systempools get unauthorized response a status code equal to that given
func (*PcloudSystempoolsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudSystempoolsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud systempools get unauthorized response has a 3xx status code
func (*PcloudSystempoolsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudSystempoolsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud systempools get unauthorized response has a 5xx status code
func (*PcloudSystempoolsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudSystempoolsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud systempools get unauthorized response has a 2xx status code
func (*PcloudSystempoolsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudSystempoolsGetUnauthorized) String() string