p_cloud_virtual_serial_number

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 11 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 virtual serial number API

func (*Client) PcloudPvminstancesVirtualserialnumberDelete

PcloudPvminstancesVirtualserialnumberDelete unassigns virtual serial number from a p VM instance

func (*Client) PcloudPvminstancesVirtualserialnumberGet

PcloudPvminstancesVirtualserialnumberGet gets a p VM instance s virtual serial number information

func (*Client) PcloudPvminstancesVirtualserialnumberPost

PcloudPvminstancesVirtualserialnumberPost assigns virtual serial number to a p VM instance

func (*Client) PcloudPvminstancesVirtualserialnumberPut

PcloudPvminstancesVirtualserialnumberPut updates description of a virtual serial number

func (*Client) PcloudVirtualserialnumberDelete

func (a *Client) PcloudVirtualserialnumberDelete(params *PcloudVirtualserialnumberDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberDeleteOK, error)

PcloudVirtualserialnumberDelete unreserves a retained virtual serial number

func (*Client) PcloudVirtualserialnumberGet

func (a *Client) PcloudVirtualserialnumberGet(params *PcloudVirtualserialnumberGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetOK, error)

PcloudVirtualserialnumberGet gets information for a virtual serial number

func (*Client) PcloudVirtualserialnumberGetall

func (a *Client) PcloudVirtualserialnumberGetall(params *PcloudVirtualserialnumberGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetallOK, error)

PcloudVirtualserialnumberGetall lists all utilized and retained v s ns

func (*Client) PcloudVirtualserialnumberPut

func (a *Client) PcloudVirtualserialnumberPut(params *PcloudVirtualserialnumberPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberPutOK, error)

PcloudVirtualserialnumberPut updates description of a reserved virtual serial number

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 {
	PcloudPvminstancesVirtualserialnumberDelete(params *PcloudPvminstancesVirtualserialnumberDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberDeleteAccepted, error)

	PcloudPvminstancesVirtualserialnumberGet(params *PcloudPvminstancesVirtualserialnumberGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberGetOK, error)

	PcloudPvminstancesVirtualserialnumberPost(params *PcloudPvminstancesVirtualserialnumberPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberPostAccepted, error)

	PcloudPvminstancesVirtualserialnumberPut(params *PcloudPvminstancesVirtualserialnumberPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVirtualserialnumberPutOK, error)

	PcloudVirtualserialnumberDelete(params *PcloudVirtualserialnumberDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberDeleteOK, error)

	PcloudVirtualserialnumberGet(params *PcloudVirtualserialnumberGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetOK, error)

	PcloudVirtualserialnumberGetall(params *PcloudVirtualserialnumberGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberGetallOK, error)

	PcloudVirtualserialnumberPut(params *PcloudVirtualserialnumberPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVirtualserialnumberPutOK, 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

type PcloudCloudinstancesVirtualSerialNumberGetallBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances virtual serial number getall bad request response

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) Error

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) GetPayload

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsClientError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsCode

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsRedirect

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsServerError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) IsSuccess

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallBadRequest) String

type PcloudCloudinstancesVirtualSerialNumberGetallForbidden

type PcloudCloudinstancesVirtualSerialNumberGetallForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances virtual serial number getall forbidden response

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) Error

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) GetPayload

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsClientError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsCode

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsRedirect

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsServerError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) IsSuccess

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallForbidden) 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

Code gets the status code for the pcloud cloudinstances virtual serial number getall internal server error response

func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) Error

func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) GetPayload

func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsClientError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsCode

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

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsServerError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallInternalServerError) String

type PcloudCloudinstancesVirtualSerialNumberGetallNotFound

type PcloudCloudinstancesVirtualSerialNumberGetallNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances virtual serial number getall not found response

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) Error

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) GetPayload

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsClientError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsCode

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsRedirect

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsServerError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) IsSuccess

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallNotFound) 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

Code gets the status code for the pcloud cloudinstances virtual serial number getall o k response

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) Error

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) GetPayload

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsClientError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsCode

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsRedirect

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsServerError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) IsSuccess

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallOK) 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

SetContext adds the context to the pcloud cloudinstances virtual serial number getall params

func (*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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances virtual serial number getall params

func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances virtual serial number getall params

func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances virtual serial number getall params

func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithContext

WithContext adds the context to the pcloud cloudinstances virtual serial number getall params

func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances virtual serial number getall params

func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances virtual serial number getall params

func (*PcloudCloudinstancesVirtualSerialNumberGetallParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the pcloud cloudinstances virtual serial number getall unauthorized response

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) Error

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) GetPayload

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsClientError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsCode

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsRedirect

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsServerError

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) IsSuccess

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

func (*PcloudCloudinstancesVirtualSerialNumberGetallUnauthorized) String

type PcloudPvminstancesVirtualserialnumberDeleteAccepted

type PcloudPvminstancesVirtualserialnumberDeleteAccepted struct {
	Payload models.Object
}

PcloudPvminstancesVirtualserialnumberDeleteAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudPvminstancesVirtualserialnumberDeleteAccepted

func NewPcloudPvminstancesVirtualserialnumberDeleteAccepted() *PcloudPvminstancesVirtualserialnumberDeleteAccepted

NewPcloudPvminstancesVirtualserialnumberDeleteAccepted creates a PcloudPvminstancesVirtualserialnumberDeleteAccepted with default headers values

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber delete accepted response

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) Error

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) GetPayload

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber delete accepted response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete accepted response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteAccepted) String

type PcloudPvminstancesVirtualserialnumberDeleteBadRequest

type PcloudPvminstancesVirtualserialnumberDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVirtualserialnumberDeleteBadRequest

func NewPcloudPvminstancesVirtualserialnumberDeleteBadRequest() *PcloudPvminstancesVirtualserialnumberDeleteBadRequest

NewPcloudPvminstancesVirtualserialnumberDeleteBadRequest creates a PcloudPvminstancesVirtualserialnumberDeleteBadRequest with default headers values

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber delete bad request response

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) Error

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) GetPayload

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber delete bad request response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete bad request response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteBadRequest) String

type PcloudPvminstancesVirtualserialnumberDeleteForbidden

type PcloudPvminstancesVirtualserialnumberDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVirtualserialnumberDeleteForbidden

func NewPcloudPvminstancesVirtualserialnumberDeleteForbidden() *PcloudPvminstancesVirtualserialnumberDeleteForbidden

NewPcloudPvminstancesVirtualserialnumberDeleteForbidden creates a PcloudPvminstancesVirtualserialnumberDeleteForbidden with default headers values

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber delete forbidden response

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) Error

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) GetPayload

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber delete forbidden response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete forbidden response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteForbidden) String

type PcloudPvminstancesVirtualserialnumberDeleteGone

type PcloudPvminstancesVirtualserialnumberDeleteGone struct {
	Payload *models.Error
}

PcloudPvminstancesVirtualserialnumberDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudPvminstancesVirtualserialnumberDeleteGone

func NewPcloudPvminstancesVirtualserialnumberDeleteGone() *PcloudPvminstancesVirtualserialnumberDeleteGone

NewPcloudPvminstancesVirtualserialnumberDeleteGone creates a PcloudPvminstancesVirtualserialnumberDeleteGone with default headers values

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber delete gone response

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) Error

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) GetPayload

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber delete gone response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete gone response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteGone) String

type PcloudPvminstancesVirtualserialnumberDeleteInternalServerError

type PcloudPvminstancesVirtualserialnumberDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVirtualserialnumberDeleteInternalServerError

func NewPcloudPvminstancesVirtualserialnumberDeleteInternalServerError() *PcloudPvminstancesVirtualserialnumberDeleteInternalServerError

NewPcloudPvminstancesVirtualserialnumberDeleteInternalServerError creates a PcloudPvminstancesVirtualserialnumberDeleteInternalServerError with default headers values

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber delete internal server error response

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) Error

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) GetPayload

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber delete internal server error response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete internal server error response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteInternalServerError) String

type PcloudPvminstancesVirtualserialnumberDeleteNotFound

type PcloudPvminstancesVirtualserialnumberDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVirtualserialnumberDeleteNotFound

func NewPcloudPvminstancesVirtualserialnumberDeleteNotFound() *PcloudPvminstancesVirtualserialnumberDeleteNotFound

NewPcloudPvminstancesVirtualserialnumberDeleteNotFound creates a PcloudPvminstancesVirtualserialnumberDeleteNotFound with default headers values

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber delete not found response

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) Error

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) GetPayload

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber delete not found response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete not found response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteNotFound) String

type PcloudPvminstancesVirtualserialnumberDeleteParams

type PcloudPvminstancesVirtualserialnumberDeleteParams struct {

	/* Body.

	   Parameters to unassign a Virtual Serial Number attached to a PVM Instance
	*/
	Body *models.DeleteServerVirtualSerialNumber

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

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

PcloudPvminstancesVirtualserialnumberDeleteParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances virtualserialnumber delete operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVirtualserialnumberDeleteParams

func NewPcloudPvminstancesVirtualserialnumberDeleteParams() *PcloudPvminstancesVirtualserialnumberDeleteParams

NewPcloudPvminstancesVirtualserialnumberDeleteParams creates a new PcloudPvminstancesVirtualserialnumberDeleteParams 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 NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithContext

func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberDeleteParams

NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberDeleteParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithHTTPClient

func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberDeleteParams

NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithTimeout

func NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberDeleteParams

NewPcloudPvminstancesVirtualserialnumberDeleteParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberDeleteParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetBody

SetBody adds the body to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetCloudInstanceID

func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetContext

SetContext adds the context to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetDefaults

SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber delete params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetPvmInstanceID

func (o *PcloudPvminstancesVirtualserialnumberDeleteParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) SetTimeout

SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithBody

WithBody adds the body to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithContext

WithContext adds the context to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber delete params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber delete params

func (*PcloudPvminstancesVirtualserialnumberDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVirtualserialnumberDeleteReader

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

PcloudPvminstancesVirtualserialnumberDeleteReader is a Reader for the PcloudPvminstancesVirtualserialnumberDelete structure.

func (*PcloudPvminstancesVirtualserialnumberDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVirtualserialnumberDeleteUnauthorized

type PcloudPvminstancesVirtualserialnumberDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVirtualserialnumberDeleteUnauthorized

func NewPcloudPvminstancesVirtualserialnumberDeleteUnauthorized() *PcloudPvminstancesVirtualserialnumberDeleteUnauthorized

NewPcloudPvminstancesVirtualserialnumberDeleteUnauthorized creates a PcloudPvminstancesVirtualserialnumberDeleteUnauthorized with default headers values

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber delete unauthorized response

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) Error

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) GetPayload

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber delete unauthorized response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberDeleteUnauthorized) String

type PcloudPvminstancesVirtualserialnumberGetBadRequest

type PcloudPvminstancesVirtualserialnumberGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVirtualserialnumberGetBadRequest

func NewPcloudPvminstancesVirtualserialnumberGetBadRequest() *PcloudPvminstancesVirtualserialnumberGetBadRequest

NewPcloudPvminstancesVirtualserialnumberGetBadRequest creates a PcloudPvminstancesVirtualserialnumberGetBadRequest with default headers values

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber get bad request response

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) Error

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) GetPayload

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber get bad request response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber get bad request response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberGetBadRequest) String

type PcloudPvminstancesVirtualserialnumberGetForbidden

type PcloudPvminstancesVirtualserialnumberGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVirtualserialnumberGetForbidden

func NewPcloudPvminstancesVirtualserialnumberGetForbidden() *PcloudPvminstancesVirtualserialnumberGetForbidden

NewPcloudPvminstancesVirtualserialnumberGetForbidden creates a PcloudPvminstancesVirtualserialnumberGetForbidden with default headers values

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber get forbidden response

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) Error

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) GetPayload

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber get forbidden response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber get forbidden response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberGetForbidden) String

type PcloudPvminstancesVirtualserialnumberGetInternalServerError

type PcloudPvminstancesVirtualserialnumberGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVirtualserialnumberGetInternalServerError

func NewPcloudPvminstancesVirtualserialnumberGetInternalServerError() *PcloudPvminstancesVirtualserialnumberGetInternalServerError

NewPcloudPvminstancesVirtualserialnumberGetInternalServerError creates a PcloudPvminstancesVirtualserialnumberGetInternalServerError with default headers values

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber get internal server error response

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) Error

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) GetPayload

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber get internal server error response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber get internal server error response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberGetInternalServerError) String

type PcloudPvminstancesVirtualserialnumberGetNotFound

type PcloudPvminstancesVirtualserialnumberGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVirtualserialnumberGetNotFound

func NewPcloudPvminstancesVirtualserialnumberGetNotFound() *PcloudPvminstancesVirtualserialnumberGetNotFound

NewPcloudPvminstancesVirtualserialnumberGetNotFound creates a PcloudPvminstancesVirtualserialnumberGetNotFound with default headers values

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber get not found response

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) Error

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) GetPayload

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber get not found response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber get not found response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber get not found response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber get not found response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber get not found response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberGetNotFound) String

type PcloudPvminstancesVirtualserialnumberGetOK

type PcloudPvminstancesVirtualserialnumberGetOK struct {
	Payload *models.VirtualSerialNumber
}

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

OK

func NewPcloudPvminstancesVirtualserialnumberGetOK

func NewPcloudPvminstancesVirtualserialnumberGetOK() *PcloudPvminstancesVirtualserialnumberGetOK

NewPcloudPvminstancesVirtualserialnumberGetOK creates a PcloudPvminstancesVirtualserialnumberGetOK with default headers values

func (*PcloudPvminstancesVirtualserialnumberGetOK) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber get o k response

func (*PcloudPvminstancesVirtualserialnumberGetOK) Error

func (*PcloudPvminstancesVirtualserialnumberGetOK) GetPayload

func (*PcloudPvminstancesVirtualserialnumberGetOK) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber get o k response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberGetOK) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber get o k response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberGetOK) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber get o k response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberGetOK) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber get o k response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberGetOK) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber get o k response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberGetOK) String

type PcloudPvminstancesVirtualserialnumberGetParams

type PcloudPvminstancesVirtualserialnumberGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

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

PcloudPvminstancesVirtualserialnumberGetParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances virtualserialnumber get operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVirtualserialnumberGetParams

func NewPcloudPvminstancesVirtualserialnumberGetParams() *PcloudPvminstancesVirtualserialnumberGetParams

NewPcloudPvminstancesVirtualserialnumberGetParams creates a new PcloudPvminstancesVirtualserialnumberGetParams 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 NewPcloudPvminstancesVirtualserialnumberGetParamsWithContext

func NewPcloudPvminstancesVirtualserialnumberGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberGetParams

NewPcloudPvminstancesVirtualserialnumberGetParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberGetParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVirtualserialnumberGetParamsWithHTTPClient

func NewPcloudPvminstancesVirtualserialnumberGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberGetParams

NewPcloudPvminstancesVirtualserialnumberGetParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVirtualserialnumberGetParamsWithTimeout

func NewPcloudPvminstancesVirtualserialnumberGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberGetParams

NewPcloudPvminstancesVirtualserialnumberGetParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberGetParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVirtualserialnumberGetParams) SetCloudInstanceID

func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) SetContext

SetContext adds the context to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) SetDefaults

SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber get params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) SetPvmInstanceID

func (o *PcloudPvminstancesVirtualserialnumberGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) SetTimeout

SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) WithContext

WithContext adds the context to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber get params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber get params

func (*PcloudPvminstancesVirtualserialnumberGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVirtualserialnumberGetReader

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

PcloudPvminstancesVirtualserialnumberGetReader is a Reader for the PcloudPvminstancesVirtualserialnumberGet structure.

func (*PcloudPvminstancesVirtualserialnumberGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVirtualserialnumberGetUnauthorized

type PcloudPvminstancesVirtualserialnumberGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVirtualserialnumberGetUnauthorized

func NewPcloudPvminstancesVirtualserialnumberGetUnauthorized() *PcloudPvminstancesVirtualserialnumberGetUnauthorized

NewPcloudPvminstancesVirtualserialnumberGetUnauthorized creates a PcloudPvminstancesVirtualserialnumberGetUnauthorized with default headers values

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber get unauthorized response

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) Error

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) GetPayload

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber get unauthorized response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber get unauthorized response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberGetUnauthorized) String

type PcloudPvminstancesVirtualserialnumberPostAccepted

type PcloudPvminstancesVirtualserialnumberPostAccepted struct {
	Payload *models.VirtualSerialNumber
}

PcloudPvminstancesVirtualserialnumberPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudPvminstancesVirtualserialnumberPostAccepted

func NewPcloudPvminstancesVirtualserialnumberPostAccepted() *PcloudPvminstancesVirtualserialnumberPostAccepted

NewPcloudPvminstancesVirtualserialnumberPostAccepted creates a PcloudPvminstancesVirtualserialnumberPostAccepted with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post accepted response

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) Error

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post accepted response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post accepted response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostAccepted) String

type PcloudPvminstancesVirtualserialnumberPostBadRequest

type PcloudPvminstancesVirtualserialnumberPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVirtualserialnumberPostBadRequest

func NewPcloudPvminstancesVirtualserialnumberPostBadRequest() *PcloudPvminstancesVirtualserialnumberPostBadRequest

NewPcloudPvminstancesVirtualserialnumberPostBadRequest creates a PcloudPvminstancesVirtualserialnumberPostBadRequest with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post bad request response

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) Error

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post bad request response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post bad request response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostBadRequest) String

type PcloudPvminstancesVirtualserialnumberPostConflict

type PcloudPvminstancesVirtualserialnumberPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesVirtualserialnumberPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudPvminstancesVirtualserialnumberPostConflict

func NewPcloudPvminstancesVirtualserialnumberPostConflict() *PcloudPvminstancesVirtualserialnumberPostConflict

NewPcloudPvminstancesVirtualserialnumberPostConflict creates a PcloudPvminstancesVirtualserialnumberPostConflict with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostConflict) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post conflict response

func (*PcloudPvminstancesVirtualserialnumberPostConflict) Error

func (*PcloudPvminstancesVirtualserialnumberPostConflict) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post conflict response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostConflict) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post conflict response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostConflict) String

type PcloudPvminstancesVirtualserialnumberPostForbidden

type PcloudPvminstancesVirtualserialnumberPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVirtualserialnumberPostForbidden

func NewPcloudPvminstancesVirtualserialnumberPostForbidden() *PcloudPvminstancesVirtualserialnumberPostForbidden

NewPcloudPvminstancesVirtualserialnumberPostForbidden creates a PcloudPvminstancesVirtualserialnumberPostForbidden with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post forbidden response

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) Error

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post forbidden response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post forbidden response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostForbidden) String

type PcloudPvminstancesVirtualserialnumberPostGatewayTimeout

type PcloudPvminstancesVirtualserialnumberPostGatewayTimeout struct {
	Payload *models.Error
}

PcloudPvminstancesVirtualserialnumberPostGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout

func NewPcloudPvminstancesVirtualserialnumberPostGatewayTimeout

func NewPcloudPvminstancesVirtualserialnumberPostGatewayTimeout() *PcloudPvminstancesVirtualserialnumberPostGatewayTimeout

NewPcloudPvminstancesVirtualserialnumberPostGatewayTimeout creates a PcloudPvminstancesVirtualserialnumberPostGatewayTimeout with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post gateway timeout response

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) Error

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post gateway timeout response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostGatewayTimeout) String

type PcloudPvminstancesVirtualserialnumberPostInternalServerError

type PcloudPvminstancesVirtualserialnumberPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVirtualserialnumberPostInternalServerError

func NewPcloudPvminstancesVirtualserialnumberPostInternalServerError() *PcloudPvminstancesVirtualserialnumberPostInternalServerError

NewPcloudPvminstancesVirtualserialnumberPostInternalServerError creates a PcloudPvminstancesVirtualserialnumberPostInternalServerError with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post internal server error response

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) Error

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post internal server error response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post internal server error response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostInternalServerError) String

type PcloudPvminstancesVirtualserialnumberPostNotFound

type PcloudPvminstancesVirtualserialnumberPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVirtualserialnumberPostNotFound

func NewPcloudPvminstancesVirtualserialnumberPostNotFound() *PcloudPvminstancesVirtualserialnumberPostNotFound

NewPcloudPvminstancesVirtualserialnumberPostNotFound creates a PcloudPvminstancesVirtualserialnumberPostNotFound with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post not found response

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) Error

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post not found response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post not found response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post not found response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post not found response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post not found response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostNotFound) String

type PcloudPvminstancesVirtualserialnumberPostParams

type PcloudPvminstancesVirtualserialnumberPostParams struct {

	/* Body.

	   Parameters to assign Virtual Serial Number to a PVM Instance
	*/
	Body *models.AddServerVirtualSerialNumber

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

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

PcloudPvminstancesVirtualserialnumberPostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances virtualserialnumber post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVirtualserialnumberPostParams

func NewPcloudPvminstancesVirtualserialnumberPostParams() *PcloudPvminstancesVirtualserialnumberPostParams

NewPcloudPvminstancesVirtualserialnumberPostParams creates a new PcloudPvminstancesVirtualserialnumberPostParams 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 NewPcloudPvminstancesVirtualserialnumberPostParamsWithContext

func NewPcloudPvminstancesVirtualserialnumberPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPostParams

NewPcloudPvminstancesVirtualserialnumberPostParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberPostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVirtualserialnumberPostParamsWithHTTPClient

func NewPcloudPvminstancesVirtualserialnumberPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPostParams

NewPcloudPvminstancesVirtualserialnumberPostParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVirtualserialnumberPostParamsWithTimeout

func NewPcloudPvminstancesVirtualserialnumberPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPostParams

NewPcloudPvminstancesVirtualserialnumberPostParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberPostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVirtualserialnumberPostParams) SetBody

SetBody adds the body to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) SetContext

SetContext adds the context to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) SetDefaults

SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber post params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesVirtualserialnumberPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) SetTimeout

SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) WithBody

WithBody adds the body to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) WithContext

WithContext adds the context to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber post params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber post params

func (*PcloudPvminstancesVirtualserialnumberPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVirtualserialnumberPostReader

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

PcloudPvminstancesVirtualserialnumberPostReader is a Reader for the PcloudPvminstancesVirtualserialnumberPost structure.

func (*PcloudPvminstancesVirtualserialnumberPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVirtualserialnumberPostUnauthorized

type PcloudPvminstancesVirtualserialnumberPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVirtualserialnumberPostUnauthorized

func NewPcloudPvminstancesVirtualserialnumberPostUnauthorized() *PcloudPvminstancesVirtualserialnumberPostUnauthorized

NewPcloudPvminstancesVirtualserialnumberPostUnauthorized creates a PcloudPvminstancesVirtualserialnumberPostUnauthorized with default headers values

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber post unauthorized response

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) Error

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber post unauthorized response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber post unauthorized response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPostUnauthorized) String

type PcloudPvminstancesVirtualserialnumberPutBadRequest

type PcloudPvminstancesVirtualserialnumberPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVirtualserialnumberPutBadRequest

func NewPcloudPvminstancesVirtualserialnumberPutBadRequest() *PcloudPvminstancesVirtualserialnumberPutBadRequest

NewPcloudPvminstancesVirtualserialnumberPutBadRequest creates a PcloudPvminstancesVirtualserialnumberPutBadRequest with default headers values

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber put bad request response

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) Error

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber put bad request response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber put bad request response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPutBadRequest) String

type PcloudPvminstancesVirtualserialnumberPutForbidden

type PcloudPvminstancesVirtualserialnumberPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVirtualserialnumberPutForbidden

func NewPcloudPvminstancesVirtualserialnumberPutForbidden() *PcloudPvminstancesVirtualserialnumberPutForbidden

NewPcloudPvminstancesVirtualserialnumberPutForbidden creates a PcloudPvminstancesVirtualserialnumberPutForbidden with default headers values

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber put forbidden response

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) Error

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber put forbidden response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber put forbidden response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPutForbidden) String

type PcloudPvminstancesVirtualserialnumberPutInternalServerError

type PcloudPvminstancesVirtualserialnumberPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVirtualserialnumberPutInternalServerError

func NewPcloudPvminstancesVirtualserialnumberPutInternalServerError() *PcloudPvminstancesVirtualserialnumberPutInternalServerError

NewPcloudPvminstancesVirtualserialnumberPutInternalServerError creates a PcloudPvminstancesVirtualserialnumberPutInternalServerError with default headers values

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber put internal server error response

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) Error

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber put internal server error response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber put internal server error response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPutInternalServerError) String

type PcloudPvminstancesVirtualserialnumberPutNotFound

type PcloudPvminstancesVirtualserialnumberPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVirtualserialnumberPutNotFound

func NewPcloudPvminstancesVirtualserialnumberPutNotFound() *PcloudPvminstancesVirtualserialnumberPutNotFound

NewPcloudPvminstancesVirtualserialnumberPutNotFound creates a PcloudPvminstancesVirtualserialnumberPutNotFound with default headers values

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber put not found response

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) Error

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber put not found response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber put not found response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber put not found response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber put not found response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber put not found response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPutNotFound) String

type PcloudPvminstancesVirtualserialnumberPutOK

type PcloudPvminstancesVirtualserialnumberPutOK struct {
	Payload *models.VirtualSerialNumber
}

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

OK

func NewPcloudPvminstancesVirtualserialnumberPutOK

func NewPcloudPvminstancesVirtualserialnumberPutOK() *PcloudPvminstancesVirtualserialnumberPutOK

NewPcloudPvminstancesVirtualserialnumberPutOK creates a PcloudPvminstancesVirtualserialnumberPutOK with default headers values

func (*PcloudPvminstancesVirtualserialnumberPutOK) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber put o k response

func (*PcloudPvminstancesVirtualserialnumberPutOK) Error

func (*PcloudPvminstancesVirtualserialnumberPutOK) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPutOK) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber put o k response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPutOK) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber put o k response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPutOK) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber put o k response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPutOK) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber put o k response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPutOK) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber put o k response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPutOK) String

type PcloudPvminstancesVirtualserialnumberPutParams

type PcloudPvminstancesVirtualserialnumberPutParams struct {

	/* Body.

	   Parameters to update a Virtual Serial Number description
	*/
	Body *models.UpdateServerVirtualSerialNumber

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

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

PcloudPvminstancesVirtualserialnumberPutParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances virtualserialnumber put operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVirtualserialnumberPutParams

func NewPcloudPvminstancesVirtualserialnumberPutParams() *PcloudPvminstancesVirtualserialnumberPutParams

NewPcloudPvminstancesVirtualserialnumberPutParams creates a new PcloudPvminstancesVirtualserialnumberPutParams 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 NewPcloudPvminstancesVirtualserialnumberPutParamsWithContext

func NewPcloudPvminstancesVirtualserialnumberPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVirtualserialnumberPutParams

NewPcloudPvminstancesVirtualserialnumberPutParamsWithContext creates a new PcloudPvminstancesVirtualserialnumberPutParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVirtualserialnumberPutParamsWithHTTPClient

func NewPcloudPvminstancesVirtualserialnumberPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVirtualserialnumberPutParams

NewPcloudPvminstancesVirtualserialnumberPutParamsWithHTTPClient creates a new PcloudPvminstancesVirtualserialnumberPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVirtualserialnumberPutParamsWithTimeout

func NewPcloudPvminstancesVirtualserialnumberPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVirtualserialnumberPutParams

NewPcloudPvminstancesVirtualserialnumberPutParamsWithTimeout creates a new PcloudPvminstancesVirtualserialnumberPutParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVirtualserialnumberPutParams) SetBody

SetBody adds the body to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) SetCloudInstanceID

func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) SetContext

SetContext adds the context to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) SetDefaults

SetDefaults hydrates default values in the pcloud pvminstances virtualserialnumber put params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberPutParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) SetPvmInstanceID

func (o *PcloudPvminstancesVirtualserialnumberPutParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) SetTimeout

SetTimeout adds the timeout to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) WithBody

WithBody adds the body to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) WithContext

WithContext adds the context to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances virtualserialnumber put params (not the query body).

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

func (*PcloudPvminstancesVirtualserialnumberPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances virtualserialnumber put params

func (*PcloudPvminstancesVirtualserialnumberPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVirtualserialnumberPutReader

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

PcloudPvminstancesVirtualserialnumberPutReader is a Reader for the PcloudPvminstancesVirtualserialnumberPut structure.

func (*PcloudPvminstancesVirtualserialnumberPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVirtualserialnumberPutUnauthorized

type PcloudPvminstancesVirtualserialnumberPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVirtualserialnumberPutUnauthorized

func NewPcloudPvminstancesVirtualserialnumberPutUnauthorized() *PcloudPvminstancesVirtualserialnumberPutUnauthorized

NewPcloudPvminstancesVirtualserialnumberPutUnauthorized creates a PcloudPvminstancesVirtualserialnumberPutUnauthorized with default headers values

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber put unauthorized response

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) Error

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber put unauthorized response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber put unauthorized response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnauthorized) String

type PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity

type PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesVirtualserialnumberPutUnprocessableEntity

func NewPcloudPvminstancesVirtualserialnumberPutUnprocessableEntity() *PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity

NewPcloudPvminstancesVirtualserialnumberPutUnprocessableEntity creates a PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity with default headers values

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances virtualserialnumber put unprocessable entity response

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) Error

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) GetPayload

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances virtualserialnumber put unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesVirtualserialnumberPutUnprocessableEntity) String

type PcloudVirtualserialnumberDeleteBadRequest

type PcloudVirtualserialnumberDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVirtualserialnumberDeleteBadRequest

func NewPcloudVirtualserialnumberDeleteBadRequest() *PcloudVirtualserialnumberDeleteBadRequest

NewPcloudVirtualserialnumberDeleteBadRequest creates a PcloudVirtualserialnumberDeleteBadRequest with default headers values

func (*PcloudVirtualserialnumberDeleteBadRequest) Code

Code gets the status code for the pcloud virtualserialnumber delete bad request response

func (*PcloudVirtualserialnumberDeleteBadRequest) Error

func (*PcloudVirtualserialnumberDeleteBadRequest) GetPayload

func (*PcloudVirtualserialnumberDeleteBadRequest) IsClientError

IsClientError returns true when this pcloud virtualserialnumber delete bad request response has a 4xx status code

func (*PcloudVirtualserialnumberDeleteBadRequest) IsCode

IsCode returns true when this pcloud virtualserialnumber delete bad request response a status code equal to that given

func (*PcloudVirtualserialnumberDeleteBadRequest) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber delete bad request response has a 3xx status code

func (*PcloudVirtualserialnumberDeleteBadRequest) IsServerError

IsServerError returns true when this pcloud virtualserialnumber delete bad request response has a 5xx status code

func (*PcloudVirtualserialnumberDeleteBadRequest) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber delete bad request response has a 2xx status code

func (*PcloudVirtualserialnumberDeleteBadRequest) String

type PcloudVirtualserialnumberDeleteForbidden

type PcloudVirtualserialnumberDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVirtualserialnumberDeleteForbidden

func NewPcloudVirtualserialnumberDeleteForbidden() *PcloudVirtualserialnumberDeleteForbidden

NewPcloudVirtualserialnumberDeleteForbidden creates a PcloudVirtualserialnumberDeleteForbidden with default headers values

func (*PcloudVirtualserialnumberDeleteForbidden) Code

Code gets the status code for the pcloud virtualserialnumber delete forbidden response

func (*PcloudVirtualserialnumberDeleteForbidden) Error

func (*PcloudVirtualserialnumberDeleteForbidden) GetPayload

func (*PcloudVirtualserialnumberDeleteForbidden) IsClientError

IsClientError returns true when this pcloud virtualserialnumber delete forbidden response has a 4xx status code

func (*PcloudVirtualserialnumberDeleteForbidden) IsCode

IsCode returns true when this pcloud virtualserialnumber delete forbidden response a status code equal to that given

func (*PcloudVirtualserialnumberDeleteForbidden) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber delete forbidden response has a 3xx status code

func (*PcloudVirtualserialnumberDeleteForbidden) IsServerError

IsServerError returns true when this pcloud virtualserialnumber delete forbidden response has a 5xx status code

func (*PcloudVirtualserialnumberDeleteForbidden) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber delete forbidden response has a 2xx status code

func (*PcloudVirtualserialnumberDeleteForbidden) String

type PcloudVirtualserialnumberDeleteGone

type PcloudVirtualserialnumberDeleteGone struct {
	Payload *models.Error
}

PcloudVirtualserialnumberDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudVirtualserialnumberDeleteGone

func NewPcloudVirtualserialnumberDeleteGone() *PcloudVirtualserialnumberDeleteGone

NewPcloudVirtualserialnumberDeleteGone creates a PcloudVirtualserialnumberDeleteGone with default headers values

func (*PcloudVirtualserialnumberDeleteGone) Code

Code gets the status code for the pcloud virtualserialnumber delete gone response

func (*PcloudVirtualserialnumberDeleteGone) Error

func (*PcloudVirtualserialnumberDeleteGone) GetPayload

func (*PcloudVirtualserialnumberDeleteGone) IsClientError

func (o *PcloudVirtualserialnumberDeleteGone) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber delete gone response has a 4xx status code

func (*PcloudVirtualserialnumberDeleteGone) IsCode

IsCode returns true when this pcloud virtualserialnumber delete gone response a status code equal to that given

func (*PcloudVirtualserialnumberDeleteGone) IsRedirect

func (o *PcloudVirtualserialnumberDeleteGone) IsRedirect() bool

IsRedirect returns true when this pcloud virtualserialnumber delete gone response has a 3xx status code

func (*PcloudVirtualserialnumberDeleteGone) IsServerError

func (o *PcloudVirtualserialnumberDeleteGone) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber delete gone response has a 5xx status code

func (*PcloudVirtualserialnumberDeleteGone) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber delete gone response has a 2xx status code

func (*PcloudVirtualserialnumberDeleteGone) String

type PcloudVirtualserialnumberDeleteInternalServerError

type PcloudVirtualserialnumberDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVirtualserialnumberDeleteInternalServerError

func NewPcloudVirtualserialnumberDeleteInternalServerError() *PcloudVirtualserialnumberDeleteInternalServerError

NewPcloudVirtualserialnumberDeleteInternalServerError creates a PcloudVirtualserialnumberDeleteInternalServerError with default headers values

func (*PcloudVirtualserialnumberDeleteInternalServerError) Code

Code gets the status code for the pcloud virtualserialnumber delete internal server error response

func (*PcloudVirtualserialnumberDeleteInternalServerError) Error

func (*PcloudVirtualserialnumberDeleteInternalServerError) GetPayload

func (*PcloudVirtualserialnumberDeleteInternalServerError) IsClientError

IsClientError returns true when this pcloud virtualserialnumber delete internal server error response has a 4xx status code

func (*PcloudVirtualserialnumberDeleteInternalServerError) IsCode

IsCode returns true when this pcloud virtualserialnumber delete internal server error response a status code equal to that given

func (*PcloudVirtualserialnumberDeleteInternalServerError) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber delete internal server error response has a 3xx status code

func (*PcloudVirtualserialnumberDeleteInternalServerError) IsServerError

IsServerError returns true when this pcloud virtualserialnumber delete internal server error response has a 5xx status code

func (*PcloudVirtualserialnumberDeleteInternalServerError) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber delete internal server error response has a 2xx status code

func (*PcloudVirtualserialnumberDeleteInternalServerError) String

type PcloudVirtualserialnumberDeleteNotFound

type PcloudVirtualserialnumberDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVirtualserialnumberDeleteNotFound

func NewPcloudVirtualserialnumberDeleteNotFound() *PcloudVirtualserialnumberDeleteNotFound

NewPcloudVirtualserialnumberDeleteNotFound creates a PcloudVirtualserialnumberDeleteNotFound with default headers values

func (*PcloudVirtualserialnumberDeleteNotFound) Code

Code gets the status code for the pcloud virtualserialnumber delete not found response

func (*PcloudVirtualserialnumberDeleteNotFound) Error

func (*PcloudVirtualserialnumberDeleteNotFound) GetPayload

func (*PcloudVirtualserialnumberDeleteNotFound) IsClientError

func (o *PcloudVirtualserialnumberDeleteNotFound) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber delete not found response has a 4xx status code

func (*PcloudVirtualserialnumberDeleteNotFound) IsCode

IsCode returns true when this pcloud virtualserialnumber delete not found response a status code equal to that given

func (*PcloudVirtualserialnumberDeleteNotFound) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber delete not found response has a 3xx status code

func (*PcloudVirtualserialnumberDeleteNotFound) IsServerError

func (o *PcloudVirtualserialnumberDeleteNotFound) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber delete not found response has a 5xx status code

func (*PcloudVirtualserialnumberDeleteNotFound) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber delete not found response has a 2xx status code

func (*PcloudVirtualserialnumberDeleteNotFound) String

type PcloudVirtualserialnumberDeleteOK

type PcloudVirtualserialnumberDeleteOK struct {
	Payload models.Object
}

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

OK

func NewPcloudVirtualserialnumberDeleteOK

func NewPcloudVirtualserialnumberDeleteOK() *PcloudVirtualserialnumberDeleteOK

NewPcloudVirtualserialnumberDeleteOK creates a PcloudVirtualserialnumberDeleteOK with default headers values

func (*PcloudVirtualserialnumberDeleteOK) Code

Code gets the status code for the pcloud virtualserialnumber delete o k response

func (*PcloudVirtualserialnumberDeleteOK) Error

func (*PcloudVirtualserialnumberDeleteOK) GetPayload

func (*PcloudVirtualserialnumberDeleteOK) IsClientError

func (o *PcloudVirtualserialnumberDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber delete o k response has a 4xx status code

func (*PcloudVirtualserialnumberDeleteOK) IsCode

func (o *PcloudVirtualserialnumberDeleteOK) IsCode(code int) bool

IsCode returns true when this pcloud virtualserialnumber delete o k response a status code equal to that given

func (*PcloudVirtualserialnumberDeleteOK) IsRedirect

func (o *PcloudVirtualserialnumberDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud virtualserialnumber delete o k response has a 3xx status code

func (*PcloudVirtualserialnumberDeleteOK) IsServerError

func (o *PcloudVirtualserialnumberDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber delete o k response has a 5xx status code

func (*PcloudVirtualserialnumberDeleteOK) IsSuccess

func (o *PcloudVirtualserialnumberDeleteOK) IsSuccess() bool

IsSuccess returns true when this pcloud virtualserialnumber delete o k response has a 2xx status code

func (*PcloudVirtualserialnumberDeleteOK) String

type PcloudVirtualserialnumberDeleteParams

type PcloudVirtualserialnumberDeleteParams struct {

	/* VirtualSerialNumber.

	   Virtual Serial Number
	*/
	VirtualSerialNumber string

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

PcloudVirtualserialnumberDeleteParams contains all the parameters to send to the API endpoint

for the pcloud virtualserialnumber delete operation.

Typically these are written to a http.Request.

func NewPcloudVirtualserialnumberDeleteParams

func NewPcloudVirtualserialnumberDeleteParams() *PcloudVirtualserialnumberDeleteParams

NewPcloudVirtualserialnumberDeleteParams creates a new PcloudVirtualserialnumberDeleteParams 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 NewPcloudVirtualserialnumberDeleteParamsWithContext

func NewPcloudVirtualserialnumberDeleteParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberDeleteParams

NewPcloudVirtualserialnumberDeleteParamsWithContext creates a new PcloudVirtualserialnumberDeleteParams object with the ability to set a context for a request.

func NewPcloudVirtualserialnumberDeleteParamsWithHTTPClient

func NewPcloudVirtualserialnumberDeleteParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberDeleteParams

NewPcloudVirtualserialnumberDeleteParamsWithHTTPClient creates a new PcloudVirtualserialnumberDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVirtualserialnumberDeleteParamsWithTimeout

func NewPcloudVirtualserialnumberDeleteParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberDeleteParams

NewPcloudVirtualserialnumberDeleteParamsWithTimeout creates a new PcloudVirtualserialnumberDeleteParams object with the ability to set a timeout on a request.

func (*PcloudVirtualserialnumberDeleteParams) SetContext

SetContext adds the context to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) SetDefaults

func (o *PcloudVirtualserialnumberDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud virtualserialnumber delete params (not the query body).

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

func (*PcloudVirtualserialnumberDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) SetTimeout

func (o *PcloudVirtualserialnumberDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) SetVirtualSerialNumber

func (o *PcloudVirtualserialnumberDeleteParams) SetVirtualSerialNumber(virtualSerialNumber string)

SetVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) WithContext

WithContext adds the context to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) WithDefaults

WithDefaults hydrates default values in the pcloud virtualserialnumber delete params (not the query body).

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

func (*PcloudVirtualserialnumberDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) WithVirtualSerialNumber

func (o *PcloudVirtualserialnumberDeleteParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberDeleteParams

WithVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber delete params

func (*PcloudVirtualserialnumberDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVirtualserialnumberDeleteReader

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

PcloudVirtualserialnumberDeleteReader is a Reader for the PcloudVirtualserialnumberDelete structure.

func (*PcloudVirtualserialnumberDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVirtualserialnumberDeleteUnauthorized

type PcloudVirtualserialnumberDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudVirtualserialnumberDeleteUnauthorized

func NewPcloudVirtualserialnumberDeleteUnauthorized() *PcloudVirtualserialnumberDeleteUnauthorized

NewPcloudVirtualserialnumberDeleteUnauthorized creates a PcloudVirtualserialnumberDeleteUnauthorized with default headers values

func (*PcloudVirtualserialnumberDeleteUnauthorized) Code

Code gets the status code for the pcloud virtualserialnumber delete unauthorized response

func (*PcloudVirtualserialnumberDeleteUnauthorized) Error

func (*PcloudVirtualserialnumberDeleteUnauthorized) GetPayload

func (*PcloudVirtualserialnumberDeleteUnauthorized) IsClientError

IsClientError returns true when this pcloud virtualserialnumber delete unauthorized response has a 4xx status code

func (*PcloudVirtualserialnumberDeleteUnauthorized) IsCode

IsCode returns true when this pcloud virtualserialnumber delete unauthorized response a status code equal to that given

func (*PcloudVirtualserialnumberDeleteUnauthorized) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber delete unauthorized response has a 3xx status code

func (*PcloudVirtualserialnumberDeleteUnauthorized) IsServerError

IsServerError returns true when this pcloud virtualserialnumber delete unauthorized response has a 5xx status code

func (*PcloudVirtualserialnumberDeleteUnauthorized) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber delete unauthorized response has a 2xx status code

func (*PcloudVirtualserialnumberDeleteUnauthorized) String

type PcloudVirtualserialnumberGetBadRequest

type PcloudVirtualserialnumberGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVirtualserialnumberGetBadRequest

func NewPcloudVirtualserialnumberGetBadRequest() *PcloudVirtualserialnumberGetBadRequest

NewPcloudVirtualserialnumberGetBadRequest creates a PcloudVirtualserialnumberGetBadRequest with default headers values

func (*PcloudVirtualserialnumberGetBadRequest) Code

Code gets the status code for the pcloud virtualserialnumber get bad request response

func (*PcloudVirtualserialnumberGetBadRequest) Error

func (*PcloudVirtualserialnumberGetBadRequest) GetPayload

func (*PcloudVirtualserialnumberGetBadRequest) IsClientError

func (o *PcloudVirtualserialnumberGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber get bad request response has a 4xx status code

func (*PcloudVirtualserialnumberGetBadRequest) IsCode

IsCode returns true when this pcloud virtualserialnumber get bad request response a status code equal to that given

func (*PcloudVirtualserialnumberGetBadRequest) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber get bad request response has a 3xx status code

func (*PcloudVirtualserialnumberGetBadRequest) IsServerError

func (o *PcloudVirtualserialnumberGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber get bad request response has a 5xx status code

func (*PcloudVirtualserialnumberGetBadRequest) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber get bad request response has a 2xx status code

func (*PcloudVirtualserialnumberGetBadRequest) String

type PcloudVirtualserialnumberGetForbidden

type PcloudVirtualserialnumberGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVirtualserialnumberGetForbidden

func NewPcloudVirtualserialnumberGetForbidden() *PcloudVirtualserialnumberGetForbidden

NewPcloudVirtualserialnumberGetForbidden creates a PcloudVirtualserialnumberGetForbidden with default headers values

func (*PcloudVirtualserialnumberGetForbidden) Code

Code gets the status code for the pcloud virtualserialnumber get forbidden response

func (*PcloudVirtualserialnumberGetForbidden) Error

func (*PcloudVirtualserialnumberGetForbidden) GetPayload

func (*PcloudVirtualserialnumberGetForbidden) IsClientError

func (o *PcloudVirtualserialnumberGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber get forbidden response has a 4xx status code

func (*PcloudVirtualserialnumberGetForbidden) IsCode

IsCode returns true when this pcloud virtualserialnumber get forbidden response a status code equal to that given

func (*PcloudVirtualserialnumberGetForbidden) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber get forbidden response has a 3xx status code

func (*PcloudVirtualserialnumberGetForbidden) IsServerError

func (o *PcloudVirtualserialnumberGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber get forbidden response has a 5xx status code

func (*PcloudVirtualserialnumberGetForbidden) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber get forbidden response has a 2xx status code

func (*PcloudVirtualserialnumberGetForbidden) String

type PcloudVirtualserialnumberGetInternalServerError

type PcloudVirtualserialnumberGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVirtualserialnumberGetInternalServerError

func NewPcloudVirtualserialnumberGetInternalServerError() *PcloudVirtualserialnumberGetInternalServerError

NewPcloudVirtualserialnumberGetInternalServerError creates a PcloudVirtualserialnumberGetInternalServerError with default headers values

func (*PcloudVirtualserialnumberGetInternalServerError) Code

Code gets the status code for the pcloud virtualserialnumber get internal server error response

func (*PcloudVirtualserialnumberGetInternalServerError) Error

func (*PcloudVirtualserialnumberGetInternalServerError) GetPayload

func (*PcloudVirtualserialnumberGetInternalServerError) IsClientError

IsClientError returns true when this pcloud virtualserialnumber get internal server error response has a 4xx status code

func (*PcloudVirtualserialnumberGetInternalServerError) IsCode

IsCode returns true when this pcloud virtualserialnumber get internal server error response a status code equal to that given

func (*PcloudVirtualserialnumberGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber get internal server error response has a 3xx status code

func (*PcloudVirtualserialnumberGetInternalServerError) IsServerError

IsServerError returns true when this pcloud virtualserialnumber get internal server error response has a 5xx status code

func (*PcloudVirtualserialnumberGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber get internal server error response has a 2xx status code

func (*PcloudVirtualserialnumberGetInternalServerError) String

type PcloudVirtualserialnumberGetNotFound

type PcloudVirtualserialnumberGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVirtualserialnumberGetNotFound

func NewPcloudVirtualserialnumberGetNotFound() *PcloudVirtualserialnumberGetNotFound

NewPcloudVirtualserialnumberGetNotFound creates a PcloudVirtualserialnumberGetNotFound with default headers values

func (*PcloudVirtualserialnumberGetNotFound) Code

Code gets the status code for the pcloud virtualserialnumber get not found response

func (*PcloudVirtualserialnumberGetNotFound) Error

func (*PcloudVirtualserialnumberGetNotFound) GetPayload

func (*PcloudVirtualserialnumberGetNotFound) IsClientError

func (o *PcloudVirtualserialnumberGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber get not found response has a 4xx status code

func (*PcloudVirtualserialnumberGetNotFound) IsCode

IsCode returns true when this pcloud virtualserialnumber get not found response a status code equal to that given

func (*PcloudVirtualserialnumberGetNotFound) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber get not found response has a 3xx status code

func (*PcloudVirtualserialnumberGetNotFound) IsServerError

func (o *PcloudVirtualserialnumberGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber get not found response has a 5xx status code

func (*PcloudVirtualserialnumberGetNotFound) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber get not found response has a 2xx status code

func (*PcloudVirtualserialnumberGetNotFound) String

type PcloudVirtualserialnumberGetOK

type PcloudVirtualserialnumberGetOK struct {
	Payload *models.VirtualSerialNumber
}

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

OK

func NewPcloudVirtualserialnumberGetOK

func NewPcloudVirtualserialnumberGetOK() *PcloudVirtualserialnumberGetOK

NewPcloudVirtualserialnumberGetOK creates a PcloudVirtualserialnumberGetOK with default headers values

func (*PcloudVirtualserialnumberGetOK) Code

Code gets the status code for the pcloud virtualserialnumber get o k response

func (*PcloudVirtualserialnumberGetOK) Error

func (*PcloudVirtualserialnumberGetOK) GetPayload

func (*PcloudVirtualserialnumberGetOK) IsClientError

func (o *PcloudVirtualserialnumberGetOK) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber get o k response has a 4xx status code

func (*PcloudVirtualserialnumberGetOK) IsCode

func (o *PcloudVirtualserialnumberGetOK) IsCode(code int) bool

IsCode returns true when this pcloud virtualserialnumber get o k response a status code equal to that given

func (*PcloudVirtualserialnumberGetOK) IsRedirect

func (o *PcloudVirtualserialnumberGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud virtualserialnumber get o k response has a 3xx status code

func (*PcloudVirtualserialnumberGetOK) IsServerError

func (o *PcloudVirtualserialnumberGetOK) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber get o k response has a 5xx status code

func (*PcloudVirtualserialnumberGetOK) IsSuccess

func (o *PcloudVirtualserialnumberGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud virtualserialnumber get o k response has a 2xx status code

func (*PcloudVirtualserialnumberGetOK) String

type PcloudVirtualserialnumberGetParams

type PcloudVirtualserialnumberGetParams struct {

	/* VirtualSerialNumber.

	   Virtual Serial Number
	*/
	VirtualSerialNumber string

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

PcloudVirtualserialnumberGetParams contains all the parameters to send to the API endpoint

for the pcloud virtualserialnumber get operation.

Typically these are written to a http.Request.

func NewPcloudVirtualserialnumberGetParams

func NewPcloudVirtualserialnumberGetParams() *PcloudVirtualserialnumberGetParams

NewPcloudVirtualserialnumberGetParams creates a new PcloudVirtualserialnumberGetParams 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 NewPcloudVirtualserialnumberGetParamsWithContext

func NewPcloudVirtualserialnumberGetParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberGetParams

NewPcloudVirtualserialnumberGetParamsWithContext creates a new PcloudVirtualserialnumberGetParams object with the ability to set a context for a request.

func NewPcloudVirtualserialnumberGetParamsWithHTTPClient

func NewPcloudVirtualserialnumberGetParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetParams

NewPcloudVirtualserialnumberGetParamsWithHTTPClient creates a new PcloudVirtualserialnumberGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVirtualserialnumberGetParamsWithTimeout

func NewPcloudVirtualserialnumberGetParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetParams

NewPcloudVirtualserialnumberGetParamsWithTimeout creates a new PcloudVirtualserialnumberGetParams object with the ability to set a timeout on a request.

func (*PcloudVirtualserialnumberGetParams) SetContext

SetContext adds the context to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) SetDefaults

func (o *PcloudVirtualserialnumberGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud virtualserialnumber get params (not the query body).

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

func (*PcloudVirtualserialnumberGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) SetTimeout

func (o *PcloudVirtualserialnumberGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) SetVirtualSerialNumber

func (o *PcloudVirtualserialnumberGetParams) SetVirtualSerialNumber(virtualSerialNumber string)

SetVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) WithContext

WithContext adds the context to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud virtualserialnumber get params (not the query body).

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

func (*PcloudVirtualserialnumberGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) WithVirtualSerialNumber

func (o *PcloudVirtualserialnumberGetParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberGetParams

WithVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber get params

func (*PcloudVirtualserialnumberGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVirtualserialnumberGetReader

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

PcloudVirtualserialnumberGetReader is a Reader for the PcloudVirtualserialnumberGet structure.

func (*PcloudVirtualserialnumberGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVirtualserialnumberGetUnauthorized

type PcloudVirtualserialnumberGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudVirtualserialnumberGetUnauthorized

func NewPcloudVirtualserialnumberGetUnauthorized() *PcloudVirtualserialnumberGetUnauthorized

NewPcloudVirtualserialnumberGetUnauthorized creates a PcloudVirtualserialnumberGetUnauthorized with default headers values

func (*PcloudVirtualserialnumberGetUnauthorized) Code

Code gets the status code for the pcloud virtualserialnumber get unauthorized response

func (*PcloudVirtualserialnumberGetUnauthorized) Error

func (*PcloudVirtualserialnumberGetUnauthorized) GetPayload

func (*PcloudVirtualserialnumberGetUnauthorized) IsClientError

IsClientError returns true when this pcloud virtualserialnumber get unauthorized response has a 4xx status code

func (*PcloudVirtualserialnumberGetUnauthorized) IsCode

IsCode returns true when this pcloud virtualserialnumber get unauthorized response a status code equal to that given

func (*PcloudVirtualserialnumberGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber get unauthorized response has a 3xx status code

func (*PcloudVirtualserialnumberGetUnauthorized) IsServerError

IsServerError returns true when this pcloud virtualserialnumber get unauthorized response has a 5xx status code

func (*PcloudVirtualserialnumberGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber get unauthorized response has a 2xx status code

func (*PcloudVirtualserialnumberGetUnauthorized) String

type PcloudVirtualserialnumberGetallBadRequest

type PcloudVirtualserialnumberGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVirtualserialnumberGetallBadRequest

func NewPcloudVirtualserialnumberGetallBadRequest() *PcloudVirtualserialnumberGetallBadRequest

NewPcloudVirtualserialnumberGetallBadRequest creates a PcloudVirtualserialnumberGetallBadRequest with default headers values

func (*PcloudVirtualserialnumberGetallBadRequest) Code

Code gets the status code for the pcloud virtualserialnumber getall bad request response

func (*PcloudVirtualserialnumberGetallBadRequest) Error

func (*PcloudVirtualserialnumberGetallBadRequest) GetPayload

func (*PcloudVirtualserialnumberGetallBadRequest) IsClientError

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

func (*PcloudVirtualserialnumberGetallBadRequest) IsCode

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

func (*PcloudVirtualserialnumberGetallBadRequest) IsRedirect

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

func (*PcloudVirtualserialnumberGetallBadRequest) IsServerError

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

func (*PcloudVirtualserialnumberGetallBadRequest) IsSuccess

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

func (*PcloudVirtualserialnumberGetallBadRequest) String

type PcloudVirtualserialnumberGetallForbidden

type PcloudVirtualserialnumberGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVirtualserialnumberGetallForbidden

func NewPcloudVirtualserialnumberGetallForbidden() *PcloudVirtualserialnumberGetallForbidden

NewPcloudVirtualserialnumberGetallForbidden creates a PcloudVirtualserialnumberGetallForbidden with default headers values

func (*PcloudVirtualserialnumberGetallForbidden) Code

Code gets the status code for the pcloud virtualserialnumber getall forbidden response

func (*PcloudVirtualserialnumberGetallForbidden) Error

func (*PcloudVirtualserialnumberGetallForbidden) GetPayload

func (*PcloudVirtualserialnumberGetallForbidden) IsClientError

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

func (*PcloudVirtualserialnumberGetallForbidden) IsCode

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

func (*PcloudVirtualserialnumberGetallForbidden) IsRedirect

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

func (*PcloudVirtualserialnumberGetallForbidden) IsServerError

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

func (*PcloudVirtualserialnumberGetallForbidden) IsSuccess

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

func (*PcloudVirtualserialnumberGetallForbidden) String

type PcloudVirtualserialnumberGetallInternalServerError

type PcloudVirtualserialnumberGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVirtualserialnumberGetallInternalServerError

func NewPcloudVirtualserialnumberGetallInternalServerError() *PcloudVirtualserialnumberGetallInternalServerError

NewPcloudVirtualserialnumberGetallInternalServerError creates a PcloudVirtualserialnumberGetallInternalServerError with default headers values

func (*PcloudVirtualserialnumberGetallInternalServerError) Code

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

func (*PcloudVirtualserialnumberGetallInternalServerError) Error

func (*PcloudVirtualserialnumberGetallInternalServerError) GetPayload

func (*PcloudVirtualserialnumberGetallInternalServerError) IsClientError

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

func (*PcloudVirtualserialnumberGetallInternalServerError) IsCode

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

func (*PcloudVirtualserialnumberGetallInternalServerError) IsRedirect

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

func (*PcloudVirtualserialnumberGetallInternalServerError) IsServerError

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

func (*PcloudVirtualserialnumberGetallInternalServerError) IsSuccess

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

func (*PcloudVirtualserialnumberGetallInternalServerError) String

type PcloudVirtualserialnumberGetallNotFound

type PcloudVirtualserialnumberGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVirtualserialnumberGetallNotFound

func NewPcloudVirtualserialnumberGetallNotFound() *PcloudVirtualserialnumberGetallNotFound

NewPcloudVirtualserialnumberGetallNotFound creates a PcloudVirtualserialnumberGetallNotFound with default headers values

func (*PcloudVirtualserialnumberGetallNotFound) Code

Code gets the status code for the pcloud virtualserialnumber getall not found response

func (*PcloudVirtualserialnumberGetallNotFound) Error

func (*PcloudVirtualserialnumberGetallNotFound) GetPayload

func (*PcloudVirtualserialnumberGetallNotFound) IsClientError

func (o *PcloudVirtualserialnumberGetallNotFound) IsClientError() bool

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

func (*PcloudVirtualserialnumberGetallNotFound) IsCode

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

func (*PcloudVirtualserialnumberGetallNotFound) IsRedirect

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

func (*PcloudVirtualserialnumberGetallNotFound) IsServerError

func (o *PcloudVirtualserialnumberGetallNotFound) IsServerError() bool

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

func (*PcloudVirtualserialnumberGetallNotFound) IsSuccess

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

func (*PcloudVirtualserialnumberGetallNotFound) String

type PcloudVirtualserialnumberGetallOK

type PcloudVirtualserialnumberGetallOK struct {
	Payload models.VirtualSerialNumberList
}

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

OK

func NewPcloudVirtualserialnumberGetallOK

func NewPcloudVirtualserialnumberGetallOK() *PcloudVirtualserialnumberGetallOK

NewPcloudVirtualserialnumberGetallOK creates a PcloudVirtualserialnumberGetallOK with default headers values

func (*PcloudVirtualserialnumberGetallOK) Code

Code gets the status code for the pcloud virtualserialnumber getall o k response

func (*PcloudVirtualserialnumberGetallOK) Error

func (*PcloudVirtualserialnumberGetallOK) GetPayload

func (*PcloudVirtualserialnumberGetallOK) IsClientError

func (o *PcloudVirtualserialnumberGetallOK) IsClientError() bool

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

func (*PcloudVirtualserialnumberGetallOK) IsCode

func (o *PcloudVirtualserialnumberGetallOK) IsCode(code int) bool

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

func (*PcloudVirtualserialnumberGetallOK) IsRedirect

func (o *PcloudVirtualserialnumberGetallOK) IsRedirect() bool

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

func (*PcloudVirtualserialnumberGetallOK) IsServerError

func (o *PcloudVirtualserialnumberGetallOK) IsServerError() bool

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

func (*PcloudVirtualserialnumberGetallOK) IsSuccess

func (o *PcloudVirtualserialnumberGetallOK) IsSuccess() bool

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

func (*PcloudVirtualserialnumberGetallOK) String

type PcloudVirtualserialnumberGetallParams

type PcloudVirtualserialnumberGetallParams struct {

	/* PvmInstanceID.

	   PVM Instance ID
	*/
	PvmInstanceID *string

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

PcloudVirtualserialnumberGetallParams contains all the parameters to send to the API endpoint

for the pcloud virtualserialnumber getall operation.

Typically these are written to a http.Request.

func NewPcloudVirtualserialnumberGetallParams

func NewPcloudVirtualserialnumberGetallParams() *PcloudVirtualserialnumberGetallParams

NewPcloudVirtualserialnumberGetallParams creates a new PcloudVirtualserialnumberGetallParams 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 NewPcloudVirtualserialnumberGetallParamsWithContext

func NewPcloudVirtualserialnumberGetallParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberGetallParams

NewPcloudVirtualserialnumberGetallParamsWithContext creates a new PcloudVirtualserialnumberGetallParams object with the ability to set a context for a request.

func NewPcloudVirtualserialnumberGetallParamsWithHTTPClient

func NewPcloudVirtualserialnumberGetallParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberGetallParams

NewPcloudVirtualserialnumberGetallParamsWithHTTPClient creates a new PcloudVirtualserialnumberGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVirtualserialnumberGetallParamsWithTimeout

func NewPcloudVirtualserialnumberGetallParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberGetallParams

NewPcloudVirtualserialnumberGetallParamsWithTimeout creates a new PcloudVirtualserialnumberGetallParams object with the ability to set a timeout on a request.

func (*PcloudVirtualserialnumberGetallParams) SetContext

SetContext adds the context to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) SetDefaults

func (o *PcloudVirtualserialnumberGetallParams) SetDefaults()

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

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

func (*PcloudVirtualserialnumberGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) SetPvmInstanceID

func (o *PcloudVirtualserialnumberGetallParams) SetPvmInstanceID(pvmInstanceID *string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) SetTimeout

func (o *PcloudVirtualserialnumberGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) WithContext

WithContext adds the context to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) WithDefaults

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

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

func (*PcloudVirtualserialnumberGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud virtualserialnumber getall params

func (*PcloudVirtualserialnumberGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVirtualserialnumberGetallReader

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

PcloudVirtualserialnumberGetallReader is a Reader for the PcloudVirtualserialnumberGetall structure.

func (*PcloudVirtualserialnumberGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVirtualserialnumberGetallUnauthorized

type PcloudVirtualserialnumberGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudVirtualserialnumberGetallUnauthorized

func NewPcloudVirtualserialnumberGetallUnauthorized() *PcloudVirtualserialnumberGetallUnauthorized

NewPcloudVirtualserialnumberGetallUnauthorized creates a PcloudVirtualserialnumberGetallUnauthorized with default headers values

func (*PcloudVirtualserialnumberGetallUnauthorized) Code

Code gets the status code for the pcloud virtualserialnumber getall unauthorized response

func (*PcloudVirtualserialnumberGetallUnauthorized) Error

func (*PcloudVirtualserialnumberGetallUnauthorized) GetPayload

func (*PcloudVirtualserialnumberGetallUnauthorized) IsClientError

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

func (*PcloudVirtualserialnumberGetallUnauthorized) IsCode

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

func (*PcloudVirtualserialnumberGetallUnauthorized) IsRedirect

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

func (*PcloudVirtualserialnumberGetallUnauthorized) IsServerError

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

func (*PcloudVirtualserialnumberGetallUnauthorized) IsSuccess

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

func (*PcloudVirtualserialnumberGetallUnauthorized) String

type PcloudVirtualserialnumberPutBadRequest

type PcloudVirtualserialnumberPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVirtualserialnumberPutBadRequest

func NewPcloudVirtualserialnumberPutBadRequest() *PcloudVirtualserialnumberPutBadRequest

NewPcloudVirtualserialnumberPutBadRequest creates a PcloudVirtualserialnumberPutBadRequest with default headers values

func (*PcloudVirtualserialnumberPutBadRequest) Code

Code gets the status code for the pcloud virtualserialnumber put bad request response

func (*PcloudVirtualserialnumberPutBadRequest) Error

func (*PcloudVirtualserialnumberPutBadRequest) GetPayload

func (*PcloudVirtualserialnumberPutBadRequest) IsClientError

func (o *PcloudVirtualserialnumberPutBadRequest) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber put bad request response has a 4xx status code

func (*PcloudVirtualserialnumberPutBadRequest) IsCode

IsCode returns true when this pcloud virtualserialnumber put bad request response a status code equal to that given

func (*PcloudVirtualserialnumberPutBadRequest) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber put bad request response has a 3xx status code

func (*PcloudVirtualserialnumberPutBadRequest) IsServerError

func (o *PcloudVirtualserialnumberPutBadRequest) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber put bad request response has a 5xx status code

func (*PcloudVirtualserialnumberPutBadRequest) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber put bad request response has a 2xx status code

func (*PcloudVirtualserialnumberPutBadRequest) String

type PcloudVirtualserialnumberPutForbidden

type PcloudVirtualserialnumberPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVirtualserialnumberPutForbidden

func NewPcloudVirtualserialnumberPutForbidden() *PcloudVirtualserialnumberPutForbidden

NewPcloudVirtualserialnumberPutForbidden creates a PcloudVirtualserialnumberPutForbidden with default headers values

func (*PcloudVirtualserialnumberPutForbidden) Code

Code gets the status code for the pcloud virtualserialnumber put forbidden response

func (*PcloudVirtualserialnumberPutForbidden) Error

func (*PcloudVirtualserialnumberPutForbidden) GetPayload

func (*PcloudVirtualserialnumberPutForbidden) IsClientError

func (o *PcloudVirtualserialnumberPutForbidden) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber put forbidden response has a 4xx status code

func (*PcloudVirtualserialnumberPutForbidden) IsCode

IsCode returns true when this pcloud virtualserialnumber put forbidden response a status code equal to that given

func (*PcloudVirtualserialnumberPutForbidden) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber put forbidden response has a 3xx status code

func (*PcloudVirtualserialnumberPutForbidden) IsServerError

func (o *PcloudVirtualserialnumberPutForbidden) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber put forbidden response has a 5xx status code

func (*PcloudVirtualserialnumberPutForbidden) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber put forbidden response has a 2xx status code

func (*PcloudVirtualserialnumberPutForbidden) String

type PcloudVirtualserialnumberPutGone

type PcloudVirtualserialnumberPutGone struct {
	Payload *models.Error
}

PcloudVirtualserialnumberPutGone describes a response with status code 410, with default header values.

Gone

func NewPcloudVirtualserialnumberPutGone

func NewPcloudVirtualserialnumberPutGone() *PcloudVirtualserialnumberPutGone

NewPcloudVirtualserialnumberPutGone creates a PcloudVirtualserialnumberPutGone with default headers values

func (*PcloudVirtualserialnumberPutGone) Code

Code gets the status code for the pcloud virtualserialnumber put gone response

func (*PcloudVirtualserialnumberPutGone) Error

func (*PcloudVirtualserialnumberPutGone) GetPayload

func (*PcloudVirtualserialnumberPutGone) IsClientError

func (o *PcloudVirtualserialnumberPutGone) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber put gone response has a 4xx status code

func (*PcloudVirtualserialnumberPutGone) IsCode

func (o *PcloudVirtualserialnumberPutGone) IsCode(code int) bool

IsCode returns true when this pcloud virtualserialnumber put gone response a status code equal to that given

func (*PcloudVirtualserialnumberPutGone) IsRedirect

func (o *PcloudVirtualserialnumberPutGone) IsRedirect() bool

IsRedirect returns true when this pcloud virtualserialnumber put gone response has a 3xx status code

func (*PcloudVirtualserialnumberPutGone) IsServerError

func (o *PcloudVirtualserialnumberPutGone) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber put gone response has a 5xx status code

func (*PcloudVirtualserialnumberPutGone) IsSuccess

func (o *PcloudVirtualserialnumberPutGone) IsSuccess() bool

IsSuccess returns true when this pcloud virtualserialnumber put gone response has a 2xx status code

func (*PcloudVirtualserialnumberPutGone) String

type PcloudVirtualserialnumberPutInternalServerError

type PcloudVirtualserialnumberPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVirtualserialnumberPutInternalServerError

func NewPcloudVirtualserialnumberPutInternalServerError() *PcloudVirtualserialnumberPutInternalServerError

NewPcloudVirtualserialnumberPutInternalServerError creates a PcloudVirtualserialnumberPutInternalServerError with default headers values

func (*PcloudVirtualserialnumberPutInternalServerError) Code

Code gets the status code for the pcloud virtualserialnumber put internal server error response

func (*PcloudVirtualserialnumberPutInternalServerError) Error

func (*PcloudVirtualserialnumberPutInternalServerError) GetPayload

func (*PcloudVirtualserialnumberPutInternalServerError) IsClientError

IsClientError returns true when this pcloud virtualserialnumber put internal server error response has a 4xx status code

func (*PcloudVirtualserialnumberPutInternalServerError) IsCode

IsCode returns true when this pcloud virtualserialnumber put internal server error response a status code equal to that given

func (*PcloudVirtualserialnumberPutInternalServerError) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber put internal server error response has a 3xx status code

func (*PcloudVirtualserialnumberPutInternalServerError) IsServerError

IsServerError returns true when this pcloud virtualserialnumber put internal server error response has a 5xx status code

func (*PcloudVirtualserialnumberPutInternalServerError) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber put internal server error response has a 2xx status code

func (*PcloudVirtualserialnumberPutInternalServerError) String

type PcloudVirtualserialnumberPutNotFound

type PcloudVirtualserialnumberPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVirtualserialnumberPutNotFound

func NewPcloudVirtualserialnumberPutNotFound() *PcloudVirtualserialnumberPutNotFound

NewPcloudVirtualserialnumberPutNotFound creates a PcloudVirtualserialnumberPutNotFound with default headers values

func (*PcloudVirtualserialnumberPutNotFound) Code

Code gets the status code for the pcloud virtualserialnumber put not found response

func (*PcloudVirtualserialnumberPutNotFound) Error

func (*PcloudVirtualserialnumberPutNotFound) GetPayload

func (*PcloudVirtualserialnumberPutNotFound) IsClientError

func (o *PcloudVirtualserialnumberPutNotFound) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber put not found response has a 4xx status code

func (*PcloudVirtualserialnumberPutNotFound) IsCode

IsCode returns true when this pcloud virtualserialnumber put not found response a status code equal to that given

func (*PcloudVirtualserialnumberPutNotFound) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber put not found response has a 3xx status code

func (*PcloudVirtualserialnumberPutNotFound) IsServerError

func (o *PcloudVirtualserialnumberPutNotFound) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber put not found response has a 5xx status code

func (*PcloudVirtualserialnumberPutNotFound) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber put not found response has a 2xx status code

func (*PcloudVirtualserialnumberPutNotFound) String

type PcloudVirtualserialnumberPutOK

type PcloudVirtualserialnumberPutOK struct {
	Payload *models.GetServerVirtualSerialNumber
}

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

OK

func NewPcloudVirtualserialnumberPutOK

func NewPcloudVirtualserialnumberPutOK() *PcloudVirtualserialnumberPutOK

NewPcloudVirtualserialnumberPutOK creates a PcloudVirtualserialnumberPutOK with default headers values

func (*PcloudVirtualserialnumberPutOK) Code

Code gets the status code for the pcloud virtualserialnumber put o k response

func (*PcloudVirtualserialnumberPutOK) Error

func (*PcloudVirtualserialnumberPutOK) GetPayload

func (*PcloudVirtualserialnumberPutOK) IsClientError

func (o *PcloudVirtualserialnumberPutOK) IsClientError() bool

IsClientError returns true when this pcloud virtualserialnumber put o k response has a 4xx status code

func (*PcloudVirtualserialnumberPutOK) IsCode

func (o *PcloudVirtualserialnumberPutOK) IsCode(code int) bool

IsCode returns true when this pcloud virtualserialnumber put o k response a status code equal to that given

func (*PcloudVirtualserialnumberPutOK) IsRedirect

func (o *PcloudVirtualserialnumberPutOK) IsRedirect() bool

IsRedirect returns true when this pcloud virtualserialnumber put o k response has a 3xx status code

func (*PcloudVirtualserialnumberPutOK) IsServerError

func (o *PcloudVirtualserialnumberPutOK) IsServerError() bool

IsServerError returns true when this pcloud virtualserialnumber put o k response has a 5xx status code

func (*PcloudVirtualserialnumberPutOK) IsSuccess

func (o *PcloudVirtualserialnumberPutOK) IsSuccess() bool

IsSuccess returns true when this pcloud virtualserialnumber put o k response has a 2xx status code

func (*PcloudVirtualserialnumberPutOK) String

type PcloudVirtualserialnumberPutParams

type PcloudVirtualserialnumberPutParams struct {

	/* Body.

	   Parameters to edit description of a reserved Virtual Serial Number
	*/
	Body *models.UpdateVirtualSerialNumber

	/* VirtualSerialNumber.

	   Virtual Serial Number
	*/
	VirtualSerialNumber string

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

PcloudVirtualserialnumberPutParams contains all the parameters to send to the API endpoint

for the pcloud virtualserialnumber put operation.

Typically these are written to a http.Request.

func NewPcloudVirtualserialnumberPutParams

func NewPcloudVirtualserialnumberPutParams() *PcloudVirtualserialnumberPutParams

NewPcloudVirtualserialnumberPutParams creates a new PcloudVirtualserialnumberPutParams 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 NewPcloudVirtualserialnumberPutParamsWithContext

func NewPcloudVirtualserialnumberPutParamsWithContext(ctx context.Context) *PcloudVirtualserialnumberPutParams

NewPcloudVirtualserialnumberPutParamsWithContext creates a new PcloudVirtualserialnumberPutParams object with the ability to set a context for a request.

func NewPcloudVirtualserialnumberPutParamsWithHTTPClient

func NewPcloudVirtualserialnumberPutParamsWithHTTPClient(client *http.Client) *PcloudVirtualserialnumberPutParams

NewPcloudVirtualserialnumberPutParamsWithHTTPClient creates a new PcloudVirtualserialnumberPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVirtualserialnumberPutParamsWithTimeout

func NewPcloudVirtualserialnumberPutParamsWithTimeout(timeout time.Duration) *PcloudVirtualserialnumberPutParams

NewPcloudVirtualserialnumberPutParamsWithTimeout creates a new PcloudVirtualserialnumberPutParams object with the ability to set a timeout on a request.

func (*PcloudVirtualserialnumberPutParams) SetBody

SetBody adds the body to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) SetContext

SetContext adds the context to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) SetDefaults

func (o *PcloudVirtualserialnumberPutParams) SetDefaults()

SetDefaults hydrates default values in the pcloud virtualserialnumber put params (not the query body).

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

func (*PcloudVirtualserialnumberPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) SetTimeout

func (o *PcloudVirtualserialnumberPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) SetVirtualSerialNumber

func (o *PcloudVirtualserialnumberPutParams) SetVirtualSerialNumber(virtualSerialNumber string)

SetVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) WithBody

WithBody adds the body to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) WithContext

WithContext adds the context to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) WithDefaults

WithDefaults hydrates default values in the pcloud virtualserialnumber put params (not the query body).

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

func (*PcloudVirtualserialnumberPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) WithVirtualSerialNumber

func (o *PcloudVirtualserialnumberPutParams) WithVirtualSerialNumber(virtualSerialNumber string) *PcloudVirtualserialnumberPutParams

WithVirtualSerialNumber adds the virtualSerialNumber to the pcloud virtualserialnumber put params

func (*PcloudVirtualserialnumberPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVirtualserialnumberPutReader

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

PcloudVirtualserialnumberPutReader is a Reader for the PcloudVirtualserialnumberPut structure.

func (*PcloudVirtualserialnumberPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVirtualserialnumberPutUnauthorized

type PcloudVirtualserialnumberPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudVirtualserialnumberPutUnauthorized

func NewPcloudVirtualserialnumberPutUnauthorized() *PcloudVirtualserialnumberPutUnauthorized

NewPcloudVirtualserialnumberPutUnauthorized creates a PcloudVirtualserialnumberPutUnauthorized with default headers values

func (*PcloudVirtualserialnumberPutUnauthorized) Code

Code gets the status code for the pcloud virtualserialnumber put unauthorized response

func (*PcloudVirtualserialnumberPutUnauthorized) Error

func (*PcloudVirtualserialnumberPutUnauthorized) GetPayload

func (*PcloudVirtualserialnumberPutUnauthorized) IsClientError

IsClientError returns true when this pcloud virtualserialnumber put unauthorized response has a 4xx status code

func (*PcloudVirtualserialnumberPutUnauthorized) IsCode

IsCode returns true when this pcloud virtualserialnumber put unauthorized response a status code equal to that given

func (*PcloudVirtualserialnumberPutUnauthorized) IsRedirect

IsRedirect returns true when this pcloud virtualserialnumber put unauthorized response has a 3xx status code

func (*PcloudVirtualserialnumberPutUnauthorized) IsServerError

IsServerError returns true when this pcloud virtualserialnumber put unauthorized response has a 5xx status code

func (*PcloudVirtualserialnumberPutUnauthorized) IsSuccess

IsSuccess returns true when this pcloud virtualserialnumber put unauthorized response has a 2xx status code

func (*PcloudVirtualserialnumberPutUnauthorized) String

Jump to

Keyboard shortcuts

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