Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudIkepoliciesDelete(params *PcloudIkepoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesDeleteOK, error)
- func (a *Client) PcloudIkepoliciesGet(params *PcloudIkepoliciesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesGetOK, error)
- func (a *Client) PcloudIkepoliciesGetall(params *PcloudIkepoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesGetallOK, error)
- func (a *Client) PcloudIkepoliciesPost(params *PcloudIkepoliciesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesPostOK, error)
- func (a *Client) PcloudIkepoliciesPut(params *PcloudIkepoliciesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesPutOK, error)
- func (a *Client) PcloudIpsecpoliciesDelete(params *PcloudIpsecpoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesDeleteOK, error)
- func (a *Client) PcloudIpsecpoliciesGet(params *PcloudIpsecpoliciesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesGetOK, error)
- func (a *Client) PcloudIpsecpoliciesGetall(params *PcloudIpsecpoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesGetallOK, error)
- func (a *Client) PcloudIpsecpoliciesPost(params *PcloudIpsecpoliciesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesPostOK, error)
- func (a *Client) PcloudIpsecpoliciesPut(params *PcloudIpsecpoliciesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudIkepoliciesDeleteBadRequest
- type PcloudIkepoliciesDeleteForbidden
- type PcloudIkepoliciesDeleteInternalServerError
- type PcloudIkepoliciesDeleteOK
- type PcloudIkepoliciesDeleteParams
- func NewPcloudIkepoliciesDeleteParams() *PcloudIkepoliciesDeleteParams
- func NewPcloudIkepoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIkepoliciesDeleteParams
- func NewPcloudIkepoliciesDeleteParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesDeleteParams
- func NewPcloudIkepoliciesDeleteParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesDeleteParams
- func (o *PcloudIkepoliciesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIkepoliciesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudIkepoliciesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIkepoliciesDeleteParams) SetIkePolicyID(ikePolicyID string)
- func (o *PcloudIkepoliciesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIkepoliciesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesDeleteParams
- func (o *PcloudIkepoliciesDeleteParams) WithContext(ctx context.Context) *PcloudIkepoliciesDeleteParams
- func (o *PcloudIkepoliciesDeleteParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesDeleteParams
- func (o *PcloudIkepoliciesDeleteParams) WithIkePolicyID(ikePolicyID string) *PcloudIkepoliciesDeleteParams
- func (o *PcloudIkepoliciesDeleteParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesDeleteParams
- func (o *PcloudIkepoliciesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIkepoliciesDeleteReader
- type PcloudIkepoliciesDeleteUnauthorized
- type PcloudIkepoliciesGetBadRequest
- type PcloudIkepoliciesGetForbidden
- type PcloudIkepoliciesGetInternalServerError
- type PcloudIkepoliciesGetOK
- type PcloudIkepoliciesGetParams
- func NewPcloudIkepoliciesGetParams() *PcloudIkepoliciesGetParams
- func NewPcloudIkepoliciesGetParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetParams
- func NewPcloudIkepoliciesGetParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesGetParams
- func NewPcloudIkepoliciesGetParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesGetParams
- func (o *PcloudIkepoliciesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIkepoliciesGetParams) SetContext(ctx context.Context)
- func (o *PcloudIkepoliciesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIkepoliciesGetParams) SetIkePolicyID(ikePolicyID string)
- func (o *PcloudIkepoliciesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIkepoliciesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesGetParams
- func (o *PcloudIkepoliciesGetParams) WithContext(ctx context.Context) *PcloudIkepoliciesGetParams
- func (o *PcloudIkepoliciesGetParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesGetParams
- func (o *PcloudIkepoliciesGetParams) WithIkePolicyID(ikePolicyID string) *PcloudIkepoliciesGetParams
- func (o *PcloudIkepoliciesGetParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesGetParams
- func (o *PcloudIkepoliciesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIkepoliciesGetReader
- type PcloudIkepoliciesGetUnauthorized
- type PcloudIkepoliciesGetUnprocessableEntity
- type PcloudIkepoliciesGetallBadRequest
- type PcloudIkepoliciesGetallForbidden
- type PcloudIkepoliciesGetallInternalServerError
- type PcloudIkepoliciesGetallNotFound
- type PcloudIkepoliciesGetallOK
- type PcloudIkepoliciesGetallParams
- func NewPcloudIkepoliciesGetallParams() *PcloudIkepoliciesGetallParams
- func NewPcloudIkepoliciesGetallParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetallParams
- func NewPcloudIkepoliciesGetallParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesGetallParams
- func NewPcloudIkepoliciesGetallParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesGetallParams
- func (o *PcloudIkepoliciesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIkepoliciesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudIkepoliciesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIkepoliciesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIkepoliciesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesGetallParams
- func (o *PcloudIkepoliciesGetallParams) WithContext(ctx context.Context) *PcloudIkepoliciesGetallParams
- func (o *PcloudIkepoliciesGetallParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesGetallParams
- func (o *PcloudIkepoliciesGetallParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesGetallParams
- func (o *PcloudIkepoliciesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIkepoliciesGetallReader
- type PcloudIkepoliciesGetallUnauthorized
- type PcloudIkepoliciesPostBadRequest
- type PcloudIkepoliciesPostConflict
- type PcloudIkepoliciesPostForbidden
- type PcloudIkepoliciesPostInternalServerError
- type PcloudIkepoliciesPostOK
- type PcloudIkepoliciesPostParams
- func NewPcloudIkepoliciesPostParams() *PcloudIkepoliciesPostParams
- func NewPcloudIkepoliciesPostParamsWithContext(ctx context.Context) *PcloudIkepoliciesPostParams
- func NewPcloudIkepoliciesPostParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesPostParams
- func NewPcloudIkepoliciesPostParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesPostParams
- func (o *PcloudIkepoliciesPostParams) SetBody(body *models.IKEPolicyCreate)
- func (o *PcloudIkepoliciesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIkepoliciesPostParams) SetContext(ctx context.Context)
- func (o *PcloudIkepoliciesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIkepoliciesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIkepoliciesPostParams) WithBody(body *models.IKEPolicyCreate) *PcloudIkepoliciesPostParams
- func (o *PcloudIkepoliciesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesPostParams
- func (o *PcloudIkepoliciesPostParams) WithContext(ctx context.Context) *PcloudIkepoliciesPostParams
- func (o *PcloudIkepoliciesPostParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesPostParams
- func (o *PcloudIkepoliciesPostParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesPostParams
- func (o *PcloudIkepoliciesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIkepoliciesPostReader
- type PcloudIkepoliciesPostUnauthorized
- type PcloudIkepoliciesPostUnprocessableEntity
- type PcloudIkepoliciesPutBadRequest
- type PcloudIkepoliciesPutForbidden
- type PcloudIkepoliciesPutInternalServerError
- type PcloudIkepoliciesPutOK
- type PcloudIkepoliciesPutParams
- func NewPcloudIkepoliciesPutParams() *PcloudIkepoliciesPutParams
- func NewPcloudIkepoliciesPutParamsWithContext(ctx context.Context) *PcloudIkepoliciesPutParams
- func NewPcloudIkepoliciesPutParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesPutParams
- func NewPcloudIkepoliciesPutParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesPutParams
- func (o *PcloudIkepoliciesPutParams) SetBody(body *models.IKEPolicyUpdate)
- func (o *PcloudIkepoliciesPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIkepoliciesPutParams) SetContext(ctx context.Context)
- func (o *PcloudIkepoliciesPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIkepoliciesPutParams) SetIkePolicyID(ikePolicyID string)
- func (o *PcloudIkepoliciesPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIkepoliciesPutParams) WithBody(body *models.IKEPolicyUpdate) *PcloudIkepoliciesPutParams
- func (o *PcloudIkepoliciesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesPutParams
- func (o *PcloudIkepoliciesPutParams) WithContext(ctx context.Context) *PcloudIkepoliciesPutParams
- func (o *PcloudIkepoliciesPutParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesPutParams
- func (o *PcloudIkepoliciesPutParams) WithIkePolicyID(ikePolicyID string) *PcloudIkepoliciesPutParams
- func (o *PcloudIkepoliciesPutParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesPutParams
- func (o *PcloudIkepoliciesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIkepoliciesPutReader
- type PcloudIkepoliciesPutUnauthorized
- type PcloudIkepoliciesPutUnprocessableEntity
- type PcloudIpsecpoliciesDeleteBadRequest
- type PcloudIpsecpoliciesDeleteForbidden
- type PcloudIpsecpoliciesDeleteInternalServerError
- type PcloudIpsecpoliciesDeleteOK
- type PcloudIpsecpoliciesDeleteParams
- func NewPcloudIpsecpoliciesDeleteParams() *PcloudIpsecpoliciesDeleteParams
- func NewPcloudIpsecpoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesDeleteParams
- func NewPcloudIpsecpoliciesDeleteParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesDeleteParams
- func NewPcloudIpsecpoliciesDeleteParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesDeleteParams
- func (o *PcloudIpsecpoliciesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIpsecpoliciesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudIpsecpoliciesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIpsecpoliciesDeleteParams) SetIpsecPolicyID(ipsecPolicyID string)
- func (o *PcloudIpsecpoliciesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIpsecpoliciesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesDeleteParams
- func (o *PcloudIpsecpoliciesDeleteParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesDeleteParams
- func (o *PcloudIpsecpoliciesDeleteParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesDeleteParams
- func (o *PcloudIpsecpoliciesDeleteParams) WithIpsecPolicyID(ipsecPolicyID string) *PcloudIpsecpoliciesDeleteParams
- func (o *PcloudIpsecpoliciesDeleteParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesDeleteParams
- func (o *PcloudIpsecpoliciesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIpsecpoliciesDeleteReader
- type PcloudIpsecpoliciesDeleteUnauthorized
- type PcloudIpsecpoliciesGetBadRequest
- type PcloudIpsecpoliciesGetForbidden
- type PcloudIpsecpoliciesGetInternalServerError
- type PcloudIpsecpoliciesGetOK
- type PcloudIpsecpoliciesGetParams
- func NewPcloudIpsecpoliciesGetParams() *PcloudIpsecpoliciesGetParams
- func NewPcloudIpsecpoliciesGetParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetParams
- func NewPcloudIpsecpoliciesGetParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetParams
- func NewPcloudIpsecpoliciesGetParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetParams
- func (o *PcloudIpsecpoliciesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIpsecpoliciesGetParams) SetContext(ctx context.Context)
- func (o *PcloudIpsecpoliciesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIpsecpoliciesGetParams) SetIpsecPolicyID(ipsecPolicyID string)
- func (o *PcloudIpsecpoliciesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIpsecpoliciesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesGetParams
- func (o *PcloudIpsecpoliciesGetParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesGetParams
- func (o *PcloudIpsecpoliciesGetParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetParams
- func (o *PcloudIpsecpoliciesGetParams) WithIpsecPolicyID(ipsecPolicyID string) *PcloudIpsecpoliciesGetParams
- func (o *PcloudIpsecpoliciesGetParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetParams
- func (o *PcloudIpsecpoliciesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIpsecpoliciesGetReader
- type PcloudIpsecpoliciesGetUnauthorized
- type PcloudIpsecpoliciesGetUnprocessableEntity
- type PcloudIpsecpoliciesGetallBadRequest
- type PcloudIpsecpoliciesGetallForbidden
- type PcloudIpsecpoliciesGetallInternalServerError
- type PcloudIpsecpoliciesGetallNotFound
- type PcloudIpsecpoliciesGetallOK
- type PcloudIpsecpoliciesGetallParams
- func NewPcloudIpsecpoliciesGetallParams() *PcloudIpsecpoliciesGetallParams
- func NewPcloudIpsecpoliciesGetallParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetallParams
- func NewPcloudIpsecpoliciesGetallParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetallParams
- func NewPcloudIpsecpoliciesGetallParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetallParams
- func (o *PcloudIpsecpoliciesGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIpsecpoliciesGetallParams) SetContext(ctx context.Context)
- func (o *PcloudIpsecpoliciesGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIpsecpoliciesGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIpsecpoliciesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesGetallParams
- func (o *PcloudIpsecpoliciesGetallParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesGetallParams
- func (o *PcloudIpsecpoliciesGetallParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetallParams
- func (o *PcloudIpsecpoliciesGetallParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetallParams
- func (o *PcloudIpsecpoliciesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIpsecpoliciesGetallReader
- type PcloudIpsecpoliciesGetallUnauthorized
- type PcloudIpsecpoliciesPostBadRequest
- type PcloudIpsecpoliciesPostConflict
- type PcloudIpsecpoliciesPostForbidden
- type PcloudIpsecpoliciesPostInternalServerError
- type PcloudIpsecpoliciesPostOK
- type PcloudIpsecpoliciesPostParams
- func NewPcloudIpsecpoliciesPostParams() *PcloudIpsecpoliciesPostParams
- func NewPcloudIpsecpoliciesPostParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPostParams
- func NewPcloudIpsecpoliciesPostParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPostParams
- func NewPcloudIpsecpoliciesPostParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPostParams
- func (o *PcloudIpsecpoliciesPostParams) SetBody(body *models.IPSecPolicyCreate)
- func (o *PcloudIpsecpoliciesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIpsecpoliciesPostParams) SetContext(ctx context.Context)
- func (o *PcloudIpsecpoliciesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIpsecpoliciesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIpsecpoliciesPostParams) WithBody(body *models.IPSecPolicyCreate) *PcloudIpsecpoliciesPostParams
- func (o *PcloudIpsecpoliciesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesPostParams
- func (o *PcloudIpsecpoliciesPostParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesPostParams
- func (o *PcloudIpsecpoliciesPostParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPostParams
- func (o *PcloudIpsecpoliciesPostParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPostParams
- func (o *PcloudIpsecpoliciesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIpsecpoliciesPostReader
- type PcloudIpsecpoliciesPostUnauthorized
- type PcloudIpsecpoliciesPostUnprocessableEntity
- type PcloudIpsecpoliciesPutBadRequest
- type PcloudIpsecpoliciesPutConflict
- type PcloudIpsecpoliciesPutForbidden
- type PcloudIpsecpoliciesPutInternalServerError
- type PcloudIpsecpoliciesPutOK
- type PcloudIpsecpoliciesPutParams
- func NewPcloudIpsecpoliciesPutParams() *PcloudIpsecpoliciesPutParams
- func NewPcloudIpsecpoliciesPutParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPutParams
- func NewPcloudIpsecpoliciesPutParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPutParams
- func NewPcloudIpsecpoliciesPutParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPutParams
- func (o *PcloudIpsecpoliciesPutParams) SetBody(body *models.IPSecPolicyUpdate)
- func (o *PcloudIpsecpoliciesPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudIpsecpoliciesPutParams) SetContext(ctx context.Context)
- func (o *PcloudIpsecpoliciesPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudIpsecpoliciesPutParams) SetIpsecPolicyID(ipsecPolicyID string)
- func (o *PcloudIpsecpoliciesPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudIpsecpoliciesPutParams) WithBody(body *models.IPSecPolicyUpdate) *PcloudIpsecpoliciesPutParams
- func (o *PcloudIpsecpoliciesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesPutParams
- func (o *PcloudIpsecpoliciesPutParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesPutParams
- func (o *PcloudIpsecpoliciesPutParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPutParams
- func (o *PcloudIpsecpoliciesPutParams) WithIpsecPolicyID(ipsecPolicyID string) *PcloudIpsecpoliciesPutParams
- func (o *PcloudIpsecpoliciesPutParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPutParams
- func (o *PcloudIpsecpoliciesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudIpsecpoliciesPutReader
- type PcloudIpsecpoliciesPutUnauthorized
- type PcloudIpsecpoliciesPutUnprocessableEntity
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 policies API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud v p n policies API client.
func (*Client) PcloudIkepoliciesDelete ¶
func (a *Client) PcloudIkepoliciesDelete(params *PcloudIkepoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesDeleteOK, error)
PcloudIkepoliciesDelete deletes i k e policy
Delete an IKE Policy (by its unique identifier)
func (*Client) PcloudIkepoliciesGet ¶
func (a *Client) PcloudIkepoliciesGet(params *PcloudIkepoliciesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesGetOK, error)
PcloudIkepoliciesGet gets the specified i k e policy
Get an IKE Policy (by its unique identifier)
func (*Client) PcloudIkepoliciesGetall ¶
func (a *Client) PcloudIkepoliciesGetall(params *PcloudIkepoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesGetallOK, error)
PcloudIkepoliciesGetall gets all i k e policies
List all IKE Policies with all attributes
func (*Client) PcloudIkepoliciesPost ¶
func (a *Client) PcloudIkepoliciesPost(params *PcloudIkepoliciesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesPostOK, error)
PcloudIkepoliciesPost adds i k e policy
Add a new IKE Policy
func (*Client) PcloudIkepoliciesPut ¶
func (a *Client) PcloudIkepoliciesPut(params *PcloudIkepoliciesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesPutOK, error)
PcloudIkepoliciesPut updates i k e policy
update an IKE Policy (by its unique identifier)
func (*Client) PcloudIpsecpoliciesDelete ¶
func (a *Client) PcloudIpsecpoliciesDelete(params *PcloudIpsecpoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesDeleteOK, error)
PcloudIpsecpoliciesDelete deletes IP sec policy
Delete an IPSec Policy (by its unique identifier)
func (*Client) PcloudIpsecpoliciesGet ¶
func (a *Client) PcloudIpsecpoliciesGet(params *PcloudIpsecpoliciesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesGetOK, error)
PcloudIpsecpoliciesGet gets the specified IP sec policy
Get an IPSec Policy (by its unique identifier)
func (*Client) PcloudIpsecpoliciesGetall ¶
func (a *Client) PcloudIpsecpoliciesGetall(params *PcloudIpsecpoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesGetallOK, error)
PcloudIpsecpoliciesGetall gets all IP sec policies
Get all IPSec Policies with all their attributes
func (*Client) PcloudIpsecpoliciesPost ¶
func (a *Client) PcloudIpsecpoliciesPost(params *PcloudIpsecpoliciesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesPostOK, error)
PcloudIpsecpoliciesPost adds IP sec policy
Add a new IPSec Policy
func (*Client) PcloudIpsecpoliciesPut ¶
func (a *Client) PcloudIpsecpoliciesPut(params *PcloudIpsecpoliciesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesPutOK, error)
PcloudIpsecpoliciesPut updates IP sec policy
update an IPSec Policy
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudIkepoliciesDeleteBadRequest ¶
PcloudIkepoliciesDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudIkepoliciesDeleteBadRequest ¶
func NewPcloudIkepoliciesDeleteBadRequest() *PcloudIkepoliciesDeleteBadRequest
NewPcloudIkepoliciesDeleteBadRequest creates a PcloudIkepoliciesDeleteBadRequest with default headers values
func (*PcloudIkepoliciesDeleteBadRequest) Error ¶
func (o *PcloudIkepoliciesDeleteBadRequest) Error() string
type PcloudIkepoliciesDeleteForbidden ¶
PcloudIkepoliciesDeleteForbidden handles this case with default header values.
Forbidden
func NewPcloudIkepoliciesDeleteForbidden ¶
func NewPcloudIkepoliciesDeleteForbidden() *PcloudIkepoliciesDeleteForbidden
NewPcloudIkepoliciesDeleteForbidden creates a PcloudIkepoliciesDeleteForbidden with default headers values
func (*PcloudIkepoliciesDeleteForbidden) Error ¶
func (o *PcloudIkepoliciesDeleteForbidden) Error() string
type PcloudIkepoliciesDeleteInternalServerError ¶
PcloudIkepoliciesDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIkepoliciesDeleteInternalServerError ¶
func NewPcloudIkepoliciesDeleteInternalServerError() *PcloudIkepoliciesDeleteInternalServerError
NewPcloudIkepoliciesDeleteInternalServerError creates a PcloudIkepoliciesDeleteInternalServerError with default headers values
func (*PcloudIkepoliciesDeleteInternalServerError) Error ¶
func (o *PcloudIkepoliciesDeleteInternalServerError) Error() string
type PcloudIkepoliciesDeleteOK ¶
PcloudIkepoliciesDeleteOK handles this case with default header values.
OK
func NewPcloudIkepoliciesDeleteOK ¶
func NewPcloudIkepoliciesDeleteOK() *PcloudIkepoliciesDeleteOK
NewPcloudIkepoliciesDeleteOK creates a PcloudIkepoliciesDeleteOK with default headers values
func (*PcloudIkepoliciesDeleteOK) Error ¶
func (o *PcloudIkepoliciesDeleteOK) Error() string
type PcloudIkepoliciesDeleteParams ¶
type PcloudIkepoliciesDeleteParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*IkePolicyID ID of a IKE Policy */ IkePolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesDeleteParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies delete operation typically these are written to a http.Request
func NewPcloudIkepoliciesDeleteParams ¶
func NewPcloudIkepoliciesDeleteParams() *PcloudIkepoliciesDeleteParams
NewPcloudIkepoliciesDeleteParams creates a new PcloudIkepoliciesDeleteParams object with the default values initialized.
func NewPcloudIkepoliciesDeleteParamsWithContext ¶
func NewPcloudIkepoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIkepoliciesDeleteParams
NewPcloudIkepoliciesDeleteParamsWithContext creates a new PcloudIkepoliciesDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIkepoliciesDeleteParamsWithHTTPClient ¶
func NewPcloudIkepoliciesDeleteParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesDeleteParams
NewPcloudIkepoliciesDeleteParamsWithHTTPClient creates a new PcloudIkepoliciesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIkepoliciesDeleteParamsWithTimeout ¶
func NewPcloudIkepoliciesDeleteParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesDeleteParams
NewPcloudIkepoliciesDeleteParamsWithTimeout creates a new PcloudIkepoliciesDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIkepoliciesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudIkepoliciesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) SetContext ¶
func (o *PcloudIkepoliciesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) SetHTTPClient ¶
func (o *PcloudIkepoliciesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) SetIkePolicyID ¶
func (o *PcloudIkepoliciesDeleteParams) SetIkePolicyID(ikePolicyID string)
SetIkePolicyID adds the ikePolicyId to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) SetTimeout ¶
func (o *PcloudIkepoliciesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudIkepoliciesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) WithContext ¶
func (o *PcloudIkepoliciesDeleteParams) WithContext(ctx context.Context) *PcloudIkepoliciesDeleteParams
WithContext adds the context to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) WithHTTPClient ¶
func (o *PcloudIkepoliciesDeleteParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) WithIkePolicyID ¶
func (o *PcloudIkepoliciesDeleteParams) WithIkePolicyID(ikePolicyID string) *PcloudIkepoliciesDeleteParams
WithIkePolicyID adds the ikePolicyID to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) WithTimeout ¶
func (o *PcloudIkepoliciesDeleteParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesDeleteParams
WithTimeout adds the timeout to the pcloud ikepolicies delete params
func (*PcloudIkepoliciesDeleteParams) WriteToRequest ¶
func (o *PcloudIkepoliciesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIkepoliciesDeleteReader ¶
type PcloudIkepoliciesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudIkepoliciesDeleteReader is a Reader for the PcloudIkepoliciesDelete structure.
func (*PcloudIkepoliciesDeleteReader) ReadResponse ¶
func (o *PcloudIkepoliciesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIkepoliciesDeleteUnauthorized ¶
type PcloudIkepoliciesDeleteUnauthorized struct {
}PcloudIkepoliciesDeleteUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIkepoliciesDeleteUnauthorized ¶
func NewPcloudIkepoliciesDeleteUnauthorized() *PcloudIkepoliciesDeleteUnauthorized
NewPcloudIkepoliciesDeleteUnauthorized creates a PcloudIkepoliciesDeleteUnauthorized with default headers values
func (*PcloudIkepoliciesDeleteUnauthorized) Error ¶
func (o *PcloudIkepoliciesDeleteUnauthorized) Error() string
type PcloudIkepoliciesGetBadRequest ¶
PcloudIkepoliciesGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudIkepoliciesGetBadRequest ¶
func NewPcloudIkepoliciesGetBadRequest() *PcloudIkepoliciesGetBadRequest
NewPcloudIkepoliciesGetBadRequest creates a PcloudIkepoliciesGetBadRequest with default headers values
func (*PcloudIkepoliciesGetBadRequest) Error ¶
func (o *PcloudIkepoliciesGetBadRequest) Error() string
type PcloudIkepoliciesGetForbidden ¶
PcloudIkepoliciesGetForbidden handles this case with default header values.
Forbidden
func NewPcloudIkepoliciesGetForbidden ¶
func NewPcloudIkepoliciesGetForbidden() *PcloudIkepoliciesGetForbidden
NewPcloudIkepoliciesGetForbidden creates a PcloudIkepoliciesGetForbidden with default headers values
func (*PcloudIkepoliciesGetForbidden) Error ¶
func (o *PcloudIkepoliciesGetForbidden) Error() string
type PcloudIkepoliciesGetInternalServerError ¶
PcloudIkepoliciesGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIkepoliciesGetInternalServerError ¶
func NewPcloudIkepoliciesGetInternalServerError() *PcloudIkepoliciesGetInternalServerError
NewPcloudIkepoliciesGetInternalServerError creates a PcloudIkepoliciesGetInternalServerError with default headers values
func (*PcloudIkepoliciesGetInternalServerError) Error ¶
func (o *PcloudIkepoliciesGetInternalServerError) Error() string
type PcloudIkepoliciesGetOK ¶
PcloudIkepoliciesGetOK handles this case with default header values.
OK
func NewPcloudIkepoliciesGetOK ¶
func NewPcloudIkepoliciesGetOK() *PcloudIkepoliciesGetOK
NewPcloudIkepoliciesGetOK creates a PcloudIkepoliciesGetOK with default headers values
func (*PcloudIkepoliciesGetOK) Error ¶
func (o *PcloudIkepoliciesGetOK) Error() string
type PcloudIkepoliciesGetParams ¶
type PcloudIkepoliciesGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*IkePolicyID ID of a IKE Policy */ IkePolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesGetParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies get operation typically these are written to a http.Request
func NewPcloudIkepoliciesGetParams ¶
func NewPcloudIkepoliciesGetParams() *PcloudIkepoliciesGetParams
NewPcloudIkepoliciesGetParams creates a new PcloudIkepoliciesGetParams object with the default values initialized.
func NewPcloudIkepoliciesGetParamsWithContext ¶
func NewPcloudIkepoliciesGetParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetParams
NewPcloudIkepoliciesGetParamsWithContext creates a new PcloudIkepoliciesGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIkepoliciesGetParamsWithHTTPClient ¶
func NewPcloudIkepoliciesGetParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesGetParams
NewPcloudIkepoliciesGetParamsWithHTTPClient creates a new PcloudIkepoliciesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIkepoliciesGetParamsWithTimeout ¶
func NewPcloudIkepoliciesGetParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesGetParams
NewPcloudIkepoliciesGetParamsWithTimeout creates a new PcloudIkepoliciesGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIkepoliciesGetParams) SetCloudInstanceID ¶
func (o *PcloudIkepoliciesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) SetContext ¶
func (o *PcloudIkepoliciesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) SetHTTPClient ¶
func (o *PcloudIkepoliciesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) SetIkePolicyID ¶
func (o *PcloudIkepoliciesGetParams) SetIkePolicyID(ikePolicyID string)
SetIkePolicyID adds the ikePolicyId to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) SetTimeout ¶
func (o *PcloudIkepoliciesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) WithCloudInstanceID ¶
func (o *PcloudIkepoliciesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) WithContext ¶
func (o *PcloudIkepoliciesGetParams) WithContext(ctx context.Context) *PcloudIkepoliciesGetParams
WithContext adds the context to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) WithHTTPClient ¶
func (o *PcloudIkepoliciesGetParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesGetParams
WithHTTPClient adds the HTTPClient to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) WithIkePolicyID ¶
func (o *PcloudIkepoliciesGetParams) WithIkePolicyID(ikePolicyID string) *PcloudIkepoliciesGetParams
WithIkePolicyID adds the ikePolicyID to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) WithTimeout ¶
func (o *PcloudIkepoliciesGetParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesGetParams
WithTimeout adds the timeout to the pcloud ikepolicies get params
func (*PcloudIkepoliciesGetParams) WriteToRequest ¶
func (o *PcloudIkepoliciesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIkepoliciesGetReader ¶
type PcloudIkepoliciesGetReader struct {
// contains filtered or unexported fields
}
PcloudIkepoliciesGetReader is a Reader for the PcloudIkepoliciesGet structure.
func (*PcloudIkepoliciesGetReader) ReadResponse ¶
func (o *PcloudIkepoliciesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIkepoliciesGetUnauthorized ¶
type PcloudIkepoliciesGetUnauthorized struct {
}PcloudIkepoliciesGetUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIkepoliciesGetUnauthorized ¶
func NewPcloudIkepoliciesGetUnauthorized() *PcloudIkepoliciesGetUnauthorized
NewPcloudIkepoliciesGetUnauthorized creates a PcloudIkepoliciesGetUnauthorized with default headers values
func (*PcloudIkepoliciesGetUnauthorized) Error ¶
func (o *PcloudIkepoliciesGetUnauthorized) Error() string
type PcloudIkepoliciesGetUnprocessableEntity ¶
PcloudIkepoliciesGetUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudIkepoliciesGetUnprocessableEntity ¶
func NewPcloudIkepoliciesGetUnprocessableEntity() *PcloudIkepoliciesGetUnprocessableEntity
NewPcloudIkepoliciesGetUnprocessableEntity creates a PcloudIkepoliciesGetUnprocessableEntity with default headers values
func (*PcloudIkepoliciesGetUnprocessableEntity) Error ¶
func (o *PcloudIkepoliciesGetUnprocessableEntity) Error() string
type PcloudIkepoliciesGetallBadRequest ¶
PcloudIkepoliciesGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudIkepoliciesGetallBadRequest ¶
func NewPcloudIkepoliciesGetallBadRequest() *PcloudIkepoliciesGetallBadRequest
NewPcloudIkepoliciesGetallBadRequest creates a PcloudIkepoliciesGetallBadRequest with default headers values
func (*PcloudIkepoliciesGetallBadRequest) Error ¶
func (o *PcloudIkepoliciesGetallBadRequest) Error() string
type PcloudIkepoliciesGetallForbidden ¶
PcloudIkepoliciesGetallForbidden handles this case with default header values.
Forbidden
func NewPcloudIkepoliciesGetallForbidden ¶
func NewPcloudIkepoliciesGetallForbidden() *PcloudIkepoliciesGetallForbidden
NewPcloudIkepoliciesGetallForbidden creates a PcloudIkepoliciesGetallForbidden with default headers values
func (*PcloudIkepoliciesGetallForbidden) Error ¶
func (o *PcloudIkepoliciesGetallForbidden) Error() string
type PcloudIkepoliciesGetallInternalServerError ¶
PcloudIkepoliciesGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIkepoliciesGetallInternalServerError ¶
func NewPcloudIkepoliciesGetallInternalServerError() *PcloudIkepoliciesGetallInternalServerError
NewPcloudIkepoliciesGetallInternalServerError creates a PcloudIkepoliciesGetallInternalServerError with default headers values
func (*PcloudIkepoliciesGetallInternalServerError) Error ¶
func (o *PcloudIkepoliciesGetallInternalServerError) Error() string
type PcloudIkepoliciesGetallNotFound ¶
PcloudIkepoliciesGetallNotFound handles this case with default header values.
Not Found
func NewPcloudIkepoliciesGetallNotFound ¶
func NewPcloudIkepoliciesGetallNotFound() *PcloudIkepoliciesGetallNotFound
NewPcloudIkepoliciesGetallNotFound creates a PcloudIkepoliciesGetallNotFound with default headers values
func (*PcloudIkepoliciesGetallNotFound) Error ¶
func (o *PcloudIkepoliciesGetallNotFound) Error() string
type PcloudIkepoliciesGetallOK ¶
type PcloudIkepoliciesGetallOK struct {
Payload *models.IKEPolicies
}
PcloudIkepoliciesGetallOK handles this case with default header values.
OK
func NewPcloudIkepoliciesGetallOK ¶
func NewPcloudIkepoliciesGetallOK() *PcloudIkepoliciesGetallOK
NewPcloudIkepoliciesGetallOK creates a PcloudIkepoliciesGetallOK with default headers values
func (*PcloudIkepoliciesGetallOK) Error ¶
func (o *PcloudIkepoliciesGetallOK) Error() string
type PcloudIkepoliciesGetallParams ¶
type PcloudIkepoliciesGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesGetallParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies getall operation typically these are written to a http.Request
func NewPcloudIkepoliciesGetallParams ¶
func NewPcloudIkepoliciesGetallParams() *PcloudIkepoliciesGetallParams
NewPcloudIkepoliciesGetallParams creates a new PcloudIkepoliciesGetallParams object with the default values initialized.
func NewPcloudIkepoliciesGetallParamsWithContext ¶
func NewPcloudIkepoliciesGetallParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetallParams
NewPcloudIkepoliciesGetallParamsWithContext creates a new PcloudIkepoliciesGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIkepoliciesGetallParamsWithHTTPClient ¶
func NewPcloudIkepoliciesGetallParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesGetallParams
NewPcloudIkepoliciesGetallParamsWithHTTPClient creates a new PcloudIkepoliciesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIkepoliciesGetallParamsWithTimeout ¶
func NewPcloudIkepoliciesGetallParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesGetallParams
NewPcloudIkepoliciesGetallParamsWithTimeout creates a new PcloudIkepoliciesGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIkepoliciesGetallParams) SetCloudInstanceID ¶
func (o *PcloudIkepoliciesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) SetContext ¶
func (o *PcloudIkepoliciesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) SetHTTPClient ¶
func (o *PcloudIkepoliciesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) SetTimeout ¶
func (o *PcloudIkepoliciesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) WithCloudInstanceID ¶
func (o *PcloudIkepoliciesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) WithContext ¶
func (o *PcloudIkepoliciesGetallParams) WithContext(ctx context.Context) *PcloudIkepoliciesGetallParams
WithContext adds the context to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) WithHTTPClient ¶
func (o *PcloudIkepoliciesGetallParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) WithTimeout ¶
func (o *PcloudIkepoliciesGetallParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesGetallParams
WithTimeout adds the timeout to the pcloud ikepolicies getall params
func (*PcloudIkepoliciesGetallParams) WriteToRequest ¶
func (o *PcloudIkepoliciesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIkepoliciesGetallReader ¶
type PcloudIkepoliciesGetallReader struct {
// contains filtered or unexported fields
}
PcloudIkepoliciesGetallReader is a Reader for the PcloudIkepoliciesGetall structure.
func (*PcloudIkepoliciesGetallReader) ReadResponse ¶
func (o *PcloudIkepoliciesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIkepoliciesGetallUnauthorized ¶
type PcloudIkepoliciesGetallUnauthorized struct {
}PcloudIkepoliciesGetallUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIkepoliciesGetallUnauthorized ¶
func NewPcloudIkepoliciesGetallUnauthorized() *PcloudIkepoliciesGetallUnauthorized
NewPcloudIkepoliciesGetallUnauthorized creates a PcloudIkepoliciesGetallUnauthorized with default headers values
func (*PcloudIkepoliciesGetallUnauthorized) Error ¶
func (o *PcloudIkepoliciesGetallUnauthorized) Error() string
type PcloudIkepoliciesPostBadRequest ¶
PcloudIkepoliciesPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudIkepoliciesPostBadRequest ¶
func NewPcloudIkepoliciesPostBadRequest() *PcloudIkepoliciesPostBadRequest
NewPcloudIkepoliciesPostBadRequest creates a PcloudIkepoliciesPostBadRequest with default headers values
func (*PcloudIkepoliciesPostBadRequest) Error ¶
func (o *PcloudIkepoliciesPostBadRequest) Error() string
type PcloudIkepoliciesPostConflict ¶
PcloudIkepoliciesPostConflict handles this case with default header values.
Conflict
func NewPcloudIkepoliciesPostConflict ¶
func NewPcloudIkepoliciesPostConflict() *PcloudIkepoliciesPostConflict
NewPcloudIkepoliciesPostConflict creates a PcloudIkepoliciesPostConflict with default headers values
func (*PcloudIkepoliciesPostConflict) Error ¶
func (o *PcloudIkepoliciesPostConflict) Error() string
type PcloudIkepoliciesPostForbidden ¶
PcloudIkepoliciesPostForbidden handles this case with default header values.
Forbidden
func NewPcloudIkepoliciesPostForbidden ¶
func NewPcloudIkepoliciesPostForbidden() *PcloudIkepoliciesPostForbidden
NewPcloudIkepoliciesPostForbidden creates a PcloudIkepoliciesPostForbidden with default headers values
func (*PcloudIkepoliciesPostForbidden) Error ¶
func (o *PcloudIkepoliciesPostForbidden) Error() string
type PcloudIkepoliciesPostInternalServerError ¶
PcloudIkepoliciesPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIkepoliciesPostInternalServerError ¶
func NewPcloudIkepoliciesPostInternalServerError() *PcloudIkepoliciesPostInternalServerError
NewPcloudIkepoliciesPostInternalServerError creates a PcloudIkepoliciesPostInternalServerError with default headers values
func (*PcloudIkepoliciesPostInternalServerError) Error ¶
func (o *PcloudIkepoliciesPostInternalServerError) Error() string
type PcloudIkepoliciesPostOK ¶
PcloudIkepoliciesPostOK handles this case with default header values.
OK
func NewPcloudIkepoliciesPostOK ¶
func NewPcloudIkepoliciesPostOK() *PcloudIkepoliciesPostOK
NewPcloudIkepoliciesPostOK creates a PcloudIkepoliciesPostOK with default headers values
func (*PcloudIkepoliciesPostOK) Error ¶
func (o *PcloudIkepoliciesPostOK) Error() string
type PcloudIkepoliciesPostParams ¶
type PcloudIkepoliciesPostParams struct { /*Body Parameters for the creation of a new IKE Policy */ Body *models.IKEPolicyCreate /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesPostParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies post operation typically these are written to a http.Request
func NewPcloudIkepoliciesPostParams ¶
func NewPcloudIkepoliciesPostParams() *PcloudIkepoliciesPostParams
NewPcloudIkepoliciesPostParams creates a new PcloudIkepoliciesPostParams object with the default values initialized.
func NewPcloudIkepoliciesPostParamsWithContext ¶
func NewPcloudIkepoliciesPostParamsWithContext(ctx context.Context) *PcloudIkepoliciesPostParams
NewPcloudIkepoliciesPostParamsWithContext creates a new PcloudIkepoliciesPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIkepoliciesPostParamsWithHTTPClient ¶
func NewPcloudIkepoliciesPostParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesPostParams
NewPcloudIkepoliciesPostParamsWithHTTPClient creates a new PcloudIkepoliciesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIkepoliciesPostParamsWithTimeout ¶
func NewPcloudIkepoliciesPostParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesPostParams
NewPcloudIkepoliciesPostParamsWithTimeout creates a new PcloudIkepoliciesPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIkepoliciesPostParams) SetBody ¶
func (o *PcloudIkepoliciesPostParams) SetBody(body *models.IKEPolicyCreate)
SetBody adds the body to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) SetCloudInstanceID ¶
func (o *PcloudIkepoliciesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) SetContext ¶
func (o *PcloudIkepoliciesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) SetHTTPClient ¶
func (o *PcloudIkepoliciesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) SetTimeout ¶
func (o *PcloudIkepoliciesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) WithBody ¶
func (o *PcloudIkepoliciesPostParams) WithBody(body *models.IKEPolicyCreate) *PcloudIkepoliciesPostParams
WithBody adds the body to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) WithCloudInstanceID ¶
func (o *PcloudIkepoliciesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) WithContext ¶
func (o *PcloudIkepoliciesPostParams) WithContext(ctx context.Context) *PcloudIkepoliciesPostParams
WithContext adds the context to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) WithHTTPClient ¶
func (o *PcloudIkepoliciesPostParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesPostParams
WithHTTPClient adds the HTTPClient to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) WithTimeout ¶
func (o *PcloudIkepoliciesPostParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesPostParams
WithTimeout adds the timeout to the pcloud ikepolicies post params
func (*PcloudIkepoliciesPostParams) WriteToRequest ¶
func (o *PcloudIkepoliciesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIkepoliciesPostReader ¶
type PcloudIkepoliciesPostReader struct {
// contains filtered or unexported fields
}
PcloudIkepoliciesPostReader is a Reader for the PcloudIkepoliciesPost structure.
func (*PcloudIkepoliciesPostReader) ReadResponse ¶
func (o *PcloudIkepoliciesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIkepoliciesPostUnauthorized ¶
type PcloudIkepoliciesPostUnauthorized struct {
}PcloudIkepoliciesPostUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIkepoliciesPostUnauthorized ¶
func NewPcloudIkepoliciesPostUnauthorized() *PcloudIkepoliciesPostUnauthorized
NewPcloudIkepoliciesPostUnauthorized creates a PcloudIkepoliciesPostUnauthorized with default headers values
func (*PcloudIkepoliciesPostUnauthorized) Error ¶
func (o *PcloudIkepoliciesPostUnauthorized) Error() string
type PcloudIkepoliciesPostUnprocessableEntity ¶
PcloudIkepoliciesPostUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudIkepoliciesPostUnprocessableEntity ¶
func NewPcloudIkepoliciesPostUnprocessableEntity() *PcloudIkepoliciesPostUnprocessableEntity
NewPcloudIkepoliciesPostUnprocessableEntity creates a PcloudIkepoliciesPostUnprocessableEntity with default headers values
func (*PcloudIkepoliciesPostUnprocessableEntity) Error ¶
func (o *PcloudIkepoliciesPostUnprocessableEntity) Error() string
type PcloudIkepoliciesPutBadRequest ¶
PcloudIkepoliciesPutBadRequest handles this case with default header values.
Bad Request
func NewPcloudIkepoliciesPutBadRequest ¶
func NewPcloudIkepoliciesPutBadRequest() *PcloudIkepoliciesPutBadRequest
NewPcloudIkepoliciesPutBadRequest creates a PcloudIkepoliciesPutBadRequest with default headers values
func (*PcloudIkepoliciesPutBadRequest) Error ¶
func (o *PcloudIkepoliciesPutBadRequest) Error() string
type PcloudIkepoliciesPutForbidden ¶
PcloudIkepoliciesPutForbidden handles this case with default header values.
Forbidden
func NewPcloudIkepoliciesPutForbidden ¶
func NewPcloudIkepoliciesPutForbidden() *PcloudIkepoliciesPutForbidden
NewPcloudIkepoliciesPutForbidden creates a PcloudIkepoliciesPutForbidden with default headers values
func (*PcloudIkepoliciesPutForbidden) Error ¶
func (o *PcloudIkepoliciesPutForbidden) Error() string
type PcloudIkepoliciesPutInternalServerError ¶
PcloudIkepoliciesPutInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIkepoliciesPutInternalServerError ¶
func NewPcloudIkepoliciesPutInternalServerError() *PcloudIkepoliciesPutInternalServerError
NewPcloudIkepoliciesPutInternalServerError creates a PcloudIkepoliciesPutInternalServerError with default headers values
func (*PcloudIkepoliciesPutInternalServerError) Error ¶
func (o *PcloudIkepoliciesPutInternalServerError) Error() string
type PcloudIkepoliciesPutOK ¶
PcloudIkepoliciesPutOK handles this case with default header values.
OK
func NewPcloudIkepoliciesPutOK ¶
func NewPcloudIkepoliciesPutOK() *PcloudIkepoliciesPutOK
NewPcloudIkepoliciesPutOK creates a PcloudIkepoliciesPutOK with default headers values
func (*PcloudIkepoliciesPutOK) Error ¶
func (o *PcloudIkepoliciesPutOK) Error() string
type PcloudIkepoliciesPutParams ¶
type PcloudIkepoliciesPutParams struct { /*Body Parameters for updating IKE Policy */ Body *models.IKEPolicyUpdate /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*IkePolicyID ID of a IKE Policy */ IkePolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesPutParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies put operation typically these are written to a http.Request
func NewPcloudIkepoliciesPutParams ¶
func NewPcloudIkepoliciesPutParams() *PcloudIkepoliciesPutParams
NewPcloudIkepoliciesPutParams creates a new PcloudIkepoliciesPutParams object with the default values initialized.
func NewPcloudIkepoliciesPutParamsWithContext ¶
func NewPcloudIkepoliciesPutParamsWithContext(ctx context.Context) *PcloudIkepoliciesPutParams
NewPcloudIkepoliciesPutParamsWithContext creates a new PcloudIkepoliciesPutParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIkepoliciesPutParamsWithHTTPClient ¶
func NewPcloudIkepoliciesPutParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesPutParams
NewPcloudIkepoliciesPutParamsWithHTTPClient creates a new PcloudIkepoliciesPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIkepoliciesPutParamsWithTimeout ¶
func NewPcloudIkepoliciesPutParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesPutParams
NewPcloudIkepoliciesPutParamsWithTimeout creates a new PcloudIkepoliciesPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIkepoliciesPutParams) SetBody ¶
func (o *PcloudIkepoliciesPutParams) SetBody(body *models.IKEPolicyUpdate)
SetBody adds the body to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) SetCloudInstanceID ¶
func (o *PcloudIkepoliciesPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) SetContext ¶
func (o *PcloudIkepoliciesPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) SetHTTPClient ¶
func (o *PcloudIkepoliciesPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) SetIkePolicyID ¶
func (o *PcloudIkepoliciesPutParams) SetIkePolicyID(ikePolicyID string)
SetIkePolicyID adds the ikePolicyId to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) SetTimeout ¶
func (o *PcloudIkepoliciesPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) WithBody ¶
func (o *PcloudIkepoliciesPutParams) WithBody(body *models.IKEPolicyUpdate) *PcloudIkepoliciesPutParams
WithBody adds the body to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) WithCloudInstanceID ¶
func (o *PcloudIkepoliciesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) WithContext ¶
func (o *PcloudIkepoliciesPutParams) WithContext(ctx context.Context) *PcloudIkepoliciesPutParams
WithContext adds the context to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) WithHTTPClient ¶
func (o *PcloudIkepoliciesPutParams) WithHTTPClient(client *http.Client) *PcloudIkepoliciesPutParams
WithHTTPClient adds the HTTPClient to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) WithIkePolicyID ¶
func (o *PcloudIkepoliciesPutParams) WithIkePolicyID(ikePolicyID string) *PcloudIkepoliciesPutParams
WithIkePolicyID adds the ikePolicyID to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) WithTimeout ¶
func (o *PcloudIkepoliciesPutParams) WithTimeout(timeout time.Duration) *PcloudIkepoliciesPutParams
WithTimeout adds the timeout to the pcloud ikepolicies put params
func (*PcloudIkepoliciesPutParams) WriteToRequest ¶
func (o *PcloudIkepoliciesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIkepoliciesPutReader ¶
type PcloudIkepoliciesPutReader struct {
// contains filtered or unexported fields
}
PcloudIkepoliciesPutReader is a Reader for the PcloudIkepoliciesPut structure.
func (*PcloudIkepoliciesPutReader) ReadResponse ¶
func (o *PcloudIkepoliciesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIkepoliciesPutUnauthorized ¶
type PcloudIkepoliciesPutUnauthorized struct {
}PcloudIkepoliciesPutUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIkepoliciesPutUnauthorized ¶
func NewPcloudIkepoliciesPutUnauthorized() *PcloudIkepoliciesPutUnauthorized
NewPcloudIkepoliciesPutUnauthorized creates a PcloudIkepoliciesPutUnauthorized with default headers values
func (*PcloudIkepoliciesPutUnauthorized) Error ¶
func (o *PcloudIkepoliciesPutUnauthorized) Error() string
type PcloudIkepoliciesPutUnprocessableEntity ¶
PcloudIkepoliciesPutUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudIkepoliciesPutUnprocessableEntity ¶
func NewPcloudIkepoliciesPutUnprocessableEntity() *PcloudIkepoliciesPutUnprocessableEntity
NewPcloudIkepoliciesPutUnprocessableEntity creates a PcloudIkepoliciesPutUnprocessableEntity with default headers values
func (*PcloudIkepoliciesPutUnprocessableEntity) Error ¶
func (o *PcloudIkepoliciesPutUnprocessableEntity) Error() string
type PcloudIpsecpoliciesDeleteBadRequest ¶
PcloudIpsecpoliciesDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudIpsecpoliciesDeleteBadRequest ¶
func NewPcloudIpsecpoliciesDeleteBadRequest() *PcloudIpsecpoliciesDeleteBadRequest
NewPcloudIpsecpoliciesDeleteBadRequest creates a PcloudIpsecpoliciesDeleteBadRequest with default headers values
func (*PcloudIpsecpoliciesDeleteBadRequest) Error ¶
func (o *PcloudIpsecpoliciesDeleteBadRequest) Error() string
type PcloudIpsecpoliciesDeleteForbidden ¶
PcloudIpsecpoliciesDeleteForbidden handles this case with default header values.
Forbidden
func NewPcloudIpsecpoliciesDeleteForbidden ¶
func NewPcloudIpsecpoliciesDeleteForbidden() *PcloudIpsecpoliciesDeleteForbidden
NewPcloudIpsecpoliciesDeleteForbidden creates a PcloudIpsecpoliciesDeleteForbidden with default headers values
func (*PcloudIpsecpoliciesDeleteForbidden) Error ¶
func (o *PcloudIpsecpoliciesDeleteForbidden) Error() string
type PcloudIpsecpoliciesDeleteInternalServerError ¶
PcloudIpsecpoliciesDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIpsecpoliciesDeleteInternalServerError ¶
func NewPcloudIpsecpoliciesDeleteInternalServerError() *PcloudIpsecpoliciesDeleteInternalServerError
NewPcloudIpsecpoliciesDeleteInternalServerError creates a PcloudIpsecpoliciesDeleteInternalServerError with default headers values
func (*PcloudIpsecpoliciesDeleteInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesDeleteInternalServerError) Error() string
type PcloudIpsecpoliciesDeleteOK ¶
PcloudIpsecpoliciesDeleteOK handles this case with default header values.
OK
func NewPcloudIpsecpoliciesDeleteOK ¶
func NewPcloudIpsecpoliciesDeleteOK() *PcloudIpsecpoliciesDeleteOK
NewPcloudIpsecpoliciesDeleteOK creates a PcloudIpsecpoliciesDeleteOK with default headers values
func (*PcloudIpsecpoliciesDeleteOK) Error ¶
func (o *PcloudIpsecpoliciesDeleteOK) Error() string
type PcloudIpsecpoliciesDeleteParams ¶
type PcloudIpsecpoliciesDeleteParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*IpsecPolicyID ID of a IPSec Policy */ IpsecPolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesDeleteParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies delete operation typically these are written to a http.Request
func NewPcloudIpsecpoliciesDeleteParams ¶
func NewPcloudIpsecpoliciesDeleteParams() *PcloudIpsecpoliciesDeleteParams
NewPcloudIpsecpoliciesDeleteParams creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized.
func NewPcloudIpsecpoliciesDeleteParamsWithContext ¶
func NewPcloudIpsecpoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesDeleteParams
NewPcloudIpsecpoliciesDeleteParamsWithContext creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIpsecpoliciesDeleteParamsWithHTTPClient ¶
func NewPcloudIpsecpoliciesDeleteParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesDeleteParams
NewPcloudIpsecpoliciesDeleteParamsWithHTTPClient creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIpsecpoliciesDeleteParamsWithTimeout ¶
func NewPcloudIpsecpoliciesDeleteParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesDeleteParams
NewPcloudIpsecpoliciesDeleteParamsWithTimeout creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIpsecpoliciesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudIpsecpoliciesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) SetContext ¶
func (o *PcloudIpsecpoliciesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) SetHTTPClient ¶
func (o *PcloudIpsecpoliciesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) SetIpsecPolicyID ¶
func (o *PcloudIpsecpoliciesDeleteParams) SetIpsecPolicyID(ipsecPolicyID string)
SetIpsecPolicyID adds the ipsecPolicyId to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) SetTimeout ¶
func (o *PcloudIpsecpoliciesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudIpsecpoliciesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) WithContext ¶
func (o *PcloudIpsecpoliciesDeleteParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesDeleteParams
WithContext adds the context to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) WithHTTPClient ¶
func (o *PcloudIpsecpoliciesDeleteParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) WithIpsecPolicyID ¶
func (o *PcloudIpsecpoliciesDeleteParams) WithIpsecPolicyID(ipsecPolicyID string) *PcloudIpsecpoliciesDeleteParams
WithIpsecPolicyID adds the ipsecPolicyID to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) WithTimeout ¶
func (o *PcloudIpsecpoliciesDeleteParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesDeleteParams
WithTimeout adds the timeout to the pcloud ipsecpolicies delete params
func (*PcloudIpsecpoliciesDeleteParams) WriteToRequest ¶
func (o *PcloudIpsecpoliciesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIpsecpoliciesDeleteReader ¶
type PcloudIpsecpoliciesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudIpsecpoliciesDeleteReader is a Reader for the PcloudIpsecpoliciesDelete structure.
func (*PcloudIpsecpoliciesDeleteReader) ReadResponse ¶
func (o *PcloudIpsecpoliciesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIpsecpoliciesDeleteUnauthorized ¶
type PcloudIpsecpoliciesDeleteUnauthorized struct {
}PcloudIpsecpoliciesDeleteUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIpsecpoliciesDeleteUnauthorized ¶
func NewPcloudIpsecpoliciesDeleteUnauthorized() *PcloudIpsecpoliciesDeleteUnauthorized
NewPcloudIpsecpoliciesDeleteUnauthorized creates a PcloudIpsecpoliciesDeleteUnauthorized with default headers values
func (*PcloudIpsecpoliciesDeleteUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesDeleteUnauthorized) Error() string
type PcloudIpsecpoliciesGetBadRequest ¶
PcloudIpsecpoliciesGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudIpsecpoliciesGetBadRequest ¶
func NewPcloudIpsecpoliciesGetBadRequest() *PcloudIpsecpoliciesGetBadRequest
NewPcloudIpsecpoliciesGetBadRequest creates a PcloudIpsecpoliciesGetBadRequest with default headers values
func (*PcloudIpsecpoliciesGetBadRequest) Error ¶
func (o *PcloudIpsecpoliciesGetBadRequest) Error() string
type PcloudIpsecpoliciesGetForbidden ¶
PcloudIpsecpoliciesGetForbidden handles this case with default header values.
Forbidden
func NewPcloudIpsecpoliciesGetForbidden ¶
func NewPcloudIpsecpoliciesGetForbidden() *PcloudIpsecpoliciesGetForbidden
NewPcloudIpsecpoliciesGetForbidden creates a PcloudIpsecpoliciesGetForbidden with default headers values
func (*PcloudIpsecpoliciesGetForbidden) Error ¶
func (o *PcloudIpsecpoliciesGetForbidden) Error() string
type PcloudIpsecpoliciesGetInternalServerError ¶
PcloudIpsecpoliciesGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIpsecpoliciesGetInternalServerError ¶
func NewPcloudIpsecpoliciesGetInternalServerError() *PcloudIpsecpoliciesGetInternalServerError
NewPcloudIpsecpoliciesGetInternalServerError creates a PcloudIpsecpoliciesGetInternalServerError with default headers values
func (*PcloudIpsecpoliciesGetInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesGetInternalServerError) Error() string
type PcloudIpsecpoliciesGetOK ¶
type PcloudIpsecpoliciesGetOK struct {
Payload *models.IPSecPolicy
}
PcloudIpsecpoliciesGetOK handles this case with default header values.
OK
func NewPcloudIpsecpoliciesGetOK ¶
func NewPcloudIpsecpoliciesGetOK() *PcloudIpsecpoliciesGetOK
NewPcloudIpsecpoliciesGetOK creates a PcloudIpsecpoliciesGetOK with default headers values
func (*PcloudIpsecpoliciesGetOK) Error ¶
func (o *PcloudIpsecpoliciesGetOK) Error() string
type PcloudIpsecpoliciesGetParams ¶
type PcloudIpsecpoliciesGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*IpsecPolicyID ID of a IPSec Policy */ IpsecPolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesGetParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies get operation typically these are written to a http.Request
func NewPcloudIpsecpoliciesGetParams ¶
func NewPcloudIpsecpoliciesGetParams() *PcloudIpsecpoliciesGetParams
NewPcloudIpsecpoliciesGetParams creates a new PcloudIpsecpoliciesGetParams object with the default values initialized.
func NewPcloudIpsecpoliciesGetParamsWithContext ¶
func NewPcloudIpsecpoliciesGetParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetParams
NewPcloudIpsecpoliciesGetParamsWithContext creates a new PcloudIpsecpoliciesGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIpsecpoliciesGetParamsWithHTTPClient ¶
func NewPcloudIpsecpoliciesGetParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetParams
NewPcloudIpsecpoliciesGetParamsWithHTTPClient creates a new PcloudIpsecpoliciesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIpsecpoliciesGetParamsWithTimeout ¶
func NewPcloudIpsecpoliciesGetParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetParams
NewPcloudIpsecpoliciesGetParamsWithTimeout creates a new PcloudIpsecpoliciesGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIpsecpoliciesGetParams) SetCloudInstanceID ¶
func (o *PcloudIpsecpoliciesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) SetContext ¶
func (o *PcloudIpsecpoliciesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) SetHTTPClient ¶
func (o *PcloudIpsecpoliciesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) SetIpsecPolicyID ¶
func (o *PcloudIpsecpoliciesGetParams) SetIpsecPolicyID(ipsecPolicyID string)
SetIpsecPolicyID adds the ipsecPolicyId to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) SetTimeout ¶
func (o *PcloudIpsecpoliciesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) WithCloudInstanceID ¶
func (o *PcloudIpsecpoliciesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) WithContext ¶
func (o *PcloudIpsecpoliciesGetParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesGetParams
WithContext adds the context to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) WithHTTPClient ¶
func (o *PcloudIpsecpoliciesGetParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetParams
WithHTTPClient adds the HTTPClient to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) WithIpsecPolicyID ¶
func (o *PcloudIpsecpoliciesGetParams) WithIpsecPolicyID(ipsecPolicyID string) *PcloudIpsecpoliciesGetParams
WithIpsecPolicyID adds the ipsecPolicyID to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) WithTimeout ¶
func (o *PcloudIpsecpoliciesGetParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetParams
WithTimeout adds the timeout to the pcloud ipsecpolicies get params
func (*PcloudIpsecpoliciesGetParams) WriteToRequest ¶
func (o *PcloudIpsecpoliciesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIpsecpoliciesGetReader ¶
type PcloudIpsecpoliciesGetReader struct {
// contains filtered or unexported fields
}
PcloudIpsecpoliciesGetReader is a Reader for the PcloudIpsecpoliciesGet structure.
func (*PcloudIpsecpoliciesGetReader) ReadResponse ¶
func (o *PcloudIpsecpoliciesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIpsecpoliciesGetUnauthorized ¶
type PcloudIpsecpoliciesGetUnauthorized struct {
}PcloudIpsecpoliciesGetUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIpsecpoliciesGetUnauthorized ¶
func NewPcloudIpsecpoliciesGetUnauthorized() *PcloudIpsecpoliciesGetUnauthorized
NewPcloudIpsecpoliciesGetUnauthorized creates a PcloudIpsecpoliciesGetUnauthorized with default headers values
func (*PcloudIpsecpoliciesGetUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesGetUnauthorized) Error() string
type PcloudIpsecpoliciesGetUnprocessableEntity ¶
PcloudIpsecpoliciesGetUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudIpsecpoliciesGetUnprocessableEntity ¶
func NewPcloudIpsecpoliciesGetUnprocessableEntity() *PcloudIpsecpoliciesGetUnprocessableEntity
NewPcloudIpsecpoliciesGetUnprocessableEntity creates a PcloudIpsecpoliciesGetUnprocessableEntity with default headers values
func (*PcloudIpsecpoliciesGetUnprocessableEntity) Error ¶
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) Error() string
type PcloudIpsecpoliciesGetallBadRequest ¶
PcloudIpsecpoliciesGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudIpsecpoliciesGetallBadRequest ¶
func NewPcloudIpsecpoliciesGetallBadRequest() *PcloudIpsecpoliciesGetallBadRequest
NewPcloudIpsecpoliciesGetallBadRequest creates a PcloudIpsecpoliciesGetallBadRequest with default headers values
func (*PcloudIpsecpoliciesGetallBadRequest) Error ¶
func (o *PcloudIpsecpoliciesGetallBadRequest) Error() string
type PcloudIpsecpoliciesGetallForbidden ¶
PcloudIpsecpoliciesGetallForbidden handles this case with default header values.
Forbidden
func NewPcloudIpsecpoliciesGetallForbidden ¶
func NewPcloudIpsecpoliciesGetallForbidden() *PcloudIpsecpoliciesGetallForbidden
NewPcloudIpsecpoliciesGetallForbidden creates a PcloudIpsecpoliciesGetallForbidden with default headers values
func (*PcloudIpsecpoliciesGetallForbidden) Error ¶
func (o *PcloudIpsecpoliciesGetallForbidden) Error() string
type PcloudIpsecpoliciesGetallInternalServerError ¶
PcloudIpsecpoliciesGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIpsecpoliciesGetallInternalServerError ¶
func NewPcloudIpsecpoliciesGetallInternalServerError() *PcloudIpsecpoliciesGetallInternalServerError
NewPcloudIpsecpoliciesGetallInternalServerError creates a PcloudIpsecpoliciesGetallInternalServerError with default headers values
func (*PcloudIpsecpoliciesGetallInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesGetallInternalServerError) Error() string
type PcloudIpsecpoliciesGetallNotFound ¶
PcloudIpsecpoliciesGetallNotFound handles this case with default header values.
Not Found
func NewPcloudIpsecpoliciesGetallNotFound ¶
func NewPcloudIpsecpoliciesGetallNotFound() *PcloudIpsecpoliciesGetallNotFound
NewPcloudIpsecpoliciesGetallNotFound creates a PcloudIpsecpoliciesGetallNotFound with default headers values
func (*PcloudIpsecpoliciesGetallNotFound) Error ¶
func (o *PcloudIpsecpoliciesGetallNotFound) Error() string
type PcloudIpsecpoliciesGetallOK ¶
type PcloudIpsecpoliciesGetallOK struct {
Payload *models.IPSecPolicies
}
PcloudIpsecpoliciesGetallOK handles this case with default header values.
OK
func NewPcloudIpsecpoliciesGetallOK ¶
func NewPcloudIpsecpoliciesGetallOK() *PcloudIpsecpoliciesGetallOK
NewPcloudIpsecpoliciesGetallOK creates a PcloudIpsecpoliciesGetallOK with default headers values
func (*PcloudIpsecpoliciesGetallOK) Error ¶
func (o *PcloudIpsecpoliciesGetallOK) Error() string
type PcloudIpsecpoliciesGetallParams ¶
type PcloudIpsecpoliciesGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesGetallParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies getall operation typically these are written to a http.Request
func NewPcloudIpsecpoliciesGetallParams ¶
func NewPcloudIpsecpoliciesGetallParams() *PcloudIpsecpoliciesGetallParams
NewPcloudIpsecpoliciesGetallParams creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized.
func NewPcloudIpsecpoliciesGetallParamsWithContext ¶
func NewPcloudIpsecpoliciesGetallParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetallParams
NewPcloudIpsecpoliciesGetallParamsWithContext creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIpsecpoliciesGetallParamsWithHTTPClient ¶
func NewPcloudIpsecpoliciesGetallParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetallParams
NewPcloudIpsecpoliciesGetallParamsWithHTTPClient creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIpsecpoliciesGetallParamsWithTimeout ¶
func NewPcloudIpsecpoliciesGetallParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetallParams
NewPcloudIpsecpoliciesGetallParamsWithTimeout creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIpsecpoliciesGetallParams) SetCloudInstanceID ¶
func (o *PcloudIpsecpoliciesGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) SetContext ¶
func (o *PcloudIpsecpoliciesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) SetHTTPClient ¶
func (o *PcloudIpsecpoliciesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) SetTimeout ¶
func (o *PcloudIpsecpoliciesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) WithCloudInstanceID ¶
func (o *PcloudIpsecpoliciesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) WithContext ¶
func (o *PcloudIpsecpoliciesGetallParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesGetallParams
WithContext adds the context to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) WithHTTPClient ¶
func (o *PcloudIpsecpoliciesGetallParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetallParams
WithHTTPClient adds the HTTPClient to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) WithTimeout ¶
func (o *PcloudIpsecpoliciesGetallParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetallParams
WithTimeout adds the timeout to the pcloud ipsecpolicies getall params
func (*PcloudIpsecpoliciesGetallParams) WriteToRequest ¶
func (o *PcloudIpsecpoliciesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIpsecpoliciesGetallReader ¶
type PcloudIpsecpoliciesGetallReader struct {
// contains filtered or unexported fields
}
PcloudIpsecpoliciesGetallReader is a Reader for the PcloudIpsecpoliciesGetall structure.
func (*PcloudIpsecpoliciesGetallReader) ReadResponse ¶
func (o *PcloudIpsecpoliciesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIpsecpoliciesGetallUnauthorized ¶
type PcloudIpsecpoliciesGetallUnauthorized struct {
}PcloudIpsecpoliciesGetallUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIpsecpoliciesGetallUnauthorized ¶
func NewPcloudIpsecpoliciesGetallUnauthorized() *PcloudIpsecpoliciesGetallUnauthorized
NewPcloudIpsecpoliciesGetallUnauthorized creates a PcloudIpsecpoliciesGetallUnauthorized with default headers values
func (*PcloudIpsecpoliciesGetallUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesGetallUnauthorized) Error() string
type PcloudIpsecpoliciesPostBadRequest ¶
PcloudIpsecpoliciesPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudIpsecpoliciesPostBadRequest ¶
func NewPcloudIpsecpoliciesPostBadRequest() *PcloudIpsecpoliciesPostBadRequest
NewPcloudIpsecpoliciesPostBadRequest creates a PcloudIpsecpoliciesPostBadRequest with default headers values
func (*PcloudIpsecpoliciesPostBadRequest) Error ¶
func (o *PcloudIpsecpoliciesPostBadRequest) Error() string
type PcloudIpsecpoliciesPostConflict ¶
PcloudIpsecpoliciesPostConflict handles this case with default header values.
Conflict
func NewPcloudIpsecpoliciesPostConflict ¶
func NewPcloudIpsecpoliciesPostConflict() *PcloudIpsecpoliciesPostConflict
NewPcloudIpsecpoliciesPostConflict creates a PcloudIpsecpoliciesPostConflict with default headers values
func (*PcloudIpsecpoliciesPostConflict) Error ¶
func (o *PcloudIpsecpoliciesPostConflict) Error() string
type PcloudIpsecpoliciesPostForbidden ¶
PcloudIpsecpoliciesPostForbidden handles this case with default header values.
Forbidden
func NewPcloudIpsecpoliciesPostForbidden ¶
func NewPcloudIpsecpoliciesPostForbidden() *PcloudIpsecpoliciesPostForbidden
NewPcloudIpsecpoliciesPostForbidden creates a PcloudIpsecpoliciesPostForbidden with default headers values
func (*PcloudIpsecpoliciesPostForbidden) Error ¶
func (o *PcloudIpsecpoliciesPostForbidden) Error() string
type PcloudIpsecpoliciesPostInternalServerError ¶
PcloudIpsecpoliciesPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIpsecpoliciesPostInternalServerError ¶
func NewPcloudIpsecpoliciesPostInternalServerError() *PcloudIpsecpoliciesPostInternalServerError
NewPcloudIpsecpoliciesPostInternalServerError creates a PcloudIpsecpoliciesPostInternalServerError with default headers values
func (*PcloudIpsecpoliciesPostInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesPostInternalServerError) Error() string
type PcloudIpsecpoliciesPostOK ¶
type PcloudIpsecpoliciesPostOK struct {
Payload *models.IPSecPolicy
}
PcloudIpsecpoliciesPostOK handles this case with default header values.
OK
func NewPcloudIpsecpoliciesPostOK ¶
func NewPcloudIpsecpoliciesPostOK() *PcloudIpsecpoliciesPostOK
NewPcloudIpsecpoliciesPostOK creates a PcloudIpsecpoliciesPostOK with default headers values
func (*PcloudIpsecpoliciesPostOK) Error ¶
func (o *PcloudIpsecpoliciesPostOK) Error() string
type PcloudIpsecpoliciesPostParams ¶
type PcloudIpsecpoliciesPostParams struct { /*Body Parameters for the creation of a new IPSec Policy */ Body *models.IPSecPolicyCreate /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesPostParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies post operation typically these are written to a http.Request
func NewPcloudIpsecpoliciesPostParams ¶
func NewPcloudIpsecpoliciesPostParams() *PcloudIpsecpoliciesPostParams
NewPcloudIpsecpoliciesPostParams creates a new PcloudIpsecpoliciesPostParams object with the default values initialized.
func NewPcloudIpsecpoliciesPostParamsWithContext ¶
func NewPcloudIpsecpoliciesPostParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPostParams
NewPcloudIpsecpoliciesPostParamsWithContext creates a new PcloudIpsecpoliciesPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIpsecpoliciesPostParamsWithHTTPClient ¶
func NewPcloudIpsecpoliciesPostParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPostParams
NewPcloudIpsecpoliciesPostParamsWithHTTPClient creates a new PcloudIpsecpoliciesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIpsecpoliciesPostParamsWithTimeout ¶
func NewPcloudIpsecpoliciesPostParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPostParams
NewPcloudIpsecpoliciesPostParamsWithTimeout creates a new PcloudIpsecpoliciesPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIpsecpoliciesPostParams) SetBody ¶
func (o *PcloudIpsecpoliciesPostParams) SetBody(body *models.IPSecPolicyCreate)
SetBody adds the body to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) SetCloudInstanceID ¶
func (o *PcloudIpsecpoliciesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) SetContext ¶
func (o *PcloudIpsecpoliciesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) SetHTTPClient ¶
func (o *PcloudIpsecpoliciesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) SetTimeout ¶
func (o *PcloudIpsecpoliciesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) WithBody ¶
func (o *PcloudIpsecpoliciesPostParams) WithBody(body *models.IPSecPolicyCreate) *PcloudIpsecpoliciesPostParams
WithBody adds the body to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) WithCloudInstanceID ¶
func (o *PcloudIpsecpoliciesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) WithContext ¶
func (o *PcloudIpsecpoliciesPostParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesPostParams
WithContext adds the context to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) WithHTTPClient ¶
func (o *PcloudIpsecpoliciesPostParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPostParams
WithHTTPClient adds the HTTPClient to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) WithTimeout ¶
func (o *PcloudIpsecpoliciesPostParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPostParams
WithTimeout adds the timeout to the pcloud ipsecpolicies post params
func (*PcloudIpsecpoliciesPostParams) WriteToRequest ¶
func (o *PcloudIpsecpoliciesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIpsecpoliciesPostReader ¶
type PcloudIpsecpoliciesPostReader struct {
// contains filtered or unexported fields
}
PcloudIpsecpoliciesPostReader is a Reader for the PcloudIpsecpoliciesPost structure.
func (*PcloudIpsecpoliciesPostReader) ReadResponse ¶
func (o *PcloudIpsecpoliciesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIpsecpoliciesPostUnauthorized ¶
type PcloudIpsecpoliciesPostUnauthorized struct {
}PcloudIpsecpoliciesPostUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIpsecpoliciesPostUnauthorized ¶
func NewPcloudIpsecpoliciesPostUnauthorized() *PcloudIpsecpoliciesPostUnauthorized
NewPcloudIpsecpoliciesPostUnauthorized creates a PcloudIpsecpoliciesPostUnauthorized with default headers values
func (*PcloudIpsecpoliciesPostUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesPostUnauthorized) Error() string
type PcloudIpsecpoliciesPostUnprocessableEntity ¶
PcloudIpsecpoliciesPostUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudIpsecpoliciesPostUnprocessableEntity ¶
func NewPcloudIpsecpoliciesPostUnprocessableEntity() *PcloudIpsecpoliciesPostUnprocessableEntity
NewPcloudIpsecpoliciesPostUnprocessableEntity creates a PcloudIpsecpoliciesPostUnprocessableEntity with default headers values
func (*PcloudIpsecpoliciesPostUnprocessableEntity) Error ¶
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) Error() string
type PcloudIpsecpoliciesPutBadRequest ¶
PcloudIpsecpoliciesPutBadRequest handles this case with default header values.
Bad Request
func NewPcloudIpsecpoliciesPutBadRequest ¶
func NewPcloudIpsecpoliciesPutBadRequest() *PcloudIpsecpoliciesPutBadRequest
NewPcloudIpsecpoliciesPutBadRequest creates a PcloudIpsecpoliciesPutBadRequest with default headers values
func (*PcloudIpsecpoliciesPutBadRequest) Error ¶
func (o *PcloudIpsecpoliciesPutBadRequest) Error() string
type PcloudIpsecpoliciesPutConflict ¶
PcloudIpsecpoliciesPutConflict handles this case with default header values.
Conflict
func NewPcloudIpsecpoliciesPutConflict ¶
func NewPcloudIpsecpoliciesPutConflict() *PcloudIpsecpoliciesPutConflict
NewPcloudIpsecpoliciesPutConflict creates a PcloudIpsecpoliciesPutConflict with default headers values
func (*PcloudIpsecpoliciesPutConflict) Error ¶
func (o *PcloudIpsecpoliciesPutConflict) Error() string
type PcloudIpsecpoliciesPutForbidden ¶
PcloudIpsecpoliciesPutForbidden handles this case with default header values.
Forbidden
func NewPcloudIpsecpoliciesPutForbidden ¶
func NewPcloudIpsecpoliciesPutForbidden() *PcloudIpsecpoliciesPutForbidden
NewPcloudIpsecpoliciesPutForbidden creates a PcloudIpsecpoliciesPutForbidden with default headers values
func (*PcloudIpsecpoliciesPutForbidden) Error ¶
func (o *PcloudIpsecpoliciesPutForbidden) Error() string
type PcloudIpsecpoliciesPutInternalServerError ¶
PcloudIpsecpoliciesPutInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudIpsecpoliciesPutInternalServerError ¶
func NewPcloudIpsecpoliciesPutInternalServerError() *PcloudIpsecpoliciesPutInternalServerError
NewPcloudIpsecpoliciesPutInternalServerError creates a PcloudIpsecpoliciesPutInternalServerError with default headers values
func (*PcloudIpsecpoliciesPutInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesPutInternalServerError) Error() string
type PcloudIpsecpoliciesPutOK ¶
type PcloudIpsecpoliciesPutOK struct {
Payload *models.IPSecPolicy
}
PcloudIpsecpoliciesPutOK handles this case with default header values.
OK
func NewPcloudIpsecpoliciesPutOK ¶
func NewPcloudIpsecpoliciesPutOK() *PcloudIpsecpoliciesPutOK
NewPcloudIpsecpoliciesPutOK creates a PcloudIpsecpoliciesPutOK with default headers values
func (*PcloudIpsecpoliciesPutOK) Error ¶
func (o *PcloudIpsecpoliciesPutOK) Error() string
type PcloudIpsecpoliciesPutParams ¶
type PcloudIpsecpoliciesPutParams struct { /*Body Parameters for the update of an IPSec Policy */ Body *models.IPSecPolicyUpdate /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*IpsecPolicyID ID of a IPSec Policy */ IpsecPolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesPutParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies put operation typically these are written to a http.Request
func NewPcloudIpsecpoliciesPutParams ¶
func NewPcloudIpsecpoliciesPutParams() *PcloudIpsecpoliciesPutParams
NewPcloudIpsecpoliciesPutParams creates a new PcloudIpsecpoliciesPutParams object with the default values initialized.
func NewPcloudIpsecpoliciesPutParamsWithContext ¶
func NewPcloudIpsecpoliciesPutParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPutParams
NewPcloudIpsecpoliciesPutParamsWithContext creates a new PcloudIpsecpoliciesPutParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudIpsecpoliciesPutParamsWithHTTPClient ¶
func NewPcloudIpsecpoliciesPutParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPutParams
NewPcloudIpsecpoliciesPutParamsWithHTTPClient creates a new PcloudIpsecpoliciesPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudIpsecpoliciesPutParamsWithTimeout ¶
func NewPcloudIpsecpoliciesPutParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPutParams
NewPcloudIpsecpoliciesPutParamsWithTimeout creates a new PcloudIpsecpoliciesPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudIpsecpoliciesPutParams) SetBody ¶
func (o *PcloudIpsecpoliciesPutParams) SetBody(body *models.IPSecPolicyUpdate)
SetBody adds the body to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) SetCloudInstanceID ¶
func (o *PcloudIpsecpoliciesPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) SetContext ¶
func (o *PcloudIpsecpoliciesPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) SetHTTPClient ¶
func (o *PcloudIpsecpoliciesPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) SetIpsecPolicyID ¶
func (o *PcloudIpsecpoliciesPutParams) SetIpsecPolicyID(ipsecPolicyID string)
SetIpsecPolicyID adds the ipsecPolicyId to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) SetTimeout ¶
func (o *PcloudIpsecpoliciesPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) WithBody ¶
func (o *PcloudIpsecpoliciesPutParams) WithBody(body *models.IPSecPolicyUpdate) *PcloudIpsecpoliciesPutParams
WithBody adds the body to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) WithCloudInstanceID ¶
func (o *PcloudIpsecpoliciesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) WithContext ¶
func (o *PcloudIpsecpoliciesPutParams) WithContext(ctx context.Context) *PcloudIpsecpoliciesPutParams
WithContext adds the context to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) WithHTTPClient ¶
func (o *PcloudIpsecpoliciesPutParams) WithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPutParams
WithHTTPClient adds the HTTPClient to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) WithIpsecPolicyID ¶
func (o *PcloudIpsecpoliciesPutParams) WithIpsecPolicyID(ipsecPolicyID string) *PcloudIpsecpoliciesPutParams
WithIpsecPolicyID adds the ipsecPolicyID to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) WithTimeout ¶
func (o *PcloudIpsecpoliciesPutParams) WithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPutParams
WithTimeout adds the timeout to the pcloud ipsecpolicies put params
func (*PcloudIpsecpoliciesPutParams) WriteToRequest ¶
func (o *PcloudIpsecpoliciesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudIpsecpoliciesPutReader ¶
type PcloudIpsecpoliciesPutReader struct {
// contains filtered or unexported fields
}
PcloudIpsecpoliciesPutReader is a Reader for the PcloudIpsecpoliciesPut structure.
func (*PcloudIpsecpoliciesPutReader) ReadResponse ¶
func (o *PcloudIpsecpoliciesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudIpsecpoliciesPutUnauthorized ¶
type PcloudIpsecpoliciesPutUnauthorized struct {
}PcloudIpsecpoliciesPutUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudIpsecpoliciesPutUnauthorized ¶
func NewPcloudIpsecpoliciesPutUnauthorized() *PcloudIpsecpoliciesPutUnauthorized
NewPcloudIpsecpoliciesPutUnauthorized creates a PcloudIpsecpoliciesPutUnauthorized with default headers values
func (*PcloudIpsecpoliciesPutUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesPutUnauthorized) Error() string
type PcloudIpsecpoliciesPutUnprocessableEntity ¶
PcloudIpsecpoliciesPutUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudIpsecpoliciesPutUnprocessableEntity ¶
func NewPcloudIpsecpoliciesPutUnprocessableEntity() *PcloudIpsecpoliciesPutUnprocessableEntity
NewPcloudIpsecpoliciesPutUnprocessableEntity creates a PcloudIpsecpoliciesPutUnprocessableEntity with default headers values
func (*PcloudIpsecpoliciesPutUnprocessableEntity) Error ¶
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) Error() string
Source Files ¶
- p_cloud_v_p_n_policies_client.go
- pcloud_ikepolicies_delete_parameters.go
- pcloud_ikepolicies_delete_responses.go
- pcloud_ikepolicies_get_parameters.go
- pcloud_ikepolicies_get_responses.go
- pcloud_ikepolicies_getall_parameters.go
- pcloud_ikepolicies_getall_responses.go
- pcloud_ikepolicies_post_parameters.go
- pcloud_ikepolicies_post_responses.go
- pcloud_ikepolicies_put_parameters.go
- pcloud_ikepolicies_put_responses.go
- pcloud_ipsecpolicies_delete_parameters.go
- pcloud_ipsecpolicies_delete_responses.go
- pcloud_ipsecpolicies_get_parameters.go
- pcloud_ipsecpolicies_get_responses.go
- pcloud_ipsecpolicies_getall_parameters.go
- pcloud_ipsecpolicies_getall_responses.go
- pcloud_ipsecpolicies_post_parameters.go
- pcloud_ipsecpolicies_post_responses.go
- pcloud_ipsecpolicies_put_parameters.go
- pcloud_ipsecpolicies_put_responses.go