p_cloud_v_p_n_connections

package
v1.0.82 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

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 v p n connections API

func New

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

New creates a new p cloud v p n connections API client.

func (*Client) PcloudVpnconnectionsDelete

PcloudVpnconnectionsDelete deletes v p n connection

Delete VPN Connection (by its identifier)

func (*Client) PcloudVpnconnectionsGet

func (a *Client) PcloudVpnconnectionsGet(params *PcloudVpnconnectionsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudVpnconnectionsGetOK, error)

PcloudVpnconnectionsGet gets v p n connection

Get a VPN Connection

func (*Client) PcloudVpnconnectionsGetall

func (a *Client) PcloudVpnconnectionsGetall(params *PcloudVpnconnectionsGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudVpnconnectionsGetallOK, error)

PcloudVpnconnectionsGetall gets all v p n connections

Get all VPN Connections

func (*Client) PcloudVpnconnectionsNetworksDelete

PcloudVpnconnectionsNetworksDelete detaches network

Detach network from a specific VPN Connection

func (*Client) PcloudVpnconnectionsNetworksGet

func (a *Client) PcloudVpnconnectionsNetworksGet(params *PcloudVpnconnectionsNetworksGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudVpnconnectionsNetworksGetOK, error)

PcloudVpnconnectionsNetworksGet gets attached networks

Get a list of network IDs attached to a VPN Connection

func (*Client) PcloudVpnconnectionsNetworksPut

PcloudVpnconnectionsNetworksPut attaches network

Attach a network to a VPN Connection

func (*Client) PcloudVpnconnectionsPeersubnetsDelete

PcloudVpnconnectionsPeersubnetsDelete detaches peer subnet

Detach peer subnet from a VPN Connection

func (*Client) PcloudVpnconnectionsPeersubnetsGet

PcloudVpnconnectionsPeersubnetsGet gets peer subnets

Get a list of peer subnets attached to a specific VPN Connection

func (*Client) PcloudVpnconnectionsPeersubnetsPut

PcloudVpnconnectionsPeersubnetsPut attaches peer subnet

Attach peer subnet to a VPN Connection

func (*Client) PcloudVpnconnectionsPost

PcloudVpnconnectionsPost creates v p n connection

Create a new VPN Connection

func (*Client) PcloudVpnconnectionsPut

func (a *Client) PcloudVpnconnectionsPut(params *PcloudVpnconnectionsPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudVpnconnectionsPutOK, error)

PcloudVpnconnectionsPut updates v p n connection

update a VPN Connection (by its identifier)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PcloudVpnconnectionsDeleteAccepted added in v1.0.76

type PcloudVpnconnectionsDeleteAccepted struct {
	Payload *models.JobReference
}

PcloudVpnconnectionsDeleteAccepted handles this case with default header values.

Accepted

func NewPcloudVpnconnectionsDeleteAccepted added in v1.0.76

func NewPcloudVpnconnectionsDeleteAccepted() *PcloudVpnconnectionsDeleteAccepted

NewPcloudVpnconnectionsDeleteAccepted creates a PcloudVpnconnectionsDeleteAccepted with default headers values

func (*PcloudVpnconnectionsDeleteAccepted) Error added in v1.0.76

type PcloudVpnconnectionsDeleteBadRequest

type PcloudVpnconnectionsDeleteBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsDeleteBadRequest

func NewPcloudVpnconnectionsDeleteBadRequest() *PcloudVpnconnectionsDeleteBadRequest

NewPcloudVpnconnectionsDeleteBadRequest creates a PcloudVpnconnectionsDeleteBadRequest with default headers values

func (*PcloudVpnconnectionsDeleteBadRequest) Error

type PcloudVpnconnectionsDeleteForbidden

type PcloudVpnconnectionsDeleteForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsDeleteForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsDeleteForbidden

func NewPcloudVpnconnectionsDeleteForbidden() *PcloudVpnconnectionsDeleteForbidden

NewPcloudVpnconnectionsDeleteForbidden creates a PcloudVpnconnectionsDeleteForbidden with default headers values

func (*PcloudVpnconnectionsDeleteForbidden) Error

type PcloudVpnconnectionsDeleteInternalServerError

type PcloudVpnconnectionsDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsDeleteInternalServerError

func NewPcloudVpnconnectionsDeleteInternalServerError() *PcloudVpnconnectionsDeleteInternalServerError

NewPcloudVpnconnectionsDeleteInternalServerError creates a PcloudVpnconnectionsDeleteInternalServerError with default headers values

func (*PcloudVpnconnectionsDeleteInternalServerError) Error

type PcloudVpnconnectionsDeleteNotFound added in v1.0.76

type PcloudVpnconnectionsDeleteNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsDeleteNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsDeleteNotFound added in v1.0.76

func NewPcloudVpnconnectionsDeleteNotFound() *PcloudVpnconnectionsDeleteNotFound

NewPcloudVpnconnectionsDeleteNotFound creates a PcloudVpnconnectionsDeleteNotFound with default headers values

func (*PcloudVpnconnectionsDeleteNotFound) Error added in v1.0.76

type PcloudVpnconnectionsDeleteParams

type PcloudVpnconnectionsDeleteParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsDeleteParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections delete operation typically these are written to a http.Request

func NewPcloudVpnconnectionsDeleteParams

func NewPcloudVpnconnectionsDeleteParams() *PcloudVpnconnectionsDeleteParams

NewPcloudVpnconnectionsDeleteParams creates a new PcloudVpnconnectionsDeleteParams object with the default values initialized.

func NewPcloudVpnconnectionsDeleteParamsWithContext

func NewPcloudVpnconnectionsDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsDeleteParams

NewPcloudVpnconnectionsDeleteParamsWithContext creates a new PcloudVpnconnectionsDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsDeleteParamsWithHTTPClient

func NewPcloudVpnconnectionsDeleteParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsDeleteParams

NewPcloudVpnconnectionsDeleteParamsWithHTTPClient creates a new PcloudVpnconnectionsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsDeleteParamsWithTimeout

func NewPcloudVpnconnectionsDeleteParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsDeleteParams

NewPcloudVpnconnectionsDeleteParamsWithTimeout creates a new PcloudVpnconnectionsDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsDeleteParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) SetContext

SetContext adds the context to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsDeleteParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) WithContext

WithContext adds the context to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) WithVpnConnectionID

func (o *PcloudVpnconnectionsDeleteParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsDeleteParams

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections delete params

func (*PcloudVpnconnectionsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsDeleteReader

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

PcloudVpnconnectionsDeleteReader is a Reader for the PcloudVpnconnectionsDelete structure.

func (*PcloudVpnconnectionsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsDeleteUnauthorized

type PcloudVpnconnectionsDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsDeleteUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsDeleteUnauthorized

func NewPcloudVpnconnectionsDeleteUnauthorized() *PcloudVpnconnectionsDeleteUnauthorized

NewPcloudVpnconnectionsDeleteUnauthorized creates a PcloudVpnconnectionsDeleteUnauthorized with default headers values

func (*PcloudVpnconnectionsDeleteUnauthorized) Error

type PcloudVpnconnectionsGetBadRequest

type PcloudVpnconnectionsGetBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsGetBadRequest

func NewPcloudVpnconnectionsGetBadRequest() *PcloudVpnconnectionsGetBadRequest

NewPcloudVpnconnectionsGetBadRequest creates a PcloudVpnconnectionsGetBadRequest with default headers values

func (*PcloudVpnconnectionsGetBadRequest) Error

type PcloudVpnconnectionsGetForbidden

type PcloudVpnconnectionsGetForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsGetForbidden

func NewPcloudVpnconnectionsGetForbidden() *PcloudVpnconnectionsGetForbidden

NewPcloudVpnconnectionsGetForbidden creates a PcloudVpnconnectionsGetForbidden with default headers values

func (*PcloudVpnconnectionsGetForbidden) Error

type PcloudVpnconnectionsGetInternalServerError

type PcloudVpnconnectionsGetInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsGetInternalServerError

func NewPcloudVpnconnectionsGetInternalServerError() *PcloudVpnconnectionsGetInternalServerError

NewPcloudVpnconnectionsGetInternalServerError creates a PcloudVpnconnectionsGetInternalServerError with default headers values

func (*PcloudVpnconnectionsGetInternalServerError) Error

type PcloudVpnconnectionsGetNotFound added in v1.0.76

type PcloudVpnconnectionsGetNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsGetNotFound added in v1.0.76

func NewPcloudVpnconnectionsGetNotFound() *PcloudVpnconnectionsGetNotFound

NewPcloudVpnconnectionsGetNotFound creates a PcloudVpnconnectionsGetNotFound with default headers values

func (*PcloudVpnconnectionsGetNotFound) Error added in v1.0.76

type PcloudVpnconnectionsGetOK

type PcloudVpnconnectionsGetOK struct {
	Payload *models.VPNConnection
}

PcloudVpnconnectionsGetOK handles this case with default header values.

OK

func NewPcloudVpnconnectionsGetOK

func NewPcloudVpnconnectionsGetOK() *PcloudVpnconnectionsGetOK

NewPcloudVpnconnectionsGetOK creates a PcloudVpnconnectionsGetOK with default headers values

func (*PcloudVpnconnectionsGetOK) Error

func (o *PcloudVpnconnectionsGetOK) Error() string

type PcloudVpnconnectionsGetParams

type PcloudVpnconnectionsGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsGetParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections get operation typically these are written to a http.Request

func NewPcloudVpnconnectionsGetParams

func NewPcloudVpnconnectionsGetParams() *PcloudVpnconnectionsGetParams

NewPcloudVpnconnectionsGetParams creates a new PcloudVpnconnectionsGetParams object with the default values initialized.

func NewPcloudVpnconnectionsGetParamsWithContext

func NewPcloudVpnconnectionsGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsGetParams

NewPcloudVpnconnectionsGetParamsWithContext creates a new PcloudVpnconnectionsGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsGetParamsWithHTTPClient

func NewPcloudVpnconnectionsGetParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetParams

NewPcloudVpnconnectionsGetParamsWithHTTPClient creates a new PcloudVpnconnectionsGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsGetParamsWithTimeout

func NewPcloudVpnconnectionsGetParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetParams

NewPcloudVpnconnectionsGetParamsWithTimeout creates a new PcloudVpnconnectionsGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsGetParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) SetContext

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

SetContext adds the context to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsGetParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) WithContext

WithContext adds the context to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) WithVpnConnectionID

func (o *PcloudVpnconnectionsGetParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsGetParams

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections get params

func (*PcloudVpnconnectionsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsGetReader

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

PcloudVpnconnectionsGetReader is a Reader for the PcloudVpnconnectionsGet structure.

func (*PcloudVpnconnectionsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsGetUnauthorized

type PcloudVpnconnectionsGetUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsGetUnauthorized

func NewPcloudVpnconnectionsGetUnauthorized() *PcloudVpnconnectionsGetUnauthorized

NewPcloudVpnconnectionsGetUnauthorized creates a PcloudVpnconnectionsGetUnauthorized with default headers values

func (*PcloudVpnconnectionsGetUnauthorized) Error

type PcloudVpnconnectionsGetUnprocessableEntity

type PcloudVpnconnectionsGetUnprocessableEntity struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudVpnconnectionsGetUnprocessableEntity

func NewPcloudVpnconnectionsGetUnprocessableEntity() *PcloudVpnconnectionsGetUnprocessableEntity

NewPcloudVpnconnectionsGetUnprocessableEntity creates a PcloudVpnconnectionsGetUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsGetUnprocessableEntity) Error

type PcloudVpnconnectionsGetallBadRequest

type PcloudVpnconnectionsGetallBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsGetallBadRequest

func NewPcloudVpnconnectionsGetallBadRequest() *PcloudVpnconnectionsGetallBadRequest

NewPcloudVpnconnectionsGetallBadRequest creates a PcloudVpnconnectionsGetallBadRequest with default headers values

func (*PcloudVpnconnectionsGetallBadRequest) Error

type PcloudVpnconnectionsGetallForbidden

type PcloudVpnconnectionsGetallForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetallForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsGetallForbidden

func NewPcloudVpnconnectionsGetallForbidden() *PcloudVpnconnectionsGetallForbidden

NewPcloudVpnconnectionsGetallForbidden creates a PcloudVpnconnectionsGetallForbidden with default headers values

func (*PcloudVpnconnectionsGetallForbidden) Error

type PcloudVpnconnectionsGetallInternalServerError

type PcloudVpnconnectionsGetallInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsGetallInternalServerError

func NewPcloudVpnconnectionsGetallInternalServerError() *PcloudVpnconnectionsGetallInternalServerError

NewPcloudVpnconnectionsGetallInternalServerError creates a PcloudVpnconnectionsGetallInternalServerError with default headers values

func (*PcloudVpnconnectionsGetallInternalServerError) Error

type PcloudVpnconnectionsGetallNotFound

type PcloudVpnconnectionsGetallNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetallNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsGetallNotFound

func NewPcloudVpnconnectionsGetallNotFound() *PcloudVpnconnectionsGetallNotFound

NewPcloudVpnconnectionsGetallNotFound creates a PcloudVpnconnectionsGetallNotFound with default headers values

func (*PcloudVpnconnectionsGetallNotFound) Error

type PcloudVpnconnectionsGetallOK

type PcloudVpnconnectionsGetallOK struct {
	Payload *models.VPNConnections
}

PcloudVpnconnectionsGetallOK handles this case with default header values.

OK

func NewPcloudVpnconnectionsGetallOK

func NewPcloudVpnconnectionsGetallOK() *PcloudVpnconnectionsGetallOK

NewPcloudVpnconnectionsGetallOK creates a PcloudVpnconnectionsGetallOK with default headers values

func (*PcloudVpnconnectionsGetallOK) Error

type PcloudVpnconnectionsGetallParams

type PcloudVpnconnectionsGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudVpnconnectionsGetallParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections getall operation typically these are written to a http.Request

func NewPcloudVpnconnectionsGetallParams

func NewPcloudVpnconnectionsGetallParams() *PcloudVpnconnectionsGetallParams

NewPcloudVpnconnectionsGetallParams creates a new PcloudVpnconnectionsGetallParams object with the default values initialized.

func NewPcloudVpnconnectionsGetallParamsWithContext

func NewPcloudVpnconnectionsGetallParamsWithContext(ctx context.Context) *PcloudVpnconnectionsGetallParams

NewPcloudVpnconnectionsGetallParamsWithContext creates a new PcloudVpnconnectionsGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsGetallParamsWithHTTPClient

func NewPcloudVpnconnectionsGetallParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetallParams

NewPcloudVpnconnectionsGetallParamsWithHTTPClient creates a new PcloudVpnconnectionsGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsGetallParamsWithTimeout

func NewPcloudVpnconnectionsGetallParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetallParams

NewPcloudVpnconnectionsGetallParamsWithTimeout creates a new PcloudVpnconnectionsGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsGetallParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) SetContext

SetContext adds the context to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) WithContext

WithContext adds the context to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections getall params

func (*PcloudVpnconnectionsGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsGetallReader

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

PcloudVpnconnectionsGetallReader is a Reader for the PcloudVpnconnectionsGetall structure.

func (*PcloudVpnconnectionsGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsGetallUnauthorized

type PcloudVpnconnectionsGetallUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetallUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsGetallUnauthorized

func NewPcloudVpnconnectionsGetallUnauthorized() *PcloudVpnconnectionsGetallUnauthorized

NewPcloudVpnconnectionsGetallUnauthorized creates a PcloudVpnconnectionsGetallUnauthorized with default headers values

func (*PcloudVpnconnectionsGetallUnauthorized) Error

type PcloudVpnconnectionsNetworksDeleteAccepted added in v1.0.76

type PcloudVpnconnectionsNetworksDeleteAccepted struct {
	Payload *models.JobReference
}

PcloudVpnconnectionsNetworksDeleteAccepted handles this case with default header values.

Accepted

func NewPcloudVpnconnectionsNetworksDeleteAccepted added in v1.0.76

func NewPcloudVpnconnectionsNetworksDeleteAccepted() *PcloudVpnconnectionsNetworksDeleteAccepted

NewPcloudVpnconnectionsNetworksDeleteAccepted creates a PcloudVpnconnectionsNetworksDeleteAccepted with default headers values

func (*PcloudVpnconnectionsNetworksDeleteAccepted) Error added in v1.0.76

type PcloudVpnconnectionsNetworksDeleteBadRequest

type PcloudVpnconnectionsNetworksDeleteBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsNetworksDeleteBadRequest

func NewPcloudVpnconnectionsNetworksDeleteBadRequest() *PcloudVpnconnectionsNetworksDeleteBadRequest

NewPcloudVpnconnectionsNetworksDeleteBadRequest creates a PcloudVpnconnectionsNetworksDeleteBadRequest with default headers values

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) Error

type PcloudVpnconnectionsNetworksDeleteForbidden

type PcloudVpnconnectionsNetworksDeleteForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksDeleteForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsNetworksDeleteForbidden

func NewPcloudVpnconnectionsNetworksDeleteForbidden() *PcloudVpnconnectionsNetworksDeleteForbidden

NewPcloudVpnconnectionsNetworksDeleteForbidden creates a PcloudVpnconnectionsNetworksDeleteForbidden with default headers values

func (*PcloudVpnconnectionsNetworksDeleteForbidden) Error

type PcloudVpnconnectionsNetworksDeleteInternalServerError

type PcloudVpnconnectionsNetworksDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsNetworksDeleteInternalServerError

func NewPcloudVpnconnectionsNetworksDeleteInternalServerError() *PcloudVpnconnectionsNetworksDeleteInternalServerError

NewPcloudVpnconnectionsNetworksDeleteInternalServerError creates a PcloudVpnconnectionsNetworksDeleteInternalServerError with default headers values

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) Error

type PcloudVpnconnectionsNetworksDeleteNotFound added in v1.0.76

type PcloudVpnconnectionsNetworksDeleteNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksDeleteNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsNetworksDeleteNotFound added in v1.0.76

func NewPcloudVpnconnectionsNetworksDeleteNotFound() *PcloudVpnconnectionsNetworksDeleteNotFound

NewPcloudVpnconnectionsNetworksDeleteNotFound creates a PcloudVpnconnectionsNetworksDeleteNotFound with default headers values

func (*PcloudVpnconnectionsNetworksDeleteNotFound) Error added in v1.0.76

type PcloudVpnconnectionsNetworksDeleteParams

type PcloudVpnconnectionsNetworksDeleteParams struct {

	/*Body
	  network to detach

	*/
	Body *models.NetworkID
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsNetworksDeleteParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections networks delete operation typically these are written to a http.Request

func NewPcloudVpnconnectionsNetworksDeleteParams

func NewPcloudVpnconnectionsNetworksDeleteParams() *PcloudVpnconnectionsNetworksDeleteParams

NewPcloudVpnconnectionsNetworksDeleteParams creates a new PcloudVpnconnectionsNetworksDeleteParams object with the default values initialized.

func NewPcloudVpnconnectionsNetworksDeleteParamsWithContext

func NewPcloudVpnconnectionsNetworksDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksDeleteParams

NewPcloudVpnconnectionsNetworksDeleteParamsWithContext creates a new PcloudVpnconnectionsNetworksDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsNetworksDeleteParamsWithHTTPClient

func NewPcloudVpnconnectionsNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksDeleteParams

NewPcloudVpnconnectionsNetworksDeleteParamsWithHTTPClient creates a new PcloudVpnconnectionsNetworksDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsNetworksDeleteParamsWithTimeout

func NewPcloudVpnconnectionsNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksDeleteParams

NewPcloudVpnconnectionsNetworksDeleteParamsWithTimeout creates a new PcloudVpnconnectionsNetworksDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsNetworksDeleteParams) SetBody

SetBody adds the body to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) SetContext

SetContext adds the context to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) SetTimeout

SetTimeout adds the timeout to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsNetworksDeleteParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) WithBody

WithBody adds the body to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) WithContext

WithContext adds the context to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) WithVpnConnectionID

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections networks delete params

func (*PcloudVpnconnectionsNetworksDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsNetworksDeleteReader

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

PcloudVpnconnectionsNetworksDeleteReader is a Reader for the PcloudVpnconnectionsNetworksDelete structure.

func (*PcloudVpnconnectionsNetworksDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsNetworksDeleteUnauthorized

type PcloudVpnconnectionsNetworksDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksDeleteUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsNetworksDeleteUnauthorized

func NewPcloudVpnconnectionsNetworksDeleteUnauthorized() *PcloudVpnconnectionsNetworksDeleteUnauthorized

NewPcloudVpnconnectionsNetworksDeleteUnauthorized creates a PcloudVpnconnectionsNetworksDeleteUnauthorized with default headers values

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) Error

type PcloudVpnconnectionsNetworksDeleteUnprocessableEntity

type PcloudVpnconnectionsNetworksDeleteUnprocessableEntity struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksDeleteUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudVpnconnectionsNetworksDeleteUnprocessableEntity

func NewPcloudVpnconnectionsNetworksDeleteUnprocessableEntity() *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity

NewPcloudVpnconnectionsNetworksDeleteUnprocessableEntity creates a PcloudVpnconnectionsNetworksDeleteUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Error

type PcloudVpnconnectionsNetworksGetBadRequest

type PcloudVpnconnectionsNetworksGetBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsNetworksGetBadRequest

func NewPcloudVpnconnectionsNetworksGetBadRequest() *PcloudVpnconnectionsNetworksGetBadRequest

NewPcloudVpnconnectionsNetworksGetBadRequest creates a PcloudVpnconnectionsNetworksGetBadRequest with default headers values

func (*PcloudVpnconnectionsNetworksGetBadRequest) Error

type PcloudVpnconnectionsNetworksGetForbidden

type PcloudVpnconnectionsNetworksGetForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksGetForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsNetworksGetForbidden

func NewPcloudVpnconnectionsNetworksGetForbidden() *PcloudVpnconnectionsNetworksGetForbidden

NewPcloudVpnconnectionsNetworksGetForbidden creates a PcloudVpnconnectionsNetworksGetForbidden with default headers values

func (*PcloudVpnconnectionsNetworksGetForbidden) Error

type PcloudVpnconnectionsNetworksGetInternalServerError

type PcloudVpnconnectionsNetworksGetInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsNetworksGetInternalServerError

func NewPcloudVpnconnectionsNetworksGetInternalServerError() *PcloudVpnconnectionsNetworksGetInternalServerError

NewPcloudVpnconnectionsNetworksGetInternalServerError creates a PcloudVpnconnectionsNetworksGetInternalServerError with default headers values

func (*PcloudVpnconnectionsNetworksGetInternalServerError) Error

type PcloudVpnconnectionsNetworksGetNotFound

type PcloudVpnconnectionsNetworksGetNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksGetNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsNetworksGetNotFound

func NewPcloudVpnconnectionsNetworksGetNotFound() *PcloudVpnconnectionsNetworksGetNotFound

NewPcloudVpnconnectionsNetworksGetNotFound creates a PcloudVpnconnectionsNetworksGetNotFound with default headers values

func (*PcloudVpnconnectionsNetworksGetNotFound) Error

type PcloudVpnconnectionsNetworksGetOK

type PcloudVpnconnectionsNetworksGetOK struct {
	Payload *models.NetworkIds
}

PcloudVpnconnectionsNetworksGetOK handles this case with default header values.

OK

func NewPcloudVpnconnectionsNetworksGetOK

func NewPcloudVpnconnectionsNetworksGetOK() *PcloudVpnconnectionsNetworksGetOK

NewPcloudVpnconnectionsNetworksGetOK creates a PcloudVpnconnectionsNetworksGetOK with default headers values

func (*PcloudVpnconnectionsNetworksGetOK) Error

type PcloudVpnconnectionsNetworksGetParams

type PcloudVpnconnectionsNetworksGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsNetworksGetParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections networks get operation typically these are written to a http.Request

func NewPcloudVpnconnectionsNetworksGetParams

func NewPcloudVpnconnectionsNetworksGetParams() *PcloudVpnconnectionsNetworksGetParams

NewPcloudVpnconnectionsNetworksGetParams creates a new PcloudVpnconnectionsNetworksGetParams object with the default values initialized.

func NewPcloudVpnconnectionsNetworksGetParamsWithContext

func NewPcloudVpnconnectionsNetworksGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksGetParams

NewPcloudVpnconnectionsNetworksGetParamsWithContext creates a new PcloudVpnconnectionsNetworksGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsNetworksGetParamsWithHTTPClient

func NewPcloudVpnconnectionsNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksGetParams

NewPcloudVpnconnectionsNetworksGetParamsWithHTTPClient creates a new PcloudVpnconnectionsNetworksGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsNetworksGetParamsWithTimeout

func NewPcloudVpnconnectionsNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksGetParams

NewPcloudVpnconnectionsNetworksGetParamsWithTimeout creates a new PcloudVpnconnectionsNetworksGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsNetworksGetParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) SetContext

SetContext adds the context to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsNetworksGetParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) WithContext

WithContext adds the context to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) WithVpnConnectionID

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections networks get params

func (*PcloudVpnconnectionsNetworksGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsNetworksGetReader

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

PcloudVpnconnectionsNetworksGetReader is a Reader for the PcloudVpnconnectionsNetworksGet structure.

func (*PcloudVpnconnectionsNetworksGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsNetworksGetUnauthorized

type PcloudVpnconnectionsNetworksGetUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsNetworksGetUnauthorized

func NewPcloudVpnconnectionsNetworksGetUnauthorized() *PcloudVpnconnectionsNetworksGetUnauthorized

NewPcloudVpnconnectionsNetworksGetUnauthorized creates a PcloudVpnconnectionsNetworksGetUnauthorized with default headers values

func (*PcloudVpnconnectionsNetworksGetUnauthorized) Error

type PcloudVpnconnectionsNetworksPutAccepted added in v1.0.76

type PcloudVpnconnectionsNetworksPutAccepted struct {
	Payload *models.JobReference
}

PcloudVpnconnectionsNetworksPutAccepted handles this case with default header values.

Accepted

func NewPcloudVpnconnectionsNetworksPutAccepted added in v1.0.76

func NewPcloudVpnconnectionsNetworksPutAccepted() *PcloudVpnconnectionsNetworksPutAccepted

NewPcloudVpnconnectionsNetworksPutAccepted creates a PcloudVpnconnectionsNetworksPutAccepted with default headers values

func (*PcloudVpnconnectionsNetworksPutAccepted) Error added in v1.0.76

type PcloudVpnconnectionsNetworksPutBadRequest

type PcloudVpnconnectionsNetworksPutBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsNetworksPutBadRequest

func NewPcloudVpnconnectionsNetworksPutBadRequest() *PcloudVpnconnectionsNetworksPutBadRequest

NewPcloudVpnconnectionsNetworksPutBadRequest creates a PcloudVpnconnectionsNetworksPutBadRequest with default headers values

func (*PcloudVpnconnectionsNetworksPutBadRequest) Error

type PcloudVpnconnectionsNetworksPutForbidden

type PcloudVpnconnectionsNetworksPutForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksPutForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsNetworksPutForbidden

func NewPcloudVpnconnectionsNetworksPutForbidden() *PcloudVpnconnectionsNetworksPutForbidden

NewPcloudVpnconnectionsNetworksPutForbidden creates a PcloudVpnconnectionsNetworksPutForbidden with default headers values

func (*PcloudVpnconnectionsNetworksPutForbidden) Error

type PcloudVpnconnectionsNetworksPutInternalServerError

type PcloudVpnconnectionsNetworksPutInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsNetworksPutInternalServerError

func NewPcloudVpnconnectionsNetworksPutInternalServerError() *PcloudVpnconnectionsNetworksPutInternalServerError

NewPcloudVpnconnectionsNetworksPutInternalServerError creates a PcloudVpnconnectionsNetworksPutInternalServerError with default headers values

func (*PcloudVpnconnectionsNetworksPutInternalServerError) Error

type PcloudVpnconnectionsNetworksPutNotFound added in v1.0.76

type PcloudVpnconnectionsNetworksPutNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksPutNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsNetworksPutNotFound added in v1.0.76

func NewPcloudVpnconnectionsNetworksPutNotFound() *PcloudVpnconnectionsNetworksPutNotFound

NewPcloudVpnconnectionsNetworksPutNotFound creates a PcloudVpnconnectionsNetworksPutNotFound with default headers values

func (*PcloudVpnconnectionsNetworksPutNotFound) Error added in v1.0.76

type PcloudVpnconnectionsNetworksPutParams

type PcloudVpnconnectionsNetworksPutParams struct {

	/*Body
	  network to attach

	*/
	Body *models.NetworkID
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsNetworksPutParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections networks put operation typically these are written to a http.Request

func NewPcloudVpnconnectionsNetworksPutParams

func NewPcloudVpnconnectionsNetworksPutParams() *PcloudVpnconnectionsNetworksPutParams

NewPcloudVpnconnectionsNetworksPutParams creates a new PcloudVpnconnectionsNetworksPutParams object with the default values initialized.

func NewPcloudVpnconnectionsNetworksPutParamsWithContext

func NewPcloudVpnconnectionsNetworksPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksPutParams

NewPcloudVpnconnectionsNetworksPutParamsWithContext creates a new PcloudVpnconnectionsNetworksPutParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsNetworksPutParamsWithHTTPClient

func NewPcloudVpnconnectionsNetworksPutParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksPutParams

NewPcloudVpnconnectionsNetworksPutParamsWithHTTPClient creates a new PcloudVpnconnectionsNetworksPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsNetworksPutParamsWithTimeout

func NewPcloudVpnconnectionsNetworksPutParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksPutParams

NewPcloudVpnconnectionsNetworksPutParamsWithTimeout creates a new PcloudVpnconnectionsNetworksPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsNetworksPutParams) SetBody

SetBody adds the body to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsNetworksPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) SetContext

SetContext adds the context to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsNetworksPutParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) WithBody

WithBody adds the body to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) WithContext

WithContext adds the context to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) WithVpnConnectionID

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections networks put params

func (*PcloudVpnconnectionsNetworksPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsNetworksPutReader

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

PcloudVpnconnectionsNetworksPutReader is a Reader for the PcloudVpnconnectionsNetworksPut structure.

func (*PcloudVpnconnectionsNetworksPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsNetworksPutUnauthorized

type PcloudVpnconnectionsNetworksPutUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksPutUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsNetworksPutUnauthorized

func NewPcloudVpnconnectionsNetworksPutUnauthorized() *PcloudVpnconnectionsNetworksPutUnauthorized

NewPcloudVpnconnectionsNetworksPutUnauthorized creates a PcloudVpnconnectionsNetworksPutUnauthorized with default headers values

func (*PcloudVpnconnectionsNetworksPutUnauthorized) Error

type PcloudVpnconnectionsNetworksPutUnprocessableEntity

type PcloudVpnconnectionsNetworksPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudVpnconnectionsNetworksPutUnprocessableEntity

func NewPcloudVpnconnectionsNetworksPutUnprocessableEntity() *PcloudVpnconnectionsNetworksPutUnprocessableEntity

NewPcloudVpnconnectionsNetworksPutUnprocessableEntity creates a PcloudVpnconnectionsNetworksPutUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) Error

type PcloudVpnconnectionsPeersubnetsDeleteBadRequest

type PcloudVpnconnectionsPeersubnetsDeleteBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsPeersubnetsDeleteBadRequest

func NewPcloudVpnconnectionsPeersubnetsDeleteBadRequest() *PcloudVpnconnectionsPeersubnetsDeleteBadRequest

NewPcloudVpnconnectionsPeersubnetsDeleteBadRequest creates a PcloudVpnconnectionsPeersubnetsDeleteBadRequest with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Error

type PcloudVpnconnectionsPeersubnetsDeleteForbidden

type PcloudVpnconnectionsPeersubnetsDeleteForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsDeleteForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsPeersubnetsDeleteForbidden

func NewPcloudVpnconnectionsPeersubnetsDeleteForbidden() *PcloudVpnconnectionsPeersubnetsDeleteForbidden

NewPcloudVpnconnectionsPeersubnetsDeleteForbidden creates a PcloudVpnconnectionsPeersubnetsDeleteForbidden with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) Error

type PcloudVpnconnectionsPeersubnetsDeleteInternalServerError

type PcloudVpnconnectionsPeersubnetsDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsPeersubnetsDeleteInternalServerError

func NewPcloudVpnconnectionsPeersubnetsDeleteInternalServerError() *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError

NewPcloudVpnconnectionsPeersubnetsDeleteInternalServerError creates a PcloudVpnconnectionsPeersubnetsDeleteInternalServerError with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Error

type PcloudVpnconnectionsPeersubnetsDeleteOK

type PcloudVpnconnectionsPeersubnetsDeleteOK struct {
	Payload *models.PeerSubnets
}

PcloudVpnconnectionsPeersubnetsDeleteOK handles this case with default header values.

OK

func NewPcloudVpnconnectionsPeersubnetsDeleteOK

func NewPcloudVpnconnectionsPeersubnetsDeleteOK() *PcloudVpnconnectionsPeersubnetsDeleteOK

NewPcloudVpnconnectionsPeersubnetsDeleteOK creates a PcloudVpnconnectionsPeersubnetsDeleteOK with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) Error

type PcloudVpnconnectionsPeersubnetsDeleteParams

type PcloudVpnconnectionsPeersubnetsDeleteParams struct {

	/*Body
	  Peer subnet to detach

	*/
	Body *models.PeerSubnetUpdate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsPeersubnetsDeleteParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections peersubnets delete operation typically these are written to a http.Request

func NewPcloudVpnconnectionsPeersubnetsDeleteParams

func NewPcloudVpnconnectionsPeersubnetsDeleteParams() *PcloudVpnconnectionsPeersubnetsDeleteParams

NewPcloudVpnconnectionsPeersubnetsDeleteParams creates a new PcloudVpnconnectionsPeersubnetsDeleteParams object with the default values initialized.

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithContext

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsDeleteParams

NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithContext creates a new PcloudVpnconnectionsPeersubnetsDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithHTTPClient

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsDeleteParams

NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithHTTPClient creates a new PcloudVpnconnectionsPeersubnetsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithTimeout

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsDeleteParams

NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithTimeout creates a new PcloudVpnconnectionsPeersubnetsDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) SetBody

SetBody adds the body to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) SetContext

SetContext adds the context to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) SetTimeout

SetTimeout adds the timeout to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithBody

WithBody adds the body to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithContext

WithContext adds the context to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithVpnConnectionID

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections peersubnets delete params

func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsPeersubnetsDeleteReader

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

PcloudVpnconnectionsPeersubnetsDeleteReader is a Reader for the PcloudVpnconnectionsPeersubnetsDelete structure.

func (*PcloudVpnconnectionsPeersubnetsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsPeersubnetsDeleteUnauthorized

type PcloudVpnconnectionsPeersubnetsDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsDeleteUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsPeersubnetsDeleteUnauthorized

func NewPcloudVpnconnectionsPeersubnetsDeleteUnauthorized() *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized

NewPcloudVpnconnectionsPeersubnetsDeleteUnauthorized creates a PcloudVpnconnectionsPeersubnetsDeleteUnauthorized with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Error

type PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity

type PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity

func NewPcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity() *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity

NewPcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity creates a PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Error

type PcloudVpnconnectionsPeersubnetsGetBadRequest

type PcloudVpnconnectionsPeersubnetsGetBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsPeersubnetsGetBadRequest

func NewPcloudVpnconnectionsPeersubnetsGetBadRequest() *PcloudVpnconnectionsPeersubnetsGetBadRequest

NewPcloudVpnconnectionsPeersubnetsGetBadRequest creates a PcloudVpnconnectionsPeersubnetsGetBadRequest with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) Error

type PcloudVpnconnectionsPeersubnetsGetForbidden

type PcloudVpnconnectionsPeersubnetsGetForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsGetForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsPeersubnetsGetForbidden

func NewPcloudVpnconnectionsPeersubnetsGetForbidden() *PcloudVpnconnectionsPeersubnetsGetForbidden

NewPcloudVpnconnectionsPeersubnetsGetForbidden creates a PcloudVpnconnectionsPeersubnetsGetForbidden with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) Error

type PcloudVpnconnectionsPeersubnetsGetInternalServerError

type PcloudVpnconnectionsPeersubnetsGetInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsPeersubnetsGetInternalServerError

func NewPcloudVpnconnectionsPeersubnetsGetInternalServerError() *PcloudVpnconnectionsPeersubnetsGetInternalServerError

NewPcloudVpnconnectionsPeersubnetsGetInternalServerError creates a PcloudVpnconnectionsPeersubnetsGetInternalServerError with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) Error

type PcloudVpnconnectionsPeersubnetsGetNotFound

type PcloudVpnconnectionsPeersubnetsGetNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsGetNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsPeersubnetsGetNotFound

func NewPcloudVpnconnectionsPeersubnetsGetNotFound() *PcloudVpnconnectionsPeersubnetsGetNotFound

NewPcloudVpnconnectionsPeersubnetsGetNotFound creates a PcloudVpnconnectionsPeersubnetsGetNotFound with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) Error

type PcloudVpnconnectionsPeersubnetsGetOK

type PcloudVpnconnectionsPeersubnetsGetOK struct {
	Payload *models.PeerSubnets
}

PcloudVpnconnectionsPeersubnetsGetOK handles this case with default header values.

OK

func NewPcloudVpnconnectionsPeersubnetsGetOK

func NewPcloudVpnconnectionsPeersubnetsGetOK() *PcloudVpnconnectionsPeersubnetsGetOK

NewPcloudVpnconnectionsPeersubnetsGetOK creates a PcloudVpnconnectionsPeersubnetsGetOK with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetOK) Error

type PcloudVpnconnectionsPeersubnetsGetParams

type PcloudVpnconnectionsPeersubnetsGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsPeersubnetsGetParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections peersubnets get operation typically these are written to a http.Request

func NewPcloudVpnconnectionsPeersubnetsGetParams

func NewPcloudVpnconnectionsPeersubnetsGetParams() *PcloudVpnconnectionsPeersubnetsGetParams

NewPcloudVpnconnectionsPeersubnetsGetParams creates a new PcloudVpnconnectionsPeersubnetsGetParams object with the default values initialized.

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithContext

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsGetParams

NewPcloudVpnconnectionsPeersubnetsGetParamsWithContext creates a new PcloudVpnconnectionsPeersubnetsGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithHTTPClient

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsGetParams

NewPcloudVpnconnectionsPeersubnetsGetParamsWithHTTPClient creates a new PcloudVpnconnectionsPeersubnetsGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithTimeout

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsGetParams

NewPcloudVpnconnectionsPeersubnetsGetParamsWithTimeout creates a new PcloudVpnconnectionsPeersubnetsGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsPeersubnetsGetParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) SetContext

SetContext adds the context to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) SetTimeout

SetTimeout adds the timeout to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) WithContext

WithContext adds the context to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) WithVpnConnectionID

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections peersubnets get params

func (*PcloudVpnconnectionsPeersubnetsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsPeersubnetsGetReader

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

PcloudVpnconnectionsPeersubnetsGetReader is a Reader for the PcloudVpnconnectionsPeersubnetsGet structure.

func (*PcloudVpnconnectionsPeersubnetsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsPeersubnetsGetUnauthorized

type PcloudVpnconnectionsPeersubnetsGetUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsPeersubnetsGetUnauthorized

func NewPcloudVpnconnectionsPeersubnetsGetUnauthorized() *PcloudVpnconnectionsPeersubnetsGetUnauthorized

NewPcloudVpnconnectionsPeersubnetsGetUnauthorized creates a PcloudVpnconnectionsPeersubnetsGetUnauthorized with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) Error

type PcloudVpnconnectionsPeersubnetsPutBadRequest

type PcloudVpnconnectionsPeersubnetsPutBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsPeersubnetsPutBadRequest

func NewPcloudVpnconnectionsPeersubnetsPutBadRequest() *PcloudVpnconnectionsPeersubnetsPutBadRequest

NewPcloudVpnconnectionsPeersubnetsPutBadRequest creates a PcloudVpnconnectionsPeersubnetsPutBadRequest with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) Error

type PcloudVpnconnectionsPeersubnetsPutForbidden

type PcloudVpnconnectionsPeersubnetsPutForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsPutForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsPeersubnetsPutForbidden

func NewPcloudVpnconnectionsPeersubnetsPutForbidden() *PcloudVpnconnectionsPeersubnetsPutForbidden

NewPcloudVpnconnectionsPeersubnetsPutForbidden creates a PcloudVpnconnectionsPeersubnetsPutForbidden with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) Error

type PcloudVpnconnectionsPeersubnetsPutInternalServerError

type PcloudVpnconnectionsPeersubnetsPutInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsPeersubnetsPutInternalServerError

func NewPcloudVpnconnectionsPeersubnetsPutInternalServerError() *PcloudVpnconnectionsPeersubnetsPutInternalServerError

NewPcloudVpnconnectionsPeersubnetsPutInternalServerError creates a PcloudVpnconnectionsPeersubnetsPutInternalServerError with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) Error

type PcloudVpnconnectionsPeersubnetsPutOK

type PcloudVpnconnectionsPeersubnetsPutOK struct {
	Payload *models.PeerSubnets
}

PcloudVpnconnectionsPeersubnetsPutOK handles this case with default header values.

OK

func NewPcloudVpnconnectionsPeersubnetsPutOK

func NewPcloudVpnconnectionsPeersubnetsPutOK() *PcloudVpnconnectionsPeersubnetsPutOK

NewPcloudVpnconnectionsPeersubnetsPutOK creates a PcloudVpnconnectionsPeersubnetsPutOK with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutOK) Error

type PcloudVpnconnectionsPeersubnetsPutParams

type PcloudVpnconnectionsPeersubnetsPutParams struct {

	/*Body
	  peer subnet to attach

	*/
	Body *models.PeerSubnetUpdate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsPeersubnetsPutParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections peersubnets put operation typically these are written to a http.Request

func NewPcloudVpnconnectionsPeersubnetsPutParams

func NewPcloudVpnconnectionsPeersubnetsPutParams() *PcloudVpnconnectionsPeersubnetsPutParams

NewPcloudVpnconnectionsPeersubnetsPutParams creates a new PcloudVpnconnectionsPeersubnetsPutParams object with the default values initialized.

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithContext

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsPutParams

NewPcloudVpnconnectionsPeersubnetsPutParamsWithContext creates a new PcloudVpnconnectionsPeersubnetsPutParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithHTTPClient

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsPutParams

NewPcloudVpnconnectionsPeersubnetsPutParamsWithHTTPClient creates a new PcloudVpnconnectionsPeersubnetsPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithTimeout

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsPutParams

NewPcloudVpnconnectionsPeersubnetsPutParamsWithTimeout creates a new PcloudVpnconnectionsPeersubnetsPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsPeersubnetsPutParams) SetBody

SetBody adds the body to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) SetContext

SetContext adds the context to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) SetTimeout

SetTimeout adds the timeout to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) WithBody

WithBody adds the body to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) WithContext

WithContext adds the context to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) WithVpnConnectionID

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections peersubnets put params

func (*PcloudVpnconnectionsPeersubnetsPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsPeersubnetsPutReader

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

PcloudVpnconnectionsPeersubnetsPutReader is a Reader for the PcloudVpnconnectionsPeersubnetsPut structure.

func (*PcloudVpnconnectionsPeersubnetsPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsPeersubnetsPutUnauthorized

type PcloudVpnconnectionsPeersubnetsPutUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsPutUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsPeersubnetsPutUnauthorized

func NewPcloudVpnconnectionsPeersubnetsPutUnauthorized() *PcloudVpnconnectionsPeersubnetsPutUnauthorized

NewPcloudVpnconnectionsPeersubnetsPutUnauthorized creates a PcloudVpnconnectionsPeersubnetsPutUnauthorized with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) Error

type PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity

type PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudVpnconnectionsPeersubnetsPutUnprocessableEntity

func NewPcloudVpnconnectionsPeersubnetsPutUnprocessableEntity() *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity

NewPcloudVpnconnectionsPeersubnetsPutUnprocessableEntity creates a PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Error

type PcloudVpnconnectionsPostAccepted added in v1.0.76

type PcloudVpnconnectionsPostAccepted struct {
	Payload *models.VPNConnectionCreateResponse
}

PcloudVpnconnectionsPostAccepted handles this case with default header values.

Accepted

func NewPcloudVpnconnectionsPostAccepted added in v1.0.76

func NewPcloudVpnconnectionsPostAccepted() *PcloudVpnconnectionsPostAccepted

NewPcloudVpnconnectionsPostAccepted creates a PcloudVpnconnectionsPostAccepted with default headers values

func (*PcloudVpnconnectionsPostAccepted) Error added in v1.0.76

type PcloudVpnconnectionsPostBadRequest

type PcloudVpnconnectionsPostBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsPostBadRequest

func NewPcloudVpnconnectionsPostBadRequest() *PcloudVpnconnectionsPostBadRequest

NewPcloudVpnconnectionsPostBadRequest creates a PcloudVpnconnectionsPostBadRequest with default headers values

func (*PcloudVpnconnectionsPostBadRequest) Error

type PcloudVpnconnectionsPostConflict

type PcloudVpnconnectionsPostConflict struct {
	Payload *models.Error
}

PcloudVpnconnectionsPostConflict handles this case with default header values.

Conflict

func NewPcloudVpnconnectionsPostConflict

func NewPcloudVpnconnectionsPostConflict() *PcloudVpnconnectionsPostConflict

NewPcloudVpnconnectionsPostConflict creates a PcloudVpnconnectionsPostConflict with default headers values

func (*PcloudVpnconnectionsPostConflict) Error

type PcloudVpnconnectionsPostForbidden

type PcloudVpnconnectionsPostForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsPostForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsPostForbidden

func NewPcloudVpnconnectionsPostForbidden() *PcloudVpnconnectionsPostForbidden

NewPcloudVpnconnectionsPostForbidden creates a PcloudVpnconnectionsPostForbidden with default headers values

func (*PcloudVpnconnectionsPostForbidden) Error

type PcloudVpnconnectionsPostInternalServerError

type PcloudVpnconnectionsPostInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsPostInternalServerError

func NewPcloudVpnconnectionsPostInternalServerError() *PcloudVpnconnectionsPostInternalServerError

NewPcloudVpnconnectionsPostInternalServerError creates a PcloudVpnconnectionsPostInternalServerError with default headers values

func (*PcloudVpnconnectionsPostInternalServerError) Error

type PcloudVpnconnectionsPostParams

type PcloudVpnconnectionsPostParams struct {

	/*Body
	  VPN Connection object used for creation

	*/
	Body *models.VPNConnectionCreate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudVpnconnectionsPostParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections post operation typically these are written to a http.Request

func NewPcloudVpnconnectionsPostParams

func NewPcloudVpnconnectionsPostParams() *PcloudVpnconnectionsPostParams

NewPcloudVpnconnectionsPostParams creates a new PcloudVpnconnectionsPostParams object with the default values initialized.

func NewPcloudVpnconnectionsPostParamsWithContext

func NewPcloudVpnconnectionsPostParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPostParams

NewPcloudVpnconnectionsPostParamsWithContext creates a new PcloudVpnconnectionsPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsPostParamsWithHTTPClient

func NewPcloudVpnconnectionsPostParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPostParams

NewPcloudVpnconnectionsPostParamsWithHTTPClient creates a new PcloudVpnconnectionsPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsPostParamsWithTimeout

func NewPcloudVpnconnectionsPostParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPostParams

NewPcloudVpnconnectionsPostParamsWithTimeout creates a new PcloudVpnconnectionsPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsPostParams) SetBody

SetBody adds the body to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) SetContext

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

SetContext adds the context to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) WithBody

WithBody adds the body to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) WithContext

WithContext adds the context to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections post params

func (*PcloudVpnconnectionsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsPostReader

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

PcloudVpnconnectionsPostReader is a Reader for the PcloudVpnconnectionsPost structure.

func (*PcloudVpnconnectionsPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsPostUnauthorized

type PcloudVpnconnectionsPostUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsPostUnauthorized

func NewPcloudVpnconnectionsPostUnauthorized() *PcloudVpnconnectionsPostUnauthorized

NewPcloudVpnconnectionsPostUnauthorized creates a PcloudVpnconnectionsPostUnauthorized with default headers values

func (*PcloudVpnconnectionsPostUnauthorized) Error

type PcloudVpnconnectionsPostUnprocessableEntity

type PcloudVpnconnectionsPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudVpnconnectionsPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudVpnconnectionsPostUnprocessableEntity

func NewPcloudVpnconnectionsPostUnprocessableEntity() *PcloudVpnconnectionsPostUnprocessableEntity

NewPcloudVpnconnectionsPostUnprocessableEntity creates a PcloudVpnconnectionsPostUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPostUnprocessableEntity) Error

type PcloudVpnconnectionsPutBadRequest

type PcloudVpnconnectionsPutBadRequest struct {
	Payload *models.Error
}

PcloudVpnconnectionsPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudVpnconnectionsPutBadRequest

func NewPcloudVpnconnectionsPutBadRequest() *PcloudVpnconnectionsPutBadRequest

NewPcloudVpnconnectionsPutBadRequest creates a PcloudVpnconnectionsPutBadRequest with default headers values

func (*PcloudVpnconnectionsPutBadRequest) Error

type PcloudVpnconnectionsPutForbidden

type PcloudVpnconnectionsPutForbidden struct {
	Payload *models.Error
}

PcloudVpnconnectionsPutForbidden handles this case with default header values.

Forbidden

func NewPcloudVpnconnectionsPutForbidden

func NewPcloudVpnconnectionsPutForbidden() *PcloudVpnconnectionsPutForbidden

NewPcloudVpnconnectionsPutForbidden creates a PcloudVpnconnectionsPutForbidden with default headers values

func (*PcloudVpnconnectionsPutForbidden) Error

type PcloudVpnconnectionsPutInternalServerError

type PcloudVpnconnectionsPutInternalServerError struct {
	Payload *models.Error
}

PcloudVpnconnectionsPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVpnconnectionsPutInternalServerError

func NewPcloudVpnconnectionsPutInternalServerError() *PcloudVpnconnectionsPutInternalServerError

NewPcloudVpnconnectionsPutInternalServerError creates a PcloudVpnconnectionsPutInternalServerError with default headers values

func (*PcloudVpnconnectionsPutInternalServerError) Error

type PcloudVpnconnectionsPutNotFound added in v1.0.76

type PcloudVpnconnectionsPutNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsPutNotFound handles this case with default header values.

Not Found

func NewPcloudVpnconnectionsPutNotFound added in v1.0.76

func NewPcloudVpnconnectionsPutNotFound() *PcloudVpnconnectionsPutNotFound

NewPcloudVpnconnectionsPutNotFound creates a PcloudVpnconnectionsPutNotFound with default headers values

func (*PcloudVpnconnectionsPutNotFound) Error added in v1.0.76

type PcloudVpnconnectionsPutOK

type PcloudVpnconnectionsPutOK struct {
	Payload *models.VPNConnection
}

PcloudVpnconnectionsPutOK handles this case with default header values.

OK

func NewPcloudVpnconnectionsPutOK

func NewPcloudVpnconnectionsPutOK() *PcloudVpnconnectionsPutOK

NewPcloudVpnconnectionsPutOK creates a PcloudVpnconnectionsPutOK with default headers values

func (*PcloudVpnconnectionsPutOK) Error

func (o *PcloudVpnconnectionsPutOK) Error() string

type PcloudVpnconnectionsPutParams

type PcloudVpnconnectionsPutParams struct {

	/*Body
	  VPN Connection object used for update

	*/
	Body *models.VPNConnectionUpdate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VpnConnectionID
	  ID of a VPN connection

	*/
	VpnConnectionID string

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

PcloudVpnconnectionsPutParams contains all the parameters to send to the API endpoint for the pcloud vpnconnections put operation typically these are written to a http.Request

func NewPcloudVpnconnectionsPutParams

func NewPcloudVpnconnectionsPutParams() *PcloudVpnconnectionsPutParams

NewPcloudVpnconnectionsPutParams creates a new PcloudVpnconnectionsPutParams object with the default values initialized.

func NewPcloudVpnconnectionsPutParamsWithContext

func NewPcloudVpnconnectionsPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPutParams

NewPcloudVpnconnectionsPutParamsWithContext creates a new PcloudVpnconnectionsPutParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVpnconnectionsPutParamsWithHTTPClient

func NewPcloudVpnconnectionsPutParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPutParams

NewPcloudVpnconnectionsPutParamsWithHTTPClient creates a new PcloudVpnconnectionsPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVpnconnectionsPutParamsWithTimeout

func NewPcloudVpnconnectionsPutParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPutParams

NewPcloudVpnconnectionsPutParamsWithTimeout creates a new PcloudVpnconnectionsPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVpnconnectionsPutParams) SetBody

SetBody adds the body to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) SetCloudInstanceID

func (o *PcloudVpnconnectionsPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) SetContext

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

SetContext adds the context to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) SetVpnConnectionID

func (o *PcloudVpnconnectionsPutParams) SetVpnConnectionID(vpnConnectionID string)

SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) WithBody

WithBody adds the body to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) WithContext

WithContext adds the context to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) WithVpnConnectionID

func (o *PcloudVpnconnectionsPutParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPutParams

WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections put params

func (*PcloudVpnconnectionsPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVpnconnectionsPutReader

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

PcloudVpnconnectionsPutReader is a Reader for the PcloudVpnconnectionsPut structure.

func (*PcloudVpnconnectionsPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVpnconnectionsPutUnauthorized

type PcloudVpnconnectionsPutUnauthorized struct {
	Payload *models.Error
}

PcloudVpnconnectionsPutUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudVpnconnectionsPutUnauthorized

func NewPcloudVpnconnectionsPutUnauthorized() *PcloudVpnconnectionsPutUnauthorized

NewPcloudVpnconnectionsPutUnauthorized creates a PcloudVpnconnectionsPutUnauthorized with default headers values

func (*PcloudVpnconnectionsPutUnauthorized) Error

type PcloudVpnconnectionsPutUnprocessableEntity

type PcloudVpnconnectionsPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudVpnconnectionsPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudVpnconnectionsPutUnprocessableEntity

func NewPcloudVpnconnectionsPutUnprocessableEntity() *PcloudVpnconnectionsPutUnprocessableEntity

NewPcloudVpnconnectionsPutUnprocessableEntity creates a PcloudVpnconnectionsPutUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPutUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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