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
- func (o *PcloudIkepoliciesDeleteBadRequest) Code() int
- func (o *PcloudIkepoliciesDeleteBadRequest) Error() string
- func (o *PcloudIkepoliciesDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudIkepoliciesDeleteBadRequest) IsClientError() bool
- func (o *PcloudIkepoliciesDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudIkepoliciesDeleteBadRequest) IsRedirect() bool
- func (o *PcloudIkepoliciesDeleteBadRequest) IsServerError() bool
- func (o *PcloudIkepoliciesDeleteBadRequest) IsSuccess() bool
- func (o *PcloudIkepoliciesDeleteBadRequest) String() string
- type PcloudIkepoliciesDeleteForbidden
- func (o *PcloudIkepoliciesDeleteForbidden) Code() int
- func (o *PcloudIkepoliciesDeleteForbidden) Error() string
- func (o *PcloudIkepoliciesDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudIkepoliciesDeleteForbidden) IsClientError() bool
- func (o *PcloudIkepoliciesDeleteForbidden) IsCode(code int) bool
- func (o *PcloudIkepoliciesDeleteForbidden) IsRedirect() bool
- func (o *PcloudIkepoliciesDeleteForbidden) IsServerError() bool
- func (o *PcloudIkepoliciesDeleteForbidden) IsSuccess() bool
- func (o *PcloudIkepoliciesDeleteForbidden) String() string
- type PcloudIkepoliciesDeleteInternalServerError
- func (o *PcloudIkepoliciesDeleteInternalServerError) Code() int
- func (o *PcloudIkepoliciesDeleteInternalServerError) Error() string
- func (o *PcloudIkepoliciesDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudIkepoliciesDeleteInternalServerError) IsClientError() bool
- func (o *PcloudIkepoliciesDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudIkepoliciesDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudIkepoliciesDeleteInternalServerError) IsServerError() bool
- func (o *PcloudIkepoliciesDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudIkepoliciesDeleteInternalServerError) String() string
- type PcloudIkepoliciesDeleteNotFound
- func (o *PcloudIkepoliciesDeleteNotFound) Code() int
- func (o *PcloudIkepoliciesDeleteNotFound) Error() string
- func (o *PcloudIkepoliciesDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudIkepoliciesDeleteNotFound) IsClientError() bool
- func (o *PcloudIkepoliciesDeleteNotFound) IsCode(code int) bool
- func (o *PcloudIkepoliciesDeleteNotFound) IsRedirect() bool
- func (o *PcloudIkepoliciesDeleteNotFound) IsServerError() bool
- func (o *PcloudIkepoliciesDeleteNotFound) IsSuccess() bool
- func (o *PcloudIkepoliciesDeleteNotFound) String() string
- type PcloudIkepoliciesDeleteOK
- func (o *PcloudIkepoliciesDeleteOK) Code() int
- func (o *PcloudIkepoliciesDeleteOK) Error() string
- func (o *PcloudIkepoliciesDeleteOK) GetPayload() models.Object
- func (o *PcloudIkepoliciesDeleteOK) IsClientError() bool
- func (o *PcloudIkepoliciesDeleteOK) IsCode(code int) bool
- func (o *PcloudIkepoliciesDeleteOK) IsRedirect() bool
- func (o *PcloudIkepoliciesDeleteOK) IsServerError() bool
- func (o *PcloudIkepoliciesDeleteOK) IsSuccess() bool
- func (o *PcloudIkepoliciesDeleteOK) String() string
- 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
- func (o *PcloudIkepoliciesDeleteUnauthorized) Code() int
- func (o *PcloudIkepoliciesDeleteUnauthorized) Error() string
- func (o *PcloudIkepoliciesDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudIkepoliciesDeleteUnauthorized) IsClientError() bool
- func (o *PcloudIkepoliciesDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudIkepoliciesDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudIkepoliciesDeleteUnauthorized) IsServerError() bool
- func (o *PcloudIkepoliciesDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudIkepoliciesDeleteUnauthorized) String() string
- type PcloudIkepoliciesGetBadRequest
- func (o *PcloudIkepoliciesGetBadRequest) Code() int
- func (o *PcloudIkepoliciesGetBadRequest) Error() string
- func (o *PcloudIkepoliciesGetBadRequest) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetBadRequest) IsClientError() bool
- func (o *PcloudIkepoliciesGetBadRequest) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetBadRequest) IsRedirect() bool
- func (o *PcloudIkepoliciesGetBadRequest) IsServerError() bool
- func (o *PcloudIkepoliciesGetBadRequest) IsSuccess() bool
- func (o *PcloudIkepoliciesGetBadRequest) String() string
- type PcloudIkepoliciesGetForbidden
- func (o *PcloudIkepoliciesGetForbidden) Code() int
- func (o *PcloudIkepoliciesGetForbidden) Error() string
- func (o *PcloudIkepoliciesGetForbidden) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetForbidden) IsClientError() bool
- func (o *PcloudIkepoliciesGetForbidden) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetForbidden) IsRedirect() bool
- func (o *PcloudIkepoliciesGetForbidden) IsServerError() bool
- func (o *PcloudIkepoliciesGetForbidden) IsSuccess() bool
- func (o *PcloudIkepoliciesGetForbidden) String() string
- type PcloudIkepoliciesGetInternalServerError
- func (o *PcloudIkepoliciesGetInternalServerError) Code() int
- func (o *PcloudIkepoliciesGetInternalServerError) Error() string
- func (o *PcloudIkepoliciesGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetInternalServerError) IsClientError() bool
- func (o *PcloudIkepoliciesGetInternalServerError) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetInternalServerError) IsRedirect() bool
- func (o *PcloudIkepoliciesGetInternalServerError) IsServerError() bool
- func (o *PcloudIkepoliciesGetInternalServerError) IsSuccess() bool
- func (o *PcloudIkepoliciesGetInternalServerError) String() string
- type PcloudIkepoliciesGetNotFound
- func (o *PcloudIkepoliciesGetNotFound) Code() int
- func (o *PcloudIkepoliciesGetNotFound) Error() string
- func (o *PcloudIkepoliciesGetNotFound) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetNotFound) IsClientError() bool
- func (o *PcloudIkepoliciesGetNotFound) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetNotFound) IsRedirect() bool
- func (o *PcloudIkepoliciesGetNotFound) IsServerError() bool
- func (o *PcloudIkepoliciesGetNotFound) IsSuccess() bool
- func (o *PcloudIkepoliciesGetNotFound) String() string
- type PcloudIkepoliciesGetOK
- func (o *PcloudIkepoliciesGetOK) Code() int
- func (o *PcloudIkepoliciesGetOK) Error() string
- func (o *PcloudIkepoliciesGetOK) GetPayload() *models.IKEPolicy
- func (o *PcloudIkepoliciesGetOK) IsClientError() bool
- func (o *PcloudIkepoliciesGetOK) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetOK) IsRedirect() bool
- func (o *PcloudIkepoliciesGetOK) IsServerError() bool
- func (o *PcloudIkepoliciesGetOK) IsSuccess() bool
- func (o *PcloudIkepoliciesGetOK) String() string
- 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
- func (o *PcloudIkepoliciesGetUnauthorized) Code() int
- func (o *PcloudIkepoliciesGetUnauthorized) Error() string
- func (o *PcloudIkepoliciesGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetUnauthorized) IsClientError() bool
- func (o *PcloudIkepoliciesGetUnauthorized) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetUnauthorized) IsRedirect() bool
- func (o *PcloudIkepoliciesGetUnauthorized) IsServerError() bool
- func (o *PcloudIkepoliciesGetUnauthorized) IsSuccess() bool
- func (o *PcloudIkepoliciesGetUnauthorized) String() string
- type PcloudIkepoliciesGetUnprocessableEntity
- func (o *PcloudIkepoliciesGetUnprocessableEntity) Code() int
- func (o *PcloudIkepoliciesGetUnprocessableEntity) Error() string
- func (o *PcloudIkepoliciesGetUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetUnprocessableEntity) IsClientError() bool
- func (o *PcloudIkepoliciesGetUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetUnprocessableEntity) IsRedirect() bool
- func (o *PcloudIkepoliciesGetUnprocessableEntity) IsServerError() bool
- func (o *PcloudIkepoliciesGetUnprocessableEntity) IsSuccess() bool
- func (o *PcloudIkepoliciesGetUnprocessableEntity) String() string
- type PcloudIkepoliciesGetallBadRequest
- func (o *PcloudIkepoliciesGetallBadRequest) Code() int
- func (o *PcloudIkepoliciesGetallBadRequest) Error() string
- func (o *PcloudIkepoliciesGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetallBadRequest) IsClientError() bool
- func (o *PcloudIkepoliciesGetallBadRequest) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetallBadRequest) IsRedirect() bool
- func (o *PcloudIkepoliciesGetallBadRequest) IsServerError() bool
- func (o *PcloudIkepoliciesGetallBadRequest) IsSuccess() bool
- func (o *PcloudIkepoliciesGetallBadRequest) String() string
- type PcloudIkepoliciesGetallForbidden
- func (o *PcloudIkepoliciesGetallForbidden) Code() int
- func (o *PcloudIkepoliciesGetallForbidden) Error() string
- func (o *PcloudIkepoliciesGetallForbidden) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetallForbidden) IsClientError() bool
- func (o *PcloudIkepoliciesGetallForbidden) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetallForbidden) IsRedirect() bool
- func (o *PcloudIkepoliciesGetallForbidden) IsServerError() bool
- func (o *PcloudIkepoliciesGetallForbidden) IsSuccess() bool
- func (o *PcloudIkepoliciesGetallForbidden) String() string
- type PcloudIkepoliciesGetallInternalServerError
- func (o *PcloudIkepoliciesGetallInternalServerError) Code() int
- func (o *PcloudIkepoliciesGetallInternalServerError) Error() string
- func (o *PcloudIkepoliciesGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetallInternalServerError) IsClientError() bool
- func (o *PcloudIkepoliciesGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetallInternalServerError) IsRedirect() bool
- func (o *PcloudIkepoliciesGetallInternalServerError) IsServerError() bool
- func (o *PcloudIkepoliciesGetallInternalServerError) IsSuccess() bool
- func (o *PcloudIkepoliciesGetallInternalServerError) String() string
- type PcloudIkepoliciesGetallNotFound
- func (o *PcloudIkepoliciesGetallNotFound) Code() int
- func (o *PcloudIkepoliciesGetallNotFound) Error() string
- func (o *PcloudIkepoliciesGetallNotFound) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetallNotFound) IsClientError() bool
- func (o *PcloudIkepoliciesGetallNotFound) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetallNotFound) IsRedirect() bool
- func (o *PcloudIkepoliciesGetallNotFound) IsServerError() bool
- func (o *PcloudIkepoliciesGetallNotFound) IsSuccess() bool
- func (o *PcloudIkepoliciesGetallNotFound) String() string
- type PcloudIkepoliciesGetallOK
- func (o *PcloudIkepoliciesGetallOK) Code() int
- func (o *PcloudIkepoliciesGetallOK) Error() string
- func (o *PcloudIkepoliciesGetallOK) GetPayload() *models.IKEPolicies
- func (o *PcloudIkepoliciesGetallOK) IsClientError() bool
- func (o *PcloudIkepoliciesGetallOK) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetallOK) IsRedirect() bool
- func (o *PcloudIkepoliciesGetallOK) IsServerError() bool
- func (o *PcloudIkepoliciesGetallOK) IsSuccess() bool
- func (o *PcloudIkepoliciesGetallOK) String() string
- 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
- func (o *PcloudIkepoliciesGetallUnauthorized) Code() int
- func (o *PcloudIkepoliciesGetallUnauthorized) Error() string
- func (o *PcloudIkepoliciesGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudIkepoliciesGetallUnauthorized) IsClientError() bool
- func (o *PcloudIkepoliciesGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudIkepoliciesGetallUnauthorized) IsRedirect() bool
- func (o *PcloudIkepoliciesGetallUnauthorized) IsServerError() bool
- func (o *PcloudIkepoliciesGetallUnauthorized) IsSuccess() bool
- func (o *PcloudIkepoliciesGetallUnauthorized) String() string
- type PcloudIkepoliciesPostBadRequest
- func (o *PcloudIkepoliciesPostBadRequest) Code() int
- func (o *PcloudIkepoliciesPostBadRequest) Error() string
- func (o *PcloudIkepoliciesPostBadRequest) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPostBadRequest) IsClientError() bool
- func (o *PcloudIkepoliciesPostBadRequest) IsCode(code int) bool
- func (o *PcloudIkepoliciesPostBadRequest) IsRedirect() bool
- func (o *PcloudIkepoliciesPostBadRequest) IsServerError() bool
- func (o *PcloudIkepoliciesPostBadRequest) IsSuccess() bool
- func (o *PcloudIkepoliciesPostBadRequest) String() string
- type PcloudIkepoliciesPostConflict
- func (o *PcloudIkepoliciesPostConflict) Code() int
- func (o *PcloudIkepoliciesPostConflict) Error() string
- func (o *PcloudIkepoliciesPostConflict) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPostConflict) IsClientError() bool
- func (o *PcloudIkepoliciesPostConflict) IsCode(code int) bool
- func (o *PcloudIkepoliciesPostConflict) IsRedirect() bool
- func (o *PcloudIkepoliciesPostConflict) IsServerError() bool
- func (o *PcloudIkepoliciesPostConflict) IsSuccess() bool
- func (o *PcloudIkepoliciesPostConflict) String() string
- type PcloudIkepoliciesPostForbidden
- func (o *PcloudIkepoliciesPostForbidden) Code() int
- func (o *PcloudIkepoliciesPostForbidden) Error() string
- func (o *PcloudIkepoliciesPostForbidden) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPostForbidden) IsClientError() bool
- func (o *PcloudIkepoliciesPostForbidden) IsCode(code int) bool
- func (o *PcloudIkepoliciesPostForbidden) IsRedirect() bool
- func (o *PcloudIkepoliciesPostForbidden) IsServerError() bool
- func (o *PcloudIkepoliciesPostForbidden) IsSuccess() bool
- func (o *PcloudIkepoliciesPostForbidden) String() string
- type PcloudIkepoliciesPostInternalServerError
- func (o *PcloudIkepoliciesPostInternalServerError) Code() int
- func (o *PcloudIkepoliciesPostInternalServerError) Error() string
- func (o *PcloudIkepoliciesPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPostInternalServerError) IsClientError() bool
- func (o *PcloudIkepoliciesPostInternalServerError) IsCode(code int) bool
- func (o *PcloudIkepoliciesPostInternalServerError) IsRedirect() bool
- func (o *PcloudIkepoliciesPostInternalServerError) IsServerError() bool
- func (o *PcloudIkepoliciesPostInternalServerError) IsSuccess() bool
- func (o *PcloudIkepoliciesPostInternalServerError) String() string
- type PcloudIkepoliciesPostOK
- func (o *PcloudIkepoliciesPostOK) Code() int
- func (o *PcloudIkepoliciesPostOK) Error() string
- func (o *PcloudIkepoliciesPostOK) GetPayload() *models.IKEPolicy
- func (o *PcloudIkepoliciesPostOK) IsClientError() bool
- func (o *PcloudIkepoliciesPostOK) IsCode(code int) bool
- func (o *PcloudIkepoliciesPostOK) IsRedirect() bool
- func (o *PcloudIkepoliciesPostOK) IsServerError() bool
- func (o *PcloudIkepoliciesPostOK) IsSuccess() bool
- func (o *PcloudIkepoliciesPostOK) String() string
- 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
- func (o *PcloudIkepoliciesPostUnauthorized) Code() int
- func (o *PcloudIkepoliciesPostUnauthorized) Error() string
- func (o *PcloudIkepoliciesPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPostUnauthorized) IsClientError() bool
- func (o *PcloudIkepoliciesPostUnauthorized) IsCode(code int) bool
- func (o *PcloudIkepoliciesPostUnauthorized) IsRedirect() bool
- func (o *PcloudIkepoliciesPostUnauthorized) IsServerError() bool
- func (o *PcloudIkepoliciesPostUnauthorized) IsSuccess() bool
- func (o *PcloudIkepoliciesPostUnauthorized) String() string
- type PcloudIkepoliciesPostUnprocessableEntity
- func (o *PcloudIkepoliciesPostUnprocessableEntity) Code() int
- func (o *PcloudIkepoliciesPostUnprocessableEntity) Error() string
- func (o *PcloudIkepoliciesPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudIkepoliciesPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudIkepoliciesPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudIkepoliciesPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudIkepoliciesPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudIkepoliciesPostUnprocessableEntity) String() string
- type PcloudIkepoliciesPutBadRequest
- func (o *PcloudIkepoliciesPutBadRequest) Code() int
- func (o *PcloudIkepoliciesPutBadRequest) Error() string
- func (o *PcloudIkepoliciesPutBadRequest) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPutBadRequest) IsClientError() bool
- func (o *PcloudIkepoliciesPutBadRequest) IsCode(code int) bool
- func (o *PcloudIkepoliciesPutBadRequest) IsRedirect() bool
- func (o *PcloudIkepoliciesPutBadRequest) IsServerError() bool
- func (o *PcloudIkepoliciesPutBadRequest) IsSuccess() bool
- func (o *PcloudIkepoliciesPutBadRequest) String() string
- type PcloudIkepoliciesPutForbidden
- func (o *PcloudIkepoliciesPutForbidden) Code() int
- func (o *PcloudIkepoliciesPutForbidden) Error() string
- func (o *PcloudIkepoliciesPutForbidden) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPutForbidden) IsClientError() bool
- func (o *PcloudIkepoliciesPutForbidden) IsCode(code int) bool
- func (o *PcloudIkepoliciesPutForbidden) IsRedirect() bool
- func (o *PcloudIkepoliciesPutForbidden) IsServerError() bool
- func (o *PcloudIkepoliciesPutForbidden) IsSuccess() bool
- func (o *PcloudIkepoliciesPutForbidden) String() string
- type PcloudIkepoliciesPutInternalServerError
- func (o *PcloudIkepoliciesPutInternalServerError) Code() int
- func (o *PcloudIkepoliciesPutInternalServerError) Error() string
- func (o *PcloudIkepoliciesPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPutInternalServerError) IsClientError() bool
- func (o *PcloudIkepoliciesPutInternalServerError) IsCode(code int) bool
- func (o *PcloudIkepoliciesPutInternalServerError) IsRedirect() bool
- func (o *PcloudIkepoliciesPutInternalServerError) IsServerError() bool
- func (o *PcloudIkepoliciesPutInternalServerError) IsSuccess() bool
- func (o *PcloudIkepoliciesPutInternalServerError) String() string
- type PcloudIkepoliciesPutNotFound
- func (o *PcloudIkepoliciesPutNotFound) Code() int
- func (o *PcloudIkepoliciesPutNotFound) Error() string
- func (o *PcloudIkepoliciesPutNotFound) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPutNotFound) IsClientError() bool
- func (o *PcloudIkepoliciesPutNotFound) IsCode(code int) bool
- func (o *PcloudIkepoliciesPutNotFound) IsRedirect() bool
- func (o *PcloudIkepoliciesPutNotFound) IsServerError() bool
- func (o *PcloudIkepoliciesPutNotFound) IsSuccess() bool
- func (o *PcloudIkepoliciesPutNotFound) String() string
- type PcloudIkepoliciesPutOK
- func (o *PcloudIkepoliciesPutOK) Code() int
- func (o *PcloudIkepoliciesPutOK) Error() string
- func (o *PcloudIkepoliciesPutOK) GetPayload() *models.IKEPolicy
- func (o *PcloudIkepoliciesPutOK) IsClientError() bool
- func (o *PcloudIkepoliciesPutOK) IsCode(code int) bool
- func (o *PcloudIkepoliciesPutOK) IsRedirect() bool
- func (o *PcloudIkepoliciesPutOK) IsServerError() bool
- func (o *PcloudIkepoliciesPutOK) IsSuccess() bool
- func (o *PcloudIkepoliciesPutOK) String() string
- 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
- func (o *PcloudIkepoliciesPutUnauthorized) Code() int
- func (o *PcloudIkepoliciesPutUnauthorized) Error() string
- func (o *PcloudIkepoliciesPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPutUnauthorized) IsClientError() bool
- func (o *PcloudIkepoliciesPutUnauthorized) IsCode(code int) bool
- func (o *PcloudIkepoliciesPutUnauthorized) IsRedirect() bool
- func (o *PcloudIkepoliciesPutUnauthorized) IsServerError() bool
- func (o *PcloudIkepoliciesPutUnauthorized) IsSuccess() bool
- func (o *PcloudIkepoliciesPutUnauthorized) String() string
- type PcloudIkepoliciesPutUnprocessableEntity
- func (o *PcloudIkepoliciesPutUnprocessableEntity) Code() int
- func (o *PcloudIkepoliciesPutUnprocessableEntity) Error() string
- func (o *PcloudIkepoliciesPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudIkepoliciesPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudIkepoliciesPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudIkepoliciesPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudIkepoliciesPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudIkepoliciesPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudIkepoliciesPutUnprocessableEntity) String() string
- type PcloudIpsecpoliciesDeleteBadRequest
- func (o *PcloudIpsecpoliciesDeleteBadRequest) Code() int
- func (o *PcloudIpsecpoliciesDeleteBadRequest) Error() string
- func (o *PcloudIpsecpoliciesDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesDeleteBadRequest) IsClientError() bool
- func (o *PcloudIpsecpoliciesDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesDeleteBadRequest) IsRedirect() bool
- func (o *PcloudIpsecpoliciesDeleteBadRequest) IsServerError() bool
- func (o *PcloudIpsecpoliciesDeleteBadRequest) IsSuccess() bool
- func (o *PcloudIpsecpoliciesDeleteBadRequest) String() string
- type PcloudIpsecpoliciesDeleteForbidden
- func (o *PcloudIpsecpoliciesDeleteForbidden) Code() int
- func (o *PcloudIpsecpoliciesDeleteForbidden) Error() string
- func (o *PcloudIpsecpoliciesDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesDeleteForbidden) IsClientError() bool
- func (o *PcloudIpsecpoliciesDeleteForbidden) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesDeleteForbidden) IsRedirect() bool
- func (o *PcloudIpsecpoliciesDeleteForbidden) IsServerError() bool
- func (o *PcloudIpsecpoliciesDeleteForbidden) IsSuccess() bool
- func (o *PcloudIpsecpoliciesDeleteForbidden) String() string
- type PcloudIpsecpoliciesDeleteInternalServerError
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) Code() int
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) Error() string
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsClientError() bool
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsServerError() bool
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudIpsecpoliciesDeleteInternalServerError) String() string
- type PcloudIpsecpoliciesDeleteNotFound
- func (o *PcloudIpsecpoliciesDeleteNotFound) Code() int
- func (o *PcloudIpsecpoliciesDeleteNotFound) Error() string
- func (o *PcloudIpsecpoliciesDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesDeleteNotFound) IsClientError() bool
- func (o *PcloudIpsecpoliciesDeleteNotFound) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesDeleteNotFound) IsRedirect() bool
- func (o *PcloudIpsecpoliciesDeleteNotFound) IsServerError() bool
- func (o *PcloudIpsecpoliciesDeleteNotFound) IsSuccess() bool
- func (o *PcloudIpsecpoliciesDeleteNotFound) String() string
- type PcloudIpsecpoliciesDeleteOK
- func (o *PcloudIpsecpoliciesDeleteOK) Code() int
- func (o *PcloudIpsecpoliciesDeleteOK) Error() string
- func (o *PcloudIpsecpoliciesDeleteOK) GetPayload() models.Object
- func (o *PcloudIpsecpoliciesDeleteOK) IsClientError() bool
- func (o *PcloudIpsecpoliciesDeleteOK) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesDeleteOK) IsRedirect() bool
- func (o *PcloudIpsecpoliciesDeleteOK) IsServerError() bool
- func (o *PcloudIpsecpoliciesDeleteOK) IsSuccess() bool
- func (o *PcloudIpsecpoliciesDeleteOK) String() string
- 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
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) Code() int
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) Error() string
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsClientError() bool
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsServerError() bool
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudIpsecpoliciesDeleteUnauthorized) String() string
- type PcloudIpsecpoliciesGetBadRequest
- func (o *PcloudIpsecpoliciesGetBadRequest) Code() int
- func (o *PcloudIpsecpoliciesGetBadRequest) Error() string
- func (o *PcloudIpsecpoliciesGetBadRequest) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetBadRequest) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetBadRequest) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetBadRequest) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetBadRequest) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetBadRequest) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetBadRequest) String() string
- type PcloudIpsecpoliciesGetForbidden
- func (o *PcloudIpsecpoliciesGetForbidden) Code() int
- func (o *PcloudIpsecpoliciesGetForbidden) Error() string
- func (o *PcloudIpsecpoliciesGetForbidden) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetForbidden) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetForbidden) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetForbidden) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetForbidden) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetForbidden) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetForbidden) String() string
- type PcloudIpsecpoliciesGetInternalServerError
- func (o *PcloudIpsecpoliciesGetInternalServerError) Code() int
- func (o *PcloudIpsecpoliciesGetInternalServerError) Error() string
- func (o *PcloudIpsecpoliciesGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetInternalServerError) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetInternalServerError) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetInternalServerError) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetInternalServerError) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetInternalServerError) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetInternalServerError) String() string
- type PcloudIpsecpoliciesGetNotFound
- func (o *PcloudIpsecpoliciesGetNotFound) Code() int
- func (o *PcloudIpsecpoliciesGetNotFound) Error() string
- func (o *PcloudIpsecpoliciesGetNotFound) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetNotFound) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetNotFound) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetNotFound) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetNotFound) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetNotFound) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetNotFound) String() string
- type PcloudIpsecpoliciesGetOK
- func (o *PcloudIpsecpoliciesGetOK) Code() int
- func (o *PcloudIpsecpoliciesGetOK) Error() string
- func (o *PcloudIpsecpoliciesGetOK) GetPayload() *models.IPSecPolicy
- func (o *PcloudIpsecpoliciesGetOK) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetOK) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetOK) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetOK) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetOK) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetOK) String() string
- 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
- func (o *PcloudIpsecpoliciesGetUnauthorized) Code() int
- func (o *PcloudIpsecpoliciesGetUnauthorized) Error() string
- func (o *PcloudIpsecpoliciesGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetUnauthorized) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetUnauthorized) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetUnauthorized) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetUnauthorized) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetUnauthorized) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetUnauthorized) String() string
- type PcloudIpsecpoliciesGetUnprocessableEntity
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) Code() int
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) Error() string
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetUnprocessableEntity) String() string
- type PcloudIpsecpoliciesGetallBadRequest
- func (o *PcloudIpsecpoliciesGetallBadRequest) Code() int
- func (o *PcloudIpsecpoliciesGetallBadRequest) Error() string
- func (o *PcloudIpsecpoliciesGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetallBadRequest) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetallBadRequest) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetallBadRequest) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetallBadRequest) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetallBadRequest) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetallBadRequest) String() string
- type PcloudIpsecpoliciesGetallForbidden
- func (o *PcloudIpsecpoliciesGetallForbidden) Code() int
- func (o *PcloudIpsecpoliciesGetallForbidden) Error() string
- func (o *PcloudIpsecpoliciesGetallForbidden) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetallForbidden) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetallForbidden) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetallForbidden) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetallForbidden) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetallForbidden) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetallForbidden) String() string
- type PcloudIpsecpoliciesGetallInternalServerError
- func (o *PcloudIpsecpoliciesGetallInternalServerError) Code() int
- func (o *PcloudIpsecpoliciesGetallInternalServerError) Error() string
- func (o *PcloudIpsecpoliciesGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetallInternalServerError) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetallInternalServerError) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetallInternalServerError) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetallInternalServerError) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetallInternalServerError) String() string
- type PcloudIpsecpoliciesGetallNotFound
- func (o *PcloudIpsecpoliciesGetallNotFound) Code() int
- func (o *PcloudIpsecpoliciesGetallNotFound) Error() string
- func (o *PcloudIpsecpoliciesGetallNotFound) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetallNotFound) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetallNotFound) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetallNotFound) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetallNotFound) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetallNotFound) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetallNotFound) String() string
- type PcloudIpsecpoliciesGetallOK
- func (o *PcloudIpsecpoliciesGetallOK) Code() int
- func (o *PcloudIpsecpoliciesGetallOK) Error() string
- func (o *PcloudIpsecpoliciesGetallOK) GetPayload() *models.IPSecPolicies
- func (o *PcloudIpsecpoliciesGetallOK) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetallOK) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetallOK) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetallOK) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetallOK) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetallOK) String() string
- 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
- func (o *PcloudIpsecpoliciesGetallUnauthorized) Code() int
- func (o *PcloudIpsecpoliciesGetallUnauthorized) Error() string
- func (o *PcloudIpsecpoliciesGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesGetallUnauthorized) IsClientError() bool
- func (o *PcloudIpsecpoliciesGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesGetallUnauthorized) IsRedirect() bool
- func (o *PcloudIpsecpoliciesGetallUnauthorized) IsServerError() bool
- func (o *PcloudIpsecpoliciesGetallUnauthorized) IsSuccess() bool
- func (o *PcloudIpsecpoliciesGetallUnauthorized) String() string
- type PcloudIpsecpoliciesPostBadRequest
- func (o *PcloudIpsecpoliciesPostBadRequest) Code() int
- func (o *PcloudIpsecpoliciesPostBadRequest) Error() string
- func (o *PcloudIpsecpoliciesPostBadRequest) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPostBadRequest) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostBadRequest) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostBadRequest) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostBadRequest) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostBadRequest) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostBadRequest) String() string
- type PcloudIpsecpoliciesPostConflict
- func (o *PcloudIpsecpoliciesPostConflict) Code() int
- func (o *PcloudIpsecpoliciesPostConflict) Error() string
- func (o *PcloudIpsecpoliciesPostConflict) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPostConflict) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostConflict) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostConflict) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostConflict) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostConflict) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostConflict) String() string
- type PcloudIpsecpoliciesPostForbidden
- func (o *PcloudIpsecpoliciesPostForbidden) Code() int
- func (o *PcloudIpsecpoliciesPostForbidden) Error() string
- func (o *PcloudIpsecpoliciesPostForbidden) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPostForbidden) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostForbidden) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostForbidden) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostForbidden) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostForbidden) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostForbidden) String() string
- type PcloudIpsecpoliciesPostInternalServerError
- func (o *PcloudIpsecpoliciesPostInternalServerError) Code() int
- func (o *PcloudIpsecpoliciesPostInternalServerError) Error() string
- func (o *PcloudIpsecpoliciesPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPostInternalServerError) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostInternalServerError) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostInternalServerError) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostInternalServerError) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostInternalServerError) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostInternalServerError) String() string
- type PcloudIpsecpoliciesPostNotFound
- func (o *PcloudIpsecpoliciesPostNotFound) Code() int
- func (o *PcloudIpsecpoliciesPostNotFound) Error() string
- func (o *PcloudIpsecpoliciesPostNotFound) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPostNotFound) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostNotFound) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostNotFound) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostNotFound) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostNotFound) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostNotFound) String() string
- type PcloudIpsecpoliciesPostOK
- func (o *PcloudIpsecpoliciesPostOK) Code() int
- func (o *PcloudIpsecpoliciesPostOK) Error() string
- func (o *PcloudIpsecpoliciesPostOK) GetPayload() *models.IPSecPolicy
- func (o *PcloudIpsecpoliciesPostOK) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostOK) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostOK) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostOK) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostOK) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostOK) String() string
- 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
- func (o *PcloudIpsecpoliciesPostUnauthorized) Code() int
- func (o *PcloudIpsecpoliciesPostUnauthorized) Error() string
- func (o *PcloudIpsecpoliciesPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPostUnauthorized) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostUnauthorized) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostUnauthorized) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostUnauthorized) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostUnauthorized) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostUnauthorized) String() string
- type PcloudIpsecpoliciesPostUnprocessableEntity
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) Code() int
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) Error() string
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPostUnprocessableEntity) String() string
- type PcloudIpsecpoliciesPutBadRequest
- func (o *PcloudIpsecpoliciesPutBadRequest) Code() int
- func (o *PcloudIpsecpoliciesPutBadRequest) Error() string
- func (o *PcloudIpsecpoliciesPutBadRequest) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPutBadRequest) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutBadRequest) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutBadRequest) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutBadRequest) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutBadRequest) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutBadRequest) String() string
- type PcloudIpsecpoliciesPutConflict
- func (o *PcloudIpsecpoliciesPutConflict) Code() int
- func (o *PcloudIpsecpoliciesPutConflict) Error() string
- func (o *PcloudIpsecpoliciesPutConflict) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPutConflict) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutConflict) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutConflict) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutConflict) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutConflict) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutConflict) String() string
- type PcloudIpsecpoliciesPutForbidden
- func (o *PcloudIpsecpoliciesPutForbidden) Code() int
- func (o *PcloudIpsecpoliciesPutForbidden) Error() string
- func (o *PcloudIpsecpoliciesPutForbidden) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPutForbidden) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutForbidden) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutForbidden) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutForbidden) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutForbidden) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutForbidden) String() string
- type PcloudIpsecpoliciesPutInternalServerError
- func (o *PcloudIpsecpoliciesPutInternalServerError) Code() int
- func (o *PcloudIpsecpoliciesPutInternalServerError) Error() string
- func (o *PcloudIpsecpoliciesPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPutInternalServerError) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutInternalServerError) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutInternalServerError) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutInternalServerError) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutInternalServerError) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutInternalServerError) String() string
- type PcloudIpsecpoliciesPutNotFound
- func (o *PcloudIpsecpoliciesPutNotFound) Code() int
- func (o *PcloudIpsecpoliciesPutNotFound) Error() string
- func (o *PcloudIpsecpoliciesPutNotFound) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPutNotFound) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutNotFound) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutNotFound) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutNotFound) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutNotFound) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutNotFound) String() string
- type PcloudIpsecpoliciesPutOK
- func (o *PcloudIpsecpoliciesPutOK) Code() int
- func (o *PcloudIpsecpoliciesPutOK) Error() string
- func (o *PcloudIpsecpoliciesPutOK) GetPayload() *models.IPSecPolicy
- func (o *PcloudIpsecpoliciesPutOK) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutOK) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutOK) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutOK) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutOK) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutOK) String() string
- 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
- func (o *PcloudIpsecpoliciesPutUnauthorized) Code() int
- func (o *PcloudIpsecpoliciesPutUnauthorized) Error() string
- func (o *PcloudIpsecpoliciesPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPutUnauthorized) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutUnauthorized) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutUnauthorized) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutUnauthorized) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutUnauthorized) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutUnauthorized) String() string
- type PcloudIpsecpoliciesPutUnprocessableEntity
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) Code() int
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) Error() string
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudIpsecpoliciesPutUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for p cloud v p n 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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud v p n policies API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud v p n policies API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type 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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesDeleteBadRequest) Code() int
Code gets the status code for the pcloud ikepolicies delete bad request response
func (*PcloudIkepoliciesDeleteBadRequest) Error ¶
func (o *PcloudIkepoliciesDeleteBadRequest) Error() string
func (*PcloudIkepoliciesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteBadRequest) GetPayload() *models.Error
func (*PcloudIkepoliciesDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies delete bad request response has a 4xx status code
func (*PcloudIkepoliciesDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies delete bad request response a status code equal to that given
func (*PcloudIkepoliciesDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies delete bad request response has a 3xx status code
func (*PcloudIkepoliciesDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies delete bad request response has a 5xx status code
func (*PcloudIkepoliciesDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies delete bad request response has a 2xx status code
func (*PcloudIkepoliciesDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesDeleteForbidden) Code() int
Code gets the status code for the pcloud ikepolicies delete forbidden response
func (*PcloudIkepoliciesDeleteForbidden) Error ¶
func (o *PcloudIkepoliciesDeleteForbidden) Error() string
func (*PcloudIkepoliciesDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteForbidden) GetPayload() *models.Error
func (*PcloudIkepoliciesDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies delete forbidden response has a 4xx status code
func (*PcloudIkepoliciesDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies delete forbidden response a status code equal to that given
func (*PcloudIkepoliciesDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies delete forbidden response has a 3xx status code
func (*PcloudIkepoliciesDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies delete forbidden response has a 5xx status code
func (*PcloudIkepoliciesDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies delete forbidden response has a 2xx status code
func (*PcloudIkepoliciesDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesDeleteInternalServerError) Code() int
Code gets the status code for the pcloud ikepolicies delete internal server error response
func (*PcloudIkepoliciesDeleteInternalServerError) Error ¶
func (o *PcloudIkepoliciesDeleteInternalServerError) Error() string
func (*PcloudIkepoliciesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudIkepoliciesDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies delete internal server error response has a 4xx status code
func (*PcloudIkepoliciesDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies delete internal server error response a status code equal to that given
func (*PcloudIkepoliciesDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies delete internal server error response has a 3xx status code
func (*PcloudIkepoliciesDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies delete internal server error response has a 5xx status code
func (*PcloudIkepoliciesDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies delete internal server error response has a 2xx status code
func (*PcloudIkepoliciesDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesDeleteNotFound) Code() int
Code gets the status code for the pcloud ikepolicies delete not found response
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
func (*PcloudIkepoliciesDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies delete not found response has a 4xx status code
func (*PcloudIkepoliciesDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies delete not found response a status code equal to that given
func (*PcloudIkepoliciesDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies delete not found response has a 3xx status code
func (*PcloudIkepoliciesDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies delete not found response has a 5xx status code
func (*PcloudIkepoliciesDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies delete not found response has a 2xx status code
func (*PcloudIkepoliciesDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesDeleteOK) Code() int
Code gets the status code for the pcloud ikepolicies delete o k response
func (*PcloudIkepoliciesDeleteOK) Error ¶
func (o *PcloudIkepoliciesDeleteOK) Error() string
func (*PcloudIkepoliciesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteOK) GetPayload() models.Object
func (*PcloudIkepoliciesDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies delete o k response has a 4xx status code
func (*PcloudIkepoliciesDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies delete o k response a status code equal to that given
func (*PcloudIkepoliciesDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies delete o k response has a 3xx status code
func (*PcloudIkepoliciesDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies delete o k response has a 5xx status code
func (*PcloudIkepoliciesDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies delete o k response has a 2xx status code
func (*PcloudIkepoliciesDeleteOK) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteOK) String() string
type PcloudIkepoliciesDeleteParams ¶
type PcloudIkepoliciesDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* IkePolicyID. ID of a IKE Policy */ IkePolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesDeleteParams contains all the parameters to send to the API endpoint
for the pcloud ikepolicies delete operation. Typically these are written to a http.Request.
func NewPcloudIkepoliciesDeleteParams ¶
func NewPcloudIkepoliciesDeleteParams() *PcloudIkepoliciesDeleteParams
NewPcloudIkepoliciesDeleteParams creates a new PcloudIkepoliciesDeleteParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesDeleteUnauthorized) Code() int
Code gets the status code for the pcloud ikepolicies delete unauthorized response
func (*PcloudIkepoliciesDeleteUnauthorized) Error ¶
func (o *PcloudIkepoliciesDeleteUnauthorized) Error() string
func (*PcloudIkepoliciesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudIkepoliciesDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies delete unauthorized response has a 4xx status code
func (*PcloudIkepoliciesDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies delete unauthorized response a status code equal to that given
func (*PcloudIkepoliciesDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies delete unauthorized response has a 3xx status code
func (*PcloudIkepoliciesDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies delete unauthorized response has a 5xx status code
func (*PcloudIkepoliciesDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies delete unauthorized response has a 2xx status code
func (*PcloudIkepoliciesDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesDeleteUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetBadRequest) Code() int
Code gets the status code for the pcloud ikepolicies get bad request response
func (*PcloudIkepoliciesGetBadRequest) Error ¶
func (o *PcloudIkepoliciesGetBadRequest) Error() string
func (*PcloudIkepoliciesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetBadRequest) GetPayload() *models.Error
func (*PcloudIkepoliciesGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies get bad request response has a 4xx status code
func (*PcloudIkepoliciesGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies get bad request response a status code equal to that given
func (*PcloudIkepoliciesGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies get bad request response has a 3xx status code
func (*PcloudIkepoliciesGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies get bad request response has a 5xx status code
func (*PcloudIkepoliciesGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies get bad request response has a 2xx status code
func (*PcloudIkepoliciesGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetForbidden) Code() int
Code gets the status code for the pcloud ikepolicies get forbidden response
func (*PcloudIkepoliciesGetForbidden) Error ¶
func (o *PcloudIkepoliciesGetForbidden) Error() string
func (*PcloudIkepoliciesGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetForbidden) GetPayload() *models.Error
func (*PcloudIkepoliciesGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies get forbidden response has a 4xx status code
func (*PcloudIkepoliciesGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies get forbidden response a status code equal to that given
func (*PcloudIkepoliciesGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies get forbidden response has a 3xx status code
func (*PcloudIkepoliciesGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies get forbidden response has a 5xx status code
func (*PcloudIkepoliciesGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies get forbidden response has a 2xx status code
func (*PcloudIkepoliciesGetForbidden) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetInternalServerError) Code() int
Code gets the status code for the pcloud ikepolicies get internal server error response
func (*PcloudIkepoliciesGetInternalServerError) Error ¶
func (o *PcloudIkepoliciesGetInternalServerError) Error() string
func (*PcloudIkepoliciesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetInternalServerError) GetPayload() *models.Error
func (*PcloudIkepoliciesGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies get internal server error response has a 4xx status code
func (*PcloudIkepoliciesGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies get internal server error response a status code equal to that given
func (*PcloudIkepoliciesGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies get internal server error response has a 3xx status code
func (*PcloudIkepoliciesGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies get internal server error response has a 5xx status code
func (*PcloudIkepoliciesGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies get internal server error response has a 2xx status code
func (*PcloudIkepoliciesGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetNotFound) Code() int
Code gets the status code for the pcloud ikepolicies get not found response
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
func (*PcloudIkepoliciesGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies get not found response has a 4xx status code
func (*PcloudIkepoliciesGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies get not found response a status code equal to that given
func (*PcloudIkepoliciesGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies get not found response has a 3xx status code
func (*PcloudIkepoliciesGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies get not found response has a 5xx status code
func (*PcloudIkepoliciesGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies get not found response has a 2xx status code
func (*PcloudIkepoliciesGetNotFound) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetOK) Code() int
Code gets the status code for the pcloud ikepolicies get o k response
func (*PcloudIkepoliciesGetOK) Error ¶
func (o *PcloudIkepoliciesGetOK) Error() string
func (*PcloudIkepoliciesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetOK) GetPayload() *models.IKEPolicy
func (*PcloudIkepoliciesGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetOK) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies get o k response has a 4xx status code
func (*PcloudIkepoliciesGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetOK) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies get o k response a status code equal to that given
func (*PcloudIkepoliciesGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies get o k response has a 3xx status code
func (*PcloudIkepoliciesGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetOK) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies get o k response has a 5xx status code
func (*PcloudIkepoliciesGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies get o k response has a 2xx status code
func (*PcloudIkepoliciesGetOK) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetOK) String() string
type PcloudIkepoliciesGetParams ¶
type PcloudIkepoliciesGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* IkePolicyID. ID of a IKE Policy */ IkePolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesGetParams contains all the parameters to send to the API endpoint
for the pcloud ikepolicies get operation. Typically these are written to a http.Request.
func NewPcloudIkepoliciesGetParams ¶
func NewPcloudIkepoliciesGetParams() *PcloudIkepoliciesGetParams
NewPcloudIkepoliciesGetParams creates a new PcloudIkepoliciesGetParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetUnauthorized) Code() int
Code gets the status code for the pcloud ikepolicies get unauthorized response
func (*PcloudIkepoliciesGetUnauthorized) Error ¶
func (o *PcloudIkepoliciesGetUnauthorized) Error() string
func (*PcloudIkepoliciesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetUnauthorized) GetPayload() *models.Error
func (*PcloudIkepoliciesGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies get unauthorized response has a 4xx status code
func (*PcloudIkepoliciesGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies get unauthorized response a status code equal to that given
func (*PcloudIkepoliciesGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies get unauthorized response has a 3xx status code
func (*PcloudIkepoliciesGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies get unauthorized response has a 5xx status code
func (*PcloudIkepoliciesGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies get unauthorized response has a 2xx status code
func (*PcloudIkepoliciesGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetUnprocessableEntity) Code() int
Code gets the status code for the pcloud ikepolicies get unprocessable entity response
func (*PcloudIkepoliciesGetUnprocessableEntity) Error ¶
func (o *PcloudIkepoliciesGetUnprocessableEntity) Error() string
func (*PcloudIkepoliciesGetUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetUnprocessableEntity) GetPayload() *models.Error
func (*PcloudIkepoliciesGetUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies get unprocessable entity response has a 4xx status code
func (*PcloudIkepoliciesGetUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies get unprocessable entity response a status code equal to that given
func (*PcloudIkepoliciesGetUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies get unprocessable entity response has a 3xx status code
func (*PcloudIkepoliciesGetUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies get unprocessable entity response has a 5xx status code
func (*PcloudIkepoliciesGetUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies get unprocessable entity response has a 2xx status code
func (*PcloudIkepoliciesGetUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetallBadRequest) Code() int
Code gets the status code for the pcloud ikepolicies getall bad request response
func (*PcloudIkepoliciesGetallBadRequest) Error ¶
func (o *PcloudIkepoliciesGetallBadRequest) Error() string
func (*PcloudIkepoliciesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallBadRequest) GetPayload() *models.Error
func (*PcloudIkepoliciesGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies getall bad request response has a 4xx status code
func (*PcloudIkepoliciesGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies getall bad request response a status code equal to that given
func (*PcloudIkepoliciesGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies getall bad request response has a 3xx status code
func (*PcloudIkepoliciesGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies getall bad request response has a 5xx status code
func (*PcloudIkepoliciesGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies getall bad request response has a 2xx status code
func (*PcloudIkepoliciesGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetallForbidden) Code() int
Code gets the status code for the pcloud ikepolicies getall forbidden response
func (*PcloudIkepoliciesGetallForbidden) Error ¶
func (o *PcloudIkepoliciesGetallForbidden) Error() string
func (*PcloudIkepoliciesGetallForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallForbidden) GetPayload() *models.Error
func (*PcloudIkepoliciesGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies getall forbidden response has a 4xx status code
func (*PcloudIkepoliciesGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies getall forbidden response a status code equal to that given
func (*PcloudIkepoliciesGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies getall forbidden response has a 3xx status code
func (*PcloudIkepoliciesGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies getall forbidden response has a 5xx status code
func (*PcloudIkepoliciesGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies getall forbidden response has a 2xx status code
func (*PcloudIkepoliciesGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetallInternalServerError) Code() int
Code gets the status code for the pcloud ikepolicies getall internal server error response
func (*PcloudIkepoliciesGetallInternalServerError) Error ¶
func (o *PcloudIkepoliciesGetallInternalServerError) Error() string
func (*PcloudIkepoliciesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallInternalServerError) GetPayload() *models.Error
func (*PcloudIkepoliciesGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies getall internal server error response has a 4xx status code
func (*PcloudIkepoliciesGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies getall internal server error response a status code equal to that given
func (*PcloudIkepoliciesGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies getall internal server error response has a 3xx status code
func (*PcloudIkepoliciesGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies getall internal server error response has a 5xx status code
func (*PcloudIkepoliciesGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies getall internal server error response has a 2xx status code
func (*PcloudIkepoliciesGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetallNotFound) Code() int
Code gets the status code for the pcloud ikepolicies getall not found response
func (*PcloudIkepoliciesGetallNotFound) Error ¶
func (o *PcloudIkepoliciesGetallNotFound) Error() string
func (*PcloudIkepoliciesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallNotFound) GetPayload() *models.Error
func (*PcloudIkepoliciesGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies getall not found response has a 4xx status code
func (*PcloudIkepoliciesGetallNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies getall not found response a status code equal to that given
func (*PcloudIkepoliciesGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies getall not found response has a 3xx status code
func (*PcloudIkepoliciesGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies getall not found response has a 5xx status code
func (*PcloudIkepoliciesGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies getall not found response has a 2xx status code
func (*PcloudIkepoliciesGetallNotFound) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetallOK) Code() int
Code gets the status code for the pcloud ikepolicies getall o k response
func (*PcloudIkepoliciesGetallOK) Error ¶
func (o *PcloudIkepoliciesGetallOK) Error() string
func (*PcloudIkepoliciesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallOK) GetPayload() *models.IKEPolicies
func (*PcloudIkepoliciesGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallOK) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies getall o k response has a 4xx status code
func (*PcloudIkepoliciesGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies getall o k response a status code equal to that given
func (*PcloudIkepoliciesGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies getall o k response has a 3xx status code
func (*PcloudIkepoliciesGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallOK) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies getall o k response has a 5xx status code
func (*PcloudIkepoliciesGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies getall o k response has a 2xx status code
func (*PcloudIkepoliciesGetallOK) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallOK) String() string
type PcloudIkepoliciesGetallParams ¶
type PcloudIkepoliciesGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesGetallParams contains all the parameters to send to the API endpoint
for the pcloud ikepolicies getall operation. Typically these are written to a http.Request.
func NewPcloudIkepoliciesGetallParams ¶
func NewPcloudIkepoliciesGetallParams() *PcloudIkepoliciesGetallParams
NewPcloudIkepoliciesGetallParams creates a new PcloudIkepoliciesGetallParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesGetallUnauthorized) Code() int
Code gets the status code for the pcloud ikepolicies getall unauthorized response
func (*PcloudIkepoliciesGetallUnauthorized) Error ¶
func (o *PcloudIkepoliciesGetallUnauthorized) Error() string
func (*PcloudIkepoliciesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesGetallUnauthorized) GetPayload() *models.Error
func (*PcloudIkepoliciesGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies getall unauthorized response has a 4xx status code
func (*PcloudIkepoliciesGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies getall unauthorized response a status code equal to that given
func (*PcloudIkepoliciesGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies getall unauthorized response has a 3xx status code
func (*PcloudIkepoliciesGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies getall unauthorized response has a 5xx status code
func (*PcloudIkepoliciesGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies getall unauthorized response has a 2xx status code
func (*PcloudIkepoliciesGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesGetallUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPostBadRequest) Code() int
Code gets the status code for the pcloud ikepolicies post bad request response
func (*PcloudIkepoliciesPostBadRequest) Error ¶
func (o *PcloudIkepoliciesPostBadRequest) Error() string
func (*PcloudIkepoliciesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostBadRequest) GetPayload() *models.Error
func (*PcloudIkepoliciesPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies post bad request response has a 4xx status code
func (*PcloudIkepoliciesPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies post bad request response a status code equal to that given
func (*PcloudIkepoliciesPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies post bad request response has a 3xx status code
func (*PcloudIkepoliciesPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies post bad request response has a 5xx status code
func (*PcloudIkepoliciesPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies post bad request response has a 2xx status code
func (*PcloudIkepoliciesPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPostConflict) Code() int
Code gets the status code for the pcloud ikepolicies post conflict response
func (*PcloudIkepoliciesPostConflict) Error ¶
func (o *PcloudIkepoliciesPostConflict) Error() string
func (*PcloudIkepoliciesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostConflict) GetPayload() *models.Error
func (*PcloudIkepoliciesPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostConflict) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies post conflict response has a 4xx status code
func (*PcloudIkepoliciesPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies post conflict response a status code equal to that given
func (*PcloudIkepoliciesPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies post conflict response has a 3xx status code
func (*PcloudIkepoliciesPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostConflict) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies post conflict response has a 5xx status code
func (*PcloudIkepoliciesPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies post conflict response has a 2xx status code
func (*PcloudIkepoliciesPostConflict) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostConflict) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPostForbidden) Code() int
Code gets the status code for the pcloud ikepolicies post forbidden response
func (*PcloudIkepoliciesPostForbidden) Error ¶
func (o *PcloudIkepoliciesPostForbidden) Error() string
func (*PcloudIkepoliciesPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostForbidden) GetPayload() *models.Error
func (*PcloudIkepoliciesPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies post forbidden response has a 4xx status code
func (*PcloudIkepoliciesPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies post forbidden response a status code equal to that given
func (*PcloudIkepoliciesPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies post forbidden response has a 3xx status code
func (*PcloudIkepoliciesPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies post forbidden response has a 5xx status code
func (*PcloudIkepoliciesPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies post forbidden response has a 2xx status code
func (*PcloudIkepoliciesPostForbidden) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPostInternalServerError) Code() int
Code gets the status code for the pcloud ikepolicies post internal server error response
func (*PcloudIkepoliciesPostInternalServerError) Error ¶
func (o *PcloudIkepoliciesPostInternalServerError) Error() string
func (*PcloudIkepoliciesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostInternalServerError) GetPayload() *models.Error
func (*PcloudIkepoliciesPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies post internal server error response has a 4xx status code
func (*PcloudIkepoliciesPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies post internal server error response a status code equal to that given
func (*PcloudIkepoliciesPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies post internal server error response has a 3xx status code
func (*PcloudIkepoliciesPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies post internal server error response has a 5xx status code
func (*PcloudIkepoliciesPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies post internal server error response has a 2xx status code
func (*PcloudIkepoliciesPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPostOK) Code() int
Code gets the status code for the pcloud ikepolicies post o k response
func (*PcloudIkepoliciesPostOK) Error ¶
func (o *PcloudIkepoliciesPostOK) Error() string
func (*PcloudIkepoliciesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostOK) GetPayload() *models.IKEPolicy
func (*PcloudIkepoliciesPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostOK) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies post o k response has a 4xx status code
func (*PcloudIkepoliciesPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostOK) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies post o k response a status code equal to that given
func (*PcloudIkepoliciesPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies post o k response has a 3xx status code
func (*PcloudIkepoliciesPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostOK) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies post o k response has a 5xx status code
func (*PcloudIkepoliciesPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies post o k response has a 2xx status code
func (*PcloudIkepoliciesPostOK) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostOK) String() string
type PcloudIkepoliciesPostParams ¶
type PcloudIkepoliciesPostParams struct { /* Body. Parameters for the creation of a new IKE Policy */ Body *models.IKEPolicyCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesPostParams contains all the parameters to send to the API endpoint
for the pcloud ikepolicies post operation. Typically these are written to a http.Request.
func NewPcloudIkepoliciesPostParams ¶
func NewPcloudIkepoliciesPostParams() *PcloudIkepoliciesPostParams
NewPcloudIkepoliciesPostParams creates a new PcloudIkepoliciesPostParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPostUnauthorized) Code() int
Code gets the status code for the pcloud ikepolicies post unauthorized response
func (*PcloudIkepoliciesPostUnauthorized) Error ¶
func (o *PcloudIkepoliciesPostUnauthorized) Error() string
func (*PcloudIkepoliciesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostUnauthorized) GetPayload() *models.Error
func (*PcloudIkepoliciesPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies post unauthorized response has a 4xx status code
func (*PcloudIkepoliciesPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies post unauthorized response a status code equal to that given
func (*PcloudIkepoliciesPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies post unauthorized response has a 3xx status code
func (*PcloudIkepoliciesPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies post unauthorized response has a 5xx status code
func (*PcloudIkepoliciesPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies post unauthorized response has a 2xx status code
func (*PcloudIkepoliciesPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud ikepolicies post unprocessable entity response
func (*PcloudIkepoliciesPostUnprocessableEntity) Error ¶
func (o *PcloudIkepoliciesPostUnprocessableEntity) Error() string
func (*PcloudIkepoliciesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudIkepoliciesPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies post unprocessable entity response has a 4xx status code
func (*PcloudIkepoliciesPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies post unprocessable entity response a status code equal to that given
func (*PcloudIkepoliciesPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies post unprocessable entity response has a 3xx status code
func (*PcloudIkepoliciesPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies post unprocessable entity response has a 5xx status code
func (*PcloudIkepoliciesPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies post unprocessable entity response has a 2xx status code
func (*PcloudIkepoliciesPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPostUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPutBadRequest) Code() int
Code gets the status code for the pcloud ikepolicies put bad request response
func (*PcloudIkepoliciesPutBadRequest) Error ¶
func (o *PcloudIkepoliciesPutBadRequest) Error() string
func (*PcloudIkepoliciesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutBadRequest) GetPayload() *models.Error
func (*PcloudIkepoliciesPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies put bad request response has a 4xx status code
func (*PcloudIkepoliciesPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies put bad request response a status code equal to that given
func (*PcloudIkepoliciesPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies put bad request response has a 3xx status code
func (*PcloudIkepoliciesPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies put bad request response has a 5xx status code
func (*PcloudIkepoliciesPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies put bad request response has a 2xx status code
func (*PcloudIkepoliciesPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPutForbidden) Code() int
Code gets the status code for the pcloud ikepolicies put forbidden response
func (*PcloudIkepoliciesPutForbidden) Error ¶
func (o *PcloudIkepoliciesPutForbidden) Error() string
func (*PcloudIkepoliciesPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutForbidden) GetPayload() *models.Error
func (*PcloudIkepoliciesPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies put forbidden response has a 4xx status code
func (*PcloudIkepoliciesPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies put forbidden response a status code equal to that given
func (*PcloudIkepoliciesPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies put forbidden response has a 3xx status code
func (*PcloudIkepoliciesPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies put forbidden response has a 5xx status code
func (*PcloudIkepoliciesPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies put forbidden response has a 2xx status code
func (*PcloudIkepoliciesPutForbidden) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPutInternalServerError) Code() int
Code gets the status code for the pcloud ikepolicies put internal server error response
func (*PcloudIkepoliciesPutInternalServerError) Error ¶
func (o *PcloudIkepoliciesPutInternalServerError) Error() string
func (*PcloudIkepoliciesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutInternalServerError) GetPayload() *models.Error
func (*PcloudIkepoliciesPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies put internal server error response has a 4xx status code
func (*PcloudIkepoliciesPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies put internal server error response a status code equal to that given
func (*PcloudIkepoliciesPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies put internal server error response has a 3xx status code
func (*PcloudIkepoliciesPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies put internal server error response has a 5xx status code
func (*PcloudIkepoliciesPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies put internal server error response has a 2xx status code
func (*PcloudIkepoliciesPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutInternalServerError) String() string
type PcloudIkepoliciesPutNotFound ¶ added in v1.4.2
PcloudIkepoliciesPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudIkepoliciesPutNotFound ¶ added in v1.4.2
func NewPcloudIkepoliciesPutNotFound() *PcloudIkepoliciesPutNotFound
NewPcloudIkepoliciesPutNotFound creates a PcloudIkepoliciesPutNotFound with default headers values
func (*PcloudIkepoliciesPutNotFound) Code ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) Code() int
Code gets the status code for the pcloud ikepolicies put not found response
func (*PcloudIkepoliciesPutNotFound) Error ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) Error() string
func (*PcloudIkepoliciesPutNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) GetPayload() *models.Error
func (*PcloudIkepoliciesPutNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies put not found response has a 4xx status code
func (*PcloudIkepoliciesPutNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies put not found response a status code equal to that given
func (*PcloudIkepoliciesPutNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies put not found response has a 3xx status code
func (*PcloudIkepoliciesPutNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies put not found response has a 5xx status code
func (*PcloudIkepoliciesPutNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies put not found response has a 2xx status code
func (*PcloudIkepoliciesPutNotFound) String ¶ added in v1.4.2
func (o *PcloudIkepoliciesPutNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPutOK) Code() int
Code gets the status code for the pcloud ikepolicies put o k response
func (*PcloudIkepoliciesPutOK) Error ¶
func (o *PcloudIkepoliciesPutOK) Error() string
func (*PcloudIkepoliciesPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutOK) GetPayload() *models.IKEPolicy
func (*PcloudIkepoliciesPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutOK) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies put o k response has a 4xx status code
func (*PcloudIkepoliciesPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutOK) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies put o k response a status code equal to that given
func (*PcloudIkepoliciesPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies put o k response has a 3xx status code
func (*PcloudIkepoliciesPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutOK) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies put o k response has a 5xx status code
func (*PcloudIkepoliciesPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies put o k response has a 2xx status code
func (*PcloudIkepoliciesPutOK) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutOK) String() string
type PcloudIkepoliciesPutParams ¶
type PcloudIkepoliciesPutParams struct { /* Body. Parameters for updating IKE Policy */ Body *models.IKEPolicyUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* IkePolicyID. ID of a IKE Policy */ IkePolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIkepoliciesPutParams contains all the parameters to send to the API endpoint
for the pcloud ikepolicies put operation. Typically these are written to a http.Request.
func NewPcloudIkepoliciesPutParams ¶
func NewPcloudIkepoliciesPutParams() *PcloudIkepoliciesPutParams
NewPcloudIkepoliciesPutParams creates a new PcloudIkepoliciesPutParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPutUnauthorized) Code() int
Code gets the status code for the pcloud ikepolicies put unauthorized response
func (*PcloudIkepoliciesPutUnauthorized) Error ¶
func (o *PcloudIkepoliciesPutUnauthorized) Error() string
func (*PcloudIkepoliciesPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutUnauthorized) GetPayload() *models.Error
func (*PcloudIkepoliciesPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies put unauthorized response has a 4xx status code
func (*PcloudIkepoliciesPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies put unauthorized response a status code equal to that given
func (*PcloudIkepoliciesPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies put unauthorized response has a 3xx status code
func (*PcloudIkepoliciesPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies put unauthorized response has a 5xx status code
func (*PcloudIkepoliciesPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies put unauthorized response has a 2xx status code
func (*PcloudIkepoliciesPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIkepoliciesPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud ikepolicies put unprocessable entity response
func (*PcloudIkepoliciesPutUnprocessableEntity) Error ¶
func (o *PcloudIkepoliciesPutUnprocessableEntity) Error() string
func (*PcloudIkepoliciesPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIkepoliciesPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudIkepoliciesPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud ikepolicies put unprocessable entity response has a 4xx status code
func (*PcloudIkepoliciesPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud ikepolicies put unprocessable entity response a status code equal to that given
func (*PcloudIkepoliciesPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud ikepolicies put unprocessable entity response has a 3xx status code
func (*PcloudIkepoliciesPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud ikepolicies put unprocessable entity response has a 5xx status code
func (*PcloudIkepoliciesPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud ikepolicies put unprocessable entity response has a 2xx status code
func (*PcloudIkepoliciesPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudIkepoliciesPutUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesDeleteBadRequest) Code() int
Code gets the status code for the pcloud ipsecpolicies delete bad request response
func (*PcloudIpsecpoliciesDeleteBadRequest) Error ¶
func (o *PcloudIpsecpoliciesDeleteBadRequest) Error() string
func (*PcloudIpsecpoliciesDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteBadRequest) GetPayload() *models.Error
func (*PcloudIpsecpoliciesDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies delete bad request response has a 4xx status code
func (*PcloudIpsecpoliciesDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies delete bad request response a status code equal to that given
func (*PcloudIpsecpoliciesDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies delete bad request response has a 3xx status code
func (*PcloudIpsecpoliciesDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies delete bad request response has a 5xx status code
func (*PcloudIpsecpoliciesDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies delete bad request response has a 2xx status code
func (*PcloudIpsecpoliciesDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesDeleteForbidden) Code() int
Code gets the status code for the pcloud ipsecpolicies delete forbidden response
func (*PcloudIpsecpoliciesDeleteForbidden) Error ¶
func (o *PcloudIpsecpoliciesDeleteForbidden) Error() string
func (*PcloudIpsecpoliciesDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteForbidden) GetPayload() *models.Error
func (*PcloudIpsecpoliciesDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies delete forbidden response has a 4xx status code
func (*PcloudIpsecpoliciesDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies delete forbidden response a status code equal to that given
func (*PcloudIpsecpoliciesDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies delete forbidden response has a 3xx status code
func (*PcloudIpsecpoliciesDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies delete forbidden response has a 5xx status code
func (*PcloudIpsecpoliciesDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies delete forbidden response has a 2xx status code
func (*PcloudIpsecpoliciesDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesDeleteInternalServerError) Code() int
Code gets the status code for the pcloud ipsecpolicies delete internal server error response
func (*PcloudIpsecpoliciesDeleteInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesDeleteInternalServerError) Error() string
func (*PcloudIpsecpoliciesDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudIpsecpoliciesDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies delete internal server error response has a 4xx status code
func (*PcloudIpsecpoliciesDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies delete internal server error response a status code equal to that given
func (*PcloudIpsecpoliciesDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies delete internal server error response has a 3xx status code
func (*PcloudIpsecpoliciesDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies delete internal server error response has a 5xx status code
func (*PcloudIpsecpoliciesDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies delete internal server error response has a 2xx status code
func (*PcloudIpsecpoliciesDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesDeleteNotFound) Code() int
Code gets the status code for the pcloud ipsecpolicies delete not found response
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
func (*PcloudIpsecpoliciesDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies delete not found response has a 4xx status code
func (*PcloudIpsecpoliciesDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies delete not found response a status code equal to that given
func (*PcloudIpsecpoliciesDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies delete not found response has a 3xx status code
func (*PcloudIpsecpoliciesDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies delete not found response has a 5xx status code
func (*PcloudIpsecpoliciesDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies delete not found response has a 2xx status code
func (*PcloudIpsecpoliciesDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesDeleteOK) Code() int
Code gets the status code for the pcloud ipsecpolicies delete o k response
func (*PcloudIpsecpoliciesDeleteOK) Error ¶
func (o *PcloudIpsecpoliciesDeleteOK) Error() string
func (*PcloudIpsecpoliciesDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteOK) GetPayload() models.Object
func (*PcloudIpsecpoliciesDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies delete o k response has a 4xx status code
func (*PcloudIpsecpoliciesDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies delete o k response a status code equal to that given
func (*PcloudIpsecpoliciesDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies delete o k response has a 3xx status code
func (*PcloudIpsecpoliciesDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies delete o k response has a 5xx status code
func (*PcloudIpsecpoliciesDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies delete o k response has a 2xx status code
func (*PcloudIpsecpoliciesDeleteOK) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteOK) String() string
type PcloudIpsecpoliciesDeleteParams ¶
type PcloudIpsecpoliciesDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* IpsecPolicyID. ID of a IPSec Policy */ IpsecPolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesDeleteParams contains all the parameters to send to the API endpoint
for the pcloud ipsecpolicies delete operation. Typically these are written to a http.Request.
func NewPcloudIpsecpoliciesDeleteParams ¶
func NewPcloudIpsecpoliciesDeleteParams() *PcloudIpsecpoliciesDeleteParams
NewPcloudIpsecpoliciesDeleteParams creates a new PcloudIpsecpoliciesDeleteParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesDeleteUnauthorized) Code() int
Code gets the status code for the pcloud ipsecpolicies delete unauthorized response
func (*PcloudIpsecpoliciesDeleteUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesDeleteUnauthorized) Error() string
func (*PcloudIpsecpoliciesDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudIpsecpoliciesDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies delete unauthorized response has a 4xx status code
func (*PcloudIpsecpoliciesDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies delete unauthorized response a status code equal to that given
func (*PcloudIpsecpoliciesDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies delete unauthorized response has a 3xx status code
func (*PcloudIpsecpoliciesDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies delete unauthorized response has a 5xx status code
func (*PcloudIpsecpoliciesDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies delete unauthorized response has a 2xx status code
func (*PcloudIpsecpoliciesDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesDeleteUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetBadRequest) Code() int
Code gets the status code for the pcloud ipsecpolicies get bad request response
func (*PcloudIpsecpoliciesGetBadRequest) Error ¶
func (o *PcloudIpsecpoliciesGetBadRequest) Error() string
func (*PcloudIpsecpoliciesGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetBadRequest) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies get bad request response has a 4xx status code
func (*PcloudIpsecpoliciesGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies get bad request response a status code equal to that given
func (*PcloudIpsecpoliciesGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies get bad request response has a 3xx status code
func (*PcloudIpsecpoliciesGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies get bad request response has a 5xx status code
func (*PcloudIpsecpoliciesGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies get bad request response has a 2xx status code
func (*PcloudIpsecpoliciesGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetForbidden) Code() int
Code gets the status code for the pcloud ipsecpolicies get forbidden response
func (*PcloudIpsecpoliciesGetForbidden) Error ¶
func (o *PcloudIpsecpoliciesGetForbidden) Error() string
func (*PcloudIpsecpoliciesGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetForbidden) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies get forbidden response has a 4xx status code
func (*PcloudIpsecpoliciesGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies get forbidden response a status code equal to that given
func (*PcloudIpsecpoliciesGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies get forbidden response has a 3xx status code
func (*PcloudIpsecpoliciesGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies get forbidden response has a 5xx status code
func (*PcloudIpsecpoliciesGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies get forbidden response has a 2xx status code
func (*PcloudIpsecpoliciesGetForbidden) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetInternalServerError) Code() int
Code gets the status code for the pcloud ipsecpolicies get internal server error response
func (*PcloudIpsecpoliciesGetInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesGetInternalServerError) Error() string
func (*PcloudIpsecpoliciesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetInternalServerError) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies get internal server error response has a 4xx status code
func (*PcloudIpsecpoliciesGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies get internal server error response a status code equal to that given
func (*PcloudIpsecpoliciesGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies get internal server error response has a 3xx status code
func (*PcloudIpsecpoliciesGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies get internal server error response has a 5xx status code
func (*PcloudIpsecpoliciesGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies get internal server error response has a 2xx status code
func (*PcloudIpsecpoliciesGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetNotFound) Code() int
Code gets the status code for the pcloud ipsecpolicies get not found response
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
func (*PcloudIpsecpoliciesGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies get not found response has a 4xx status code
func (*PcloudIpsecpoliciesGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies get not found response a status code equal to that given
func (*PcloudIpsecpoliciesGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies get not found response has a 3xx status code
func (*PcloudIpsecpoliciesGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies get not found response has a 5xx status code
func (*PcloudIpsecpoliciesGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies get not found response has a 2xx status code
func (*PcloudIpsecpoliciesGetNotFound) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetOK) Code() int
Code gets the status code for the pcloud ipsecpolicies get o k response
func (*PcloudIpsecpoliciesGetOK) Error ¶
func (o *PcloudIpsecpoliciesGetOK) Error() string
func (*PcloudIpsecpoliciesGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetOK) GetPayload() *models.IPSecPolicy
func (*PcloudIpsecpoliciesGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetOK) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies get o k response has a 4xx status code
func (*PcloudIpsecpoliciesGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetOK) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies get o k response a status code equal to that given
func (*PcloudIpsecpoliciesGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies get o k response has a 3xx status code
func (*PcloudIpsecpoliciesGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetOK) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies get o k response has a 5xx status code
func (*PcloudIpsecpoliciesGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies get o k response has a 2xx status code
func (*PcloudIpsecpoliciesGetOK) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetOK) String() string
type PcloudIpsecpoliciesGetParams ¶
type PcloudIpsecpoliciesGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* IpsecPolicyID. ID of a IPSec Policy */ IpsecPolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesGetParams contains all the parameters to send to the API endpoint
for the pcloud ipsecpolicies get operation. Typically these are written to a http.Request.
func NewPcloudIpsecpoliciesGetParams ¶
func NewPcloudIpsecpoliciesGetParams() *PcloudIpsecpoliciesGetParams
NewPcloudIpsecpoliciesGetParams creates a new PcloudIpsecpoliciesGetParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetUnauthorized) Code() int
Code gets the status code for the pcloud ipsecpolicies get unauthorized response
func (*PcloudIpsecpoliciesGetUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesGetUnauthorized) Error() string
func (*PcloudIpsecpoliciesGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetUnauthorized) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies get unauthorized response has a 4xx status code
func (*PcloudIpsecpoliciesGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies get unauthorized response a status code equal to that given
func (*PcloudIpsecpoliciesGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies get unauthorized response has a 3xx status code
func (*PcloudIpsecpoliciesGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies get unauthorized response has a 5xx status code
func (*PcloudIpsecpoliciesGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies get unauthorized response has a 2xx status code
func (*PcloudIpsecpoliciesGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) Code() int
Code gets the status code for the pcloud ipsecpolicies get unprocessable entity response
func (*PcloudIpsecpoliciesGetUnprocessableEntity) Error ¶
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) Error() string
func (*PcloudIpsecpoliciesGetUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies get unprocessable entity response has a 4xx status code
func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies get unprocessable entity response a status code equal to that given
func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies get unprocessable entity response has a 3xx status code
func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies get unprocessable entity response has a 5xx status code
func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies get unprocessable entity response has a 2xx status code
func (*PcloudIpsecpoliciesGetUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetallBadRequest) Code() int
Code gets the status code for the pcloud ipsecpolicies getall bad request response
func (*PcloudIpsecpoliciesGetallBadRequest) Error ¶
func (o *PcloudIpsecpoliciesGetallBadRequest) Error() string
func (*PcloudIpsecpoliciesGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallBadRequest) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies getall bad request response has a 4xx status code
func (*PcloudIpsecpoliciesGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies getall bad request response a status code equal to that given
func (*PcloudIpsecpoliciesGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies getall bad request response has a 3xx status code
func (*PcloudIpsecpoliciesGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies getall bad request response has a 5xx status code
func (*PcloudIpsecpoliciesGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies getall bad request response has a 2xx status code
func (*PcloudIpsecpoliciesGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetallForbidden) Code() int
Code gets the status code for the pcloud ipsecpolicies getall forbidden response
func (*PcloudIpsecpoliciesGetallForbidden) Error ¶
func (o *PcloudIpsecpoliciesGetallForbidden) Error() string
func (*PcloudIpsecpoliciesGetallForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallForbidden) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies getall forbidden response has a 4xx status code
func (*PcloudIpsecpoliciesGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies getall forbidden response a status code equal to that given
func (*PcloudIpsecpoliciesGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies getall forbidden response has a 3xx status code
func (*PcloudIpsecpoliciesGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies getall forbidden response has a 5xx status code
func (*PcloudIpsecpoliciesGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies getall forbidden response has a 2xx status code
func (*PcloudIpsecpoliciesGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetallInternalServerError) Code() int
Code gets the status code for the pcloud ipsecpolicies getall internal server error response
func (*PcloudIpsecpoliciesGetallInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesGetallInternalServerError) Error() string
func (*PcloudIpsecpoliciesGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallInternalServerError) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies getall internal server error response has a 4xx status code
func (*PcloudIpsecpoliciesGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies getall internal server error response a status code equal to that given
func (*PcloudIpsecpoliciesGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies getall internal server error response has a 3xx status code
func (*PcloudIpsecpoliciesGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies getall internal server error response has a 5xx status code
func (*PcloudIpsecpoliciesGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies getall internal server error response has a 2xx status code
func (*PcloudIpsecpoliciesGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetallNotFound) Code() int
Code gets the status code for the pcloud ipsecpolicies getall not found response
func (*PcloudIpsecpoliciesGetallNotFound) Error ¶
func (o *PcloudIpsecpoliciesGetallNotFound) Error() string
func (*PcloudIpsecpoliciesGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallNotFound) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies getall not found response has a 4xx status code
func (*PcloudIpsecpoliciesGetallNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies getall not found response a status code equal to that given
func (*PcloudIpsecpoliciesGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies getall not found response has a 3xx status code
func (*PcloudIpsecpoliciesGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies getall not found response has a 5xx status code
func (*PcloudIpsecpoliciesGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies getall not found response has a 2xx status code
func (*PcloudIpsecpoliciesGetallNotFound) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetallOK) Code() int
Code gets the status code for the pcloud ipsecpolicies getall o k response
func (*PcloudIpsecpoliciesGetallOK) Error ¶
func (o *PcloudIpsecpoliciesGetallOK) Error() string
func (*PcloudIpsecpoliciesGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallOK) GetPayload() *models.IPSecPolicies
func (*PcloudIpsecpoliciesGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallOK) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies getall o k response has a 4xx status code
func (*PcloudIpsecpoliciesGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies getall o k response a status code equal to that given
func (*PcloudIpsecpoliciesGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies getall o k response has a 3xx status code
func (*PcloudIpsecpoliciesGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallOK) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies getall o k response has a 5xx status code
func (*PcloudIpsecpoliciesGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies getall o k response has a 2xx status code
func (*PcloudIpsecpoliciesGetallOK) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallOK) String() string
type PcloudIpsecpoliciesGetallParams ¶
type PcloudIpsecpoliciesGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesGetallParams contains all the parameters to send to the API endpoint
for the pcloud ipsecpolicies getall operation. Typically these are written to a http.Request.
func NewPcloudIpsecpoliciesGetallParams ¶
func NewPcloudIpsecpoliciesGetallParams() *PcloudIpsecpoliciesGetallParams
NewPcloudIpsecpoliciesGetallParams creates a new PcloudIpsecpoliciesGetallParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesGetallUnauthorized) Code() int
Code gets the status code for the pcloud ipsecpolicies getall unauthorized response
func (*PcloudIpsecpoliciesGetallUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesGetallUnauthorized) Error() string
func (*PcloudIpsecpoliciesGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesGetallUnauthorized) GetPayload() *models.Error
func (*PcloudIpsecpoliciesGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies getall unauthorized response has a 4xx status code
func (*PcloudIpsecpoliciesGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies getall unauthorized response a status code equal to that given
func (*PcloudIpsecpoliciesGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies getall unauthorized response has a 3xx status code
func (*PcloudIpsecpoliciesGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies getall unauthorized response has a 5xx status code
func (*PcloudIpsecpoliciesGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies getall unauthorized response has a 2xx status code
func (*PcloudIpsecpoliciesGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesGetallUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPostBadRequest) Code() int
Code gets the status code for the pcloud ipsecpolicies post bad request response
func (*PcloudIpsecpoliciesPostBadRequest) Error ¶
func (o *PcloudIpsecpoliciesPostBadRequest) Error() string
func (*PcloudIpsecpoliciesPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostBadRequest) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post bad request response has a 4xx status code
func (*PcloudIpsecpoliciesPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post bad request response a status code equal to that given
func (*PcloudIpsecpoliciesPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post bad request response has a 3xx status code
func (*PcloudIpsecpoliciesPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post bad request response has a 5xx status code
func (*PcloudIpsecpoliciesPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post bad request response has a 2xx status code
func (*PcloudIpsecpoliciesPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPostConflict) Code() int
Code gets the status code for the pcloud ipsecpolicies post conflict response
func (*PcloudIpsecpoliciesPostConflict) Error ¶
func (o *PcloudIpsecpoliciesPostConflict) Error() string
func (*PcloudIpsecpoliciesPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostConflict) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostConflict) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post conflict response has a 4xx status code
func (*PcloudIpsecpoliciesPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post conflict response a status code equal to that given
func (*PcloudIpsecpoliciesPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post conflict response has a 3xx status code
func (*PcloudIpsecpoliciesPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostConflict) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post conflict response has a 5xx status code
func (*PcloudIpsecpoliciesPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post conflict response has a 2xx status code
func (*PcloudIpsecpoliciesPostConflict) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostConflict) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPostForbidden) Code() int
Code gets the status code for the pcloud ipsecpolicies post forbidden response
func (*PcloudIpsecpoliciesPostForbidden) Error ¶
func (o *PcloudIpsecpoliciesPostForbidden) Error() string
func (*PcloudIpsecpoliciesPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostForbidden) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post forbidden response has a 4xx status code
func (*PcloudIpsecpoliciesPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post forbidden response a status code equal to that given
func (*PcloudIpsecpoliciesPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post forbidden response has a 3xx status code
func (*PcloudIpsecpoliciesPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post forbidden response has a 5xx status code
func (*PcloudIpsecpoliciesPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post forbidden response has a 2xx status code
func (*PcloudIpsecpoliciesPostForbidden) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPostInternalServerError) Code() int
Code gets the status code for the pcloud ipsecpolicies post internal server error response
func (*PcloudIpsecpoliciesPostInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesPostInternalServerError) Error() string
func (*PcloudIpsecpoliciesPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostInternalServerError) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post internal server error response has a 4xx status code
func (*PcloudIpsecpoliciesPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post internal server error response a status code equal to that given
func (*PcloudIpsecpoliciesPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post internal server error response has a 3xx status code
func (*PcloudIpsecpoliciesPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post internal server error response has a 5xx status code
func (*PcloudIpsecpoliciesPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post internal server error response has a 2xx status code
func (*PcloudIpsecpoliciesPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostInternalServerError) String() string
type PcloudIpsecpoliciesPostNotFound ¶ added in v1.4.2
PcloudIpsecpoliciesPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudIpsecpoliciesPostNotFound ¶ added in v1.4.2
func NewPcloudIpsecpoliciesPostNotFound() *PcloudIpsecpoliciesPostNotFound
NewPcloudIpsecpoliciesPostNotFound creates a PcloudIpsecpoliciesPostNotFound with default headers values
func (*PcloudIpsecpoliciesPostNotFound) Code ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) Code() int
Code gets the status code for the pcloud ipsecpolicies post not found response
func (*PcloudIpsecpoliciesPostNotFound) Error ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) Error() string
func (*PcloudIpsecpoliciesPostNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPostNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post not found response has a 4xx status code
func (*PcloudIpsecpoliciesPostNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post not found response a status code equal to that given
func (*PcloudIpsecpoliciesPostNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post not found response has a 3xx status code
func (*PcloudIpsecpoliciesPostNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post not found response has a 5xx status code
func (*PcloudIpsecpoliciesPostNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post not found response has a 2xx status code
func (*PcloudIpsecpoliciesPostNotFound) String ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPostNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPostOK) Code() int
Code gets the status code for the pcloud ipsecpolicies post o k response
func (*PcloudIpsecpoliciesPostOK) Error ¶
func (o *PcloudIpsecpoliciesPostOK) Error() string
func (*PcloudIpsecpoliciesPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostOK) GetPayload() *models.IPSecPolicy
func (*PcloudIpsecpoliciesPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostOK) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post o k response has a 4xx status code
func (*PcloudIpsecpoliciesPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostOK) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post o k response a status code equal to that given
func (*PcloudIpsecpoliciesPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post o k response has a 3xx status code
func (*PcloudIpsecpoliciesPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostOK) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post o k response has a 5xx status code
func (*PcloudIpsecpoliciesPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post o k response has a 2xx status code
func (*PcloudIpsecpoliciesPostOK) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostOK) String() string
type PcloudIpsecpoliciesPostParams ¶
type PcloudIpsecpoliciesPostParams struct { /* Body. Parameters for the creation of a new IPSec Policy */ Body *models.IPSecPolicyCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesPostParams contains all the parameters to send to the API endpoint
for the pcloud ipsecpolicies post operation. Typically these are written to a http.Request.
func NewPcloudIpsecpoliciesPostParams ¶
func NewPcloudIpsecpoliciesPostParams() *PcloudIpsecpoliciesPostParams
NewPcloudIpsecpoliciesPostParams creates a new PcloudIpsecpoliciesPostParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPostUnauthorized) Code() int
Code gets the status code for the pcloud ipsecpolicies post unauthorized response
func (*PcloudIpsecpoliciesPostUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesPostUnauthorized) Error() string
func (*PcloudIpsecpoliciesPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostUnauthorized) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post unauthorized response has a 4xx status code
func (*PcloudIpsecpoliciesPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post unauthorized response a status code equal to that given
func (*PcloudIpsecpoliciesPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post unauthorized response has a 3xx status code
func (*PcloudIpsecpoliciesPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post unauthorized response has a 5xx status code
func (*PcloudIpsecpoliciesPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post unauthorized response has a 2xx status code
func (*PcloudIpsecpoliciesPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud ipsecpolicies post unprocessable entity response
func (*PcloudIpsecpoliciesPostUnprocessableEntity) Error ¶
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) Error() string
func (*PcloudIpsecpoliciesPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies post unprocessable entity response has a 4xx status code
func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies post unprocessable entity response a status code equal to that given
func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies post unprocessable entity response has a 3xx status code
func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies post unprocessable entity response has a 5xx status code
func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies post unprocessable entity response has a 2xx status code
func (*PcloudIpsecpoliciesPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPostUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPutBadRequest) Code() int
Code gets the status code for the pcloud ipsecpolicies put bad request response
func (*PcloudIpsecpoliciesPutBadRequest) Error ¶
func (o *PcloudIpsecpoliciesPutBadRequest) Error() string
func (*PcloudIpsecpoliciesPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutBadRequest) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put bad request response has a 4xx status code
func (*PcloudIpsecpoliciesPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put bad request response a status code equal to that given
func (*PcloudIpsecpoliciesPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put bad request response has a 3xx status code
func (*PcloudIpsecpoliciesPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put bad request response has a 5xx status code
func (*PcloudIpsecpoliciesPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put bad request response has a 2xx status code
func (*PcloudIpsecpoliciesPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPutConflict) Code() int
Code gets the status code for the pcloud ipsecpolicies put conflict response
func (*PcloudIpsecpoliciesPutConflict) Error ¶
func (o *PcloudIpsecpoliciesPutConflict) Error() string
func (*PcloudIpsecpoliciesPutConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutConflict) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPutConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutConflict) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put conflict response has a 4xx status code
func (*PcloudIpsecpoliciesPutConflict) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutConflict) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put conflict response a status code equal to that given
func (*PcloudIpsecpoliciesPutConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutConflict) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put conflict response has a 3xx status code
func (*PcloudIpsecpoliciesPutConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutConflict) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put conflict response has a 5xx status code
func (*PcloudIpsecpoliciesPutConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutConflict) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put conflict response has a 2xx status code
func (*PcloudIpsecpoliciesPutConflict) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutConflict) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPutForbidden) Code() int
Code gets the status code for the pcloud ipsecpolicies put forbidden response
func (*PcloudIpsecpoliciesPutForbidden) Error ¶
func (o *PcloudIpsecpoliciesPutForbidden) Error() string
func (*PcloudIpsecpoliciesPutForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutForbidden) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put forbidden response has a 4xx status code
func (*PcloudIpsecpoliciesPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put forbidden response a status code equal to that given
func (*PcloudIpsecpoliciesPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put forbidden response has a 3xx status code
func (*PcloudIpsecpoliciesPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put forbidden response has a 5xx status code
func (*PcloudIpsecpoliciesPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put forbidden response has a 2xx status code
func (*PcloudIpsecpoliciesPutForbidden) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPutInternalServerError) Code() int
Code gets the status code for the pcloud ipsecpolicies put internal server error response
func (*PcloudIpsecpoliciesPutInternalServerError) Error ¶
func (o *PcloudIpsecpoliciesPutInternalServerError) Error() string
func (*PcloudIpsecpoliciesPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutInternalServerError) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put internal server error response has a 4xx status code
func (*PcloudIpsecpoliciesPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put internal server error response a status code equal to that given
func (*PcloudIpsecpoliciesPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put internal server error response has a 3xx status code
func (*PcloudIpsecpoliciesPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put internal server error response has a 5xx status code
func (*PcloudIpsecpoliciesPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put internal server error response has a 2xx status code
func (*PcloudIpsecpoliciesPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutInternalServerError) String() string
type PcloudIpsecpoliciesPutNotFound ¶ added in v1.4.2
PcloudIpsecpoliciesPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudIpsecpoliciesPutNotFound ¶ added in v1.4.2
func NewPcloudIpsecpoliciesPutNotFound() *PcloudIpsecpoliciesPutNotFound
NewPcloudIpsecpoliciesPutNotFound creates a PcloudIpsecpoliciesPutNotFound with default headers values
func (*PcloudIpsecpoliciesPutNotFound) Code ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) Code() int
Code gets the status code for the pcloud ipsecpolicies put not found response
func (*PcloudIpsecpoliciesPutNotFound) Error ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) Error() string
func (*PcloudIpsecpoliciesPutNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPutNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put not found response has a 4xx status code
func (*PcloudIpsecpoliciesPutNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put not found response a status code equal to that given
func (*PcloudIpsecpoliciesPutNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put not found response has a 3xx status code
func (*PcloudIpsecpoliciesPutNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put not found response has a 5xx status code
func (*PcloudIpsecpoliciesPutNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put not found response has a 2xx status code
func (*PcloudIpsecpoliciesPutNotFound) String ¶ added in v1.4.2
func (o *PcloudIpsecpoliciesPutNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPutOK) Code() int
Code gets the status code for the pcloud ipsecpolicies put o k response
func (*PcloudIpsecpoliciesPutOK) Error ¶
func (o *PcloudIpsecpoliciesPutOK) Error() string
func (*PcloudIpsecpoliciesPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutOK) GetPayload() *models.IPSecPolicy
func (*PcloudIpsecpoliciesPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutOK) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put o k response has a 4xx status code
func (*PcloudIpsecpoliciesPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutOK) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put o k response a status code equal to that given
func (*PcloudIpsecpoliciesPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put o k response has a 3xx status code
func (*PcloudIpsecpoliciesPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutOK) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put o k response has a 5xx status code
func (*PcloudIpsecpoliciesPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put o k response has a 2xx status code
func (*PcloudIpsecpoliciesPutOK) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutOK) String() string
type PcloudIpsecpoliciesPutParams ¶
type PcloudIpsecpoliciesPutParams struct { /* Body. Parameters for the update of an IPSec Policy */ Body *models.IPSecPolicyUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* IpsecPolicyID. ID of a IPSec Policy */ IpsecPolicyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudIpsecpoliciesPutParams contains all the parameters to send to the API endpoint
for the pcloud ipsecpolicies put operation. Typically these are written to a http.Request.
func NewPcloudIpsecpoliciesPutParams ¶
func NewPcloudIpsecpoliciesPutParams() *PcloudIpsecpoliciesPutParams
NewPcloudIpsecpoliciesPutParams creates a new PcloudIpsecpoliciesPutParams object, with the default 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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPutUnauthorized) Code() int
Code gets the status code for the pcloud ipsecpolicies put unauthorized response
func (*PcloudIpsecpoliciesPutUnauthorized) Error ¶
func (o *PcloudIpsecpoliciesPutUnauthorized) Error() string
func (*PcloudIpsecpoliciesPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutUnauthorized) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put unauthorized response has a 4xx status code
func (*PcloudIpsecpoliciesPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put unauthorized response a status code equal to that given
func (*PcloudIpsecpoliciesPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put unauthorized response has a 3xx status code
func (*PcloudIpsecpoliciesPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put unauthorized response has a 5xx status code
func (*PcloudIpsecpoliciesPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put unauthorized response has a 2xx status code
func (*PcloudIpsecpoliciesPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud ipsecpolicies put unprocessable entity response
func (*PcloudIpsecpoliciesPutUnprocessableEntity) Error ¶
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) Error() string
func (*PcloudIpsecpoliciesPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud ipsecpolicies put unprocessable entity response has a 4xx status code
func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud ipsecpolicies put unprocessable entity response a status code equal to that given
func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud ipsecpolicies put unprocessable entity response has a 3xx status code
func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud ipsecpolicies put unprocessable entity response has a 5xx status code
func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud ipsecpolicies put unprocessable entity response has a 2xx status code
func (*PcloudIpsecpoliciesPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudIpsecpoliciesPutUnprocessableEntity) String() string
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