p_cloud_virtual_serial_number

package
v1.8.0-beta7 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 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) PcloudCloudinstancesVirtualSerialNumberGetall

PcloudCloudinstancesVirtualSerialNumberGetall lists all retained v s ns this cloud instance

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	PcloudCloudinstancesVirtualSerialNumberGetall(params *PcloudCloudinstancesVirtualSerialNumberGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVirtualSerialNumberGetallOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new p cloud virtual serial number API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new p cloud virtual serial number API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new p cloud virtual serial number API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type PcloudCloudinstancesVirtualSerialNumberGetallBadRequest

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

Jump to

Keyboard shortcuts

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