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
- func (o *PcloudVpnconnectionsDeleteAccepted) Code() int
- func (o *PcloudVpnconnectionsDeleteAccepted) Error() string
- func (o *PcloudVpnconnectionsDeleteAccepted) GetPayload() *models.JobReference
- func (o *PcloudVpnconnectionsDeleteAccepted) IsClientError() bool
- func (o *PcloudVpnconnectionsDeleteAccepted) IsCode(code int) bool
- func (o *PcloudVpnconnectionsDeleteAccepted) IsRedirect() bool
- func (o *PcloudVpnconnectionsDeleteAccepted) IsServerError() bool
- func (o *PcloudVpnconnectionsDeleteAccepted) IsSuccess() bool
- func (o *PcloudVpnconnectionsDeleteAccepted) String() string
- type PcloudVpnconnectionsDeleteBadRequest
- func (o *PcloudVpnconnectionsDeleteBadRequest) Code() int
- func (o *PcloudVpnconnectionsDeleteBadRequest) Error() string
- func (o *PcloudVpnconnectionsDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsDeleteBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsDeleteBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsDeleteBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsDeleteBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsDeleteBadRequest) String() string
- type PcloudVpnconnectionsDeleteForbidden
- func (o *PcloudVpnconnectionsDeleteForbidden) Code() int
- func (o *PcloudVpnconnectionsDeleteForbidden) Error() string
- func (o *PcloudVpnconnectionsDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsDeleteForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsDeleteForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsDeleteForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsDeleteForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsDeleteForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsDeleteForbidden) String() string
- type PcloudVpnconnectionsDeleteInternalServerError
- func (o *PcloudVpnconnectionsDeleteInternalServerError) Code() int
- func (o *PcloudVpnconnectionsDeleteInternalServerError) Error() string
- func (o *PcloudVpnconnectionsDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsDeleteInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsDeleteInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsDeleteInternalServerError) String() string
- type PcloudVpnconnectionsDeleteNotFound
- func (o *PcloudVpnconnectionsDeleteNotFound) Code() int
- func (o *PcloudVpnconnectionsDeleteNotFound) Error() string
- func (o *PcloudVpnconnectionsDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsDeleteNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsDeleteNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsDeleteNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsDeleteNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsDeleteNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsDeleteNotFound) String() string
- 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
- func (o *PcloudVpnconnectionsDeleteUnauthorized) Code() int
- func (o *PcloudVpnconnectionsDeleteUnauthorized) Error() string
- func (o *PcloudVpnconnectionsDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsDeleteUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsDeleteUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsDeleteUnauthorized) String() string
- type PcloudVpnconnectionsGetBadRequest
- func (o *PcloudVpnconnectionsGetBadRequest) Code() int
- func (o *PcloudVpnconnectionsGetBadRequest) Error() string
- func (o *PcloudVpnconnectionsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsGetBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsGetBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetBadRequest) String() string
- type PcloudVpnconnectionsGetForbidden
- func (o *PcloudVpnconnectionsGetForbidden) Code() int
- func (o *PcloudVpnconnectionsGetForbidden) Error() string
- func (o *PcloudVpnconnectionsGetForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsGetForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsGetForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetForbidden) String() string
- type PcloudVpnconnectionsGetInternalServerError
- func (o *PcloudVpnconnectionsGetInternalServerError) Code() int
- func (o *PcloudVpnconnectionsGetInternalServerError) Error() string
- func (o *PcloudVpnconnectionsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsGetInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetInternalServerError) String() string
- type PcloudVpnconnectionsGetNotFound
- func (o *PcloudVpnconnectionsGetNotFound) Code() int
- func (o *PcloudVpnconnectionsGetNotFound) Error() string
- func (o *PcloudVpnconnectionsGetNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsGetNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsGetNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetNotFound) String() string
- type PcloudVpnconnectionsGetOK
- func (o *PcloudVpnconnectionsGetOK) Code() int
- func (o *PcloudVpnconnectionsGetOK) Error() string
- func (o *PcloudVpnconnectionsGetOK) GetPayload() *models.VPNConnection
- func (o *PcloudVpnconnectionsGetOK) IsClientError() bool
- func (o *PcloudVpnconnectionsGetOK) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetOK) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetOK) IsServerError() bool
- func (o *PcloudVpnconnectionsGetOK) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetOK) String() string
- 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
- func (o *PcloudVpnconnectionsGetUnauthorized) Code() int
- func (o *PcloudVpnconnectionsGetUnauthorized) Error() string
- func (o *PcloudVpnconnectionsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsGetUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetUnauthorized) String() string
- type PcloudVpnconnectionsGetUnprocessableEntity
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) Code() int
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) Error() string
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsClientError() bool
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsServerError() bool
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetUnprocessableEntity) String() string
- type PcloudVpnconnectionsGetallBadRequest
- func (o *PcloudVpnconnectionsGetallBadRequest) Code() int
- func (o *PcloudVpnconnectionsGetallBadRequest) Error() string
- func (o *PcloudVpnconnectionsGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetallBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsGetallBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetallBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetallBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsGetallBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetallBadRequest) String() string
- type PcloudVpnconnectionsGetallForbidden
- func (o *PcloudVpnconnectionsGetallForbidden) Code() int
- func (o *PcloudVpnconnectionsGetallForbidden) Error() string
- func (o *PcloudVpnconnectionsGetallForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetallForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsGetallForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetallForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetallForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsGetallForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetallForbidden) String() string
- type PcloudVpnconnectionsGetallInternalServerError
- func (o *PcloudVpnconnectionsGetallInternalServerError) Code() int
- func (o *PcloudVpnconnectionsGetallInternalServerError) Error() string
- func (o *PcloudVpnconnectionsGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetallInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetallInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetallInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsGetallInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetallInternalServerError) String() string
- type PcloudVpnconnectionsGetallNotFound
- func (o *PcloudVpnconnectionsGetallNotFound) Code() int
- func (o *PcloudVpnconnectionsGetallNotFound) Error() string
- func (o *PcloudVpnconnectionsGetallNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetallNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsGetallNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetallNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetallNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsGetallNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetallNotFound) String() string
- type PcloudVpnconnectionsGetallOK
- func (o *PcloudVpnconnectionsGetallOK) Code() int
- func (o *PcloudVpnconnectionsGetallOK) Error() string
- func (o *PcloudVpnconnectionsGetallOK) GetPayload() *models.VPNConnections
- func (o *PcloudVpnconnectionsGetallOK) IsClientError() bool
- func (o *PcloudVpnconnectionsGetallOK) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetallOK) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetallOK) IsServerError() bool
- func (o *PcloudVpnconnectionsGetallOK) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetallOK) String() string
- 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
- func (o *PcloudVpnconnectionsGetallUnauthorized) Code() int
- func (o *PcloudVpnconnectionsGetallUnauthorized) Error() string
- func (o *PcloudVpnconnectionsGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsGetallUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsGetallUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsGetallUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsGetallUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsGetallUnauthorized) String() string
- type PcloudVpnconnectionsNetworksDeleteAccepted
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) Code() int
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) Error() string
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) GetPayload() *models.JobReference
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksDeleteAccepted) String() string
- type PcloudVpnconnectionsNetworksDeleteBadRequest
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) Code() int
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) Error() string
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) String() string
- type PcloudVpnconnectionsNetworksDeleteForbidden
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) Code() int
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) Error() string
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksDeleteForbidden) String() string
- type PcloudVpnconnectionsNetworksDeleteInternalServerError
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) Code() int
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) Error() string
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) String() string
- type PcloudVpnconnectionsNetworksDeleteNotFound
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) Code() int
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) Error() string
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksDeleteNotFound) String() string
- 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
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) Code() int
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) Error() string
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) String() string
- type PcloudVpnconnectionsNetworksDeleteUnprocessableEntity
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Code() int
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Error() string
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) String() string
- type PcloudVpnconnectionsNetworksGetBadRequest
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) Code() int
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) Error() string
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksGetBadRequest) String() string
- type PcloudVpnconnectionsNetworksGetForbidden
- func (o *PcloudVpnconnectionsNetworksGetForbidden) Code() int
- func (o *PcloudVpnconnectionsNetworksGetForbidden) Error() string
- func (o *PcloudVpnconnectionsNetworksGetForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksGetForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksGetForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksGetForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksGetForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksGetForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksGetForbidden) String() string
- type PcloudVpnconnectionsNetworksGetInternalServerError
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) Code() int
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) Error() string
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksGetInternalServerError) String() string
- type PcloudVpnconnectionsNetworksGetNotFound
- func (o *PcloudVpnconnectionsNetworksGetNotFound) Code() int
- func (o *PcloudVpnconnectionsNetworksGetNotFound) Error() string
- func (o *PcloudVpnconnectionsNetworksGetNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksGetNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksGetNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksGetNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksGetNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksGetNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksGetNotFound) String() string
- type PcloudVpnconnectionsNetworksGetOK
- func (o *PcloudVpnconnectionsNetworksGetOK) Code() int
- func (o *PcloudVpnconnectionsNetworksGetOK) Error() string
- func (o *PcloudVpnconnectionsNetworksGetOK) GetPayload() *models.NetworkIDs
- func (o *PcloudVpnconnectionsNetworksGetOK) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksGetOK) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksGetOK) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksGetOK) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksGetOK) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksGetOK) String() string
- 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
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) Code() int
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) Error() string
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksGetUnauthorized) String() string
- type PcloudVpnconnectionsNetworksPutAccepted
- func (o *PcloudVpnconnectionsNetworksPutAccepted) Code() int
- func (o *PcloudVpnconnectionsNetworksPutAccepted) Error() string
- func (o *PcloudVpnconnectionsNetworksPutAccepted) GetPayload() *models.JobReference
- func (o *PcloudVpnconnectionsNetworksPutAccepted) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksPutAccepted) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksPutAccepted) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksPutAccepted) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksPutAccepted) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksPutAccepted) String() string
- type PcloudVpnconnectionsNetworksPutBadRequest
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) Code() int
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) Error() string
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksPutBadRequest) String() string
- type PcloudVpnconnectionsNetworksPutForbidden
- func (o *PcloudVpnconnectionsNetworksPutForbidden) Code() int
- func (o *PcloudVpnconnectionsNetworksPutForbidden) Error() string
- func (o *PcloudVpnconnectionsNetworksPutForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksPutForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksPutForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksPutForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksPutForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksPutForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksPutForbidden) String() string
- type PcloudVpnconnectionsNetworksPutInternalServerError
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) Code() int
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) Error() string
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksPutInternalServerError) String() string
- type PcloudVpnconnectionsNetworksPutNotFound
- func (o *PcloudVpnconnectionsNetworksPutNotFound) Code() int
- func (o *PcloudVpnconnectionsNetworksPutNotFound) Error() string
- func (o *PcloudVpnconnectionsNetworksPutNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksPutNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksPutNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksPutNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksPutNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksPutNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksPutNotFound) String() string
- 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
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) Code() int
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) Error() string
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksPutUnauthorized) String() string
- type PcloudVpnconnectionsNetworksPutUnprocessableEntity
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) Code() int
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) Error() string
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) String() string
- type PcloudVpnconnectionsPeersubnetsDeleteBadRequest
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) String() string
- type PcloudVpnconnectionsPeersubnetsDeleteForbidden
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) String() string
- type PcloudVpnconnectionsPeersubnetsDeleteInternalServerError
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) String() string
- type PcloudVpnconnectionsPeersubnetsDeleteNotFound
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) String() string
- type PcloudVpnconnectionsPeersubnetsDeleteOK
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) GetPayload() *models.PeerSubnets
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) String() string
- 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
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) String() string
- type PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) String() string
- type PcloudVpnconnectionsPeersubnetsGetBadRequest
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) String() string
- type PcloudVpnconnectionsPeersubnetsGetForbidden
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) String() string
- type PcloudVpnconnectionsPeersubnetsGetInternalServerError
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) String() string
- type PcloudVpnconnectionsPeersubnetsGetNotFound
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) String() string
- type PcloudVpnconnectionsPeersubnetsGetOK
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) GetPayload() *models.PeerSubnets
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetOK) String() string
- 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
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) String() string
- type PcloudVpnconnectionsPeersubnetsPutBadRequest
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) String() string
- type PcloudVpnconnectionsPeersubnetsPutForbidden
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) String() string
- type PcloudVpnconnectionsPeersubnetsPutInternalServerError
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) String() string
- type PcloudVpnconnectionsPeersubnetsPutNotFound
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) String() string
- type PcloudVpnconnectionsPeersubnetsPutOK
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) GetPayload() *models.PeerSubnets
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutOK) String() string
- 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
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) String() string
- type PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Code() int
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Error() string
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) String() string
- type PcloudVpnconnectionsPostAccepted
- func (o *PcloudVpnconnectionsPostAccepted) Code() int
- func (o *PcloudVpnconnectionsPostAccepted) Error() string
- func (o *PcloudVpnconnectionsPostAccepted) GetPayload() *models.VPNConnectionCreateResponse
- func (o *PcloudVpnconnectionsPostAccepted) IsClientError() bool
- func (o *PcloudVpnconnectionsPostAccepted) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostAccepted) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostAccepted) IsServerError() bool
- func (o *PcloudVpnconnectionsPostAccepted) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostAccepted) String() string
- type PcloudVpnconnectionsPostBadRequest
- func (o *PcloudVpnconnectionsPostBadRequest) Code() int
- func (o *PcloudVpnconnectionsPostBadRequest) Error() string
- func (o *PcloudVpnconnectionsPostBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsPostBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsPostBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostBadRequest) String() string
- type PcloudVpnconnectionsPostConflict
- func (o *PcloudVpnconnectionsPostConflict) Code() int
- func (o *PcloudVpnconnectionsPostConflict) Error() string
- func (o *PcloudVpnconnectionsPostConflict) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostConflict) IsClientError() bool
- func (o *PcloudVpnconnectionsPostConflict) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostConflict) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostConflict) IsServerError() bool
- func (o *PcloudVpnconnectionsPostConflict) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostConflict) String() string
- type PcloudVpnconnectionsPostForbidden
- func (o *PcloudVpnconnectionsPostForbidden) Code() int
- func (o *PcloudVpnconnectionsPostForbidden) Error() string
- func (o *PcloudVpnconnectionsPostForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsPostForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsPostForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostForbidden) String() string
- type PcloudVpnconnectionsPostInternalServerError
- func (o *PcloudVpnconnectionsPostInternalServerError) Code() int
- func (o *PcloudVpnconnectionsPostInternalServerError) Error() string
- func (o *PcloudVpnconnectionsPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsPostInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsPostInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostInternalServerError) String() string
- type PcloudVpnconnectionsPostMethodNotAllowed
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) Code() int
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) Error() string
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsClientError() bool
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsServerError() bool
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostMethodNotAllowed) String() string
- type PcloudVpnconnectionsPostNotFound
- func (o *PcloudVpnconnectionsPostNotFound) Code() int
- func (o *PcloudVpnconnectionsPostNotFound) Error() string
- func (o *PcloudVpnconnectionsPostNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsPostNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsPostNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostNotFound) String() string
- 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
- func (o *PcloudVpnconnectionsPostUnauthorized) Code() int
- func (o *PcloudVpnconnectionsPostUnauthorized) Error() string
- func (o *PcloudVpnconnectionsPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsPostUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsPostUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostUnauthorized) String() string
- type PcloudVpnconnectionsPostUnprocessableEntity
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) Code() int
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) Error() string
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudVpnconnectionsPostUnprocessableEntity) String() string
- type PcloudVpnconnectionsPutBadRequest
- func (o *PcloudVpnconnectionsPutBadRequest) Code() int
- func (o *PcloudVpnconnectionsPutBadRequest) Error() string
- func (o *PcloudVpnconnectionsPutBadRequest) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPutBadRequest) IsClientError() bool
- func (o *PcloudVpnconnectionsPutBadRequest) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPutBadRequest) IsRedirect() bool
- func (o *PcloudVpnconnectionsPutBadRequest) IsServerError() bool
- func (o *PcloudVpnconnectionsPutBadRequest) IsSuccess() bool
- func (o *PcloudVpnconnectionsPutBadRequest) String() string
- type PcloudVpnconnectionsPutForbidden
- func (o *PcloudVpnconnectionsPutForbidden) Code() int
- func (o *PcloudVpnconnectionsPutForbidden) Error() string
- func (o *PcloudVpnconnectionsPutForbidden) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPutForbidden) IsClientError() bool
- func (o *PcloudVpnconnectionsPutForbidden) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPutForbidden) IsRedirect() bool
- func (o *PcloudVpnconnectionsPutForbidden) IsServerError() bool
- func (o *PcloudVpnconnectionsPutForbidden) IsSuccess() bool
- func (o *PcloudVpnconnectionsPutForbidden) String() string
- type PcloudVpnconnectionsPutInternalServerError
- func (o *PcloudVpnconnectionsPutInternalServerError) Code() int
- func (o *PcloudVpnconnectionsPutInternalServerError) Error() string
- func (o *PcloudVpnconnectionsPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPutInternalServerError) IsClientError() bool
- func (o *PcloudVpnconnectionsPutInternalServerError) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPutInternalServerError) IsRedirect() bool
- func (o *PcloudVpnconnectionsPutInternalServerError) IsServerError() bool
- func (o *PcloudVpnconnectionsPutInternalServerError) IsSuccess() bool
- func (o *PcloudVpnconnectionsPutInternalServerError) String() string
- type PcloudVpnconnectionsPutNotFound
- func (o *PcloudVpnconnectionsPutNotFound) Code() int
- func (o *PcloudVpnconnectionsPutNotFound) Error() string
- func (o *PcloudVpnconnectionsPutNotFound) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPutNotFound) IsClientError() bool
- func (o *PcloudVpnconnectionsPutNotFound) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPutNotFound) IsRedirect() bool
- func (o *PcloudVpnconnectionsPutNotFound) IsServerError() bool
- func (o *PcloudVpnconnectionsPutNotFound) IsSuccess() bool
- func (o *PcloudVpnconnectionsPutNotFound) String() string
- type PcloudVpnconnectionsPutOK
- func (o *PcloudVpnconnectionsPutOK) Code() int
- func (o *PcloudVpnconnectionsPutOK) Error() string
- func (o *PcloudVpnconnectionsPutOK) GetPayload() *models.VPNConnection
- func (o *PcloudVpnconnectionsPutOK) IsClientError() bool
- func (o *PcloudVpnconnectionsPutOK) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPutOK) IsRedirect() bool
- func (o *PcloudVpnconnectionsPutOK) IsServerError() bool
- func (o *PcloudVpnconnectionsPutOK) IsSuccess() bool
- func (o *PcloudVpnconnectionsPutOK) String() string
- 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
- func (o *PcloudVpnconnectionsPutUnauthorized) Code() int
- func (o *PcloudVpnconnectionsPutUnauthorized) Error() string
- func (o *PcloudVpnconnectionsPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPutUnauthorized) IsClientError() bool
- func (o *PcloudVpnconnectionsPutUnauthorized) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPutUnauthorized) IsRedirect() bool
- func (o *PcloudVpnconnectionsPutUnauthorized) IsServerError() bool
- func (o *PcloudVpnconnectionsPutUnauthorized) IsSuccess() bool
- func (o *PcloudVpnconnectionsPutUnauthorized) String() string
- type PcloudVpnconnectionsPutUnprocessableEntity
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) Code() int
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) Error() string
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudVpnconnectionsPutUnprocessableEntity) String() string
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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud v p n connections API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud v p n connections API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type PcloudVpnconnectionsDeleteAccepted ¶ added in v1.0.76
type PcloudVpnconnectionsDeleteAccepted struct {
Payload *models.JobReference
}
PcloudVpnconnectionsDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudVpnconnectionsDeleteAccepted ¶ added in v1.0.76
func NewPcloudVpnconnectionsDeleteAccepted() *PcloudVpnconnectionsDeleteAccepted
NewPcloudVpnconnectionsDeleteAccepted creates a PcloudVpnconnectionsDeleteAccepted with default headers values
func (*PcloudVpnconnectionsDeleteAccepted) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsDeleteAccepted) Code() int
Code gets the status code for the pcloud vpnconnections delete accepted response
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
func (*PcloudVpnconnectionsDeleteAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteAccepted) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections delete accepted response has a 4xx status code
func (*PcloudVpnconnectionsDeleteAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteAccepted) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections delete accepted response a status code equal to that given
func (*PcloudVpnconnectionsDeleteAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections delete accepted response has a 3xx status code
func (*PcloudVpnconnectionsDeleteAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteAccepted) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections delete accepted response has a 5xx status code
func (*PcloudVpnconnectionsDeleteAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections delete accepted response has a 2xx status code
func (*PcloudVpnconnectionsDeleteAccepted) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteAccepted) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsDeleteBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections delete bad request response
func (*PcloudVpnconnectionsDeleteBadRequest) Error ¶
func (o *PcloudVpnconnectionsDeleteBadRequest) Error() string
func (*PcloudVpnconnectionsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections delete bad request response has a 4xx status code
func (*PcloudVpnconnectionsDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections delete bad request response a status code equal to that given
func (*PcloudVpnconnectionsDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections delete bad request response has a 3xx status code
func (*PcloudVpnconnectionsDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections delete bad request response has a 5xx status code
func (*PcloudVpnconnectionsDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections delete bad request response has a 2xx status code
func (*PcloudVpnconnectionsDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsDeleteForbidden) Code() int
Code gets the status code for the pcloud vpnconnections delete forbidden response
func (*PcloudVpnconnectionsDeleteForbidden) Error ¶
func (o *PcloudVpnconnectionsDeleteForbidden) Error() string
func (*PcloudVpnconnectionsDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections delete forbidden response has a 4xx status code
func (*PcloudVpnconnectionsDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections delete forbidden response a status code equal to that given
func (*PcloudVpnconnectionsDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections delete forbidden response has a 3xx status code
func (*PcloudVpnconnectionsDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections delete forbidden response has a 5xx status code
func (*PcloudVpnconnectionsDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections delete forbidden response has a 2xx status code
func (*PcloudVpnconnectionsDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsDeleteInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections delete internal server error response
func (*PcloudVpnconnectionsDeleteInternalServerError) Error ¶
func (o *PcloudVpnconnectionsDeleteInternalServerError) Error() string
func (*PcloudVpnconnectionsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections delete internal server error response has a 4xx status code
func (*PcloudVpnconnectionsDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections delete internal server error response a status code equal to that given
func (*PcloudVpnconnectionsDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections delete internal server error response has a 3xx status code
func (*PcloudVpnconnectionsDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections delete internal server error response has a 5xx status code
func (*PcloudVpnconnectionsDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections delete internal server error response has a 2xx status code
func (*PcloudVpnconnectionsDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsDeleteNotFound) Code() int
Code gets the status code for the pcloud vpnconnections delete not found response
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
func (*PcloudVpnconnectionsDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections delete not found response has a 4xx status code
func (*PcloudVpnconnectionsDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections delete not found response a status code equal to that given
func (*PcloudVpnconnectionsDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections delete not found response has a 3xx status code
func (*PcloudVpnconnectionsDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections delete not found response has a 5xx status code
func (*PcloudVpnconnectionsDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections delete not found response has a 2xx status code
func (*PcloudVpnconnectionsDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsDeleteUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections delete unauthorized response
func (*PcloudVpnconnectionsDeleteUnauthorized) Error ¶
func (o *PcloudVpnconnectionsDeleteUnauthorized) Error() string
func (*PcloudVpnconnectionsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections delete unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections delete unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections delete unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections delete unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections delete unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsDeleteUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections get bad request response
func (*PcloudVpnconnectionsGetBadRequest) Error ¶
func (o *PcloudVpnconnectionsGetBadRequest) Error() string
func (*PcloudVpnconnectionsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections get bad request response has a 4xx status code
func (*PcloudVpnconnectionsGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections get bad request response a status code equal to that given
func (*PcloudVpnconnectionsGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections get bad request response has a 3xx status code
func (*PcloudVpnconnectionsGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections get bad request response has a 5xx status code
func (*PcloudVpnconnectionsGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections get bad request response has a 2xx status code
func (*PcloudVpnconnectionsGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetForbidden) Code() int
Code gets the status code for the pcloud vpnconnections get forbidden response
func (*PcloudVpnconnectionsGetForbidden) Error ¶
func (o *PcloudVpnconnectionsGetForbidden) Error() string
func (*PcloudVpnconnectionsGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections get forbidden response has a 4xx status code
func (*PcloudVpnconnectionsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections get forbidden response a status code equal to that given
func (*PcloudVpnconnectionsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections get forbidden response has a 3xx status code
func (*PcloudVpnconnectionsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections get forbidden response has a 5xx status code
func (*PcloudVpnconnectionsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections get forbidden response has a 2xx status code
func (*PcloudVpnconnectionsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections get internal server error response
func (*PcloudVpnconnectionsGetInternalServerError) Error ¶
func (o *PcloudVpnconnectionsGetInternalServerError) Error() string
func (*PcloudVpnconnectionsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections get internal server error response has a 4xx status code
func (*PcloudVpnconnectionsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections get internal server error response a status code equal to that given
func (*PcloudVpnconnectionsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections get internal server error response has a 3xx status code
func (*PcloudVpnconnectionsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections get internal server error response has a 5xx status code
func (*PcloudVpnconnectionsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections get internal server error response has a 2xx status code
func (*PcloudVpnconnectionsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetNotFound) Code() int
Code gets the status code for the pcloud vpnconnections get not found response
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
func (*PcloudVpnconnectionsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections get not found response has a 4xx status code
func (*PcloudVpnconnectionsGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections get not found response a status code equal to that given
func (*PcloudVpnconnectionsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections get not found response has a 3xx status code
func (*PcloudVpnconnectionsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections get not found response has a 5xx status code
func (*PcloudVpnconnectionsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections get not found response has a 2xx status code
func (*PcloudVpnconnectionsGetNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetNotFound) String() string
type PcloudVpnconnectionsGetOK ¶
type PcloudVpnconnectionsGetOK struct {
Payload *models.VPNConnection
}
PcloudVpnconnectionsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudVpnconnectionsGetOK ¶
func NewPcloudVpnconnectionsGetOK() *PcloudVpnconnectionsGetOK
NewPcloudVpnconnectionsGetOK creates a PcloudVpnconnectionsGetOK with default headers values
func (*PcloudVpnconnectionsGetOK) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetOK) Code() int
Code gets the status code for the pcloud vpnconnections get o k response
func (*PcloudVpnconnectionsGetOK) Error ¶
func (o *PcloudVpnconnectionsGetOK) Error() string
func (*PcloudVpnconnectionsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetOK) GetPayload() *models.VPNConnection
func (*PcloudVpnconnectionsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetOK) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections get o k response has a 4xx status code
func (*PcloudVpnconnectionsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections get o k response a status code equal to that given
func (*PcloudVpnconnectionsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections get o k response has a 3xx status code
func (*PcloudVpnconnectionsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetOK) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections get o k response has a 5xx status code
func (*PcloudVpnconnectionsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections get o k response has a 2xx status code
func (*PcloudVpnconnectionsGetOK) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetOK) String() string
type PcloudVpnconnectionsGetParams ¶
type PcloudVpnconnectionsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VpnConnectionID. ID of a VPN connection */ VpnConnectionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVpnconnectionsGetParams contains all the parameters to send to the API endpoint
for the pcloud vpnconnections get operation. Typically these are written to a http.Request.
func NewPcloudVpnconnectionsGetParams ¶
func NewPcloudVpnconnectionsGetParams() *PcloudVpnconnectionsGetParams
NewPcloudVpnconnectionsGetParams creates a new PcloudVpnconnectionsGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudVpnconnectionsGetParamsWithContext ¶
func NewPcloudVpnconnectionsGetParamsWithContext(ctx context.Context) *PcloudVpnconnectionsGetParams
NewPcloudVpnconnectionsGetParamsWithContext creates a new PcloudVpnconnectionsGetParams object with the ability to set a context for a request.
func NewPcloudVpnconnectionsGetParamsWithHTTPClient ¶
func NewPcloudVpnconnectionsGetParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsGetParams
NewPcloudVpnconnectionsGetParamsWithHTTPClient creates a new PcloudVpnconnectionsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVpnconnectionsGetParamsWithTimeout ¶
func NewPcloudVpnconnectionsGetParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsGetParams
NewPcloudVpnconnectionsGetParamsWithTimeout creates a new PcloudVpnconnectionsGetParams object with the ability to set a timeout on a request.
func (*PcloudVpnconnectionsGetParams) SetCloudInstanceID ¶
func (o *PcloudVpnconnectionsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) SetContext ¶
func (o *PcloudVpnconnectionsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud vpnconnections get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVpnconnectionsGetParams) SetHTTPClient ¶
func (o *PcloudVpnconnectionsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) SetTimeout ¶
func (o *PcloudVpnconnectionsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) SetVpnConnectionID ¶
func (o *PcloudVpnconnectionsGetParams) SetVpnConnectionID(vpnConnectionID string)
SetVpnConnectionID adds the vpnConnectionId to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) WithCloudInstanceID ¶
func (o *PcloudVpnconnectionsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVpnconnectionsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud vpnconnections get params
func (*PcloudVpnconnectionsGetParams) WithContext ¶
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections get unauthorized response
func (*PcloudVpnconnectionsGetUnauthorized) Error ¶
func (o *PcloudVpnconnectionsGetUnauthorized) Error() string
func (*PcloudVpnconnectionsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections get unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections get unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections get unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections get unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections get unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetUnprocessableEntity) Code() int
Code gets the status code for the pcloud vpnconnections get unprocessable entity response
func (*PcloudVpnconnectionsGetUnprocessableEntity) Error ¶
func (o *PcloudVpnconnectionsGetUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsGetUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetUnprocessableEntity) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections get unprocessable entity response has a 4xx status code
func (*PcloudVpnconnectionsGetUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections get unprocessable entity response a status code equal to that given
func (*PcloudVpnconnectionsGetUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections get unprocessable entity response has a 3xx status code
func (*PcloudVpnconnectionsGetUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections get unprocessable entity response has a 5xx status code
func (*PcloudVpnconnectionsGetUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections get unprocessable entity response has a 2xx status code
func (*PcloudVpnconnectionsGetUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetallBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections getall bad request response
func (*PcloudVpnconnectionsGetallBadRequest) Error ¶
func (o *PcloudVpnconnectionsGetallBadRequest) Error() string
func (*PcloudVpnconnectionsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections getall bad request response has a 4xx status code
func (*PcloudVpnconnectionsGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections getall bad request response a status code equal to that given
func (*PcloudVpnconnectionsGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections getall bad request response has a 3xx status code
func (*PcloudVpnconnectionsGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections getall bad request response has a 5xx status code
func (*PcloudVpnconnectionsGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections getall bad request response has a 2xx status code
func (*PcloudVpnconnectionsGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetallForbidden) Code() int
Code gets the status code for the pcloud vpnconnections getall forbidden response
func (*PcloudVpnconnectionsGetallForbidden) Error ¶
func (o *PcloudVpnconnectionsGetallForbidden) Error() string
func (*PcloudVpnconnectionsGetallForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections getall forbidden response has a 4xx status code
func (*PcloudVpnconnectionsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections getall forbidden response a status code equal to that given
func (*PcloudVpnconnectionsGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections getall forbidden response has a 3xx status code
func (*PcloudVpnconnectionsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections getall forbidden response has a 5xx status code
func (*PcloudVpnconnectionsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections getall forbidden response has a 2xx status code
func (*PcloudVpnconnectionsGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetallInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections getall internal server error response
func (*PcloudVpnconnectionsGetallInternalServerError) Error ¶
func (o *PcloudVpnconnectionsGetallInternalServerError) Error() string
func (*PcloudVpnconnectionsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections getall internal server error response has a 4xx status code
func (*PcloudVpnconnectionsGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections getall internal server error response a status code equal to that given
func (*PcloudVpnconnectionsGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections getall internal server error response has a 3xx status code
func (*PcloudVpnconnectionsGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections getall internal server error response has a 5xx status code
func (*PcloudVpnconnectionsGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections getall internal server error response has a 2xx status code
func (*PcloudVpnconnectionsGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetallNotFound) Code() int
Code gets the status code for the pcloud vpnconnections getall not found response
func (*PcloudVpnconnectionsGetallNotFound) Error ¶
func (o *PcloudVpnconnectionsGetallNotFound) Error() string
func (*PcloudVpnconnectionsGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallNotFound) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections getall not found response has a 4xx status code
func (*PcloudVpnconnectionsGetallNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections getall not found response a status code equal to that given
func (*PcloudVpnconnectionsGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections getall not found response has a 3xx status code
func (*PcloudVpnconnectionsGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections getall not found response has a 5xx status code
func (*PcloudVpnconnectionsGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections getall not found response has a 2xx status code
func (*PcloudVpnconnectionsGetallNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallNotFound) String() string
type PcloudVpnconnectionsGetallOK ¶
type PcloudVpnconnectionsGetallOK struct {
Payload *models.VPNConnections
}
PcloudVpnconnectionsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudVpnconnectionsGetallOK ¶
func NewPcloudVpnconnectionsGetallOK() *PcloudVpnconnectionsGetallOK
NewPcloudVpnconnectionsGetallOK creates a PcloudVpnconnectionsGetallOK with default headers values
func (*PcloudVpnconnectionsGetallOK) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetallOK) Code() int
Code gets the status code for the pcloud vpnconnections getall o k response
func (*PcloudVpnconnectionsGetallOK) Error ¶
func (o *PcloudVpnconnectionsGetallOK) Error() string
func (*PcloudVpnconnectionsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallOK) GetPayload() *models.VPNConnections
func (*PcloudVpnconnectionsGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallOK) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections getall o k response has a 4xx status code
func (*PcloudVpnconnectionsGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections getall o k response a status code equal to that given
func (*PcloudVpnconnectionsGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections getall o k response has a 3xx status code
func (*PcloudVpnconnectionsGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallOK) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections getall o k response has a 5xx status code
func (*PcloudVpnconnectionsGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections getall o k response has a 2xx status code
func (*PcloudVpnconnectionsGetallOK) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallOK) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsGetallUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections getall unauthorized response
func (*PcloudVpnconnectionsGetallUnauthorized) Error ¶
func (o *PcloudVpnconnectionsGetallUnauthorized) Error() string
func (*PcloudVpnconnectionsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsGetallUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections getall unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections getall unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections getall unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections getall unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections getall unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsGetallUnauthorized) String() string
type PcloudVpnconnectionsNetworksDeleteAccepted ¶ added in v1.0.76
type PcloudVpnconnectionsNetworksDeleteAccepted struct {
Payload *models.JobReference
}
PcloudVpnconnectionsNetworksDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudVpnconnectionsNetworksDeleteAccepted ¶ added in v1.0.76
func NewPcloudVpnconnectionsNetworksDeleteAccepted() *PcloudVpnconnectionsNetworksDeleteAccepted
NewPcloudVpnconnectionsNetworksDeleteAccepted creates a PcloudVpnconnectionsNetworksDeleteAccepted with default headers values
func (*PcloudVpnconnectionsNetworksDeleteAccepted) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) Code() int
Code gets the status code for the pcloud vpnconnections networks delete accepted response
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
func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks delete accepted response has a 4xx status code
func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks delete accepted response a status code equal to that given
func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks delete accepted response has a 3xx status code
func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks delete accepted response has a 5xx status code
func (*PcloudVpnconnectionsNetworksDeleteAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks delete accepted response has a 2xx status code
func (*PcloudVpnconnectionsNetworksDeleteAccepted) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteAccepted) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections networks delete bad request response
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) Error() string
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks delete bad request response has a 4xx status code
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks delete bad request response a status code equal to that given
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks delete bad request response has a 3xx status code
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks delete bad request response has a 5xx status code
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks delete bad request response has a 2xx status code
func (*PcloudVpnconnectionsNetworksDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) Code() int
Code gets the status code for the pcloud vpnconnections networks delete forbidden response
func (*PcloudVpnconnectionsNetworksDeleteForbidden) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) Error() string
func (*PcloudVpnconnectionsNetworksDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks delete forbidden response has a 4xx status code
func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks delete forbidden response a status code equal to that given
func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks delete forbidden response has a 3xx status code
func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks delete forbidden response has a 5xx status code
func (*PcloudVpnconnectionsNetworksDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks delete forbidden response has a 2xx status code
func (*PcloudVpnconnectionsNetworksDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections networks delete internal server error response
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) Error() string
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks delete internal server error response has a 4xx status code
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks delete internal server error response a status code equal to that given
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks delete internal server error response has a 3xx status code
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks delete internal server error response has a 5xx status code
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks delete internal server error response has a 2xx status code
func (*PcloudVpnconnectionsNetworksDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) Code() int
Code gets the status code for the pcloud vpnconnections networks delete not found response
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
func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks delete not found response has a 4xx status code
func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks delete not found response a status code equal to that given
func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks delete not found response has a 3xx status code
func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks delete not found response has a 5xx status code
func (*PcloudVpnconnectionsNetworksDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks delete not found response has a 2xx status code
func (*PcloudVpnconnectionsNetworksDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections networks delete unauthorized response
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) Error() string
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks delete unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks delete unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks delete unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks delete unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks delete unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Code() int
Code gets the status code for the pcloud vpnconnections networks delete unprocessable entity response
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Error ¶
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 4xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks delete unprocessable entity response a status code equal to that given
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 3xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 5xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks delete unprocessable entity response has a 2xx status code
func (*PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksGetBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections networks get bad request response
func (*PcloudVpnconnectionsNetworksGetBadRequest) Error ¶
func (o *PcloudVpnconnectionsNetworksGetBadRequest) Error() string
func (*PcloudVpnconnectionsNetworksGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks get bad request response has a 4xx status code
func (*PcloudVpnconnectionsNetworksGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks get bad request response a status code equal to that given
func (*PcloudVpnconnectionsNetworksGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks get bad request response has a 3xx status code
func (*PcloudVpnconnectionsNetworksGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks get bad request response has a 5xx status code
func (*PcloudVpnconnectionsNetworksGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks get bad request response has a 2xx status code
func (*PcloudVpnconnectionsNetworksGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksGetForbidden) Code() int
Code gets the status code for the pcloud vpnconnections networks get forbidden response
func (*PcloudVpnconnectionsNetworksGetForbidden) Error ¶
func (o *PcloudVpnconnectionsNetworksGetForbidden) Error() string
func (*PcloudVpnconnectionsNetworksGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks get forbidden response has a 4xx status code
func (*PcloudVpnconnectionsNetworksGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks get forbidden response a status code equal to that given
func (*PcloudVpnconnectionsNetworksGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks get forbidden response has a 3xx status code
func (*PcloudVpnconnectionsNetworksGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks get forbidden response has a 5xx status code
func (*PcloudVpnconnectionsNetworksGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks get forbidden response has a 2xx status code
func (*PcloudVpnconnectionsNetworksGetForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections networks get internal server error response
func (*PcloudVpnconnectionsNetworksGetInternalServerError) Error ¶
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) Error() string
func (*PcloudVpnconnectionsNetworksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks get internal server error response has a 4xx status code
func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks get internal server error response a status code equal to that given
func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks get internal server error response has a 3xx status code
func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks get internal server error response has a 5xx status code
func (*PcloudVpnconnectionsNetworksGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks get internal server error response has a 2xx status code
func (*PcloudVpnconnectionsNetworksGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksGetNotFound) Code() int
Code gets the status code for the pcloud vpnconnections networks get not found response
func (*PcloudVpnconnectionsNetworksGetNotFound) Error ¶
func (o *PcloudVpnconnectionsNetworksGetNotFound) Error() string
func (*PcloudVpnconnectionsNetworksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetNotFound) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks get not found response has a 4xx status code
func (*PcloudVpnconnectionsNetworksGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks get not found response a status code equal to that given
func (*PcloudVpnconnectionsNetworksGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks get not found response has a 3xx status code
func (*PcloudVpnconnectionsNetworksGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks get not found response has a 5xx status code
func (*PcloudVpnconnectionsNetworksGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks get not found response has a 2xx status code
func (*PcloudVpnconnectionsNetworksGetNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetNotFound) String() string
type PcloudVpnconnectionsNetworksGetOK ¶
type PcloudVpnconnectionsNetworksGetOK struct {
Payload *models.NetworkIDs
}
PcloudVpnconnectionsNetworksGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudVpnconnectionsNetworksGetOK ¶
func NewPcloudVpnconnectionsNetworksGetOK() *PcloudVpnconnectionsNetworksGetOK
NewPcloudVpnconnectionsNetworksGetOK creates a PcloudVpnconnectionsNetworksGetOK with default headers values
func (*PcloudVpnconnectionsNetworksGetOK) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksGetOK) Code() int
Code gets the status code for the pcloud vpnconnections networks get o k response
func (*PcloudVpnconnectionsNetworksGetOK) Error ¶
func (o *PcloudVpnconnectionsNetworksGetOK) Error() string
func (*PcloudVpnconnectionsNetworksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetOK) GetPayload() *models.NetworkIDs
func (*PcloudVpnconnectionsNetworksGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetOK) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks get o k response has a 4xx status code
func (*PcloudVpnconnectionsNetworksGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetOK) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks get o k response a status code equal to that given
func (*PcloudVpnconnectionsNetworksGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks get o k response has a 3xx status code
func (*PcloudVpnconnectionsNetworksGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetOK) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks get o k response has a 5xx status code
func (*PcloudVpnconnectionsNetworksGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks get o k response has a 2xx status code
func (*PcloudVpnconnectionsNetworksGetOK) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetOK) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections networks get unauthorized response
func (*PcloudVpnconnectionsNetworksGetUnauthorized) Error ¶
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) Error() string
func (*PcloudVpnconnectionsNetworksGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks get unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks get unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks get unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks get unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsNetworksGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks get unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsNetworksGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksGetUnauthorized) String() string
type PcloudVpnconnectionsNetworksPutAccepted ¶ added in v1.0.76
type PcloudVpnconnectionsNetworksPutAccepted struct {
Payload *models.JobReference
}
PcloudVpnconnectionsNetworksPutAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudVpnconnectionsNetworksPutAccepted ¶ added in v1.0.76
func NewPcloudVpnconnectionsNetworksPutAccepted() *PcloudVpnconnectionsNetworksPutAccepted
NewPcloudVpnconnectionsNetworksPutAccepted creates a PcloudVpnconnectionsNetworksPutAccepted with default headers values
func (*PcloudVpnconnectionsNetworksPutAccepted) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksPutAccepted) Code() int
Code gets the status code for the pcloud vpnconnections networks put accepted response
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
func (*PcloudVpnconnectionsNetworksPutAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutAccepted) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks put accepted response has a 4xx status code
func (*PcloudVpnconnectionsNetworksPutAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutAccepted) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks put accepted response a status code equal to that given
func (*PcloudVpnconnectionsNetworksPutAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks put accepted response has a 3xx status code
func (*PcloudVpnconnectionsNetworksPutAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutAccepted) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks put accepted response has a 5xx status code
func (*PcloudVpnconnectionsNetworksPutAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks put accepted response has a 2xx status code
func (*PcloudVpnconnectionsNetworksPutAccepted) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutAccepted) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksPutBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections networks put bad request response
func (*PcloudVpnconnectionsNetworksPutBadRequest) Error ¶
func (o *PcloudVpnconnectionsNetworksPutBadRequest) Error() string
func (*PcloudVpnconnectionsNetworksPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks put bad request response has a 4xx status code
func (*PcloudVpnconnectionsNetworksPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks put bad request response a status code equal to that given
func (*PcloudVpnconnectionsNetworksPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks put bad request response has a 3xx status code
func (*PcloudVpnconnectionsNetworksPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks put bad request response has a 5xx status code
func (*PcloudVpnconnectionsNetworksPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks put bad request response has a 2xx status code
func (*PcloudVpnconnectionsNetworksPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksPutForbidden) Code() int
Code gets the status code for the pcloud vpnconnections networks put forbidden response
func (*PcloudVpnconnectionsNetworksPutForbidden) Error ¶
func (o *PcloudVpnconnectionsNetworksPutForbidden) Error() string
func (*PcloudVpnconnectionsNetworksPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks put forbidden response has a 4xx status code
func (*PcloudVpnconnectionsNetworksPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks put forbidden response a status code equal to that given
func (*PcloudVpnconnectionsNetworksPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks put forbidden response has a 3xx status code
func (*PcloudVpnconnectionsNetworksPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks put forbidden response has a 5xx status code
func (*PcloudVpnconnectionsNetworksPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks put forbidden response has a 2xx status code
func (*PcloudVpnconnectionsNetworksPutForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections networks put internal server error response
func (*PcloudVpnconnectionsNetworksPutInternalServerError) Error ¶
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) Error() string
func (*PcloudVpnconnectionsNetworksPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks put internal server error response has a 4xx status code
func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks put internal server error response a status code equal to that given
func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks put internal server error response has a 3xx status code
func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks put internal server error response has a 5xx status code
func (*PcloudVpnconnectionsNetworksPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks put internal server error response has a 2xx status code
func (*PcloudVpnconnectionsNetworksPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksPutNotFound) Code() int
Code gets the status code for the pcloud vpnconnections networks put not found response
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
func (*PcloudVpnconnectionsNetworksPutNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks put not found response has a 4xx status code
func (*PcloudVpnconnectionsNetworksPutNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks put not found response a status code equal to that given
func (*PcloudVpnconnectionsNetworksPutNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks put not found response has a 3xx status code
func (*PcloudVpnconnectionsNetworksPutNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks put not found response has a 5xx status code
func (*PcloudVpnconnectionsNetworksPutNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks put not found response has a 2xx status code
func (*PcloudVpnconnectionsNetworksPutNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections networks put unauthorized response
func (*PcloudVpnconnectionsNetworksPutUnauthorized) Error ¶
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) Error() string
func (*PcloudVpnconnectionsNetworksPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks put unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks put unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks put unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks put unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsNetworksPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks put unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsNetworksPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud vpnconnections networks put unprocessable entity response
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) Error ¶
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections networks put unprocessable entity response has a 4xx status code
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections networks put unprocessable entity response a status code equal to that given
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections networks put unprocessable entity response has a 3xx status code
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections networks put unprocessable entity response has a 5xx status code
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections networks put unprocessable entity response has a 2xx status code
func (*PcloudVpnconnectionsNetworksPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets delete bad request response
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets delete bad request response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets delete bad request response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets delete bad request response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets delete bad request response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets delete bad request response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets delete forbidden response
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets delete forbidden response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets delete forbidden response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets delete forbidden response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets delete forbidden response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets delete forbidden response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets delete internal server error response
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets delete internal server error response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets delete internal server error response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets delete internal server error response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets delete internal server error response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets delete internal server error response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) String() string
type PcloudVpnconnectionsPeersubnetsDeleteNotFound ¶ added in v1.4.2
PcloudVpnconnectionsPeersubnetsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVpnconnectionsPeersubnetsDeleteNotFound ¶ added in v1.4.2
func NewPcloudVpnconnectionsPeersubnetsDeleteNotFound() *PcloudVpnconnectionsPeersubnetsDeleteNotFound
NewPcloudVpnconnectionsPeersubnetsDeleteNotFound creates a PcloudVpnconnectionsPeersubnetsDeleteNotFound with default headers values
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) Code ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets delete not found response
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) Error ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets delete not found response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets delete not found response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets delete not found response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets delete not found response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets delete not found response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteNotFound) String ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteNotFound) String() string
type PcloudVpnconnectionsPeersubnetsDeleteOK ¶
type PcloudVpnconnectionsPeersubnetsDeleteOK struct {
Payload *models.PeerSubnets
}
PcloudVpnconnectionsPeersubnetsDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudVpnconnectionsPeersubnetsDeleteOK ¶
func NewPcloudVpnconnectionsPeersubnetsDeleteOK() *PcloudVpnconnectionsPeersubnetsDeleteOK
NewPcloudVpnconnectionsPeersubnetsDeleteOK creates a PcloudVpnconnectionsPeersubnetsDeleteOK with default headers values
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets delete o k response
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) GetPayload() *models.PeerSubnets
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets delete o k response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets delete o k response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets delete o k response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets delete o k response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets delete o k response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteOK) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets delete unauthorized response
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets delete unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets delete unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets delete unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets delete unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets delete unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets delete unprocessable entity response
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets delete unprocessable entity response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets get bad request response
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets get bad request response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets get bad request response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets get bad request response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets get bad request response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets get bad request response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets get forbidden response
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets get forbidden response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets get forbidden response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets get forbidden response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets get forbidden response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets get forbidden response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets get internal server error response
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets get internal server error response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets get internal server error response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets get internal server error response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets get internal server error response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets get internal server error response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets get not found response
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets get not found response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets get not found response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets get not found response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets get not found response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets get not found response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsGetNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) String() string
type PcloudVpnconnectionsPeersubnetsGetOK ¶
type PcloudVpnconnectionsPeersubnetsGetOK struct {
Payload *models.PeerSubnets
}
PcloudVpnconnectionsPeersubnetsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudVpnconnectionsPeersubnetsGetOK ¶
func NewPcloudVpnconnectionsPeersubnetsGetOK() *PcloudVpnconnectionsPeersubnetsGetOK
NewPcloudVpnconnectionsPeersubnetsGetOK creates a PcloudVpnconnectionsPeersubnetsGetOK with default headers values
func (*PcloudVpnconnectionsPeersubnetsGetOK) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsGetOK) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets get o k response
func (*PcloudVpnconnectionsPeersubnetsGetOK) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetOK) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetOK) GetPayload() *models.PeerSubnets
func (*PcloudVpnconnectionsPeersubnetsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets get o k response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets get o k response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets get o k response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets get o k response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets get o k response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsGetOK) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetOK) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets get unauthorized response
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) Error() string
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets get unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets get unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets get unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets get unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets get unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets put bad request response
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets put bad request response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets put bad request response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets put bad request response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets put bad request response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets put bad request response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets put forbidden response
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets put forbidden response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets put forbidden response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets put forbidden response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets put forbidden response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets put forbidden response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsPutForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets put internal server error response
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets put internal server error response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets put internal server error response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets put internal server error response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets put internal server error response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets put internal server error response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) String() string
type PcloudVpnconnectionsPeersubnetsPutNotFound ¶ added in v1.4.2
PcloudVpnconnectionsPeersubnetsPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVpnconnectionsPeersubnetsPutNotFound ¶ added in v1.4.2
func NewPcloudVpnconnectionsPeersubnetsPutNotFound() *PcloudVpnconnectionsPeersubnetsPutNotFound
NewPcloudVpnconnectionsPeersubnetsPutNotFound creates a PcloudVpnconnectionsPeersubnetsPutNotFound with default headers values
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) Code ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets put not found response
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) Error ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets put not found response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets put not found response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets put not found response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets put not found response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets put not found response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsPutNotFound) String ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPeersubnetsPutNotFound) String() string
type PcloudVpnconnectionsPeersubnetsPutOK ¶
type PcloudVpnconnectionsPeersubnetsPutOK struct {
Payload *models.PeerSubnets
}
PcloudVpnconnectionsPeersubnetsPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudVpnconnectionsPeersubnetsPutOK ¶
func NewPcloudVpnconnectionsPeersubnetsPutOK() *PcloudVpnconnectionsPeersubnetsPutOK
NewPcloudVpnconnectionsPeersubnetsPutOK creates a PcloudVpnconnectionsPeersubnetsPutOK with default headers values
func (*PcloudVpnconnectionsPeersubnetsPutOK) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsPutOK) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets put o k response
func (*PcloudVpnconnectionsPeersubnetsPutOK) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutOK) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutOK) GetPayload() *models.PeerSubnets
func (*PcloudVpnconnectionsPeersubnetsPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets put o k response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets put o k response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets put o k response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets put o k response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets put o k response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsPutOK) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutOK) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets put unauthorized response
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets put unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets put unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets put unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets put unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets put unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud vpnconnections peersubnets put unprocessable entity response
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Error ¶
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections peersubnets put unprocessable entity response has a 4xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections peersubnets put unprocessable entity response a status code equal to that given
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections peersubnets put unprocessable entity response has a 3xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections peersubnets put unprocessable entity response has a 5xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections peersubnets put unprocessable entity response has a 2xx status code
func (*PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) String() string
type PcloudVpnconnectionsPostAccepted ¶ added in v1.0.76
type PcloudVpnconnectionsPostAccepted struct {
Payload *models.VPNConnectionCreateResponse
}
PcloudVpnconnectionsPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudVpnconnectionsPostAccepted ¶ added in v1.0.76
func NewPcloudVpnconnectionsPostAccepted() *PcloudVpnconnectionsPostAccepted
NewPcloudVpnconnectionsPostAccepted creates a PcloudVpnconnectionsPostAccepted with default headers values
func (*PcloudVpnconnectionsPostAccepted) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPostAccepted) Code() int
Code gets the status code for the pcloud vpnconnections post accepted response
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
func (*PcloudVpnconnectionsPostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostAccepted) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post accepted response has a 4xx status code
func (*PcloudVpnconnectionsPostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post accepted response a status code equal to that given
func (*PcloudVpnconnectionsPostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post accepted response has a 3xx status code
func (*PcloudVpnconnectionsPostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostAccepted) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post accepted response has a 5xx status code
func (*PcloudVpnconnectionsPostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post accepted response has a 2xx status code
func (*PcloudVpnconnectionsPostAccepted) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostAccepted) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPostBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections post bad request response
func (*PcloudVpnconnectionsPostBadRequest) Error ¶
func (o *PcloudVpnconnectionsPostBadRequest) Error() string
func (*PcloudVpnconnectionsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post bad request response has a 4xx status code
func (*PcloudVpnconnectionsPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post bad request response a status code equal to that given
func (*PcloudVpnconnectionsPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post bad request response has a 3xx status code
func (*PcloudVpnconnectionsPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post bad request response has a 5xx status code
func (*PcloudVpnconnectionsPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post bad request response has a 2xx status code
func (*PcloudVpnconnectionsPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPostConflict) Code() int
Code gets the status code for the pcloud vpnconnections post conflict response
func (*PcloudVpnconnectionsPostConflict) Error ¶
func (o *PcloudVpnconnectionsPostConflict) Error() string
func (*PcloudVpnconnectionsPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostConflict) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostConflict) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post conflict response has a 4xx status code
func (*PcloudVpnconnectionsPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post conflict response a status code equal to that given
func (*PcloudVpnconnectionsPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post conflict response has a 3xx status code
func (*PcloudVpnconnectionsPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostConflict) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post conflict response has a 5xx status code
func (*PcloudVpnconnectionsPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post conflict response has a 2xx status code
func (*PcloudVpnconnectionsPostConflict) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostConflict) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPostForbidden) Code() int
Code gets the status code for the pcloud vpnconnections post forbidden response
func (*PcloudVpnconnectionsPostForbidden) Error ¶
func (o *PcloudVpnconnectionsPostForbidden) Error() string
func (*PcloudVpnconnectionsPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post forbidden response has a 4xx status code
func (*PcloudVpnconnectionsPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post forbidden response a status code equal to that given
func (*PcloudVpnconnectionsPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post forbidden response has a 3xx status code
func (*PcloudVpnconnectionsPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post forbidden response has a 5xx status code
func (*PcloudVpnconnectionsPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post forbidden response has a 2xx status code
func (*PcloudVpnconnectionsPostForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPostInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections post internal server error response
func (*PcloudVpnconnectionsPostInternalServerError) Error ¶
func (o *PcloudVpnconnectionsPostInternalServerError) Error() string
func (*PcloudVpnconnectionsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post internal server error response has a 4xx status code
func (*PcloudVpnconnectionsPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post internal server error response a status code equal to that given
func (*PcloudVpnconnectionsPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post internal server error response has a 3xx status code
func (*PcloudVpnconnectionsPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post internal server error response has a 5xx status code
func (*PcloudVpnconnectionsPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post internal server error response has a 2xx status code
func (*PcloudVpnconnectionsPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostInternalServerError) String() string
type PcloudVpnconnectionsPostMethodNotAllowed ¶ added in v1.5.4
PcloudVpnconnectionsPostMethodNotAllowed describes a response with status code 405, with default header values.
Method Not Allowed
func NewPcloudVpnconnectionsPostMethodNotAllowed ¶ added in v1.5.4
func NewPcloudVpnconnectionsPostMethodNotAllowed() *PcloudVpnconnectionsPostMethodNotAllowed
NewPcloudVpnconnectionsPostMethodNotAllowed creates a PcloudVpnconnectionsPostMethodNotAllowed with default headers values
func (*PcloudVpnconnectionsPostMethodNotAllowed) Code ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) Code() int
Code gets the status code for the pcloud vpnconnections post method not allowed response
func (*PcloudVpnconnectionsPostMethodNotAllowed) Error ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) Error() string
func (*PcloudVpnconnectionsPostMethodNotAllowed) GetPayload ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostMethodNotAllowed) IsClientError ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post method not allowed response has a 4xx status code
func (*PcloudVpnconnectionsPostMethodNotAllowed) IsCode ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post method not allowed response a status code equal to that given
func (*PcloudVpnconnectionsPostMethodNotAllowed) IsRedirect ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post method not allowed response has a 3xx status code
func (*PcloudVpnconnectionsPostMethodNotAllowed) IsServerError ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post method not allowed response has a 5xx status code
func (*PcloudVpnconnectionsPostMethodNotAllowed) IsSuccess ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post method not allowed response has a 2xx status code
func (*PcloudVpnconnectionsPostMethodNotAllowed) String ¶ added in v1.5.4
func (o *PcloudVpnconnectionsPostMethodNotAllowed) String() string
type PcloudVpnconnectionsPostNotFound ¶ added in v1.4.2
PcloudVpnconnectionsPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVpnconnectionsPostNotFound ¶ added in v1.4.2
func NewPcloudVpnconnectionsPostNotFound() *PcloudVpnconnectionsPostNotFound
NewPcloudVpnconnectionsPostNotFound creates a PcloudVpnconnectionsPostNotFound with default headers values
func (*PcloudVpnconnectionsPostNotFound) Code ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) Code() int
Code gets the status code for the pcloud vpnconnections post not found response
func (*PcloudVpnconnectionsPostNotFound) Error ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) Error() string
func (*PcloudVpnconnectionsPostNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post not found response has a 4xx status code
func (*PcloudVpnconnectionsPostNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post not found response a status code equal to that given
func (*PcloudVpnconnectionsPostNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post not found response has a 3xx status code
func (*PcloudVpnconnectionsPostNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post not found response has a 5xx status code
func (*PcloudVpnconnectionsPostNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post not found response has a 2xx status code
func (*PcloudVpnconnectionsPostNotFound) String ¶ added in v1.4.2
func (o *PcloudVpnconnectionsPostNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPostUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections post unauthorized response
func (*PcloudVpnconnectionsPostUnauthorized) Error ¶
func (o *PcloudVpnconnectionsPostUnauthorized) Error() string
func (*PcloudVpnconnectionsPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud vpnconnections post unprocessable entity response
func (*PcloudVpnconnectionsPostUnprocessableEntity) Error ¶
func (o *PcloudVpnconnectionsPostUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudVpnconnectionsPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections post unprocessable entity response has a 4xx status code
func (*PcloudVpnconnectionsPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections post unprocessable entity response a status code equal to that given
func (*PcloudVpnconnectionsPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections post unprocessable entity response has a 3xx status code
func (*PcloudVpnconnectionsPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections post unprocessable entity response has a 5xx status code
func (*PcloudVpnconnectionsPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections post unprocessable entity response has a 2xx status code
func (*PcloudVpnconnectionsPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPostUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPutBadRequest) Code() int
Code gets the status code for the pcloud vpnconnections put bad request response
func (*PcloudVpnconnectionsPutBadRequest) Error ¶
func (o *PcloudVpnconnectionsPutBadRequest) Error() string
func (*PcloudVpnconnectionsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutBadRequest) GetPayload() *models.Error
func (*PcloudVpnconnectionsPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections put bad request response has a 4xx status code
func (*PcloudVpnconnectionsPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections put bad request response a status code equal to that given
func (*PcloudVpnconnectionsPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections put bad request response has a 3xx status code
func (*PcloudVpnconnectionsPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections put bad request response has a 5xx status code
func (*PcloudVpnconnectionsPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections put bad request response has a 2xx status code
func (*PcloudVpnconnectionsPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPutForbidden) Code() int
Code gets the status code for the pcloud vpnconnections put forbidden response
func (*PcloudVpnconnectionsPutForbidden) Error ¶
func (o *PcloudVpnconnectionsPutForbidden) Error() string
func (*PcloudVpnconnectionsPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutForbidden) GetPayload() *models.Error
func (*PcloudVpnconnectionsPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections put forbidden response has a 4xx status code
func (*PcloudVpnconnectionsPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections put forbidden response a status code equal to that given
func (*PcloudVpnconnectionsPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections put forbidden response has a 3xx status code
func (*PcloudVpnconnectionsPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections put forbidden response has a 5xx status code
func (*PcloudVpnconnectionsPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections put forbidden response has a 2xx status code
func (*PcloudVpnconnectionsPutForbidden) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPutInternalServerError) Code() int
Code gets the status code for the pcloud vpnconnections put internal server error response
func (*PcloudVpnconnectionsPutInternalServerError) Error ¶
func (o *PcloudVpnconnectionsPutInternalServerError) Error() string
func (*PcloudVpnconnectionsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutInternalServerError) GetPayload() *models.Error
func (*PcloudVpnconnectionsPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections put internal server error response has a 4xx status code
func (*PcloudVpnconnectionsPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections put internal server error response a status code equal to that given
func (*PcloudVpnconnectionsPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections put internal server error response has a 3xx status code
func (*PcloudVpnconnectionsPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections put internal server error response has a 5xx status code
func (*PcloudVpnconnectionsPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections put internal server error response has a 2xx status code
func (*PcloudVpnconnectionsPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPutNotFound) Code() int
Code gets the status code for the pcloud vpnconnections put not found response
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
func (*PcloudVpnconnectionsPutNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections put not found response has a 4xx status code
func (*PcloudVpnconnectionsPutNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections put not found response a status code equal to that given
func (*PcloudVpnconnectionsPutNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections put not found response has a 3xx status code
func (*PcloudVpnconnectionsPutNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections put not found response has a 5xx status code
func (*PcloudVpnconnectionsPutNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections put not found response has a 2xx status code
func (*PcloudVpnconnectionsPutNotFound) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutNotFound) String() string
type PcloudVpnconnectionsPutOK ¶
type PcloudVpnconnectionsPutOK struct {
Payload *models.VPNConnection
}
PcloudVpnconnectionsPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudVpnconnectionsPutOK ¶
func NewPcloudVpnconnectionsPutOK() *PcloudVpnconnectionsPutOK
NewPcloudVpnconnectionsPutOK creates a PcloudVpnconnectionsPutOK with default headers values
func (*PcloudVpnconnectionsPutOK) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPutOK) Code() int
Code gets the status code for the pcloud vpnconnections put o k response
func (*PcloudVpnconnectionsPutOK) Error ¶
func (o *PcloudVpnconnectionsPutOK) Error() string
func (*PcloudVpnconnectionsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutOK) GetPayload() *models.VPNConnection
func (*PcloudVpnconnectionsPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutOK) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections put o k response has a 4xx status code
func (*PcloudVpnconnectionsPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutOK) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections put o k response a status code equal to that given
func (*PcloudVpnconnectionsPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections put o k response has a 3xx status code
func (*PcloudVpnconnectionsPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutOK) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections put o k response has a 5xx status code
func (*PcloudVpnconnectionsPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections put o k response has a 2xx status code
func (*PcloudVpnconnectionsPutOK) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutOK) String() string
type PcloudVpnconnectionsPutParams ¶
type PcloudVpnconnectionsPutParams struct { /* Body. VPN Connection object used for update */ Body *models.VPNConnectionUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VpnConnectionID. ID of a VPN connection */ VpnConnectionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVpnconnectionsPutParams contains all the parameters to send to the API endpoint
for the pcloud vpnconnections put operation. Typically these are written to a http.Request.
func NewPcloudVpnconnectionsPutParams ¶
func NewPcloudVpnconnectionsPutParams() *PcloudVpnconnectionsPutParams
NewPcloudVpnconnectionsPutParams creates a new PcloudVpnconnectionsPutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudVpnconnectionsPutParamsWithContext ¶
func NewPcloudVpnconnectionsPutParamsWithContext(ctx context.Context) *PcloudVpnconnectionsPutParams
NewPcloudVpnconnectionsPutParamsWithContext creates a new PcloudVpnconnectionsPutParams object with the ability to set a context for a request.
func NewPcloudVpnconnectionsPutParamsWithHTTPClient ¶
func NewPcloudVpnconnectionsPutParamsWithHTTPClient(client *http.Client) *PcloudVpnconnectionsPutParams
NewPcloudVpnconnectionsPutParamsWithHTTPClient creates a new PcloudVpnconnectionsPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVpnconnectionsPutParamsWithTimeout ¶
func NewPcloudVpnconnectionsPutParamsWithTimeout(timeout time.Duration) *PcloudVpnconnectionsPutParams
NewPcloudVpnconnectionsPutParamsWithTimeout creates a new PcloudVpnconnectionsPutParams object with the ability to set a timeout on a request.
func (*PcloudVpnconnectionsPutParams) SetBody ¶
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPutUnauthorized) Code() int
Code gets the status code for the pcloud vpnconnections put unauthorized response
func (*PcloudVpnconnectionsPutUnauthorized) Error ¶
func (o *PcloudVpnconnectionsPutUnauthorized) Error() string
func (*PcloudVpnconnectionsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutUnauthorized) GetPayload() *models.Error
func (*PcloudVpnconnectionsPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections put unauthorized response has a 4xx status code
func (*PcloudVpnconnectionsPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections put unauthorized response a status code equal to that given
func (*PcloudVpnconnectionsPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections put unauthorized response has a 3xx status code
func (*PcloudVpnconnectionsPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections put unauthorized response has a 5xx status code
func (*PcloudVpnconnectionsPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections put unauthorized response has a 2xx status code
func (*PcloudVpnconnectionsPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudVpnconnectionsPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud vpnconnections put unprocessable entity response
func (*PcloudVpnconnectionsPutUnprocessableEntity) Error ¶
func (o *PcloudVpnconnectionsPutUnprocessableEntity) Error() string
func (*PcloudVpnconnectionsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudVpnconnectionsPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudVpnconnectionsPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud vpnconnections put unprocessable entity response has a 4xx status code
func (*PcloudVpnconnectionsPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud vpnconnections put unprocessable entity response a status code equal to that given
func (*PcloudVpnconnectionsPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud vpnconnections put unprocessable entity response has a 3xx status code
func (*PcloudVpnconnectionsPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud vpnconnections put unprocessable entity response has a 5xx status code
func (*PcloudVpnconnectionsPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud vpnconnections put unprocessable entity response has a 2xx status code
func (*PcloudVpnconnectionsPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudVpnconnectionsPutUnprocessableEntity) String() string
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