Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type PcloudCloudinstancesVirtualSerialNumberGetallBadRequest
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) Code() int
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) Error() string
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) String() string
- type PcloudCloudinstancesVirtualSerialNumberGetallForbidden
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) Code() int
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) Error() string
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) GetPayload() *models.Error
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsClientError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsCode(code int) bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsRedirect() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsServerError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsSuccess() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) String() string
- type PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) Code() int
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) Error() string
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) String() string
- type PcloudCloudinstancesVirtualSerialNumberGetallNotFound
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) Code() int
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) Error() string
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) String() string
- type PcloudCloudinstancesVirtualSerialNumberGetallOK
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) Code() int
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) Error() string
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) GetPayload() models.VirtualSerialNumberList
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsClientError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsRedirect() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsServerError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsSuccess() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) String() string
- type PcloudCloudinstancesVirtualSerialNumberGetallParams
- func NewPcloudCloudinstancesVirtualSerialNumberGetallParams() *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetDefaults()
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithDefaults() *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVirtualSerialNumberGetallParams
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesVirtualSerialNumberGetallReader
- type PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) Code() int
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) Error() string
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) 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 virtual serial number API
func (*Client) PcloudCloudinstancesVirtualSerialNumberGetall ¶
func (a *Client) PcloudCloudinstancesVirtualSerialNumberGetall(params *PcloudCloudinstancesVirtualSerialNumberGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVirtualSerialNumberGetallOK, error)
PcloudCloudinstancesVirtualSerialNumberGetall lists all retained v s ns 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 { PcloudCloudinstancesVirtualSerialNumberGetall(params *PcloudCloudinstancesVirtualSerialNumberGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVirtualSerialNumberGetallOK, 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 virtual serial number API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud virtual serial number 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 ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud virtual serial number 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 PcloudCloudinstancesVirtualSerialNumberGetallBadRequest ¶
PcloudCloudinstancesVirtualSerialNumberGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesVirtualSerialNumberGetallBadRequest ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallBadRequest() *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest
NewPcloudCloudinstancesVirtualSerialNumberGetallBadRequest creates a PcloudCloudinstancesVirtualSerialNumberGetallBadRequest with default headers values
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) Code ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances virtual serial number getall bad request response
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) Error() string
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) GetPayload ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsClientError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances virtual serial number getall bad request response has a 4xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsCode ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances virtual serial number getall bad request response a status code equal to that given
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsRedirect ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances virtual serial number getall bad request response has a 3xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsServerError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances virtual serial number getall bad request response has a 5xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsSuccess ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances virtual serial number getall bad request response has a 2xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) String ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) String() string
type PcloudCloudinstancesVirtualSerialNumberGetallForbidden ¶
PcloudCloudinstancesVirtualSerialNumberGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudCloudinstancesVirtualSerialNumberGetallForbidden ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallForbidden() *PcloudCloudinstancesVirtualSerialNumberGetallForbidden
NewPcloudCloudinstancesVirtualSerialNumberGetallForbidden creates a PcloudCloudinstancesVirtualSerialNumberGetallForbidden with default headers values
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) Code ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) Code() int
Code gets the status code for the pcloud cloudinstances virtual serial number getall forbidden response
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) Error ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) Error() string
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) GetPayload ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) GetPayload() *models.Error
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsClientError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances virtual serial number getall forbidden response has a 4xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsCode ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances virtual serial number getall forbidden response a status code equal to that given
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsRedirect ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances virtual serial number getall forbidden response has a 3xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsServerError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances virtual serial number getall forbidden response has a 5xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsSuccess ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances virtual serial number getall forbidden response has a 2xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) String ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallForbidden) String() string
type PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError ¶
type PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError struct {
Payload *models.Error
}
PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesVirtualSerialNumberGetallInternalServerError ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallInternalServerError() *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError
NewPcloudCloudinstancesVirtualSerialNumberGetallInternalServerError creates a PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError with default headers values
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) Code ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances virtual serial number getall internal server error response
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) Error() string
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) GetPayload ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsClientError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances virtual serial number getall internal server error response has a 4xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsCode ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances virtual serial number getall internal server error response a status code equal to that given
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsRedirect ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances virtual serial number getall internal server error response has a 3xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsServerError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances virtual serial number getall internal server error response has a 5xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsSuccess ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances virtual serial number getall internal server error response has a 2xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) String ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) String() string
type PcloudCloudinstancesVirtualSerialNumberGetallNotFound ¶
PcloudCloudinstancesVirtualSerialNumberGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesVirtualSerialNumberGetallNotFound ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallNotFound() *PcloudCloudinstancesVirtualSerialNumberGetallNotFound
NewPcloudCloudinstancesVirtualSerialNumberGetallNotFound creates a PcloudCloudinstancesVirtualSerialNumberGetallNotFound with default headers values
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) Code ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) Code() int
Code gets the status code for the pcloud cloudinstances virtual serial number getall not found response
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) Error ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) Error() string
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) GetPayload ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsClientError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances virtual serial number getall not found response has a 4xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsCode ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances virtual serial number getall not found response a status code equal to that given
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsRedirect ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances virtual serial number getall not found response has a 3xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsServerError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances virtual serial number getall not found response has a 5xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsSuccess ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances virtual serial number getall not found response has a 2xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) String ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallNotFound) String() string
type PcloudCloudinstancesVirtualSerialNumberGetallOK ¶
type PcloudCloudinstancesVirtualSerialNumberGetallOK struct {
Payload models.VirtualSerialNumberList
}
PcloudCloudinstancesVirtualSerialNumberGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesVirtualSerialNumberGetallOK ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallOK() *PcloudCloudinstancesVirtualSerialNumberGetallOK
NewPcloudCloudinstancesVirtualSerialNumberGetallOK creates a PcloudCloudinstancesVirtualSerialNumberGetallOK with default headers values
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) Code ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) Code() int
Code gets the status code for the pcloud cloudinstances virtual serial number getall o k response
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) Error ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) Error() string
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) GetPayload ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) GetPayload() models.VirtualSerialNumberList
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsClientError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances virtual serial number getall o k response has a 4xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsCode ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances virtual serial number getall o k response a status code equal to that given
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsRedirect ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances virtual serial number getall o k response has a 3xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsServerError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances virtual serial number getall o k response has a 5xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsSuccess ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances virtual serial number getall o k response has a 2xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) String ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallOK) String() string
type PcloudCloudinstancesVirtualSerialNumberGetallParams ¶
type PcloudCloudinstancesVirtualSerialNumberGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesVirtualSerialNumberGetallParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances virtual serial number getall operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesVirtualSerialNumberGetallParams ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallParams() *PcloudCloudinstancesVirtualSerialNumberGetallParams
NewPcloudCloudinstancesVirtualSerialNumberGetallParams creates a new PcloudCloudinstancesVirtualSerialNumberGetallParams 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 NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithContext ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesVirtualSerialNumberGetallParams
NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithContext creates a new PcloudCloudinstancesVirtualSerialNumberGetallParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVirtualSerialNumberGetallParams
NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithHTTPClient creates a new PcloudCloudinstancesVirtualSerialNumberGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVirtualSerialNumberGetallParams
NewPcloudCloudinstancesVirtualSerialNumberGetallParamsWithTimeout creates a new PcloudCloudinstancesVirtualSerialNumberGetallParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) SetContext ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) SetDefaults ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances virtual serial number getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesVirtualSerialNumberGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithContext ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesVirtualSerialNumberGetallParams
WithContext adds the context to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithDefaults ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithDefaults() *PcloudCloudinstancesVirtualSerialNumberGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances virtual serial number getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesVirtualSerialNumberGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesVirtualSerialNumberGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances virtual serial number getall params
func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesVirtualSerialNumberGetallReader ¶
type PcloudCloudinstancesVirtualSerialNumberGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesVirtualSerialNumberGetallReader is a Reader for the PcloudCloudinstancesVirtualSerialNumberGetall structure.
func (*PcloudCloudinstancesVirtualSerialNumberGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized ¶
type PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized struct {
}PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesVirtualSerialNumberGetallUnauthorized ¶
func NewPcloudCloudinstancesVirtualSerialNumberGetallUnauthorized() *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized
NewPcloudCloudinstancesVirtualSerialNumberGetallUnauthorized creates a PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized with default headers values
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) Code ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances virtual serial number getall unauthorized response
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) Error ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) Error() string
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) GetPayload ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsClientError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances virtual serial number getall unauthorized response has a 4xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsCode ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances virtual serial number getall unauthorized response a status code equal to that given
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsRedirect ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances virtual serial number getall unauthorized response has a 3xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsServerError ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances virtual serial number getall unauthorized response has a 5xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsSuccess ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances virtual serial number getall unauthorized response has a 2xx status code
func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) String ¶
func (o *PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) String() string