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 ClientOption
- type ClientService
- type PcloudIkepoliciesDeleteBadRequest
- type PcloudIkepoliciesDeleteForbidden
- type PcloudIkepoliciesDeleteInternalServerError
- type PcloudIkepoliciesDeleteNotFound
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudIkepoliciesGetNotFound
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 PcloudIpsecpoliciesDeleteNotFound
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudIpsecpoliciesGetNotFound
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 (*Client) PcloudIkepoliciesDelete ¶
func (a *Client) PcloudIkepoliciesDelete(params *PcloudIkepoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*PcloudIpsecpoliciesPostOK, error)
PcloudIpsecpoliciesPost adds IP sec policy
Add a new IPSec Policy
func (*Client) PcloudIpsecpoliciesPut ¶
func (a *Client) PcloudIpsecpoliciesPut(params *PcloudIpsecpoliciesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudIkepoliciesDelete(params *PcloudIkepoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIkepoliciesDeleteOK, error) PcloudIkepoliciesGet(params *PcloudIkepoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIkepoliciesGetOK, error) PcloudIkepoliciesGetall(params *PcloudIkepoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIkepoliciesGetallOK, error) PcloudIkepoliciesPost(params *PcloudIkepoliciesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIkepoliciesPostOK, error) PcloudIkepoliciesPut(params *PcloudIkepoliciesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIkepoliciesPutOK, error) PcloudIpsecpoliciesDelete(params *PcloudIpsecpoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIpsecpoliciesDeleteOK, error) PcloudIpsecpoliciesGet(params *PcloudIpsecpoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIpsecpoliciesGetOK, error) PcloudIpsecpoliciesGetall(params *PcloudIpsecpoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIpsecpoliciesGetallOK, error) PcloudIpsecpoliciesPost(params *PcloudIpsecpoliciesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIpsecpoliciesPostOK, error) PcloudIpsecpoliciesPut(params *PcloudIpsecpoliciesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudIpsecpoliciesPutOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new p cloud v p n policies API client.
type PcloudIkepoliciesDeleteBadRequest ¶
PcloudIkepoliciesDeleteBadRequest describes a response with status code 400, 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
func (*PcloudIkepoliciesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteBadRequest) GetPayload() *models.Error
type PcloudIkepoliciesDeleteForbidden ¶
PcloudIkepoliciesDeleteForbidden describes a response with status code 403, 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
func (*PcloudIkepoliciesDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteForbidden) GetPayload() *models.Error
type PcloudIkepoliciesDeleteInternalServerError ¶
PcloudIkepoliciesDeleteInternalServerError describes a response with status code 500, 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
func (*PcloudIkepoliciesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteInternalServerError) GetPayload() *models.Error
type PcloudIkepoliciesDeleteNotFound ¶ added in v1.1.1
PcloudIkepoliciesDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudIkepoliciesDeleteNotFound ¶ added in v1.1.1
func NewPcloudIkepoliciesDeleteNotFound() *PcloudIkepoliciesDeleteNotFound
NewPcloudIkepoliciesDeleteNotFound creates a PcloudIkepoliciesDeleteNotFound with default headers values
func (*PcloudIkepoliciesDeleteNotFound) Error ¶ added in v1.1.1
func (o *PcloudIkepoliciesDeleteNotFound) Error() string
func (*PcloudIkepoliciesDeleteNotFound) GetPayload ¶ added in v1.1.1
func (o *PcloudIkepoliciesDeleteNotFound) GetPayload() *models.Error
type PcloudIkepoliciesDeleteOK ¶
PcloudIkepoliciesDeleteOK describes a response with status code 200, 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
func (*PcloudIkepoliciesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteOK) GetPayload() models.Object
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIkepoliciesDeleteParamsWithContext ¶
func NewPcloudIkepoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIkepoliciesDeleteParams
NewPcloudIkepoliciesDeleteParamsWithContext creates a new PcloudIkepoliciesDeleteParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ikepolicies delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteParams) WithDefaults() *PcloudIkepoliciesDeleteParams
WithDefaults hydrates default values in the pcloud ikepolicies delete params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIkepoliciesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteUnauthorized) GetPayload() *models.Error
type PcloudIkepoliciesGetBadRequest ¶
PcloudIkepoliciesGetBadRequest describes a response with status code 400, 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
func (*PcloudIkepoliciesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetBadRequest) GetPayload() *models.Error
type PcloudIkepoliciesGetForbidden ¶
PcloudIkepoliciesGetForbidden describes a response with status code 403, 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
func (*PcloudIkepoliciesGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetForbidden) GetPayload() *models.Error
type PcloudIkepoliciesGetInternalServerError ¶
PcloudIkepoliciesGetInternalServerError describes a response with status code 500, 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
func (*PcloudIkepoliciesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetInternalServerError) GetPayload() *models.Error
type PcloudIkepoliciesGetNotFound ¶ added in v1.1.1
PcloudIkepoliciesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudIkepoliciesGetNotFound ¶ added in v1.1.1
func NewPcloudIkepoliciesGetNotFound() *PcloudIkepoliciesGetNotFound
NewPcloudIkepoliciesGetNotFound creates a PcloudIkepoliciesGetNotFound with default headers values
func (*PcloudIkepoliciesGetNotFound) Error ¶ added in v1.1.1
func (o *PcloudIkepoliciesGetNotFound) Error() string
func (*PcloudIkepoliciesGetNotFound) GetPayload ¶ added in v1.1.1
func (o *PcloudIkepoliciesGetNotFound) GetPayload() *models.Error
type PcloudIkepoliciesGetOK ¶
PcloudIkepoliciesGetOK describes a response with status code 200, 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
func (*PcloudIkepoliciesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetOK) GetPayload() *models.IKEPolicy
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIkepoliciesGetParamsWithContext ¶
func NewPcloudIkepoliciesGetParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetParams
NewPcloudIkepoliciesGetParamsWithContext creates a new PcloudIkepoliciesGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ikepolicies get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetParams) WithDefaults() *PcloudIkepoliciesGetParams
WithDefaults hydrates default values in the pcloud ikepolicies get params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIkepoliciesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetUnauthorized) GetPayload() *models.Error
type PcloudIkepoliciesGetUnprocessableEntity ¶
PcloudIkepoliciesGetUnprocessableEntity describes a response with status code 422, 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
func (*PcloudIkepoliciesGetUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetUnprocessableEntity) GetPayload() *models.Error
type PcloudIkepoliciesGetallBadRequest ¶
PcloudIkepoliciesGetallBadRequest describes a response with status code 400, 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
func (*PcloudIkepoliciesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallBadRequest) GetPayload() *models.Error
type PcloudIkepoliciesGetallForbidden ¶
PcloudIkepoliciesGetallForbidden describes a response with status code 403, 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
func (*PcloudIkepoliciesGetallForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallForbidden) GetPayload() *models.Error
type PcloudIkepoliciesGetallInternalServerError ¶
PcloudIkepoliciesGetallInternalServerError describes a response with status code 500, 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
func (*PcloudIkepoliciesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallInternalServerError) GetPayload() *models.Error
type PcloudIkepoliciesGetallNotFound ¶
PcloudIkepoliciesGetallNotFound describes a response with status code 404, 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
func (*PcloudIkepoliciesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallNotFound) GetPayload() *models.Error
type PcloudIkepoliciesGetallOK ¶
type PcloudIkepoliciesGetallOK struct {
Payload *models.IKEPolicies
}
PcloudIkepoliciesGetallOK describes a response with status code 200, 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
func (*PcloudIkepoliciesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallOK) GetPayload() *models.IKEPolicies
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIkepoliciesGetallParamsWithContext ¶
func NewPcloudIkepoliciesGetallParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetallParams
NewPcloudIkepoliciesGetallParamsWithContext creates a new PcloudIkepoliciesGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ikepolicies getall params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallParams) WithDefaults() *PcloudIkepoliciesGetallParams
WithDefaults hydrates default values in the pcloud ikepolicies getall params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIkepoliciesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallUnauthorized) GetPayload() *models.Error
type PcloudIkepoliciesPostBadRequest ¶
PcloudIkepoliciesPostBadRequest describes a response with status code 400, 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
func (*PcloudIkepoliciesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostBadRequest) GetPayload() *models.Error
type PcloudIkepoliciesPostConflict ¶
PcloudIkepoliciesPostConflict describes a response with status code 409, 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
func (*PcloudIkepoliciesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostConflict) GetPayload() *models.Error
type PcloudIkepoliciesPostForbidden ¶
PcloudIkepoliciesPostForbidden describes a response with status code 403, 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
func (*PcloudIkepoliciesPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostForbidden) GetPayload() *models.Error
type PcloudIkepoliciesPostInternalServerError ¶
PcloudIkepoliciesPostInternalServerError describes a response with status code 500, 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
func (*PcloudIkepoliciesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostInternalServerError) GetPayload() *models.Error
type PcloudIkepoliciesPostOK ¶
PcloudIkepoliciesPostOK describes a response with status code 200, 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
func (*PcloudIkepoliciesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostOK) GetPayload() *models.IKEPolicy
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIkepoliciesPostParamsWithContext ¶
func NewPcloudIkepoliciesPostParamsWithContext(ctx context.Context) *PcloudIkepoliciesPostParams
NewPcloudIkepoliciesPostParamsWithContext creates a new PcloudIkepoliciesPostParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ikepolicies post params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostParams) WithDefaults() *PcloudIkepoliciesPostParams
WithDefaults hydrates default values in the pcloud ikepolicies post params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIkepoliciesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostUnauthorized) GetPayload() *models.Error
type PcloudIkepoliciesPostUnprocessableEntity ¶
PcloudIkepoliciesPostUnprocessableEntity describes a response with status code 422, 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
func (*PcloudIkepoliciesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostUnprocessableEntity) GetPayload() *models.Error
type PcloudIkepoliciesPutBadRequest ¶
PcloudIkepoliciesPutBadRequest describes a response with status code 400, 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
func (*PcloudIkepoliciesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutBadRequest) GetPayload() *models.Error
type PcloudIkepoliciesPutForbidden ¶
PcloudIkepoliciesPutForbidden describes a response with status code 403, 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
func (*PcloudIkepoliciesPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutForbidden) GetPayload() *models.Error
type PcloudIkepoliciesPutInternalServerError ¶
PcloudIkepoliciesPutInternalServerError describes a response with status code 500, 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
func (*PcloudIkepoliciesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutInternalServerError) GetPayload() *models.Error
type PcloudIkepoliciesPutOK ¶
PcloudIkepoliciesPutOK describes a response with status code 200, 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
func (*PcloudIkepoliciesPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutOK) GetPayload() *models.IKEPolicy
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIkepoliciesPutParamsWithContext ¶
func NewPcloudIkepoliciesPutParamsWithContext(ctx context.Context) *PcloudIkepoliciesPutParams
NewPcloudIkepoliciesPutParamsWithContext creates a new PcloudIkepoliciesPutParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ikepolicies put params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutParams) WithDefaults() *PcloudIkepoliciesPutParams
WithDefaults hydrates default values in the pcloud ikepolicies put params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIkepoliciesPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutUnauthorized) GetPayload() *models.Error
type PcloudIkepoliciesPutUnprocessableEntity ¶
PcloudIkepoliciesPutUnprocessableEntity describes a response with status code 422, 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
func (*PcloudIkepoliciesPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutUnprocessableEntity) GetPayload() *models.Error
type PcloudIpsecpoliciesDeleteBadRequest ¶
PcloudIpsecpoliciesDeleteBadRequest describes a response with status code 400, 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
func (*PcloudIpsecpoliciesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteBadRequest) GetPayload() *models.Error
type PcloudIpsecpoliciesDeleteForbidden ¶
PcloudIpsecpoliciesDeleteForbidden describes a response with status code 403, 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
func (*PcloudIpsecpoliciesDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteForbidden) GetPayload() *models.Error
type PcloudIpsecpoliciesDeleteInternalServerError ¶
PcloudIpsecpoliciesDeleteInternalServerError describes a response with status code 500, 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
func (*PcloudIpsecpoliciesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteInternalServerError) GetPayload() *models.Error
type PcloudIpsecpoliciesDeleteNotFound ¶ added in v1.1.1
PcloudIpsecpoliciesDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudIpsecpoliciesDeleteNotFound ¶ added in v1.1.1
func NewPcloudIpsecpoliciesDeleteNotFound() *PcloudIpsecpoliciesDeleteNotFound
NewPcloudIpsecpoliciesDeleteNotFound creates a PcloudIpsecpoliciesDeleteNotFound with default headers values
func (*PcloudIpsecpoliciesDeleteNotFound) Error ¶ added in v1.1.1
func (o *PcloudIpsecpoliciesDeleteNotFound) Error() string
func (*PcloudIpsecpoliciesDeleteNotFound) GetPayload ¶ added in v1.1.1
func (o *PcloudIpsecpoliciesDeleteNotFound) GetPayload() *models.Error
type PcloudIpsecpoliciesDeleteOK ¶
PcloudIpsecpoliciesDeleteOK describes a response with status code 200, 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
func (*PcloudIpsecpoliciesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteOK) GetPayload() models.Object
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIpsecpoliciesDeleteParamsWithContext ¶
func NewPcloudIpsecpoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesDeleteParams
NewPcloudIpsecpoliciesDeleteParamsWithContext creates a new PcloudIpsecpoliciesDeleteParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ipsecpolicies delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteParams) WithDefaults() *PcloudIpsecpoliciesDeleteParams
WithDefaults hydrates default values in the pcloud ipsecpolicies delete params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIpsecpoliciesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteUnauthorized) GetPayload() *models.Error
type PcloudIpsecpoliciesGetBadRequest ¶
PcloudIpsecpoliciesGetBadRequest describes a response with status code 400, 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
func (*PcloudIpsecpoliciesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetBadRequest) GetPayload() *models.Error
type PcloudIpsecpoliciesGetForbidden ¶
PcloudIpsecpoliciesGetForbidden describes a response with status code 403, 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
func (*PcloudIpsecpoliciesGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetForbidden) GetPayload() *models.Error
type PcloudIpsecpoliciesGetInternalServerError ¶
PcloudIpsecpoliciesGetInternalServerError describes a response with status code 500, 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
func (*PcloudIpsecpoliciesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetInternalServerError) GetPayload() *models.Error
type PcloudIpsecpoliciesGetNotFound ¶ added in v1.1.1
PcloudIpsecpoliciesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudIpsecpoliciesGetNotFound ¶ added in v1.1.1
func NewPcloudIpsecpoliciesGetNotFound() *PcloudIpsecpoliciesGetNotFound
NewPcloudIpsecpoliciesGetNotFound creates a PcloudIpsecpoliciesGetNotFound with default headers values
func (*PcloudIpsecpoliciesGetNotFound) Error ¶ added in v1.1.1
func (o *PcloudIpsecpoliciesGetNotFound) Error() string
func (*PcloudIpsecpoliciesGetNotFound) GetPayload ¶ added in v1.1.1
func (o *PcloudIpsecpoliciesGetNotFound) GetPayload() *models.Error
type PcloudIpsecpoliciesGetOK ¶
type PcloudIpsecpoliciesGetOK struct {
Payload *models.IPSecPolicy
}
PcloudIpsecpoliciesGetOK describes a response with status code 200, 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
func (*PcloudIpsecpoliciesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetOK) GetPayload() *models.IPSecPolicy
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIpsecpoliciesGetParamsWithContext ¶
func NewPcloudIpsecpoliciesGetParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetParams
NewPcloudIpsecpoliciesGetParamsWithContext creates a new PcloudIpsecpoliciesGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ipsecpolicies get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetParams) WithDefaults() *PcloudIpsecpoliciesGetParams
WithDefaults hydrates default values in the pcloud ipsecpolicies get params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIpsecpoliciesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetUnauthorized) GetPayload() *models.Error
type PcloudIpsecpoliciesGetUnprocessableEntity ¶
PcloudIpsecpoliciesGetUnprocessableEntity describes a response with status code 422, 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
func (*PcloudIpsecpoliciesGetUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) GetPayload() *models.Error
type PcloudIpsecpoliciesGetallBadRequest ¶
PcloudIpsecpoliciesGetallBadRequest describes a response with status code 400, 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
func (*PcloudIpsecpoliciesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallBadRequest) GetPayload() *models.Error
type PcloudIpsecpoliciesGetallForbidden ¶
PcloudIpsecpoliciesGetallForbidden describes a response with status code 403, 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
func (*PcloudIpsecpoliciesGetallForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallForbidden) GetPayload() *models.Error
type PcloudIpsecpoliciesGetallInternalServerError ¶
PcloudIpsecpoliciesGetallInternalServerError describes a response with status code 500, 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
func (*PcloudIpsecpoliciesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallInternalServerError) GetPayload() *models.Error
type PcloudIpsecpoliciesGetallNotFound ¶
PcloudIpsecpoliciesGetallNotFound describes a response with status code 404, 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
func (*PcloudIpsecpoliciesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallNotFound) GetPayload() *models.Error
type PcloudIpsecpoliciesGetallOK ¶
type PcloudIpsecpoliciesGetallOK struct {
Payload *models.IPSecPolicies
}
PcloudIpsecpoliciesGetallOK describes a response with status code 200, 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
func (*PcloudIpsecpoliciesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallOK) GetPayload() *models.IPSecPolicies
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIpsecpoliciesGetallParamsWithContext ¶
func NewPcloudIpsecpoliciesGetallParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetallParams
NewPcloudIpsecpoliciesGetallParamsWithContext creates a new PcloudIpsecpoliciesGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ipsecpolicies getall params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallParams) WithDefaults() *PcloudIpsecpoliciesGetallParams
WithDefaults hydrates default values in the pcloud ipsecpolicies getall params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIpsecpoliciesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallUnauthorized) GetPayload() *models.Error
type PcloudIpsecpoliciesPostBadRequest ¶
PcloudIpsecpoliciesPostBadRequest describes a response with status code 400, 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
func (*PcloudIpsecpoliciesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostBadRequest) GetPayload() *models.Error
type PcloudIpsecpoliciesPostConflict ¶
PcloudIpsecpoliciesPostConflict describes a response with status code 409, 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
func (*PcloudIpsecpoliciesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostConflict) GetPayload() *models.Error
type PcloudIpsecpoliciesPostForbidden ¶
PcloudIpsecpoliciesPostForbidden describes a response with status code 403, 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
func (*PcloudIpsecpoliciesPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostForbidden) GetPayload() *models.Error
type PcloudIpsecpoliciesPostInternalServerError ¶
PcloudIpsecpoliciesPostInternalServerError describes a response with status code 500, 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
func (*PcloudIpsecpoliciesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostInternalServerError) GetPayload() *models.Error
type PcloudIpsecpoliciesPostOK ¶
type PcloudIpsecpoliciesPostOK struct {
Payload *models.IPSecPolicy
}
PcloudIpsecpoliciesPostOK describes a response with status code 200, 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
func (*PcloudIpsecpoliciesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostOK) GetPayload() *models.IPSecPolicy
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIpsecpoliciesPostParamsWithContext ¶
func NewPcloudIpsecpoliciesPostParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPostParams
NewPcloudIpsecpoliciesPostParamsWithContext creates a new PcloudIpsecpoliciesPostParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ipsecpolicies post params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostParams) WithDefaults() *PcloudIpsecpoliciesPostParams
WithDefaults hydrates default values in the pcloud ipsecpolicies post params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIpsecpoliciesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostUnauthorized) GetPayload() *models.Error
type PcloudIpsecpoliciesPostUnprocessableEntity ¶
PcloudIpsecpoliciesPostUnprocessableEntity describes a response with status code 422, 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
func (*PcloudIpsecpoliciesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) GetPayload() *models.Error
type PcloudIpsecpoliciesPutBadRequest ¶
PcloudIpsecpoliciesPutBadRequest describes a response with status code 400, 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
func (*PcloudIpsecpoliciesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutBadRequest) GetPayload() *models.Error
type PcloudIpsecpoliciesPutConflict ¶
PcloudIpsecpoliciesPutConflict describes a response with status code 409, 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
func (*PcloudIpsecpoliciesPutConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutConflict) GetPayload() *models.Error
type PcloudIpsecpoliciesPutForbidden ¶
PcloudIpsecpoliciesPutForbidden describes a response with status code 403, 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
func (*PcloudIpsecpoliciesPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutForbidden) GetPayload() *models.Error
type PcloudIpsecpoliciesPutInternalServerError ¶
PcloudIpsecpoliciesPutInternalServerError describes a response with status code 500, 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
func (*PcloudIpsecpoliciesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutInternalServerError) GetPayload() *models.Error
type PcloudIpsecpoliciesPutOK ¶
type PcloudIpsecpoliciesPutOK struct {
Payload *models.IPSecPolicy
}
PcloudIpsecpoliciesPutOK describes a response with status code 200, 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
func (*PcloudIpsecpoliciesPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutOK) GetPayload() *models.IPSecPolicy
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudIpsecpoliciesPutParamsWithContext ¶
func NewPcloudIpsecpoliciesPutParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPutParams
NewPcloudIpsecpoliciesPutParamsWithContext creates a new PcloudIpsecpoliciesPutParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud ipsecpolicies put params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutParams) WithDefaults() *PcloudIpsecpoliciesPutParams
WithDefaults hydrates default values in the pcloud ipsecpolicies put params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudIpsecpoliciesPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutUnauthorized) GetPayload() *models.Error
type PcloudIpsecpoliciesPutUnprocessableEntity ¶
PcloudIpsecpoliciesPutUnprocessableEntity describes a response with status code 422, 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
func (*PcloudIpsecpoliciesPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) GetPayload() *models.Error
Source Files ¶
- p_cloudvpn_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