Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudVpnconnectionsDelete(params *PcloudVpnconnectionsDeleteParams, ...) (*PcloudVpnconnectionsDeleteAccepted, error)
- func (a *Client) PcloudVpnconnectionsGet(params *PcloudVpnconnectionsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVpnconnectionsGetOK, error)
- func (a *Client) PcloudVpnconnectionsGetall(params *PcloudVpnconnectionsGetallParams, ...) (*PcloudVpnconnectionsGetallOK, error)
- func (a *Client) PcloudVpnconnectionsNetworksDelete(params *PcloudVpnconnectionsNetworksDeleteParams, ...) (*PcloudVpnconnectionsNetworksDeleteAccepted, error)
- func (a *Client) PcloudVpnconnectionsNetworksGet(params *PcloudVpnconnectionsNetworksGetParams, ...) (*PcloudVpnconnectionsNetworksGetOK, error)
- func (a *Client) PcloudVpnconnectionsNetworksPut(params *PcloudVpnconnectionsNetworksPutParams, ...) (*PcloudVpnconnectionsNetworksPutAccepted, error)
- func (a *Client) PcloudVpnconnectionsPeersubnetsDelete(params *PcloudVpnconnectionsPeersubnetsDeleteParams, ...) (*PcloudVpnconnectionsPeersubnetsDeleteOK, error)
- func (a *Client) PcloudVpnconnectionsPeersubnetsGet(params *PcloudVpnconnectionsPeersubnetsGetParams, ...) (*PcloudVpnconnectionsPeersubnetsGetOK, error)
- func (a *Client) PcloudVpnconnectionsPeersubnetsPut(params *PcloudVpnconnectionsPeersubnetsPutParams, ...) (*PcloudVpnconnectionsPeersubnetsPutOK, error)
- func (a *Client) PcloudVpnconnectionsPost(params *PcloudVpnconnectionsPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVpnconnectionsPostAccepted, error)
- func (a *Client) PcloudVpnconnectionsPut(params *PcloudVpnconnectionsPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVpnconnectionsPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudVpnconnectionsDeleteAccepted
- type PcloudVpnconnectionsDeleteBadRequest
- type PcloudVpnconnectionsDeleteForbidden
- type PcloudVpnconnectionsDeleteInternalServerError
- type PcloudVpnconnectionsDeleteNotFound
- type PcloudVpnconnectionsDeleteParams
- func NewPcloudVpnconnectionsDeleteParams() *PcloudVpnconnectionsDeleteParams
- func NewPcloudVpnconnectionsDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsDeleteParams
- func NewPcloudVpnconnectionsDeleteParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsDeleteParams
- func NewPcloudVpnconnectionsDeleteParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsDeleteParams
- func (o *PcloudVpnconnectionsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsDeleteParams) SetDefaults()
- func (o *PcloudVpnconnectionsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsDeleteParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsDeleteParams
- func (o *PcloudVpnconnectionsDeleteParams) WithContext(ctx context.Context) *PcloudVpnconnectionsDeleteParams
- func (o *PcloudVpnconnectionsDeleteParams) WithDefaults() *PcloudVpnconnectionsDeleteParams
- func (o *PcloudVpnconnectionsDeleteParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsDeleteParams
- func (o *PcloudVpnconnectionsDeleteParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsDeleteParams
- func (o *PcloudVpnconnectionsDeleteParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsDeleteParams
- func (o *PcloudVpnconnectionsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsDeleteReader
- type PcloudVpnconnectionsDeleteUnauthorized
- type PcloudVpnconnectionsGetBadRequest
- type PcloudVpnconnectionsGetForbidden
- type PcloudVpnconnectionsGetInternalServerError
- type PcloudVpnconnectionsGetNotFound
- type PcloudVpnconnectionsGetOK
- type PcloudVpnconnectionsGetParams
- func NewPcloudVpnconnectionsGetParams() *PcloudVpnconnectionsGetParams
- func NewPcloudVpnconnectionsGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsGetParams
- func NewPcloudVpnconnectionsGetParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetParams
- func NewPcloudVpnconnectionsGetParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetParams
- func (o *PcloudVpnconnectionsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsGetParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsGetParams) SetDefaults()
- func (o *PcloudVpnconnectionsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsGetParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsGetParams
- func (o *PcloudVpnconnectionsGetParams) WithContext(ctx context.Context) *PcloudVpnconnectionsGetParams
- func (o *PcloudVpnconnectionsGetParams) WithDefaults() *PcloudVpnconnectionsGetParams
- func (o *PcloudVpnconnectionsGetParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetParams
- func (o *PcloudVpnconnectionsGetParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetParams
- func (o *PcloudVpnconnectionsGetParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsGetParams
- func (o *PcloudVpnconnectionsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsGetReader
- type PcloudVpnconnectionsGetUnauthorized
- type PcloudVpnconnectionsGetUnprocessableEntity
- type PcloudVpnconnectionsGetallBadRequest
- type PcloudVpnconnectionsGetallForbidden
- type PcloudVpnconnectionsGetallInternalServerError
- type PcloudVpnconnectionsGetallNotFound
- type PcloudVpnconnectionsGetallOK
- type PcloudVpnconnectionsGetallParams
- func NewPcloudVpnconnectionsGetallParams() *PcloudVpnconnectionsGetallParams
- func NewPcloudVpnconnectionsGetallParamsWithContext(ctx context.Context) *PcloudVpnconnectionsGetallParams
- func NewPcloudVpnconnectionsGetallParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetallParams
- func NewPcloudVpnconnectionsGetallParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetallParams
- func (o *PcloudVpnconnectionsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsGetallParams) SetDefaults()
- func (o *PcloudVpnconnectionsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsGetallParams
- func (o *PcloudVpnconnectionsGetallParams) WithContext(ctx context.Context) *PcloudVpnconnectionsGetallParams
- func (o *PcloudVpnconnectionsGetallParams) WithDefaults() *PcloudVpnconnectionsGetallParams
- func (o *PcloudVpnconnectionsGetallParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetallParams
- func (o *PcloudVpnconnectionsGetallParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetallParams
- func (o *PcloudVpnconnectionsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsGetallReader
- type PcloudVpnconnectionsGetallUnauthorized
- type PcloudVpnconnectionsNetworksDeleteAccepted
- type PcloudVpnconnectionsNetworksDeleteBadRequest
- type PcloudVpnconnectionsNetworksDeleteForbidden
- type PcloudVpnconnectionsNetworksDeleteInternalServerError
- type PcloudVpnconnectionsNetworksDeleteNotFound
- type PcloudVpnconnectionsNetworksDeleteParams
- func NewPcloudVpnconnectionsNetworksDeleteParams() *PcloudVpnconnectionsNetworksDeleteParams
- func NewPcloudVpnconnectionsNetworksDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksDeleteParams
- func NewPcloudVpnconnectionsNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksDeleteParams
- func NewPcloudVpnconnectionsNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) SetBody(body *models.NetworkID)
- func (o *PcloudVpnconnectionsNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsNetworksDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsNetworksDeleteParams) SetDefaults()
- func (o *PcloudVpnconnectionsNetworksDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsNetworksDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsNetworksDeleteParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WithBody(body *models.NetworkID) *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WithContext(ctx context.Context) *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WithDefaults() *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsNetworksDeleteParams
- func (o *PcloudVpnconnectionsNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsNetworksDeleteReader
- type PcloudVpnconnectionsNetworksDeleteUnauthorized
- type PcloudVpnconnectionsNetworksDeleteUnprocessableEntity
- type PcloudVpnconnectionsNetworksGetBadRequest
- type PcloudVpnconnectionsNetworksGetForbidden
- type PcloudVpnconnectionsNetworksGetInternalServerError
- type PcloudVpnconnectionsNetworksGetNotFound
- type PcloudVpnconnectionsNetworksGetOK
- type PcloudVpnconnectionsNetworksGetParams
- func NewPcloudVpnconnectionsNetworksGetParams() *PcloudVpnconnectionsNetworksGetParams
- func NewPcloudVpnconnectionsNetworksGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksGetParams
- func NewPcloudVpnconnectionsNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksGetParams
- func NewPcloudVpnconnectionsNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksGetParams
- func (o *PcloudVpnconnectionsNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsNetworksGetParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsNetworksGetParams) SetDefaults()
- func (o *PcloudVpnconnectionsNetworksGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsNetworksGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsNetworksGetParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsNetworksGetParams
- func (o *PcloudVpnconnectionsNetworksGetParams) WithContext(ctx context.Context) *PcloudVpnconnectionsNetworksGetParams
- func (o *PcloudVpnconnectionsNetworksGetParams) WithDefaults() *PcloudVpnconnectionsNetworksGetParams
- func (o *PcloudVpnconnectionsNetworksGetParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksGetParams
- func (o *PcloudVpnconnectionsNetworksGetParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksGetParams
- func (o *PcloudVpnconnectionsNetworksGetParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsNetworksGetParams
- func (o *PcloudVpnconnectionsNetworksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsNetworksGetReader
- type PcloudVpnconnectionsNetworksGetUnauthorized
- type PcloudVpnconnectionsNetworksPutAccepted
- type PcloudVpnconnectionsNetworksPutBadRequest
- type PcloudVpnconnectionsNetworksPutForbidden
- type PcloudVpnconnectionsNetworksPutInternalServerError
- type PcloudVpnconnectionsNetworksPutNotFound
- type PcloudVpnconnectionsNetworksPutParams
- func NewPcloudVpnconnectionsNetworksPutParams() *PcloudVpnconnectionsNetworksPutParams
- func NewPcloudVpnconnectionsNetworksPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsNetworksPutParams
- func NewPcloudVpnconnectionsNetworksPutParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksPutParams
- func NewPcloudVpnconnectionsNetworksPutParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) SetBody(body *models.NetworkID)
- func (o *PcloudVpnconnectionsNetworksPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsNetworksPutParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsNetworksPutParams) SetDefaults()
- func (o *PcloudVpnconnectionsNetworksPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsNetworksPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsNetworksPutParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsNetworksPutParams) WithBody(body *models.NetworkID) *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) WithContext(ctx context.Context) *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) WithDefaults() *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsNetworksPutParams
- func (o *PcloudVpnconnectionsNetworksPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsNetworksPutReader
- type PcloudVpnconnectionsNetworksPutUnauthorized
- type PcloudVpnconnectionsNetworksPutUnprocessableEntity
- type PcloudVpnconnectionsPeersubnetsDeleteBadRequest
- type PcloudVpnconnectionsPeersubnetsDeleteForbidden
- type PcloudVpnconnectionsPeersubnetsDeleteInternalServerError
- type PcloudVpnconnectionsPeersubnetsDeleteOK
- type PcloudVpnconnectionsPeersubnetsDeleteParams
- func NewPcloudVpnconnectionsPeersubnetsDeleteParams() *PcloudVpnconnectionsPeersubnetsDeleteParams
- func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func NewPcloudVpnconnectionsPeersubnetsDeleteParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetBody(body *models.PeerSubnetUpdate)
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetDefaults()
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithBody(body *models.PeerSubnetUpdate) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithDefaults() *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPeersubnetsDeleteParams
- func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsPeersubnetsDeleteReader
- type PcloudVpnconnectionsPeersubnetsDeleteUnauthorized
- type PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity
- type PcloudVpnconnectionsPeersubnetsGetBadRequest
- type PcloudVpnconnectionsPeersubnetsGetForbidden
- type PcloudVpnconnectionsPeersubnetsGetInternalServerError
- type PcloudVpnconnectionsPeersubnetsGetNotFound
- type PcloudVpnconnectionsPeersubnetsGetOK
- type PcloudVpnconnectionsPeersubnetsGetParams
- func NewPcloudVpnconnectionsPeersubnetsGetParams() *PcloudVpnconnectionsPeersubnetsGetParams
- func NewPcloudVpnconnectionsPeersubnetsGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsGetParams
- func NewPcloudVpnconnectionsPeersubnetsGetParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsGetParams
- func NewPcloudVpnconnectionsPeersubnetsGetParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsGetParams
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetDefaults()
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPeersubnetsGetParams
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsGetParams
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithDefaults() *PcloudVpnconnectionsPeersubnetsGetParams
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsGetParams
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsGetParams
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPeersubnetsGetParams
- func (o *PcloudVpnconnectionsPeersubnetsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsPeersubnetsGetReader
- type PcloudVpnconnectionsPeersubnetsGetUnauthorized
- type PcloudVpnconnectionsPeersubnetsPutBadRequest
- type PcloudVpnconnectionsPeersubnetsPutForbidden
- type PcloudVpnconnectionsPeersubnetsPutInternalServerError
- type PcloudVpnconnectionsPeersubnetsPutOK
- type PcloudVpnconnectionsPeersubnetsPutParams
- func NewPcloudVpnconnectionsPeersubnetsPutParams() *PcloudVpnconnectionsPeersubnetsPutParams
- func NewPcloudVpnconnectionsPeersubnetsPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsPutParams
- func NewPcloudVpnconnectionsPeersubnetsPutParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsPutParams
- func NewPcloudVpnconnectionsPeersubnetsPutParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetBody(body *models.PeerSubnetUpdate)
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetDefaults()
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithBody(body *models.PeerSubnetUpdate) *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithDefaults() *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPeersubnetsPutParams
- func (o *PcloudVpnconnectionsPeersubnetsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsPeersubnetsPutReader
- type PcloudVpnconnectionsPeersubnetsPutUnauthorized
- type PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity
- type PcloudVpnconnectionsPostAccepted
- type PcloudVpnconnectionsPostBadRequest
- type PcloudVpnconnectionsPostConflict
- type PcloudVpnconnectionsPostForbidden
- type PcloudVpnconnectionsPostInternalServerError
- type PcloudVpnconnectionsPostParams
- func NewPcloudVpnconnectionsPostParams() *PcloudVpnconnectionsPostParams
- func NewPcloudVpnconnectionsPostParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPostParams
- func NewPcloudVpnconnectionsPostParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPostParams
- func NewPcloudVpnconnectionsPostParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPostParams
- func (o *PcloudVpnconnectionsPostParams) SetBody(body *models.VPNConnectionCreate)
- func (o *PcloudVpnconnectionsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsPostParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsPostParams) SetDefaults()
- func (o *PcloudVpnconnectionsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsPostParams) WithBody(body *models.VPNConnectionCreate) *PcloudVpnconnectionsPostParams
- func (o *PcloudVpnconnectionsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPostParams
- func (o *PcloudVpnconnectionsPostParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPostParams
- func (o *PcloudVpnconnectionsPostParams) WithDefaults() *PcloudVpnconnectionsPostParams
- func (o *PcloudVpnconnectionsPostParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPostParams
- func (o *PcloudVpnconnectionsPostParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPostParams
- func (o *PcloudVpnconnectionsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsPostReader
- type PcloudVpnconnectionsPostUnauthorized
- type PcloudVpnconnectionsPostUnprocessableEntity
- type PcloudVpnconnectionsPutBadRequest
- type PcloudVpnconnectionsPutForbidden
- type PcloudVpnconnectionsPutInternalServerError
- type PcloudVpnconnectionsPutNotFound
- type PcloudVpnconnectionsPutOK
- type PcloudVpnconnectionsPutParams
- func NewPcloudVpnconnectionsPutParams() *PcloudVpnconnectionsPutParams
- func NewPcloudVpnconnectionsPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPutParams
- func NewPcloudVpnconnectionsPutParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPutParams
- func NewPcloudVpnconnectionsPutParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) SetBody(body *models.VPNConnectionUpdate)
- func (o *PcloudVpnconnectionsPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVpnconnectionsPutParams) SetContext(ctx context.Context)
- func (o *PcloudVpnconnectionsPutParams) SetDefaults()
- func (o *PcloudVpnconnectionsPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVpnconnectionsPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVpnconnectionsPutParams) SetVpnConnectionID(vpnConnectionID string)
- func (o *PcloudVpnconnectionsPutParams) WithBody(body *models.VPNConnectionUpdate) *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) WithDefaults() *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPutParams
- func (o *PcloudVpnconnectionsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVpnconnectionsPutReader
- type PcloudVpnconnectionsPutUnauthorized
- type PcloudVpnconnectionsPutUnprocessableEntity
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 ¶
func (a *Client) PcloudVpnconnectionsDelete(params *PcloudVpnconnectionsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsDeleteAccepted, error)
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 ¶
func (a *Client) PcloudVpnconnectionsNetworksDelete(params *PcloudVpnconnectionsNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsNetworksDeleteAccepted, error)
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 ¶
func (a *Client) PcloudVpnconnectionsNetworksPut(params *PcloudVpnconnectionsNetworksPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVpnconnectionsNetworksPutAccepted, error)
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsDeleteAccepted) Error() string
func (*PcloudVpnconnectionsDeleteAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteAccepted) GetPayload() *models.JobReference
type PcloudVpnconnectionsDeleteBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsDeleteBadRequest) Error() string
func (*PcloudVpnconnectionsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsDeleteForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsDeleteForbidden) Error() string
func (*PcloudVpnconnectionsDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsDeleteInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsDeleteInternalServerError) Error() string
func (*PcloudVpnconnectionsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsDeleteNotFound ¶ added in v1.0.76
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsDeleteNotFound) Error() string
func (*PcloudVpnconnectionsDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteNotFound) GetPayload() *models.Error
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 ¶
func (o *PcloudVpnconnectionsDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudVpnconnectionsDeleteParams) WithContext(ctx context.Context) *PcloudVpnconnectionsDeleteParams
WithContext adds the context to the pcloud vpnconnections delete params
func (*PcloudVpnconnectionsDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteParams) WithDefaults() *PcloudVpnconnectionsDeleteParams
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 ¶
func (o *PcloudVpnconnectionsDeleteParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections delete params
func (*PcloudVpnconnectionsDeleteParams) WithTimeout ¶
func (o *PcloudVpnconnectionsDeleteParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsDeleteParams
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 ¶
func (o *PcloudVpnconnectionsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsDeleteUnauthorized) Error() string
func (*PcloudVpnconnectionsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsGetBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetBadRequest) Error() string
func (*PcloudVpnconnectionsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsGetForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetForbidden) Error() string
func (*PcloudVpnconnectionsGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsGetInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetInternalServerError) Error() string
func (*PcloudVpnconnectionsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsGetNotFound ¶ added in v1.0.76
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsGetNotFound) Error() string
func (*PcloudVpnconnectionsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudVpnconnectionsGetOK) Error() string
func (*PcloudVpnconnectionsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetOK) GetPayload() *models.VPNConnection
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 ¶
func (o *PcloudVpnconnectionsGetParams) WithContext(ctx context.Context) *PcloudVpnconnectionsGetParams
WithContext adds the context to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetParams) WithDefaults() *PcloudVpnconnectionsGetParams
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 ¶
func (o *PcloudVpnconnectionsGetParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) WithTimeout ¶
func (o *PcloudVpnconnectionsGetParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetParams
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 ¶
func (o *PcloudVpnconnectionsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsGetUnauthorized) Error() string
func (*PcloudVpnconnectionsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsGetUnprocessableEntity ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsGetUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetUnprocessableEntity) GetPayload() *models.Error
type PcloudVpnconnectionsGetallBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetallBadRequest) Error() string
func (*PcloudVpnconnectionsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsGetallForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetallForbidden) Error() string
func (*PcloudVpnconnectionsGetallForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsGetallInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetallInternalServerError) Error() string
func (*PcloudVpnconnectionsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsGetallNotFound ¶
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) Error ¶
func (o *PcloudVpnconnectionsGetallNotFound) Error() string
func (*PcloudVpnconnectionsGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudVpnconnectionsGetallOK) Error() string
func (*PcloudVpnconnectionsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallOK) GetPayload() *models.VPNConnections
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 ¶
func (o *PcloudVpnconnectionsGetallParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudVpnconnectionsGetallParams) WithContext(ctx context.Context) *PcloudVpnconnectionsGetallParams
WithContext adds the context to the pcloud vpnconnections getall params
func (*PcloudVpnconnectionsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallParams) WithDefaults() *PcloudVpnconnectionsGetallParams
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 ¶
func (o *PcloudVpnconnectionsGetallParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections getall params
func (*PcloudVpnconnectionsGetallParams) WithTimeout ¶
func (o *PcloudVpnconnectionsGetallParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetallParams
WithTimeout adds the timeout to the pcloud vpnconnections getall params
func (*PcloudVpnconnectionsGetallParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsGetallUnauthorized) Error() string
func (*PcloudVpnconnectionsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallUnauthorized) GetPayload() *models.Error
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) Error() string
func (*PcloudVpnconnectionsNetworksDeleteAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) GetPayload() *models.JobReference
type PcloudVpnconnectionsNetworksDeleteBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) Error() string
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksDeleteForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) Error() string
func (*PcloudVpnconnectionsNetworksDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksDeleteInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) Error() string
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksDeleteNotFound ¶ added in v1.0.76
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) Error() string
func (*PcloudVpnconnectionsNetworksDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) GetPayload() *models.Error
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 ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) SetBody(body *models.NetworkID)
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 ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud vpnconnections networks delete params
func (*PcloudVpnconnectionsNetworksDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteParams) SetDefaults()
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 ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) WithBody(body *models.NetworkID) *PcloudVpnconnectionsNetworksDeleteParams
WithBody adds the body to the pcloud vpnconnections networks delete params
func (*PcloudVpnconnectionsNetworksDeleteParams) WithCloudInstanceID ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsNetworksDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections networks delete params
func (*PcloudVpnconnectionsNetworksDeleteParams) WithContext ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) WithContext(ctx context.Context) *PcloudVpnconnectionsNetworksDeleteParams
WithContext adds the context to the pcloud vpnconnections networks delete params
func (*PcloudVpnconnectionsNetworksDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteParams) WithDefaults() *PcloudVpnconnectionsNetworksDeleteParams
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 ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections networks delete params
func (*PcloudVpnconnectionsNetworksDeleteParams) WithTimeout ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksDeleteParams
WithTimeout adds the timeout to the pcloud vpnconnections networks delete params
func (*PcloudVpnconnectionsNetworksDeleteParams) WithVpnConnectionID ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsNetworksDeleteParams
WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections networks delete params
func (*PcloudVpnconnectionsNetworksDeleteParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) Error() string
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksDeleteUnprocessableEntity ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksGetBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksGetBadRequest) Error() string
func (*PcloudVpnconnectionsNetworksGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksGetForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksGetForbidden) Error() string
func (*PcloudVpnconnectionsNetworksGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksGetInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) Error() string
func (*PcloudVpnconnectionsNetworksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksGetNotFound ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksGetNotFound) Error() string
func (*PcloudVpnconnectionsNetworksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudVpnconnectionsNetworksGetOK) Error() string
func (*PcloudVpnconnectionsNetworksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetOK) GetPayload() *models.NetworkIDs
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 ¶
func (o *PcloudVpnconnectionsNetworksGetParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudVpnconnectionsNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsNetworksGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections networks get params
func (*PcloudVpnconnectionsNetworksGetParams) WithContext ¶
func (o *PcloudVpnconnectionsNetworksGetParams) WithContext(ctx context.Context) *PcloudVpnconnectionsNetworksGetParams
WithContext adds the context to the pcloud vpnconnections networks get params
func (*PcloudVpnconnectionsNetworksGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetParams) WithDefaults() *PcloudVpnconnectionsNetworksGetParams
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 ¶
func (o *PcloudVpnconnectionsNetworksGetParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksGetParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections networks get params
func (*PcloudVpnconnectionsNetworksGetParams) WithTimeout ¶
func (o *PcloudVpnconnectionsNetworksGetParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksGetParams
WithTimeout adds the timeout to the pcloud vpnconnections networks get params
func (*PcloudVpnconnectionsNetworksGetParams) WithVpnConnectionID ¶
func (o *PcloudVpnconnectionsNetworksGetParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsNetworksGetParams
WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections networks get params
func (*PcloudVpnconnectionsNetworksGetParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsNetworksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) Error() string
func (*PcloudVpnconnectionsNetworksGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) GetPayload() *models.Error
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsNetworksPutAccepted) Error() string
func (*PcloudVpnconnectionsNetworksPutAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutAccepted) GetPayload() *models.JobReference
type PcloudVpnconnectionsNetworksPutBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksPutBadRequest) Error() string
func (*PcloudVpnconnectionsNetworksPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksPutForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksPutForbidden) Error() string
func (*PcloudVpnconnectionsNetworksPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksPutInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) Error() string
func (*PcloudVpnconnectionsNetworksPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksPutNotFound ¶ added in v1.0.76
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsNetworksPutNotFound) Error() string
func (*PcloudVpnconnectionsNetworksPutNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutNotFound) GetPayload() *models.Error
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 ¶
func (o *PcloudVpnconnectionsNetworksPutParams) SetBody(body *models.NetworkID)
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 ¶
func (o *PcloudVpnconnectionsNetworksPutParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudVpnconnectionsNetworksPutParams) WithBody(body *models.NetworkID) *PcloudVpnconnectionsNetworksPutParams
WithBody adds the body to the pcloud vpnconnections networks put params
func (*PcloudVpnconnectionsNetworksPutParams) WithCloudInstanceID ¶
func (o *PcloudVpnconnectionsNetworksPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsNetworksPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections networks put params
func (*PcloudVpnconnectionsNetworksPutParams) WithContext ¶
func (o *PcloudVpnconnectionsNetworksPutParams) WithContext(ctx context.Context) *PcloudVpnconnectionsNetworksPutParams
WithContext adds the context to the pcloud vpnconnections networks put params
func (*PcloudVpnconnectionsNetworksPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutParams) WithDefaults() *PcloudVpnconnectionsNetworksPutParams
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 ¶
func (o *PcloudVpnconnectionsNetworksPutParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsNetworksPutParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections networks put params
func (*PcloudVpnconnectionsNetworksPutParams) WithTimeout ¶
func (o *PcloudVpnconnectionsNetworksPutParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsNetworksPutParams
WithTimeout adds the timeout to the pcloud vpnconnections networks put params
func (*PcloudVpnconnectionsNetworksPutParams) WithVpnConnectionID ¶
func (o *PcloudVpnconnectionsNetworksPutParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsNetworksPutParams
WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections networks put params
func (*PcloudVpnconnectionsNetworksPutParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsNetworksPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) Error() string
func (*PcloudVpnconnectionsNetworksPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsNetworksPutUnprocessableEntity ¶
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) Error ¶
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsDeleteBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsDeleteForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsDeleteInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) GetPayload() *models.PeerSubnets
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetBody(body *models.PeerSubnetUpdate)
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud vpnconnections peersubnets delete params
func (*PcloudVpnconnectionsPeersubnetsDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetDefaults()
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithBody(body *models.PeerSubnetUpdate) *PcloudVpnconnectionsPeersubnetsDeleteParams
WithBody adds the body to the pcloud vpnconnections peersubnets delete params
func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPeersubnetsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections peersubnets delete params
func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithContext ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsDeleteParams
WithContext adds the context to the pcloud vpnconnections peersubnets delete params
func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithDefaults() *PcloudVpnconnectionsPeersubnetsDeleteParams
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets delete params
func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithTimeout ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsDeleteParams
WithTimeout adds the timeout to the pcloud vpnconnections peersubnets delete params
func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WithVpnConnectionID ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPeersubnetsDeleteParams
WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections peersubnets delete params
func (*PcloudVpnconnectionsPeersubnetsDeleteParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsGetBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsGetForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsGetInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsGetNotFound ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetOK) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetOK) GetPayload() *models.PeerSubnets
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud vpnconnections peersubnets get params
func (*PcloudVpnconnectionsPeersubnetsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetDefaults()
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPeersubnetsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections peersubnets get params
func (*PcloudVpnconnectionsPeersubnetsGetParams) WithContext ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsGetParams
WithContext adds the context to the pcloud vpnconnections peersubnets get params
func (*PcloudVpnconnectionsPeersubnetsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithDefaults() *PcloudVpnconnectionsPeersubnetsGetParams
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsGetParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets get params
func (*PcloudVpnconnectionsPeersubnetsGetParams) WithTimeout ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsGetParams
WithTimeout adds the timeout to the pcloud vpnconnections peersubnets get params
func (*PcloudVpnconnectionsPeersubnetsGetParams) WithVpnConnectionID ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPeersubnetsGetParams
WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections peersubnets get params
func (*PcloudVpnconnectionsPeersubnetsGetParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsPeersubnetsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsPutBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsPutForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsPutInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutOK) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutOK) GetPayload() *models.PeerSubnets
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetBody(body *models.PeerSubnetUpdate)
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud vpnconnections peersubnets put params
func (*PcloudVpnconnectionsPeersubnetsPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetDefaults()
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithBody(body *models.PeerSubnetUpdate) *PcloudVpnconnectionsPeersubnetsPutParams
WithBody adds the body to the pcloud vpnconnections peersubnets put params
func (*PcloudVpnconnectionsPeersubnetsPutParams) WithCloudInstanceID ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsPeersubnetsPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections peersubnets put params
func (*PcloudVpnconnectionsPeersubnetsPutParams) WithContext ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPeersubnetsPutParams
WithContext adds the context to the pcloud vpnconnections peersubnets put params
func (*PcloudVpnconnectionsPeersubnetsPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithDefaults() *PcloudVpnconnectionsPeersubnetsPutParams
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 ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPeersubnetsPutParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections peersubnets put params
func (*PcloudVpnconnectionsPeersubnetsPutParams) WithTimeout ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPeersubnetsPutParams
WithTimeout adds the timeout to the pcloud vpnconnections peersubnets put params
func (*PcloudVpnconnectionsPeersubnetsPutParams) WithVpnConnectionID ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WithVpnConnectionID(vpnConnectionID string) *PcloudVpnconnectionsPeersubnetsPutParams
WithVpnConnectionID adds the vpnConnectionID to the pcloud vpnconnections peersubnets put params
func (*PcloudVpnconnectionsPeersubnetsPutParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsPeersubnetsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity ¶
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) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) GetPayload() *models.Error
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsPostAccepted) Error() string
func (*PcloudVpnconnectionsPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostAccepted) GetPayload() *models.VPNConnectionCreateResponse
type PcloudVpnconnectionsPostBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsPostBadRequest) Error() string
func (*PcloudVpnconnectionsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsPostConflict ¶
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) Error ¶
func (o *PcloudVpnconnectionsPostConflict) Error() string
func (*PcloudVpnconnectionsPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostConflict) GetPayload() *models.Error
type PcloudVpnconnectionsPostForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsPostForbidden) Error() string
func (*PcloudVpnconnectionsPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsPostInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsPostInternalServerError) Error() string
func (*PcloudVpnconnectionsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsPostParams ¶
type PcloudVpnconnectionsPostParams struct { /* Body. VPN Connection object used for creation */ Body *models.VPNConnectionCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVpnconnectionsPostParams contains all the parameters to send to the API endpoint
for the pcloud vpnconnections post operation. Typically these are written to a http.Request.
func NewPcloudVpnconnectionsPostParams ¶
func NewPcloudVpnconnectionsPostParams() *PcloudVpnconnectionsPostParams
NewPcloudVpnconnectionsPostParams creates a new PcloudVpnconnectionsPostParams object, with the default 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 ¶
func (o *PcloudVpnconnectionsPostParams) SetBody(body *models.VPNConnectionCreate)
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 ¶
func (o *PcloudVpnconnectionsPostParams) WithBody(body *models.VPNConnectionCreate) *PcloudVpnconnectionsPostParams
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 ¶
func (o *PcloudVpnconnectionsPostParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPostParams
WithContext adds the context to the pcloud vpnconnections post params
func (*PcloudVpnconnectionsPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostParams) WithDefaults() *PcloudVpnconnectionsPostParams
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 ¶
func (o *PcloudVpnconnectionsPostParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPostParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections post params
func (*PcloudVpnconnectionsPostParams) WithTimeout ¶
func (o *PcloudVpnconnectionsPostParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPostParams
WithTimeout adds the timeout to the pcloud vpnconnections post params
func (*PcloudVpnconnectionsPostParams) WriteToRequest ¶
func (o *PcloudVpnconnectionsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsPostUnauthorized) Error() string
func (*PcloudVpnconnectionsPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsPostUnprocessableEntity ¶
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) Error ¶
func (o *PcloudVpnconnectionsPostUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostUnprocessableEntity) GetPayload() *models.Error
type PcloudVpnconnectionsPutBadRequest ¶
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) Error ¶
func (o *PcloudVpnconnectionsPutBadRequest) Error() string
func (*PcloudVpnconnectionsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutBadRequest) GetPayload() *models.Error
type PcloudVpnconnectionsPutForbidden ¶
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) Error ¶
func (o *PcloudVpnconnectionsPutForbidden) Error() string
func (*PcloudVpnconnectionsPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutForbidden) GetPayload() *models.Error
type PcloudVpnconnectionsPutInternalServerError ¶
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) Error ¶
func (o *PcloudVpnconnectionsPutInternalServerError) Error() string
func (*PcloudVpnconnectionsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutInternalServerError) GetPayload() *models.Error
type PcloudVpnconnectionsPutNotFound ¶ added in v1.0.76
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) Error ¶ added in v1.0.76
func (o *PcloudVpnconnectionsPutNotFound) Error() string
func (*PcloudVpnconnectionsPutNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudVpnconnectionsPutOK) Error() string
func (*PcloudVpnconnectionsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutOK) GetPayload() *models.VPNConnection
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 ¶
func (o *PcloudVpnconnectionsPutParams) SetBody(body *models.VPNConnectionUpdate)
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 ¶
func (o *PcloudVpnconnectionsPutParams) WithBody(body *models.VPNConnectionUpdate) *PcloudVpnconnectionsPutParams
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 ¶
func (o *PcloudVpnconnectionsPutParams) WithContext(ctx context.Context) *PcloudVpnconnectionsPutParams
WithContext adds the context to the pcloud vpnconnections put params
func (*PcloudVpnconnectionsPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutParams) WithDefaults() *PcloudVpnconnectionsPutParams
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 ¶
func (o *PcloudVpnconnectionsPutParams) WithHTTPClient(client *http.Client) *PcloudVpnconnectionsPutParams
WithHTTPClient adds the HTTPClient to the pcloud vpnconnections put params
func (*PcloudVpnconnectionsPutParams) WithTimeout ¶
func (o *PcloudVpnconnectionsPutParams) WithTimeout(timeout time.Duration) *PcloudVpnconnectionsPutParams
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 ¶
func (o *PcloudVpnconnectionsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *PcloudVpnconnectionsPutUnauthorized) Error() string
func (*PcloudVpnconnectionsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutUnauthorized) GetPayload() *models.Error
type PcloudVpnconnectionsPutUnprocessableEntity ¶
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) Error ¶
func (o *PcloudVpnconnectionsPutUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutUnprocessableEntity) GetPayload() *models.Error
Source Files ¶
- p_cloudvpn_connections_client.go
- pcloud_vpnconnections_delete_parameters.go
- pcloud_vpnconnections_delete_responses.go
- pcloud_vpnconnections_get_parameters.go
- pcloud_vpnconnections_get_responses.go
- pcloud_vpnconnections_getall_parameters.go
- pcloud_vpnconnections_getall_responses.go
- pcloud_vpnconnections_networks_delete_parameters.go
- pcloud_vpnconnections_networks_delete_responses.go
- pcloud_vpnconnections_networks_get_parameters.go
- pcloud_vpnconnections_networks_get_responses.go
- pcloud_vpnconnections_networks_put_parameters.go
- pcloud_vpnconnections_networks_put_responses.go
- pcloud_vpnconnections_peersubnets_delete_parameters.go
- pcloud_vpnconnections_peersubnets_delete_responses.go
- pcloud_vpnconnections_peersubnets_get_parameters.go
- pcloud_vpnconnections_peersubnets_get_responses.go
- pcloud_vpnconnections_peersubnets_put_parameters.go
- pcloud_vpnconnections_peersubnets_put_responses.go
- pcloud_vpnconnections_post_parameters.go
- pcloud_vpnconnections_post_responses.go
- pcloud_vpnconnections_put_parameters.go
- pcloud_vpnconnections_put_responses.go