p_cloud_volume_onboarding

package
v1.8.0-beta17 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 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 volume onboarding API

func (*Client) PcloudVolumeOnboardingGet

func (a *Client) PcloudVolumeOnboardingGet(params *PcloudVolumeOnboardingGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetOK, error)

PcloudVolumeOnboardingGet gets the information of volume onboarding operation

func (*Client) PcloudVolumeOnboardingGetall

func (a *Client) PcloudVolumeOnboardingGetall(params *PcloudVolumeOnboardingGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetallOK, error)

PcloudVolumeOnboardingGetall lists all volume onboardings for this cloud instance

func (*Client) PcloudVolumeOnboardingPost added in v1.1.10

PcloudVolumeOnboardingPost onboards auxiliary volumes to target site

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 {
	PcloudVolumeOnboardingGet(params *PcloudVolumeOnboardingGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetOK, error)

	PcloudVolumeOnboardingGetall(params *PcloudVolumeOnboardingGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetallOK, error)

	PcloudVolumeOnboardingPost(params *PcloudVolumeOnboardingPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingPostAccepted, 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 volume onboarding API client.

func NewClientWithBasicAuth added in v1.7.0

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

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

func NewClientWithBearerToken added in v1.7.0

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

New creates a new p cloud volume onboarding 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 PcloudVolumeOnboardingGetBadRequest

type PcloudVolumeOnboardingGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVolumeOnboardingGetBadRequest

func NewPcloudVolumeOnboardingGetBadRequest() *PcloudVolumeOnboardingGetBadRequest

NewPcloudVolumeOnboardingGetBadRequest creates a PcloudVolumeOnboardingGetBadRequest with default headers values

func (*PcloudVolumeOnboardingGetBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding get bad request response

func (*PcloudVolumeOnboardingGetBadRequest) Error

func (*PcloudVolumeOnboardingGetBadRequest) GetPayload

func (*PcloudVolumeOnboardingGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetBadRequest) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetBadRequest) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingGetBadRequest) IsRedirect() bool

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

func (*PcloudVolumeOnboardingGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetBadRequest) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetBadRequest) String added in v1.2.2

type PcloudVolumeOnboardingGetForbidden added in v1.2.2

type PcloudVolumeOnboardingGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVolumeOnboardingGetForbidden added in v1.2.2

func NewPcloudVolumeOnboardingGetForbidden() *PcloudVolumeOnboardingGetForbidden

NewPcloudVolumeOnboardingGetForbidden creates a PcloudVolumeOnboardingGetForbidden with default headers values

func (*PcloudVolumeOnboardingGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding get forbidden response

func (*PcloudVolumeOnboardingGetForbidden) Error added in v1.2.2

func (*PcloudVolumeOnboardingGetForbidden) GetPayload added in v1.2.2

func (*PcloudVolumeOnboardingGetForbidden) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetForbidden) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetForbidden) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetForbidden) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingGetForbidden) IsRedirect() bool

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

func (*PcloudVolumeOnboardingGetForbidden) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetForbidden) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetForbidden) String added in v1.2.2

type PcloudVolumeOnboardingGetInternalServerError

type PcloudVolumeOnboardingGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVolumeOnboardingGetInternalServerError

func NewPcloudVolumeOnboardingGetInternalServerError() *PcloudVolumeOnboardingGetInternalServerError

NewPcloudVolumeOnboardingGetInternalServerError creates a PcloudVolumeOnboardingGetInternalServerError with default headers values

func (*PcloudVolumeOnboardingGetInternalServerError) Code added in v1.2.4

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

func (*PcloudVolumeOnboardingGetInternalServerError) Error

func (*PcloudVolumeOnboardingGetInternalServerError) GetPayload

func (*PcloudVolumeOnboardingGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVolumeOnboardingGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVolumeOnboardingGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetInternalServerError) String added in v1.2.2

type PcloudVolumeOnboardingGetNotFound

type PcloudVolumeOnboardingGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVolumeOnboardingGetNotFound

func NewPcloudVolumeOnboardingGetNotFound() *PcloudVolumeOnboardingGetNotFound

NewPcloudVolumeOnboardingGetNotFound creates a PcloudVolumeOnboardingGetNotFound with default headers values

func (*PcloudVolumeOnboardingGetNotFound) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding get not found response

func (*PcloudVolumeOnboardingGetNotFound) Error

func (*PcloudVolumeOnboardingGetNotFound) GetPayload

func (*PcloudVolumeOnboardingGetNotFound) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetNotFound) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetNotFound) IsCode added in v1.2.2

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

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

func (*PcloudVolumeOnboardingGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingGetNotFound) IsRedirect() bool

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

func (*PcloudVolumeOnboardingGetNotFound) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetNotFound) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudVolumeOnboardingGetNotFound) IsSuccess() bool

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

func (*PcloudVolumeOnboardingGetNotFound) String added in v1.2.2

type PcloudVolumeOnboardingGetOK

type PcloudVolumeOnboardingGetOK struct {
	Payload *models.VolumeOnboarding
}

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

OK

func NewPcloudVolumeOnboardingGetOK

func NewPcloudVolumeOnboardingGetOK() *PcloudVolumeOnboardingGetOK

NewPcloudVolumeOnboardingGetOK creates a PcloudVolumeOnboardingGetOK with default headers values

func (*PcloudVolumeOnboardingGetOK) Code added in v1.2.4

func (o *PcloudVolumeOnboardingGetOK) Code() int

Code gets the status code for the pcloud volume onboarding get o k response

func (*PcloudVolumeOnboardingGetOK) Error

func (*PcloudVolumeOnboardingGetOK) GetPayload

func (*PcloudVolumeOnboardingGetOK) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetOK) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetOK) IsCode added in v1.2.2

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

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

func (*PcloudVolumeOnboardingGetOK) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingGetOK) IsRedirect() bool

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

func (*PcloudVolumeOnboardingGetOK) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetOK) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetOK) IsSuccess added in v1.2.2

func (o *PcloudVolumeOnboardingGetOK) IsSuccess() bool

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

func (*PcloudVolumeOnboardingGetOK) String added in v1.2.2

func (o *PcloudVolumeOnboardingGetOK) String() string

type PcloudVolumeOnboardingGetParams

type PcloudVolumeOnboardingGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeOnboardingID.

	   Indicates volume onboarding operation id
	*/
	VolumeOnboardingID string

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

PcloudVolumeOnboardingGetParams contains all the parameters to send to the API endpoint

for the pcloud volume onboarding get operation.

Typically these are written to a http.Request.

func NewPcloudVolumeOnboardingGetParams

func NewPcloudVolumeOnboardingGetParams() *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParams creates a new PcloudVolumeOnboardingGetParams 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 NewPcloudVolumeOnboardingGetParamsWithContext

func NewPcloudVolumeOnboardingGetParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParamsWithContext creates a new PcloudVolumeOnboardingGetParams object with the ability to set a context for a request.

func NewPcloudVolumeOnboardingGetParamsWithHTTPClient

func NewPcloudVolumeOnboardingGetParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParamsWithHTTPClient creates a new PcloudVolumeOnboardingGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVolumeOnboardingGetParamsWithTimeout

func NewPcloudVolumeOnboardingGetParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParamsWithTimeout creates a new PcloudVolumeOnboardingGetParams object with the ability to set a timeout on a request.

func (*PcloudVolumeOnboardingGetParams) SetCloudInstanceID

func (o *PcloudVolumeOnboardingGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetContext

func (o *PcloudVolumeOnboardingGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetDefaults

func (o *PcloudVolumeOnboardingGetParams) SetDefaults()

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

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

func (*PcloudVolumeOnboardingGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetVolumeOnboardingID

func (o *PcloudVolumeOnboardingGetParams) SetVolumeOnboardingID(volumeOnboardingID string)

SetVolumeOnboardingID adds the volumeOnboardingId to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithCloudInstanceID

func (o *PcloudVolumeOnboardingGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithContext

WithContext adds the context to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithDefaults

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

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

func (*PcloudVolumeOnboardingGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithVolumeOnboardingID

func (o *PcloudVolumeOnboardingGetParams) WithVolumeOnboardingID(volumeOnboardingID string) *PcloudVolumeOnboardingGetParams

WithVolumeOnboardingID adds the volumeOnboardingID to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVolumeOnboardingGetReader

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

PcloudVolumeOnboardingGetReader is a Reader for the PcloudVolumeOnboardingGet structure.

func (*PcloudVolumeOnboardingGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVolumeOnboardingGetUnauthorized

type PcloudVolumeOnboardingGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudVolumeOnboardingGetUnauthorized

func NewPcloudVolumeOnboardingGetUnauthorized() *PcloudVolumeOnboardingGetUnauthorized

NewPcloudVolumeOnboardingGetUnauthorized creates a PcloudVolumeOnboardingGetUnauthorized with default headers values

func (*PcloudVolumeOnboardingGetUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding get unauthorized response

func (*PcloudVolumeOnboardingGetUnauthorized) Error

func (*PcloudVolumeOnboardingGetUnauthorized) GetPayload

func (*PcloudVolumeOnboardingGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetUnauthorized) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetUnauthorized) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetUnauthorized) String added in v1.2.2

type PcloudVolumeOnboardingGetallBadRequest

type PcloudVolumeOnboardingGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVolumeOnboardingGetallBadRequest

func NewPcloudVolumeOnboardingGetallBadRequest() *PcloudVolumeOnboardingGetallBadRequest

NewPcloudVolumeOnboardingGetallBadRequest creates a PcloudVolumeOnboardingGetallBadRequest with default headers values

func (*PcloudVolumeOnboardingGetallBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding getall bad request response

func (*PcloudVolumeOnboardingGetallBadRequest) Error

func (*PcloudVolumeOnboardingGetallBadRequest) GetPayload

func (*PcloudVolumeOnboardingGetallBadRequest) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetallBadRequest) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetallBadRequest) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallBadRequest) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetallBadRequest) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetallBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallBadRequest) String added in v1.2.2

type PcloudVolumeOnboardingGetallForbidden added in v1.2.2

type PcloudVolumeOnboardingGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVolumeOnboardingGetallForbidden added in v1.2.2

func NewPcloudVolumeOnboardingGetallForbidden() *PcloudVolumeOnboardingGetallForbidden

NewPcloudVolumeOnboardingGetallForbidden creates a PcloudVolumeOnboardingGetallForbidden with default headers values

func (*PcloudVolumeOnboardingGetallForbidden) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding getall forbidden response

func (*PcloudVolumeOnboardingGetallForbidden) Error added in v1.2.2

func (*PcloudVolumeOnboardingGetallForbidden) GetPayload added in v1.2.2

func (*PcloudVolumeOnboardingGetallForbidden) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetallForbidden) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetallForbidden) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallForbidden) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallForbidden) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetallForbidden) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallForbidden) String added in v1.2.2

type PcloudVolumeOnboardingGetallInternalServerError

type PcloudVolumeOnboardingGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVolumeOnboardingGetallInternalServerError

func NewPcloudVolumeOnboardingGetallInternalServerError() *PcloudVolumeOnboardingGetallInternalServerError

NewPcloudVolumeOnboardingGetallInternalServerError creates a PcloudVolumeOnboardingGetallInternalServerError with default headers values

func (*PcloudVolumeOnboardingGetallInternalServerError) Code added in v1.2.4

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

func (*PcloudVolumeOnboardingGetallInternalServerError) Error

func (*PcloudVolumeOnboardingGetallInternalServerError) GetPayload

func (*PcloudVolumeOnboardingGetallInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallInternalServerError) String added in v1.2.2

type PcloudVolumeOnboardingGetallNotFound

type PcloudVolumeOnboardingGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVolumeOnboardingGetallNotFound

func NewPcloudVolumeOnboardingGetallNotFound() *PcloudVolumeOnboardingGetallNotFound

NewPcloudVolumeOnboardingGetallNotFound creates a PcloudVolumeOnboardingGetallNotFound with default headers values

func (*PcloudVolumeOnboardingGetallNotFound) Code added in v1.4.2

Code gets the status code for the pcloud volume onboarding getall not found response

func (*PcloudVolumeOnboardingGetallNotFound) Error

func (*PcloudVolumeOnboardingGetallNotFound) GetPayload

func (*PcloudVolumeOnboardingGetallNotFound) IsClientError added in v1.4.2

func (o *PcloudVolumeOnboardingGetallNotFound) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetallNotFound) IsCode added in v1.4.2

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

func (*PcloudVolumeOnboardingGetallNotFound) IsRedirect added in v1.4.2

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

func (*PcloudVolumeOnboardingGetallNotFound) IsServerError added in v1.4.2

func (o *PcloudVolumeOnboardingGetallNotFound) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetallNotFound) IsSuccess added in v1.4.2

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

func (*PcloudVolumeOnboardingGetallNotFound) String added in v1.4.2

type PcloudVolumeOnboardingGetallOK

type PcloudVolumeOnboardingGetallOK struct {
	Payload *models.VolumeOnboardings
}

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

OK

func NewPcloudVolumeOnboardingGetallOK

func NewPcloudVolumeOnboardingGetallOK() *PcloudVolumeOnboardingGetallOK

NewPcloudVolumeOnboardingGetallOK creates a PcloudVolumeOnboardingGetallOK with default headers values

func (*PcloudVolumeOnboardingGetallOK) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding getall o k response

func (*PcloudVolumeOnboardingGetallOK) Error

func (*PcloudVolumeOnboardingGetallOK) GetPayload

func (*PcloudVolumeOnboardingGetallOK) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingGetallOK) IsClientError() bool

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

func (*PcloudVolumeOnboardingGetallOK) IsCode added in v1.2.2

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

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

func (*PcloudVolumeOnboardingGetallOK) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingGetallOK) IsRedirect() bool

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

func (*PcloudVolumeOnboardingGetallOK) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingGetallOK) IsServerError() bool

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

func (*PcloudVolumeOnboardingGetallOK) IsSuccess added in v1.2.2

func (o *PcloudVolumeOnboardingGetallOK) IsSuccess() bool

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

func (*PcloudVolumeOnboardingGetallOK) String added in v1.2.2

type PcloudVolumeOnboardingGetallParams

type PcloudVolumeOnboardingGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudVolumeOnboardingGetallParams contains all the parameters to send to the API endpoint

for the pcloud volume onboarding getall operation.

Typically these are written to a http.Request.

func NewPcloudVolumeOnboardingGetallParams

func NewPcloudVolumeOnboardingGetallParams() *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParams creates a new PcloudVolumeOnboardingGetallParams 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 NewPcloudVolumeOnboardingGetallParamsWithContext

func NewPcloudVolumeOnboardingGetallParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParamsWithContext creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a context for a request.

func NewPcloudVolumeOnboardingGetallParamsWithHTTPClient

func NewPcloudVolumeOnboardingGetallParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParamsWithHTTPClient creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVolumeOnboardingGetallParamsWithTimeout

func NewPcloudVolumeOnboardingGetallParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParamsWithTimeout creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a timeout on a request.

func (*PcloudVolumeOnboardingGetallParams) SetCloudInstanceID

func (o *PcloudVolumeOnboardingGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) SetContext

SetContext adds the context to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) SetDefaults

func (o *PcloudVolumeOnboardingGetallParams) SetDefaults()

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

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

func (*PcloudVolumeOnboardingGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithCloudInstanceID

func (o *PcloudVolumeOnboardingGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithContext

WithContext adds the context to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithDefaults

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

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

func (*PcloudVolumeOnboardingGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVolumeOnboardingGetallReader

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

PcloudVolumeOnboardingGetallReader is a Reader for the PcloudVolumeOnboardingGetall structure.

func (*PcloudVolumeOnboardingGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVolumeOnboardingGetallUnauthorized

type PcloudVolumeOnboardingGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudVolumeOnboardingGetallUnauthorized

func NewPcloudVolumeOnboardingGetallUnauthorized() *PcloudVolumeOnboardingGetallUnauthorized

NewPcloudVolumeOnboardingGetallUnauthorized creates a PcloudVolumeOnboardingGetallUnauthorized with default headers values

func (*PcloudVolumeOnboardingGetallUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding getall unauthorized response

func (*PcloudVolumeOnboardingGetallUnauthorized) Error

func (*PcloudVolumeOnboardingGetallUnauthorized) GetPayload

func (*PcloudVolumeOnboardingGetallUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingGetallUnauthorized) String added in v1.2.2

type PcloudVolumeOnboardingPostAccepted added in v1.1.10

type PcloudVolumeOnboardingPostAccepted struct {
	Payload *models.VolumeOnboardingCreateResponse
}

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

Accepted

func NewPcloudVolumeOnboardingPostAccepted added in v1.1.10

func NewPcloudVolumeOnboardingPostAccepted() *PcloudVolumeOnboardingPostAccepted

NewPcloudVolumeOnboardingPostAccepted creates a PcloudVolumeOnboardingPostAccepted with default headers values

func (*PcloudVolumeOnboardingPostAccepted) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding post accepted response

func (*PcloudVolumeOnboardingPostAccepted) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostAccepted) GetPayload added in v1.1.10

func (*PcloudVolumeOnboardingPostAccepted) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud volume onboarding post accepted response has a 4xx status code

func (*PcloudVolumeOnboardingPostAccepted) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingPostAccepted) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingPostAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud volume onboarding post accepted response has a 3xx status code

func (*PcloudVolumeOnboardingPostAccepted) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud volume onboarding post accepted response has a 5xx status code

func (*PcloudVolumeOnboardingPostAccepted) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud volume onboarding post accepted response has a 2xx status code

func (*PcloudVolumeOnboardingPostAccepted) String added in v1.2.2

type PcloudVolumeOnboardingPostBadRequest added in v1.1.10

type PcloudVolumeOnboardingPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVolumeOnboardingPostBadRequest added in v1.1.10

func NewPcloudVolumeOnboardingPostBadRequest() *PcloudVolumeOnboardingPostBadRequest

NewPcloudVolumeOnboardingPostBadRequest creates a PcloudVolumeOnboardingPostBadRequest with default headers values

func (*PcloudVolumeOnboardingPostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding post bad request response

func (*PcloudVolumeOnboardingPostBadRequest) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostBadRequest) GetPayload added in v1.1.10

func (*PcloudVolumeOnboardingPostBadRequest) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingPostBadRequest) IsClientError() bool

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

func (*PcloudVolumeOnboardingPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingPostBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingPostBadRequest) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingPostBadRequest) IsServerError() bool

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

func (*PcloudVolumeOnboardingPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingPostBadRequest) String added in v1.2.2

type PcloudVolumeOnboardingPostConflict added in v1.1.10

type PcloudVolumeOnboardingPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudVolumeOnboardingPostConflict added in v1.1.10

func NewPcloudVolumeOnboardingPostConflict() *PcloudVolumeOnboardingPostConflict

NewPcloudVolumeOnboardingPostConflict creates a PcloudVolumeOnboardingPostConflict with default headers values

func (*PcloudVolumeOnboardingPostConflict) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding post conflict response

func (*PcloudVolumeOnboardingPostConflict) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostConflict) GetPayload added in v1.1.10

func (*PcloudVolumeOnboardingPostConflict) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingPostConflict) IsClientError() bool

IsClientError returns true when this pcloud volume onboarding post conflict response has a 4xx status code

func (*PcloudVolumeOnboardingPostConflict) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingPostConflict) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingPostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud volume onboarding post conflict response has a 3xx status code

func (*PcloudVolumeOnboardingPostConflict) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingPostConflict) IsServerError() bool

IsServerError returns true when this pcloud volume onboarding post conflict response has a 5xx status code

func (*PcloudVolumeOnboardingPostConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud volume onboarding post conflict response has a 2xx status code

func (*PcloudVolumeOnboardingPostConflict) String added in v1.2.2

type PcloudVolumeOnboardingPostForbidden added in v1.1.10

type PcloudVolumeOnboardingPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVolumeOnboardingPostForbidden added in v1.1.10

func NewPcloudVolumeOnboardingPostForbidden() *PcloudVolumeOnboardingPostForbidden

NewPcloudVolumeOnboardingPostForbidden creates a PcloudVolumeOnboardingPostForbidden with default headers values

func (*PcloudVolumeOnboardingPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding post forbidden response

func (*PcloudVolumeOnboardingPostForbidden) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostForbidden) GetPayload added in v1.1.10

func (*PcloudVolumeOnboardingPostForbidden) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud volume onboarding post forbidden response has a 4xx status code

func (*PcloudVolumeOnboardingPostForbidden) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingPostForbidden) IsRedirect added in v1.2.2

func (o *PcloudVolumeOnboardingPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud volume onboarding post forbidden response has a 3xx status code

func (*PcloudVolumeOnboardingPostForbidden) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud volume onboarding post forbidden response has a 5xx status code

func (*PcloudVolumeOnboardingPostForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud volume onboarding post forbidden response has a 2xx status code

func (*PcloudVolumeOnboardingPostForbidden) String added in v1.2.2

type PcloudVolumeOnboardingPostInternalServerError added in v1.1.10

type PcloudVolumeOnboardingPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVolumeOnboardingPostInternalServerError added in v1.1.10

func NewPcloudVolumeOnboardingPostInternalServerError() *PcloudVolumeOnboardingPostInternalServerError

NewPcloudVolumeOnboardingPostInternalServerError creates a PcloudVolumeOnboardingPostInternalServerError with default headers values

func (*PcloudVolumeOnboardingPostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding post internal server error response

func (*PcloudVolumeOnboardingPostInternalServerError) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostInternalServerError) GetPayload added in v1.1.10

func (*PcloudVolumeOnboardingPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVolumeOnboardingPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVolumeOnboardingPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVolumeOnboardingPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVolumeOnboardingPostInternalServerError) String added in v1.2.2

type PcloudVolumeOnboardingPostNotFound added in v1.4.2

type PcloudVolumeOnboardingPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVolumeOnboardingPostNotFound added in v1.4.2

func NewPcloudVolumeOnboardingPostNotFound() *PcloudVolumeOnboardingPostNotFound

NewPcloudVolumeOnboardingPostNotFound creates a PcloudVolumeOnboardingPostNotFound with default headers values

func (*PcloudVolumeOnboardingPostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud volume onboarding post not found response

func (*PcloudVolumeOnboardingPostNotFound) Error added in v1.4.2

func (*PcloudVolumeOnboardingPostNotFound) GetPayload added in v1.4.2

func (*PcloudVolumeOnboardingPostNotFound) IsClientError added in v1.4.2

func (o *PcloudVolumeOnboardingPostNotFound) IsClientError() bool

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

func (*PcloudVolumeOnboardingPostNotFound) IsCode added in v1.4.2

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

func (*PcloudVolumeOnboardingPostNotFound) IsRedirect added in v1.4.2

func (o *PcloudVolumeOnboardingPostNotFound) IsRedirect() bool

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

func (*PcloudVolumeOnboardingPostNotFound) IsServerError added in v1.4.2

func (o *PcloudVolumeOnboardingPostNotFound) IsServerError() bool

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

func (*PcloudVolumeOnboardingPostNotFound) IsSuccess added in v1.4.2

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

func (*PcloudVolumeOnboardingPostNotFound) String added in v1.4.2

type PcloudVolumeOnboardingPostParams added in v1.1.10

type PcloudVolumeOnboardingPostParams struct {

	/* Body.

	   Parameters for the creation of volume onboarding
	*/
	Body *models.VolumeOnboardingCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudVolumeOnboardingPostParams contains all the parameters to send to the API endpoint

for the pcloud volume onboarding post operation.

Typically these are written to a http.Request.

func NewPcloudVolumeOnboardingPostParams added in v1.1.10

func NewPcloudVolumeOnboardingPostParams() *PcloudVolumeOnboardingPostParams

NewPcloudVolumeOnboardingPostParams creates a new PcloudVolumeOnboardingPostParams 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 NewPcloudVolumeOnboardingPostParamsWithContext added in v1.1.10

func NewPcloudVolumeOnboardingPostParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingPostParams

NewPcloudVolumeOnboardingPostParamsWithContext creates a new PcloudVolumeOnboardingPostParams object with the ability to set a context for a request.

func NewPcloudVolumeOnboardingPostParamsWithHTTPClient added in v1.1.10

func NewPcloudVolumeOnboardingPostParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingPostParams

NewPcloudVolumeOnboardingPostParamsWithHTTPClient creates a new PcloudVolumeOnboardingPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVolumeOnboardingPostParamsWithTimeout added in v1.1.10

func NewPcloudVolumeOnboardingPostParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingPostParams

NewPcloudVolumeOnboardingPostParamsWithTimeout creates a new PcloudVolumeOnboardingPostParams object with the ability to set a timeout on a request.

func (*PcloudVolumeOnboardingPostParams) SetBody added in v1.1.10

SetBody adds the body to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) SetCloudInstanceID added in v1.1.10

func (o *PcloudVolumeOnboardingPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) SetContext added in v1.1.10

SetContext adds the context to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) SetDefaults added in v1.1.10

func (o *PcloudVolumeOnboardingPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud volume onboarding post params (not the query body).

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

func (*PcloudVolumeOnboardingPostParams) SetHTTPClient added in v1.1.10

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

SetHTTPClient adds the HTTPClient to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) SetTimeout added in v1.1.10

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

SetTimeout adds the timeout to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) WithBody added in v1.1.10

WithBody adds the body to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) WithCloudInstanceID added in v1.1.10

func (o *PcloudVolumeOnboardingPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) WithContext added in v1.1.10

WithContext adds the context to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) WithDefaults added in v1.1.10

WithDefaults hydrates default values in the pcloud volume onboarding post params (not the query body).

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

func (*PcloudVolumeOnboardingPostParams) WithHTTPClient added in v1.1.10

WithHTTPClient adds the HTTPClient to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) WithTimeout added in v1.1.10

WithTimeout adds the timeout to the pcloud volume onboarding post params

func (*PcloudVolumeOnboardingPostParams) WriteToRequest added in v1.1.10

WriteToRequest writes these params to a swagger request

type PcloudVolumeOnboardingPostReader added in v1.1.10

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

PcloudVolumeOnboardingPostReader is a Reader for the PcloudVolumeOnboardingPost structure.

func (*PcloudVolumeOnboardingPostReader) ReadResponse added in v1.1.10

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

ReadResponse reads a server response into the received o.

type PcloudVolumeOnboardingPostUnauthorized added in v1.1.10

type PcloudVolumeOnboardingPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudVolumeOnboardingPostUnauthorized added in v1.1.10

func NewPcloudVolumeOnboardingPostUnauthorized() *PcloudVolumeOnboardingPostUnauthorized

NewPcloudVolumeOnboardingPostUnauthorized creates a PcloudVolumeOnboardingPostUnauthorized with default headers values

func (*PcloudVolumeOnboardingPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud volume onboarding post unauthorized response

func (*PcloudVolumeOnboardingPostUnauthorized) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostUnauthorized) GetPayload added in v1.1.10

func (*PcloudVolumeOnboardingPostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVolumeOnboardingPostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud volume onboarding post unauthorized response has a 4xx status code

func (*PcloudVolumeOnboardingPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVolumeOnboardingPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud volume onboarding post unauthorized response has a 3xx status code

func (*PcloudVolumeOnboardingPostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVolumeOnboardingPostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud volume onboarding post unauthorized response has a 5xx status code

func (*PcloudVolumeOnboardingPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud volume onboarding post unauthorized response has a 2xx status code

func (*PcloudVolumeOnboardingPostUnauthorized) String added in v1.2.2

Jump to

Keyboard shortcuts

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