p_cloud_volume_onboarding

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 10 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 is the option for 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.

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) Error

func (*PcloudVolumeOnboardingGetBadRequest) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetInternalServerError) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetNotFound) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetOK) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetUnauthorized) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetallBadRequest) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetallInternalServerError) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetallNotFound) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetallOK) GetPayload

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) Error

func (*PcloudVolumeOnboardingGetallUnauthorized) GetPayload

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) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostAccepted) GetPayload added in v1.1.10

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) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostBadRequest) GetPayload added in v1.1.10

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) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostConflict) GetPayload added in v1.1.10

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) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostForbidden) GetPayload added in v1.1.10

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) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostInternalServerError) GetPayload added in v1.1.10

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) Error added in v1.1.10

func (*PcloudVolumeOnboardingPostUnauthorized) GetPayload added in v1.1.10

Jump to

Keyboard shortcuts

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