p_cloud_v_p_n_connections

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 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 (*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, opts ...ClientOption) (*PcloudVpnconnectionsGetOK, error)

PcloudVpnconnectionsGet gets v p n connection

Get a VPN Connection

func (*Client) PcloudVpnconnectionsGetall

func (a *Client) PcloudVpnconnectionsGetall(params *PcloudVpnconnectionsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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

func (a *Client) PcloudVpnconnectionsPeersubnetsDelete(params *PcloudVpnconnectionsPeersubnetsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPeersubnetsDeleteOK, error)

PcloudVpnconnectionsPeersubnetsDelete detaches peer subnet

Detach peer subnet from a VPN Connection

func (*Client) PcloudVpnconnectionsPeersubnetsGet

func (a *Client) PcloudVpnconnectionsPeersubnetsGet(params *PcloudVpnconnectionsPeersubnetsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPeersubnetsGetOK, error)

PcloudVpnconnectionsPeersubnetsGet gets peer subnets

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

func (*Client) PcloudVpnconnectionsPeersubnetsPut

func (a *Client) PcloudVpnconnectionsPeersubnetsPut(params *PcloudVpnconnectionsPeersubnetsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPeersubnetsPutOK, error)

PcloudVpnconnectionsPeersubnetsPut attaches peer subnet

Attach peer subnet to a VPN Connection

func (*Client) PcloudVpnconnectionsPost

func (a *Client) PcloudVpnconnectionsPost(params *PcloudVpnconnectionsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPostAccepted, error)

PcloudVpnconnectionsPost creates v p n connection

Create a new VPN Connection

func (*Client) PcloudVpnconnectionsPut

func (a *Client) PcloudVpnconnectionsPut(params *PcloudVpnconnectionsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	PcloudVpnconnectionsDelete(params *PcloudVpnconnectionsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsDeleteAccepted, error)

	PcloudVpnconnectionsGet(params *PcloudVpnconnectionsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsGetOK, error)

	PcloudVpnconnectionsGetall(params *PcloudVpnconnectionsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsGetallOK, error)

	PcloudVpnconnectionsNetworksDelete(params *PcloudVpnconnectionsNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsNetworksDeleteAccepted, error)

	PcloudVpnconnectionsNetworksGet(params *PcloudVpnconnectionsNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsNetworksGetOK, error)

	PcloudVpnconnectionsNetworksPut(params *PcloudVpnconnectionsNetworksPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsNetworksPutAccepted, error)

	PcloudVpnconnectionsPeersubnetsDelete(params *PcloudVpnconnectionsPeersubnetsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPeersubnetsDeleteOK, error)

	PcloudVpnconnectionsPeersubnetsGet(params *PcloudVpnconnectionsPeersubnetsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPeersubnetsGetOK, error)

	PcloudVpnconnectionsPeersubnetsPut(params *PcloudVpnconnectionsPeersubnetsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPeersubnetsPutOK, error)

	PcloudVpnconnectionsPost(params *PcloudVpnconnectionsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPostAccepted, error)

	PcloudVpnconnectionsPut(params *PcloudVpnconnectionsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsPutOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

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

type PcloudVpnconnectionsDeleteAccepted added in v1.0.76

type PcloudVpnconnectionsDeleteAccepted struct {
	Payload *models.JobReference
}

PcloudVpnconnectionsDeleteAccepted describes a response with status code 202, 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) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections delete accepted response

func (*PcloudVpnconnectionsDeleteAccepted) Error added in v1.0.76

func (*PcloudVpnconnectionsDeleteAccepted) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsDeleteAccepted) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteAccepted) IsClientError() bool

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

func (*PcloudVpnconnectionsDeleteAccepted) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteAccepted) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsDeleteAccepted) IsRedirect() bool

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

func (*PcloudVpnconnectionsDeleteAccepted) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteAccepted) IsServerError() bool

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

func (*PcloudVpnconnectionsDeleteAccepted) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteAccepted) String added in v1.2.2

type PcloudVpnconnectionsDeleteBadRequest

type PcloudVpnconnectionsDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsDeleteBadRequest

func NewPcloudVpnconnectionsDeleteBadRequest() *PcloudVpnconnectionsDeleteBadRequest

NewPcloudVpnconnectionsDeleteBadRequest creates a PcloudVpnconnectionsDeleteBadRequest with default headers values

func (*PcloudVpnconnectionsDeleteBadRequest) Code added in v1.2.4

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

func (*PcloudVpnconnectionsDeleteBadRequest) Error

func (*PcloudVpnconnectionsDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsDeleteBadRequest) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteBadRequest) IsClientError() bool

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

func (*PcloudVpnconnectionsDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteBadRequest) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteBadRequest) IsServerError() bool

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

func (*PcloudVpnconnectionsDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteBadRequest) String added in v1.2.2

type PcloudVpnconnectionsDeleteForbidden

type PcloudVpnconnectionsDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsDeleteForbidden

func NewPcloudVpnconnectionsDeleteForbidden() *PcloudVpnconnectionsDeleteForbidden

NewPcloudVpnconnectionsDeleteForbidden creates a PcloudVpnconnectionsDeleteForbidden with default headers values

func (*PcloudVpnconnectionsDeleteForbidden) Code added in v1.2.4

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

func (*PcloudVpnconnectionsDeleteForbidden) Error

func (*PcloudVpnconnectionsDeleteForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsDeleteForbidden) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteForbidden) IsClientError() bool

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

func (*PcloudVpnconnectionsDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteForbidden) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsDeleteForbidden) IsRedirect() bool

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

func (*PcloudVpnconnectionsDeleteForbidden) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteForbidden) IsServerError() bool

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

func (*PcloudVpnconnectionsDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteForbidden) String added in v1.2.2

type PcloudVpnconnectionsDeleteInternalServerError

type PcloudVpnconnectionsDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsDeleteInternalServerError

func NewPcloudVpnconnectionsDeleteInternalServerError() *PcloudVpnconnectionsDeleteInternalServerError

NewPcloudVpnconnectionsDeleteInternalServerError creates a PcloudVpnconnectionsDeleteInternalServerError with default headers values

func (*PcloudVpnconnectionsDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsDeleteInternalServerError) Error

func (*PcloudVpnconnectionsDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsDeleteNotFound added in v1.0.76

type PcloudVpnconnectionsDeleteNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsDeleteNotFound describes a response with status code 404, 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) Code added in v1.2.4

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

func (*PcloudVpnconnectionsDeleteNotFound) Error added in v1.0.76

func (*PcloudVpnconnectionsDeleteNotFound) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsDeleteNotFound) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteNotFound) IsClientError() bool

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

func (*PcloudVpnconnectionsDeleteNotFound) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteNotFound) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsDeleteNotFound) IsRedirect() bool

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

func (*PcloudVpnconnectionsDeleteNotFound) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteNotFound) IsServerError() bool

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

func (*PcloudVpnconnectionsDeleteNotFound) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteNotFound) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsDeleteParamsWithContext

func NewPcloudVpnconnectionsDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsDeleteParams

NewPcloudVpnconnectionsDeleteParamsWithContext creates a new PcloudVpnconnectionsDeleteParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudVpnconnectionsDeleteParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsDeleteUnauthorized

func NewPcloudVpnconnectionsDeleteUnauthorized() *PcloudVpnconnectionsDeleteUnauthorized

NewPcloudVpnconnectionsDeleteUnauthorized creates a PcloudVpnconnectionsDeleteUnauthorized with default headers values

func (*PcloudVpnconnectionsDeleteUnauthorized) Code added in v1.2.4

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

func (*PcloudVpnconnectionsDeleteUnauthorized) Error

func (*PcloudVpnconnectionsDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsDeleteUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteUnauthorized) IsClientError() bool

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

func (*PcloudVpnconnectionsDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsDeleteUnauthorized) IsServerError() bool

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

func (*PcloudVpnconnectionsDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsDeleteUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsGetBadRequest

type PcloudVpnconnectionsGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsGetBadRequest

func NewPcloudVpnconnectionsGetBadRequest() *PcloudVpnconnectionsGetBadRequest

NewPcloudVpnconnectionsGetBadRequest creates a PcloudVpnconnectionsGetBadRequest with default headers values

func (*PcloudVpnconnectionsGetBadRequest) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetBadRequest) Error

func (*PcloudVpnconnectionsGetBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetBadRequest) IsClientError() bool

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

func (*PcloudVpnconnectionsGetBadRequest) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetBadRequest) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetBadRequest) IsServerError() bool

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

func (*PcloudVpnconnectionsGetBadRequest) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsGetBadRequest) IsSuccess() bool

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

func (*PcloudVpnconnectionsGetBadRequest) String added in v1.2.2

type PcloudVpnconnectionsGetForbidden

type PcloudVpnconnectionsGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsGetForbidden

func NewPcloudVpnconnectionsGetForbidden() *PcloudVpnconnectionsGetForbidden

NewPcloudVpnconnectionsGetForbidden creates a PcloudVpnconnectionsGetForbidden with default headers values

func (*PcloudVpnconnectionsGetForbidden) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetForbidden) Error

func (*PcloudVpnconnectionsGetForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetForbidden) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetForbidden) IsClientError() bool

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

func (*PcloudVpnconnectionsGetForbidden) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsGetForbidden) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetForbidden) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetForbidden) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetForbidden) IsServerError() bool

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

func (*PcloudVpnconnectionsGetForbidden) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsGetForbidden) IsSuccess() bool

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

func (*PcloudVpnconnectionsGetForbidden) String added in v1.2.2

type PcloudVpnconnectionsGetInternalServerError

type PcloudVpnconnectionsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsGetInternalServerError

func NewPcloudVpnconnectionsGetInternalServerError() *PcloudVpnconnectionsGetInternalServerError

NewPcloudVpnconnectionsGetInternalServerError creates a PcloudVpnconnectionsGetInternalServerError with default headers values

func (*PcloudVpnconnectionsGetInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetInternalServerError) Error

func (*PcloudVpnconnectionsGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsGetInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsGetNotFound added in v1.0.76

type PcloudVpnconnectionsGetNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsGetNotFound describes a response with status code 404, 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) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetNotFound) Error added in v1.0.76

func (*PcloudVpnconnectionsGetNotFound) GetPayload added in v1.1.0

func (o *PcloudVpnconnectionsGetNotFound) GetPayload() *models.Error

func (*PcloudVpnconnectionsGetNotFound) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetNotFound) IsClientError() bool

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

func (*PcloudVpnconnectionsGetNotFound) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetNotFound) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetNotFound) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetNotFound) IsServerError() bool

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

func (*PcloudVpnconnectionsGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsGetNotFound) IsSuccess() bool

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

func (*PcloudVpnconnectionsGetNotFound) String added in v1.2.2

type PcloudVpnconnectionsGetOK

type PcloudVpnconnectionsGetOK struct {
	Payload *models.VPNConnection
}

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

OK

func NewPcloudVpnconnectionsGetOK

func NewPcloudVpnconnectionsGetOK() *PcloudVpnconnectionsGetOK

NewPcloudVpnconnectionsGetOK creates a PcloudVpnconnectionsGetOK with default headers values

func (*PcloudVpnconnectionsGetOK) Code added in v1.2.4

func (o *PcloudVpnconnectionsGetOK) Code() int

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

func (*PcloudVpnconnectionsGetOK) Error

func (o *PcloudVpnconnectionsGetOK) Error() string

func (*PcloudVpnconnectionsGetOK) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetOK) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetOK) IsClientError() bool

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

func (*PcloudVpnconnectionsGetOK) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsGetOK) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetOK) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetOK) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetOK) IsServerError() bool

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

func (*PcloudVpnconnectionsGetOK) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsGetOK) IsSuccess() bool

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

func (*PcloudVpnconnectionsGetOK) String added in v1.2.2

func (o *PcloudVpnconnectionsGetOK) String() 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsGetParamsWithContext

func NewPcloudVpnconnectionsGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsGetParams

NewPcloudVpnconnectionsGetParamsWithContext creates a new PcloudVpnconnectionsGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudVpnconnectionsGetParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsGetUnauthorized

func NewPcloudVpnconnectionsGetUnauthorized() *PcloudVpnconnectionsGetUnauthorized

NewPcloudVpnconnectionsGetUnauthorized creates a PcloudVpnconnectionsGetUnauthorized with default headers values

func (*PcloudVpnconnectionsGetUnauthorized) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetUnauthorized) Error

func (*PcloudVpnconnectionsGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetUnauthorized) IsClientError() bool

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

func (*PcloudVpnconnectionsGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsGetUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetUnauthorized) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetUnauthorized) IsServerError() bool

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

func (*PcloudVpnconnectionsGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsGetUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsGetUnprocessableEntity

type PcloudVpnconnectionsGetUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudVpnconnectionsGetUnprocessableEntity

func NewPcloudVpnconnectionsGetUnprocessableEntity() *PcloudVpnconnectionsGetUnprocessableEntity

NewPcloudVpnconnectionsGetUnprocessableEntity creates a PcloudVpnconnectionsGetUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsGetUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections get unprocessable entity response

func (*PcloudVpnconnectionsGetUnprocessableEntity) Error

func (*PcloudVpnconnectionsGetUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud vpnconnections get unprocessable entity response has a 4xx status code

func (*PcloudVpnconnectionsGetUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud vpnconnections get unprocessable entity response a status code equal to that given

func (*PcloudVpnconnectionsGetUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud vpnconnections get unprocessable entity response has a 3xx status code

func (*PcloudVpnconnectionsGetUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud vpnconnections get unprocessable entity response has a 5xx status code

func (*PcloudVpnconnectionsGetUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud vpnconnections get unprocessable entity response has a 2xx status code

func (*PcloudVpnconnectionsGetUnprocessableEntity) String added in v1.2.2

type PcloudVpnconnectionsGetallBadRequest

type PcloudVpnconnectionsGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsGetallBadRequest

func NewPcloudVpnconnectionsGetallBadRequest() *PcloudVpnconnectionsGetallBadRequest

NewPcloudVpnconnectionsGetallBadRequest creates a PcloudVpnconnectionsGetallBadRequest with default headers values

func (*PcloudVpnconnectionsGetallBadRequest) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetallBadRequest) Error

func (*PcloudVpnconnectionsGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetallBadRequest) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetallBadRequest) IsClientError() bool

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

func (*PcloudVpnconnectionsGetallBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsGetallBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsGetallBadRequest) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetallBadRequest) IsServerError() bool

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

func (*PcloudVpnconnectionsGetallBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsGetallBadRequest) String added in v1.2.2

type PcloudVpnconnectionsGetallForbidden

type PcloudVpnconnectionsGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsGetallForbidden

func NewPcloudVpnconnectionsGetallForbidden() *PcloudVpnconnectionsGetallForbidden

NewPcloudVpnconnectionsGetallForbidden creates a PcloudVpnconnectionsGetallForbidden with default headers values

func (*PcloudVpnconnectionsGetallForbidden) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetallForbidden) Error

func (*PcloudVpnconnectionsGetallForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetallForbidden) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetallForbidden) IsClientError() bool

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

func (*PcloudVpnconnectionsGetallForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsGetallForbidden) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetallForbidden) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetallForbidden) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetallForbidden) IsServerError() bool

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

func (*PcloudVpnconnectionsGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsGetallForbidden) String added in v1.2.2

type PcloudVpnconnectionsGetallInternalServerError

type PcloudVpnconnectionsGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsGetallInternalServerError

func NewPcloudVpnconnectionsGetallInternalServerError() *PcloudVpnconnectionsGetallInternalServerError

NewPcloudVpnconnectionsGetallInternalServerError creates a PcloudVpnconnectionsGetallInternalServerError with default headers values

func (*PcloudVpnconnectionsGetallInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetallInternalServerError) Error

func (*PcloudVpnconnectionsGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetallInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsGetallInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsGetallInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsGetallInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsGetallInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsGetallInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsGetallNotFound

type PcloudVpnconnectionsGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVpnconnectionsGetallNotFound

func NewPcloudVpnconnectionsGetallNotFound() *PcloudVpnconnectionsGetallNotFound

NewPcloudVpnconnectionsGetallNotFound creates a PcloudVpnconnectionsGetallNotFound with default headers values

func (*PcloudVpnconnectionsGetallNotFound) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetallNotFound) Error

func (*PcloudVpnconnectionsGetallNotFound) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetallNotFound) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetallNotFound) IsClientError() bool

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

func (*PcloudVpnconnectionsGetallNotFound) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsGetallNotFound) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetallNotFound) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetallNotFound) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetallNotFound) IsServerError() bool

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

func (*PcloudVpnconnectionsGetallNotFound) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsGetallNotFound) String added in v1.2.2

type PcloudVpnconnectionsGetallOK

type PcloudVpnconnectionsGetallOK struct {
	Payload *models.VPNConnections
}

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

OK

func NewPcloudVpnconnectionsGetallOK

func NewPcloudVpnconnectionsGetallOK() *PcloudVpnconnectionsGetallOK

NewPcloudVpnconnectionsGetallOK creates a PcloudVpnconnectionsGetallOK with default headers values

func (*PcloudVpnconnectionsGetallOK) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetallOK) Error

func (*PcloudVpnconnectionsGetallOK) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetallOK) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetallOK) IsClientError() bool

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

func (*PcloudVpnconnectionsGetallOK) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsGetallOK) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsGetallOK) IsRedirect() bool

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

func (*PcloudVpnconnectionsGetallOK) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetallOK) IsServerError() bool

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

func (*PcloudVpnconnectionsGetallOK) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsGetallOK) IsSuccess() bool

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

func (*PcloudVpnconnectionsGetallOK) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsGetallParamsWithContext

func NewPcloudVpnconnectionsGetallParamsWithContext(ctx context.Context) *PcloudVpnconnectionsGetallParams

NewPcloudVpnconnectionsGetallParamsWithContext creates a new PcloudVpnconnectionsGetallParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudVpnconnectionsGetallParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsGetallUnauthorized

func NewPcloudVpnconnectionsGetallUnauthorized() *PcloudVpnconnectionsGetallUnauthorized

NewPcloudVpnconnectionsGetallUnauthorized creates a PcloudVpnconnectionsGetallUnauthorized with default headers values

func (*PcloudVpnconnectionsGetallUnauthorized) Code added in v1.2.4

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

func (*PcloudVpnconnectionsGetallUnauthorized) Error

func (*PcloudVpnconnectionsGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsGetallUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsGetallUnauthorized) IsClientError() bool

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

func (*PcloudVpnconnectionsGetallUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsGetallUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsGetallUnauthorized) IsServerError() bool

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

func (*PcloudVpnconnectionsGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsGetallUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsNetworksDeleteAccepted added in v1.0.76

type PcloudVpnconnectionsNetworksDeleteAccepted struct {
	Payload *models.JobReference
}

PcloudVpnconnectionsNetworksDeleteAccepted describes a response with status code 202, 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) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks delete accepted response

func (*PcloudVpnconnectionsNetworksDeleteAccepted) Error added in v1.0.76

func (*PcloudVpnconnectionsNetworksDeleteAccepted) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsClientError added in v1.2.2

IsClientError returns true when this pcloud vpnconnections networks delete accepted response has a 4xx status code

func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud vpnconnections networks delete accepted response has a 3xx status code

func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsServerError added in v1.2.2

IsServerError returns true when this pcloud vpnconnections networks delete accepted response has a 5xx status code

func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud vpnconnections networks delete accepted response has a 2xx status code

func (*PcloudVpnconnectionsNetworksDeleteAccepted) String added in v1.2.2

type PcloudVpnconnectionsNetworksDeleteBadRequest

type PcloudVpnconnectionsNetworksDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsNetworksDeleteBadRequest

func NewPcloudVpnconnectionsNetworksDeleteBadRequest() *PcloudVpnconnectionsNetworksDeleteBadRequest

NewPcloudVpnconnectionsNetworksDeleteBadRequest creates a PcloudVpnconnectionsNetworksDeleteBadRequest with default headers values

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks delete bad request response

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) Error

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteBadRequest) String added in v1.2.2

type PcloudVpnconnectionsNetworksDeleteForbidden

type PcloudVpnconnectionsNetworksDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsNetworksDeleteForbidden

func NewPcloudVpnconnectionsNetworksDeleteForbidden() *PcloudVpnconnectionsNetworksDeleteForbidden

NewPcloudVpnconnectionsNetworksDeleteForbidden creates a PcloudVpnconnectionsNetworksDeleteForbidden with default headers values

func (*PcloudVpnconnectionsNetworksDeleteForbidden) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks delete forbidden response

func (*PcloudVpnconnectionsNetworksDeleteForbidden) Error

func (*PcloudVpnconnectionsNetworksDeleteForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteForbidden) String added in v1.2.2

type PcloudVpnconnectionsNetworksDeleteInternalServerError

type PcloudVpnconnectionsNetworksDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsNetworksDeleteInternalServerError

func NewPcloudVpnconnectionsNetworksDeleteInternalServerError() *PcloudVpnconnectionsNetworksDeleteInternalServerError

NewPcloudVpnconnectionsNetworksDeleteInternalServerError creates a PcloudVpnconnectionsNetworksDeleteInternalServerError with default headers values

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) Error

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsNetworksDeleteNotFound added in v1.0.76

type PcloudVpnconnectionsNetworksDeleteNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksDeleteNotFound describes a response with status code 404, 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) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks delete not found response

func (*PcloudVpnconnectionsNetworksDeleteNotFound) Error added in v1.0.76

func (*PcloudVpnconnectionsNetworksDeleteNotFound) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteNotFound) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsNetworksDeleteParamsWithContext

func NewPcloudVpnconnectionsNetworksDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksDeleteParams

NewPcloudVpnconnectionsNetworksDeleteParamsWithContext creates a new PcloudVpnconnectionsNetworksDeleteParams object with 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 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 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) SetDefaults added in v1.1.0

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsNetworksDeleteUnauthorized

func NewPcloudVpnconnectionsNetworksDeleteUnauthorized() *PcloudVpnconnectionsNetworksDeleteUnauthorized

NewPcloudVpnconnectionsNetworksDeleteUnauthorized creates a PcloudVpnconnectionsNetworksDeleteUnauthorized with default headers values

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks delete unauthorized response

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) Error

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsNetworksDeleteUnprocessableEntity

type PcloudVpnconnectionsNetworksDeleteUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudVpnconnectionsNetworksDeleteUnprocessableEntity

func NewPcloudVpnconnectionsNetworksDeleteUnprocessableEntity() *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity

NewPcloudVpnconnectionsNetworksDeleteUnprocessableEntity creates a PcloudVpnconnectionsNetworksDeleteUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks delete unprocessable entity response

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Error

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 4xx status code

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud vpnconnections networks delete unprocessable entity response a status code equal to that given

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 3xx status code

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 5xx status code

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 2xx status code

func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) String added in v1.2.2

type PcloudVpnconnectionsNetworksGetBadRequest

type PcloudVpnconnectionsNetworksGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsNetworksGetBadRequest

func NewPcloudVpnconnectionsNetworksGetBadRequest() *PcloudVpnconnectionsNetworksGetBadRequest

NewPcloudVpnconnectionsNetworksGetBadRequest creates a PcloudVpnconnectionsNetworksGetBadRequest with default headers values

func (*PcloudVpnconnectionsNetworksGetBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks get bad request response

func (*PcloudVpnconnectionsNetworksGetBadRequest) Error

func (*PcloudVpnconnectionsNetworksGetBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksGetBadRequest) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetBadRequest) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetBadRequest) String added in v1.2.2

type PcloudVpnconnectionsNetworksGetForbidden

type PcloudVpnconnectionsNetworksGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsNetworksGetForbidden

func NewPcloudVpnconnectionsNetworksGetForbidden() *PcloudVpnconnectionsNetworksGetForbidden

NewPcloudVpnconnectionsNetworksGetForbidden creates a PcloudVpnconnectionsNetworksGetForbidden with default headers values

func (*PcloudVpnconnectionsNetworksGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks get forbidden response

func (*PcloudVpnconnectionsNetworksGetForbidden) Error

func (*PcloudVpnconnectionsNetworksGetForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksGetForbidden) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetForbidden) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetForbidden) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetForbidden) String added in v1.2.2

type PcloudVpnconnectionsNetworksGetInternalServerError

type PcloudVpnconnectionsNetworksGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsNetworksGetInternalServerError

func NewPcloudVpnconnectionsNetworksGetInternalServerError() *PcloudVpnconnectionsNetworksGetInternalServerError

NewPcloudVpnconnectionsNetworksGetInternalServerError creates a PcloudVpnconnectionsNetworksGetInternalServerError with default headers values

func (*PcloudVpnconnectionsNetworksGetInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsNetworksGetInternalServerError) Error

func (*PcloudVpnconnectionsNetworksGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsNetworksGetNotFound

type PcloudVpnconnectionsNetworksGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVpnconnectionsNetworksGetNotFound

func NewPcloudVpnconnectionsNetworksGetNotFound() *PcloudVpnconnectionsNetworksGetNotFound

NewPcloudVpnconnectionsNetworksGetNotFound creates a PcloudVpnconnectionsNetworksGetNotFound with default headers values

func (*PcloudVpnconnectionsNetworksGetNotFound) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks get not found response

func (*PcloudVpnconnectionsNetworksGetNotFound) Error

func (*PcloudVpnconnectionsNetworksGetNotFound) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksGetNotFound) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksGetNotFound) IsClientError() bool

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

func (*PcloudVpnconnectionsNetworksGetNotFound) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetNotFound) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetNotFound) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksGetNotFound) IsServerError() bool

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

func (*PcloudVpnconnectionsNetworksGetNotFound) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetNotFound) String added in v1.2.2

type PcloudVpnconnectionsNetworksGetOK

type PcloudVpnconnectionsNetworksGetOK struct {
	Payload *models.NetworkIDs
}

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

OK

func NewPcloudVpnconnectionsNetworksGetOK

func NewPcloudVpnconnectionsNetworksGetOK() *PcloudVpnconnectionsNetworksGetOK

NewPcloudVpnconnectionsNetworksGetOK creates a PcloudVpnconnectionsNetworksGetOK with default headers values

func (*PcloudVpnconnectionsNetworksGetOK) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks get o k response

func (*PcloudVpnconnectionsNetworksGetOK) Error

func (*PcloudVpnconnectionsNetworksGetOK) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksGetOK) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksGetOK) IsClientError() bool

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

func (*PcloudVpnconnectionsNetworksGetOK) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsNetworksGetOK) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsNetworksGetOK) IsRedirect() bool

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

func (*PcloudVpnconnectionsNetworksGetOK) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksGetOK) IsServerError() bool

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

func (*PcloudVpnconnectionsNetworksGetOK) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsNetworksGetOK) IsSuccess() bool

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

func (*PcloudVpnconnectionsNetworksGetOK) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsNetworksGetParamsWithContext

func NewPcloudVpnconnectionsNetworksGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksGetParams

NewPcloudVpnconnectionsNetworksGetParamsWithContext creates a new PcloudVpnconnectionsNetworksGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudVpnconnectionsNetworksGetParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsNetworksGetUnauthorized

func NewPcloudVpnconnectionsNetworksGetUnauthorized() *PcloudVpnconnectionsNetworksGetUnauthorized

NewPcloudVpnconnectionsNetworksGetUnauthorized creates a PcloudVpnconnectionsNetworksGetUnauthorized with default headers values

func (*PcloudVpnconnectionsNetworksGetUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks get unauthorized response

func (*PcloudVpnconnectionsNetworksGetUnauthorized) Error

func (*PcloudVpnconnectionsNetworksGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksGetUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsNetworksPutAccepted added in v1.0.76

type PcloudVpnconnectionsNetworksPutAccepted struct {
	Payload *models.JobReference
}

PcloudVpnconnectionsNetworksPutAccepted describes a response with status code 202, 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) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks put accepted response

func (*PcloudVpnconnectionsNetworksPutAccepted) Error added in v1.0.76

func (*PcloudVpnconnectionsNetworksPutAccepted) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksPutAccepted) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksPutAccepted) IsClientError() bool

IsClientError returns true when this pcloud vpnconnections networks put accepted response has a 4xx status code

func (*PcloudVpnconnectionsNetworksPutAccepted) IsCode added in v1.2.2

IsCode returns true when this pcloud vpnconnections networks put accepted response a status code equal to that given

func (*PcloudVpnconnectionsNetworksPutAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud vpnconnections networks put accepted response has a 3xx status code

func (*PcloudVpnconnectionsNetworksPutAccepted) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksPutAccepted) IsServerError() bool

IsServerError returns true when this pcloud vpnconnections networks put accepted response has a 5xx status code

func (*PcloudVpnconnectionsNetworksPutAccepted) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud vpnconnections networks put accepted response has a 2xx status code

func (*PcloudVpnconnectionsNetworksPutAccepted) String added in v1.2.2

type PcloudVpnconnectionsNetworksPutBadRequest

type PcloudVpnconnectionsNetworksPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsNetworksPutBadRequest

func NewPcloudVpnconnectionsNetworksPutBadRequest() *PcloudVpnconnectionsNetworksPutBadRequest

NewPcloudVpnconnectionsNetworksPutBadRequest creates a PcloudVpnconnectionsNetworksPutBadRequest with default headers values

func (*PcloudVpnconnectionsNetworksPutBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks put bad request response

func (*PcloudVpnconnectionsNetworksPutBadRequest) Error

func (*PcloudVpnconnectionsNetworksPutBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksPutBadRequest) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutBadRequest) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutBadRequest) String added in v1.2.2

type PcloudVpnconnectionsNetworksPutForbidden

type PcloudVpnconnectionsNetworksPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsNetworksPutForbidden

func NewPcloudVpnconnectionsNetworksPutForbidden() *PcloudVpnconnectionsNetworksPutForbidden

NewPcloudVpnconnectionsNetworksPutForbidden creates a PcloudVpnconnectionsNetworksPutForbidden with default headers values

func (*PcloudVpnconnectionsNetworksPutForbidden) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks put forbidden response

func (*PcloudVpnconnectionsNetworksPutForbidden) Error

func (*PcloudVpnconnectionsNetworksPutForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksPutForbidden) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutForbidden) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutForbidden) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutForbidden) String added in v1.2.2

type PcloudVpnconnectionsNetworksPutInternalServerError

type PcloudVpnconnectionsNetworksPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsNetworksPutInternalServerError

func NewPcloudVpnconnectionsNetworksPutInternalServerError() *PcloudVpnconnectionsNetworksPutInternalServerError

NewPcloudVpnconnectionsNetworksPutInternalServerError creates a PcloudVpnconnectionsNetworksPutInternalServerError with default headers values

func (*PcloudVpnconnectionsNetworksPutInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsNetworksPutInternalServerError) Error

func (*PcloudVpnconnectionsNetworksPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsNetworksPutNotFound added in v1.0.76

type PcloudVpnconnectionsNetworksPutNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsNetworksPutNotFound describes a response with status code 404, 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) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks put not found response

func (*PcloudVpnconnectionsNetworksPutNotFound) Error added in v1.0.76

func (*PcloudVpnconnectionsNetworksPutNotFound) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksPutNotFound) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksPutNotFound) IsClientError() bool

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

func (*PcloudVpnconnectionsNetworksPutNotFound) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutNotFound) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutNotFound) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsNetworksPutNotFound) IsServerError() bool

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

func (*PcloudVpnconnectionsNetworksPutNotFound) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutNotFound) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsNetworksPutParamsWithContext

func NewPcloudVpnconnectionsNetworksPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksPutParams

NewPcloudVpnconnectionsNetworksPutParamsWithContext creates a new PcloudVpnconnectionsNetworksPutParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudVpnconnectionsNetworksPutParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsNetworksPutUnauthorized

func NewPcloudVpnconnectionsNetworksPutUnauthorized() *PcloudVpnconnectionsNetworksPutUnauthorized

NewPcloudVpnconnectionsNetworksPutUnauthorized creates a PcloudVpnconnectionsNetworksPutUnauthorized with default headers values

func (*PcloudVpnconnectionsNetworksPutUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks put unauthorized response

func (*PcloudVpnconnectionsNetworksPutUnauthorized) Error

func (*PcloudVpnconnectionsNetworksPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsNetworksPutUnprocessableEntity

type PcloudVpnconnectionsNetworksPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudVpnconnectionsNetworksPutUnprocessableEntity

func NewPcloudVpnconnectionsNetworksPutUnprocessableEntity() *PcloudVpnconnectionsNetworksPutUnprocessableEntity

NewPcloudVpnconnectionsNetworksPutUnprocessableEntity creates a PcloudVpnconnectionsNetworksPutUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections networks put unprocessable entity response

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) Error

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsDeleteBadRequest

type PcloudVpnconnectionsPeersubnetsDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsPeersubnetsDeleteBadRequest

func NewPcloudVpnconnectionsPeersubnetsDeleteBadRequest() *PcloudVpnconnectionsPeersubnetsDeleteBadRequest

NewPcloudVpnconnectionsPeersubnetsDeleteBadRequest creates a PcloudVpnconnectionsPeersubnetsDeleteBadRequest with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets delete bad request response

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Error

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsDeleteForbidden

type PcloudVpnconnectionsPeersubnetsDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsPeersubnetsDeleteForbidden

func NewPcloudVpnconnectionsPeersubnetsDeleteForbidden() *PcloudVpnconnectionsPeersubnetsDeleteForbidden

NewPcloudVpnconnectionsPeersubnetsDeleteForbidden creates a PcloudVpnconnectionsPeersubnetsDeleteForbidden with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets delete forbidden response

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) Error

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsDeleteInternalServerError

type PcloudVpnconnectionsPeersubnetsDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsPeersubnetsDeleteInternalServerError

func NewPcloudVpnconnectionsPeersubnetsDeleteInternalServerError() *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError

NewPcloudVpnconnectionsPeersubnetsDeleteInternalServerError creates a PcloudVpnconnectionsPeersubnetsDeleteInternalServerError with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Error

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsDeleteNotFound added in v1.4.2

type PcloudVpnconnectionsPeersubnetsDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVpnconnectionsPeersubnetsDeleteNotFound added in v1.4.2

func NewPcloudVpnconnectionsPeersubnetsDeleteNotFound() *PcloudVpnconnectionsPeersubnetsDeleteNotFound

NewPcloudVpnconnectionsPeersubnetsDeleteNotFound creates a PcloudVpnconnectionsPeersubnetsDeleteNotFound with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) Code added in v1.4.2

Code gets the status code for the pcloud vpnconnections peersubnets delete not found response

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) Error added in v1.4.2

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) GetPayload added in v1.4.2

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsClientError added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsCode added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsRedirect added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsServerError added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsSuccess added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) String added in v1.4.2

type PcloudVpnconnectionsPeersubnetsDeleteOK

type PcloudVpnconnectionsPeersubnetsDeleteOK struct {
	Payload *models.PeerSubnets
}

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

OK

func NewPcloudVpnconnectionsPeersubnetsDeleteOK

func NewPcloudVpnconnectionsPeersubnetsDeleteOK() *PcloudVpnconnectionsPeersubnetsDeleteOK

NewPcloudVpnconnectionsPeersubnetsDeleteOK creates a PcloudVpnconnectionsPeersubnetsDeleteOK with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets delete o k response

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) Error

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsClientError() bool

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

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsServerError() bool

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

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteOK) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithContext

func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsDeleteParams

NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithContext creates a new PcloudVpnconnectionsPeersubnetsDeleteParams object with 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 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 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) SetDefaults added in v1.1.0

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsPeersubnetsDeleteUnauthorized

func NewPcloudVpnconnectionsPeersubnetsDeleteUnauthorized() *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized

NewPcloudVpnconnectionsPeersubnetsDeleteUnauthorized creates a PcloudVpnconnectionsPeersubnetsDeleteUnauthorized with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets delete unauthorized response

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Error

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity

type PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity

func NewPcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity() *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity

NewPcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity creates a PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets delete unprocessable entity response

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Error

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 4xx status code

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response a status code equal to that given

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 3xx status code

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 5xx status code

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 2xx status code

func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsGetBadRequest

type PcloudVpnconnectionsPeersubnetsGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsPeersubnetsGetBadRequest

func NewPcloudVpnconnectionsPeersubnetsGetBadRequest() *PcloudVpnconnectionsPeersubnetsGetBadRequest

NewPcloudVpnconnectionsPeersubnetsGetBadRequest creates a PcloudVpnconnectionsPeersubnetsGetBadRequest with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets get bad request response

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) Error

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsGetForbidden

type PcloudVpnconnectionsPeersubnetsGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsPeersubnetsGetForbidden

func NewPcloudVpnconnectionsPeersubnetsGetForbidden() *PcloudVpnconnectionsPeersubnetsGetForbidden

NewPcloudVpnconnectionsPeersubnetsGetForbidden creates a PcloudVpnconnectionsPeersubnetsGetForbidden with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets get forbidden response

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) Error

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetForbidden) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsGetInternalServerError

type PcloudVpnconnectionsPeersubnetsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsPeersubnetsGetInternalServerError

func NewPcloudVpnconnectionsPeersubnetsGetInternalServerError() *PcloudVpnconnectionsPeersubnetsGetInternalServerError

NewPcloudVpnconnectionsPeersubnetsGetInternalServerError creates a PcloudVpnconnectionsPeersubnetsGetInternalServerError with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) Error

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsGetNotFound

type PcloudVpnconnectionsPeersubnetsGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVpnconnectionsPeersubnetsGetNotFound

func NewPcloudVpnconnectionsPeersubnetsGetNotFound() *PcloudVpnconnectionsPeersubnetsGetNotFound

NewPcloudVpnconnectionsPeersubnetsGetNotFound creates a PcloudVpnconnectionsPeersubnetsGetNotFound with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets get not found response

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) Error

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetNotFound) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsGetOK

type PcloudVpnconnectionsPeersubnetsGetOK struct {
	Payload *models.PeerSubnets
}

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

OK

func NewPcloudVpnconnectionsPeersubnetsGetOK

func NewPcloudVpnconnectionsPeersubnetsGetOK() *PcloudVpnconnectionsPeersubnetsGetOK

NewPcloudVpnconnectionsPeersubnetsGetOK creates a PcloudVpnconnectionsPeersubnetsGetOK with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetOK) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets get o k response

func (*PcloudVpnconnectionsPeersubnetsGetOK) Error

func (*PcloudVpnconnectionsPeersubnetsGetOK) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsGetOK) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsClientError() bool

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

func (*PcloudVpnconnectionsPeersubnetsGetOK) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetOK) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetOK) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsServerError() bool

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

func (*PcloudVpnconnectionsPeersubnetsGetOK) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetOK) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithContext

func NewPcloudVpnconnectionsPeersubnetsGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsGetParams

NewPcloudVpnconnectionsPeersubnetsGetParamsWithContext creates a new PcloudVpnconnectionsPeersubnetsGetParams object with 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 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 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) SetDefaults added in v1.1.0

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsPeersubnetsGetUnauthorized

func NewPcloudVpnconnectionsPeersubnetsGetUnauthorized() *PcloudVpnconnectionsPeersubnetsGetUnauthorized

NewPcloudVpnconnectionsPeersubnetsGetUnauthorized creates a PcloudVpnconnectionsPeersubnetsGetUnauthorized with default headers values

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets get unauthorized response

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) Error

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsPutBadRequest

type PcloudVpnconnectionsPeersubnetsPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsPeersubnetsPutBadRequest

func NewPcloudVpnconnectionsPeersubnetsPutBadRequest() *PcloudVpnconnectionsPeersubnetsPutBadRequest

NewPcloudVpnconnectionsPeersubnetsPutBadRequest creates a PcloudVpnconnectionsPeersubnetsPutBadRequest with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets put bad request response

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) Error

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsPutForbidden

type PcloudVpnconnectionsPeersubnetsPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsPeersubnetsPutForbidden

func NewPcloudVpnconnectionsPeersubnetsPutForbidden() *PcloudVpnconnectionsPeersubnetsPutForbidden

NewPcloudVpnconnectionsPeersubnetsPutForbidden creates a PcloudVpnconnectionsPeersubnetsPutForbidden with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets put forbidden response

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) Error

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutForbidden) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsPutInternalServerError

type PcloudVpnconnectionsPeersubnetsPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsPeersubnetsPutInternalServerError

func NewPcloudVpnconnectionsPeersubnetsPutInternalServerError() *PcloudVpnconnectionsPeersubnetsPutInternalServerError

NewPcloudVpnconnectionsPeersubnetsPutInternalServerError creates a PcloudVpnconnectionsPeersubnetsPutInternalServerError with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) Error

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsPutNotFound added in v1.4.2

type PcloudVpnconnectionsPeersubnetsPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVpnconnectionsPeersubnetsPutNotFound added in v1.4.2

func NewPcloudVpnconnectionsPeersubnetsPutNotFound() *PcloudVpnconnectionsPeersubnetsPutNotFound

NewPcloudVpnconnectionsPeersubnetsPutNotFound creates a PcloudVpnconnectionsPeersubnetsPutNotFound with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) Code added in v1.4.2

Code gets the status code for the pcloud vpnconnections peersubnets put not found response

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) Error added in v1.4.2

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) GetPayload added in v1.4.2

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsClientError added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsCode added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsRedirect added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsServerError added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsSuccess added in v1.4.2

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

func (*PcloudVpnconnectionsPeersubnetsPutNotFound) String added in v1.4.2

type PcloudVpnconnectionsPeersubnetsPutOK

type PcloudVpnconnectionsPeersubnetsPutOK struct {
	Payload *models.PeerSubnets
}

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

OK

func NewPcloudVpnconnectionsPeersubnetsPutOK

func NewPcloudVpnconnectionsPeersubnetsPutOK() *PcloudVpnconnectionsPeersubnetsPutOK

NewPcloudVpnconnectionsPeersubnetsPutOK creates a PcloudVpnconnectionsPeersubnetsPutOK with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutOK) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets put o k response

func (*PcloudVpnconnectionsPeersubnetsPutOK) Error

func (*PcloudVpnconnectionsPeersubnetsPutOK) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsPutOK) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsClientError() bool

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

func (*PcloudVpnconnectionsPeersubnetsPutOK) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutOK) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutOK) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsServerError() bool

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

func (*PcloudVpnconnectionsPeersubnetsPutOK) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutOK) String added in v1.2.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithContext

func NewPcloudVpnconnectionsPeersubnetsPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsPutParams

NewPcloudVpnconnectionsPeersubnetsPutParamsWithContext creates a new PcloudVpnconnectionsPeersubnetsPutParams object with 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 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 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) SetDefaults added in v1.1.0

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsPeersubnetsPutUnauthorized

func NewPcloudVpnconnectionsPeersubnetsPutUnauthorized() *PcloudVpnconnectionsPeersubnetsPutUnauthorized

NewPcloudVpnconnectionsPeersubnetsPutUnauthorized creates a PcloudVpnconnectionsPeersubnetsPutUnauthorized with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets put unauthorized response

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) Error

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity

type PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudVpnconnectionsPeersubnetsPutUnprocessableEntity

func NewPcloudVpnconnectionsPeersubnetsPutUnprocessableEntity() *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity

NewPcloudVpnconnectionsPeersubnetsPutUnprocessableEntity creates a PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections peersubnets put unprocessable entity response

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Error

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) String added in v1.2.2

type PcloudVpnconnectionsPostAccepted added in v1.0.76

type PcloudVpnconnectionsPostAccepted struct {
	Payload *models.VPNConnectionCreateResponse
}

PcloudVpnconnectionsPostAccepted describes a response with status code 202, 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) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections post accepted response

func (*PcloudVpnconnectionsPostAccepted) Error added in v1.0.76

func (*PcloudVpnconnectionsPostAccepted) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPostAccepted) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPostAccepted) IsClientError() bool

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

func (*PcloudVpnconnectionsPostAccepted) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsPostAccepted) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPostAccepted) IsRedirect() bool

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

func (*PcloudVpnconnectionsPostAccepted) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPostAccepted) IsServerError() bool

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

func (*PcloudVpnconnectionsPostAccepted) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsPostAccepted) IsSuccess() bool

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

func (*PcloudVpnconnectionsPostAccepted) String added in v1.2.2

type PcloudVpnconnectionsPostBadRequest

type PcloudVpnconnectionsPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsPostBadRequest

func NewPcloudVpnconnectionsPostBadRequest() *PcloudVpnconnectionsPostBadRequest

NewPcloudVpnconnectionsPostBadRequest creates a PcloudVpnconnectionsPostBadRequest with default headers values

func (*PcloudVpnconnectionsPostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections post bad request response

func (*PcloudVpnconnectionsPostBadRequest) Error

func (*PcloudVpnconnectionsPostBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPostBadRequest) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPostBadRequest) IsClientError() bool

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

func (*PcloudVpnconnectionsPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPostBadRequest) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPostBadRequest) IsRedirect() bool

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

func (*PcloudVpnconnectionsPostBadRequest) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPostBadRequest) IsServerError() bool

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

func (*PcloudVpnconnectionsPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPostBadRequest) String added in v1.2.2

type PcloudVpnconnectionsPostConflict

type PcloudVpnconnectionsPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudVpnconnectionsPostConflict

func NewPcloudVpnconnectionsPostConflict() *PcloudVpnconnectionsPostConflict

NewPcloudVpnconnectionsPostConflict creates a PcloudVpnconnectionsPostConflict with default headers values

func (*PcloudVpnconnectionsPostConflict) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections post conflict response

func (*PcloudVpnconnectionsPostConflict) Error

func (*PcloudVpnconnectionsPostConflict) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPostConflict) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPostConflict) IsClientError() bool

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

func (*PcloudVpnconnectionsPostConflict) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsPostConflict) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPostConflict) IsRedirect() bool

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

func (*PcloudVpnconnectionsPostConflict) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPostConflict) IsServerError() bool

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

func (*PcloudVpnconnectionsPostConflict) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsPostConflict) IsSuccess() bool

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

func (*PcloudVpnconnectionsPostConflict) String added in v1.2.2

type PcloudVpnconnectionsPostForbidden

type PcloudVpnconnectionsPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsPostForbidden

func NewPcloudVpnconnectionsPostForbidden() *PcloudVpnconnectionsPostForbidden

NewPcloudVpnconnectionsPostForbidden creates a PcloudVpnconnectionsPostForbidden with default headers values

func (*PcloudVpnconnectionsPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections post forbidden response

func (*PcloudVpnconnectionsPostForbidden) Error

func (*PcloudVpnconnectionsPostForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPostForbidden) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPostForbidden) IsClientError() bool

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

func (*PcloudVpnconnectionsPostForbidden) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsPostForbidden) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPostForbidden) IsRedirect() bool

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

func (*PcloudVpnconnectionsPostForbidden) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPostForbidden) IsServerError() bool

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

func (*PcloudVpnconnectionsPostForbidden) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsPostForbidden) IsSuccess() bool

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

func (*PcloudVpnconnectionsPostForbidden) String added in v1.2.2

type PcloudVpnconnectionsPostInternalServerError

type PcloudVpnconnectionsPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsPostInternalServerError

func NewPcloudVpnconnectionsPostInternalServerError() *PcloudVpnconnectionsPostInternalServerError

NewPcloudVpnconnectionsPostInternalServerError creates a PcloudVpnconnectionsPostInternalServerError with default headers values

func (*PcloudVpnconnectionsPostInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPostInternalServerError) Error

func (*PcloudVpnconnectionsPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPostInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsPostMethodNotAllowed added in v1.5.4

type PcloudVpnconnectionsPostMethodNotAllowed struct {
	Payload *models.Error
}

PcloudVpnconnectionsPostMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewPcloudVpnconnectionsPostMethodNotAllowed added in v1.5.4

func NewPcloudVpnconnectionsPostMethodNotAllowed() *PcloudVpnconnectionsPostMethodNotAllowed

NewPcloudVpnconnectionsPostMethodNotAllowed creates a PcloudVpnconnectionsPostMethodNotAllowed with default headers values

func (*PcloudVpnconnectionsPostMethodNotAllowed) Code added in v1.5.4

Code gets the status code for the pcloud vpnconnections post method not allowed response

func (*PcloudVpnconnectionsPostMethodNotAllowed) Error added in v1.5.4

func (*PcloudVpnconnectionsPostMethodNotAllowed) GetPayload added in v1.5.4

func (*PcloudVpnconnectionsPostMethodNotAllowed) IsClientError added in v1.5.4

IsClientError returns true when this pcloud vpnconnections post method not allowed response has a 4xx status code

func (*PcloudVpnconnectionsPostMethodNotAllowed) IsCode added in v1.5.4

IsCode returns true when this pcloud vpnconnections post method not allowed response a status code equal to that given

func (*PcloudVpnconnectionsPostMethodNotAllowed) IsRedirect added in v1.5.4

IsRedirect returns true when this pcloud vpnconnections post method not allowed response has a 3xx status code

func (*PcloudVpnconnectionsPostMethodNotAllowed) IsServerError added in v1.5.4

IsServerError returns true when this pcloud vpnconnections post method not allowed response has a 5xx status code

func (*PcloudVpnconnectionsPostMethodNotAllowed) IsSuccess added in v1.5.4

IsSuccess returns true when this pcloud vpnconnections post method not allowed response has a 2xx status code

func (*PcloudVpnconnectionsPostMethodNotAllowed) String added in v1.5.4

type PcloudVpnconnectionsPostNotFound added in v1.4.2

type PcloudVpnconnectionsPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudVpnconnectionsPostNotFound added in v1.4.2

func NewPcloudVpnconnectionsPostNotFound() *PcloudVpnconnectionsPostNotFound

NewPcloudVpnconnectionsPostNotFound creates a PcloudVpnconnectionsPostNotFound with default headers values

func (*PcloudVpnconnectionsPostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud vpnconnections post not found response

func (*PcloudVpnconnectionsPostNotFound) Error added in v1.4.2

func (*PcloudVpnconnectionsPostNotFound) GetPayload added in v1.4.2

func (*PcloudVpnconnectionsPostNotFound) IsClientError added in v1.4.2

func (o *PcloudVpnconnectionsPostNotFound) IsClientError() bool

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

func (*PcloudVpnconnectionsPostNotFound) IsCode added in v1.4.2

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

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

func (*PcloudVpnconnectionsPostNotFound) IsRedirect added in v1.4.2

func (o *PcloudVpnconnectionsPostNotFound) IsRedirect() bool

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

func (*PcloudVpnconnectionsPostNotFound) IsServerError added in v1.4.2

func (o *PcloudVpnconnectionsPostNotFound) IsServerError() bool

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

func (*PcloudVpnconnectionsPostNotFound) IsSuccess added in v1.4.2

func (o *PcloudVpnconnectionsPostNotFound) IsSuccess() bool

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

func (*PcloudVpnconnectionsPostNotFound) String added in v1.4.2

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsPostParamsWithContext

func NewPcloudVpnconnectionsPostParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPostParams

NewPcloudVpnconnectionsPostParamsWithContext creates a new PcloudVpnconnectionsPostParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudVpnconnectionsPostParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsPostUnauthorized

func NewPcloudVpnconnectionsPostUnauthorized() *PcloudVpnconnectionsPostUnauthorized

NewPcloudVpnconnectionsPostUnauthorized creates a PcloudVpnconnectionsPostUnauthorized with default headers values

func (*PcloudVpnconnectionsPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections post unauthorized response

func (*PcloudVpnconnectionsPostUnauthorized) Error

func (*PcloudVpnconnectionsPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPostUnauthorized) IsClientError() bool

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

func (*PcloudVpnconnectionsPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPostUnauthorized) IsServerError() bool

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

func (*PcloudVpnconnectionsPostUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPostUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsPostUnprocessableEntity

type PcloudVpnconnectionsPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudVpnconnectionsPostUnprocessableEntity

func NewPcloudVpnconnectionsPostUnprocessableEntity() *PcloudVpnconnectionsPostUnprocessableEntity

NewPcloudVpnconnectionsPostUnprocessableEntity creates a PcloudVpnconnectionsPostUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPostUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections post unprocessable entity response

func (*PcloudVpnconnectionsPostUnprocessableEntity) Error

func (*PcloudVpnconnectionsPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud vpnconnections post unprocessable entity response has a 4xx status code

func (*PcloudVpnconnectionsPostUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud vpnconnections post unprocessable entity response a status code equal to that given

func (*PcloudVpnconnectionsPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud vpnconnections post unprocessable entity response has a 3xx status code

func (*PcloudVpnconnectionsPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud vpnconnections post unprocessable entity response has a 5xx status code

func (*PcloudVpnconnectionsPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud vpnconnections post unprocessable entity response has a 2xx status code

func (*PcloudVpnconnectionsPostUnprocessableEntity) String added in v1.2.2

type PcloudVpnconnectionsPutBadRequest

type PcloudVpnconnectionsPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudVpnconnectionsPutBadRequest

func NewPcloudVpnconnectionsPutBadRequest() *PcloudVpnconnectionsPutBadRequest

NewPcloudVpnconnectionsPutBadRequest creates a PcloudVpnconnectionsPutBadRequest with default headers values

func (*PcloudVpnconnectionsPutBadRequest) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPutBadRequest) Error

func (*PcloudVpnconnectionsPutBadRequest) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPutBadRequest) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPutBadRequest) IsClientError() bool

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

func (*PcloudVpnconnectionsPutBadRequest) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsPutBadRequest) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPutBadRequest) IsRedirect() bool

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

func (*PcloudVpnconnectionsPutBadRequest) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPutBadRequest) IsServerError() bool

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

func (*PcloudVpnconnectionsPutBadRequest) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsPutBadRequest) IsSuccess() bool

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

func (*PcloudVpnconnectionsPutBadRequest) String added in v1.2.2

type PcloudVpnconnectionsPutForbidden

type PcloudVpnconnectionsPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudVpnconnectionsPutForbidden

func NewPcloudVpnconnectionsPutForbidden() *PcloudVpnconnectionsPutForbidden

NewPcloudVpnconnectionsPutForbidden creates a PcloudVpnconnectionsPutForbidden with default headers values

func (*PcloudVpnconnectionsPutForbidden) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPutForbidden) Error

func (*PcloudVpnconnectionsPutForbidden) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPutForbidden) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPutForbidden) IsClientError() bool

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

func (*PcloudVpnconnectionsPutForbidden) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsPutForbidden) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPutForbidden) IsRedirect() bool

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

func (*PcloudVpnconnectionsPutForbidden) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPutForbidden) IsServerError() bool

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

func (*PcloudVpnconnectionsPutForbidden) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsPutForbidden) IsSuccess() bool

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

func (*PcloudVpnconnectionsPutForbidden) String added in v1.2.2

type PcloudVpnconnectionsPutInternalServerError

type PcloudVpnconnectionsPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudVpnconnectionsPutInternalServerError

func NewPcloudVpnconnectionsPutInternalServerError() *PcloudVpnconnectionsPutInternalServerError

NewPcloudVpnconnectionsPutInternalServerError creates a PcloudVpnconnectionsPutInternalServerError with default headers values

func (*PcloudVpnconnectionsPutInternalServerError) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPutInternalServerError) Error

func (*PcloudVpnconnectionsPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPutInternalServerError) String added in v1.2.2

type PcloudVpnconnectionsPutNotFound added in v1.0.76

type PcloudVpnconnectionsPutNotFound struct {
	Payload *models.Error
}

PcloudVpnconnectionsPutNotFound describes a response with status code 404, 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) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPutNotFound) Error added in v1.0.76

func (*PcloudVpnconnectionsPutNotFound) GetPayload added in v1.1.0

func (o *PcloudVpnconnectionsPutNotFound) GetPayload() *models.Error

func (*PcloudVpnconnectionsPutNotFound) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPutNotFound) IsClientError() bool

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

func (*PcloudVpnconnectionsPutNotFound) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsPutNotFound) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPutNotFound) IsRedirect() bool

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

func (*PcloudVpnconnectionsPutNotFound) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPutNotFound) IsServerError() bool

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

func (*PcloudVpnconnectionsPutNotFound) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsPutNotFound) IsSuccess() bool

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

func (*PcloudVpnconnectionsPutNotFound) String added in v1.2.2

type PcloudVpnconnectionsPutOK

type PcloudVpnconnectionsPutOK struct {
	Payload *models.VPNConnection
}

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

OK

func NewPcloudVpnconnectionsPutOK

func NewPcloudVpnconnectionsPutOK() *PcloudVpnconnectionsPutOK

NewPcloudVpnconnectionsPutOK creates a PcloudVpnconnectionsPutOK with default headers values

func (*PcloudVpnconnectionsPutOK) Code added in v1.2.4

func (o *PcloudVpnconnectionsPutOK) Code() int

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

func (*PcloudVpnconnectionsPutOK) Error

func (o *PcloudVpnconnectionsPutOK) Error() string

func (*PcloudVpnconnectionsPutOK) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPutOK) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPutOK) IsClientError() bool

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

func (*PcloudVpnconnectionsPutOK) IsCode added in v1.2.2

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

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

func (*PcloudVpnconnectionsPutOK) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPutOK) IsRedirect() bool

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

func (*PcloudVpnconnectionsPutOK) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPutOK) IsServerError() bool

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

func (*PcloudVpnconnectionsPutOK) IsSuccess added in v1.2.2

func (o *PcloudVpnconnectionsPutOK) IsSuccess() bool

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

func (*PcloudVpnconnectionsPutOK) String added in v1.2.2

func (o *PcloudVpnconnectionsPutOK) String() 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudVpnconnectionsPutParamsWithContext

func NewPcloudVpnconnectionsPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPutParams

NewPcloudVpnconnectionsPutParamsWithContext creates a new PcloudVpnconnectionsPutParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudVpnconnectionsPutParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVpnconnectionsPutUnauthorized

func NewPcloudVpnconnectionsPutUnauthorized() *PcloudVpnconnectionsPutUnauthorized

NewPcloudVpnconnectionsPutUnauthorized creates a PcloudVpnconnectionsPutUnauthorized with default headers values

func (*PcloudVpnconnectionsPutUnauthorized) Code added in v1.2.4

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

func (*PcloudVpnconnectionsPutUnauthorized) Error

func (*PcloudVpnconnectionsPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPutUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVpnconnectionsPutUnauthorized) IsClientError() bool

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

func (*PcloudVpnconnectionsPutUnauthorized) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPutUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudVpnconnectionsPutUnauthorized) IsRedirect() bool

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

func (*PcloudVpnconnectionsPutUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVpnconnectionsPutUnauthorized) IsServerError() bool

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

func (*PcloudVpnconnectionsPutUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPutUnauthorized) String added in v1.2.2

type PcloudVpnconnectionsPutUnprocessableEntity

type PcloudVpnconnectionsPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudVpnconnectionsPutUnprocessableEntity

func NewPcloudVpnconnectionsPutUnprocessableEntity() *PcloudVpnconnectionsPutUnprocessableEntity

NewPcloudVpnconnectionsPutUnprocessableEntity creates a PcloudVpnconnectionsPutUnprocessableEntity with default headers values

func (*PcloudVpnconnectionsPutUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud vpnconnections put unprocessable entity response

func (*PcloudVpnconnectionsPutUnprocessableEntity) Error

func (*PcloudVpnconnectionsPutUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudVpnconnectionsPutUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudVpnconnectionsPutUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudVpnconnectionsPutUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudVpnconnectionsPutUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudVpnconnectionsPutUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudVpnconnectionsPutUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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