p_cloud_v_p_n_policies

package
v1.0.85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for p cloud v p n policies API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new p cloud v p n policies API client.

func (*Client) PcloudIkepoliciesDelete

func (a *Client) PcloudIkepoliciesDelete(params *PcloudIkepoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesDeleteOK, error)

PcloudIkepoliciesDelete deletes i k e policy

Delete an IKE Policy (by its unique identifier)

func (*Client) PcloudIkepoliciesGet

func (a *Client) PcloudIkepoliciesGet(params *PcloudIkepoliciesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesGetOK, error)

PcloudIkepoliciesGet gets the specified i k e policy

Get an IKE Policy (by its unique identifier)

func (*Client) PcloudIkepoliciesGetall

func (a *Client) PcloudIkepoliciesGetall(params *PcloudIkepoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesGetallOK, error)

PcloudIkepoliciesGetall gets all i k e policies

List all IKE Policies with all attributes

func (*Client) PcloudIkepoliciesPost

func (a *Client) PcloudIkepoliciesPost(params *PcloudIkepoliciesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesPostOK, error)

PcloudIkepoliciesPost adds i k e policy

Add a new IKE Policy

func (*Client) PcloudIkepoliciesPut

func (a *Client) PcloudIkepoliciesPut(params *PcloudIkepoliciesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIkepoliciesPutOK, error)

PcloudIkepoliciesPut updates i k e policy

update an IKE Policy (by its unique identifier)

func (*Client) PcloudIpsecpoliciesDelete

func (a *Client) PcloudIpsecpoliciesDelete(params *PcloudIpsecpoliciesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesDeleteOK, error)

PcloudIpsecpoliciesDelete deletes IP sec policy

Delete an IPSec Policy (by its unique identifier)

func (*Client) PcloudIpsecpoliciesGet

func (a *Client) PcloudIpsecpoliciesGet(params *PcloudIpsecpoliciesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesGetOK, error)

PcloudIpsecpoliciesGet gets the specified IP sec policy

Get an IPSec Policy (by its unique identifier)

func (*Client) PcloudIpsecpoliciesGetall

func (a *Client) PcloudIpsecpoliciesGetall(params *PcloudIpsecpoliciesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesGetallOK, error)

PcloudIpsecpoliciesGetall gets all IP sec policies

Get all IPSec Policies with all their attributes

func (*Client) PcloudIpsecpoliciesPost

func (a *Client) PcloudIpsecpoliciesPost(params *PcloudIpsecpoliciesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesPostOK, error)

PcloudIpsecpoliciesPost adds IP sec policy

Add a new IPSec Policy

func (*Client) PcloudIpsecpoliciesPut

func (a *Client) PcloudIpsecpoliciesPut(params *PcloudIpsecpoliciesPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudIpsecpoliciesPutOK, error)

PcloudIpsecpoliciesPut updates IP sec policy

update an IPSec Policy

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type PcloudIkepoliciesDeleteBadRequest

type PcloudIkepoliciesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudIkepoliciesDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudIkepoliciesDeleteBadRequest

func NewPcloudIkepoliciesDeleteBadRequest() *PcloudIkepoliciesDeleteBadRequest

NewPcloudIkepoliciesDeleteBadRequest creates a PcloudIkepoliciesDeleteBadRequest with default headers values

func (*PcloudIkepoliciesDeleteBadRequest) Error

type PcloudIkepoliciesDeleteForbidden

type PcloudIkepoliciesDeleteForbidden struct {
	Payload *models.Error
}

PcloudIkepoliciesDeleteForbidden handles this case with default header values.

Forbidden

func NewPcloudIkepoliciesDeleteForbidden

func NewPcloudIkepoliciesDeleteForbidden() *PcloudIkepoliciesDeleteForbidden

NewPcloudIkepoliciesDeleteForbidden creates a PcloudIkepoliciesDeleteForbidden with default headers values

func (*PcloudIkepoliciesDeleteForbidden) Error

type PcloudIkepoliciesDeleteInternalServerError

type PcloudIkepoliciesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudIkepoliciesDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIkepoliciesDeleteInternalServerError

func NewPcloudIkepoliciesDeleteInternalServerError() *PcloudIkepoliciesDeleteInternalServerError

NewPcloudIkepoliciesDeleteInternalServerError creates a PcloudIkepoliciesDeleteInternalServerError with default headers values

func (*PcloudIkepoliciesDeleteInternalServerError) Error

type PcloudIkepoliciesDeleteOK

type PcloudIkepoliciesDeleteOK struct {
	Payload models.Object
}

PcloudIkepoliciesDeleteOK handles this case with default header values.

OK

func NewPcloudIkepoliciesDeleteOK

func NewPcloudIkepoliciesDeleteOK() *PcloudIkepoliciesDeleteOK

NewPcloudIkepoliciesDeleteOK creates a PcloudIkepoliciesDeleteOK with default headers values

func (*PcloudIkepoliciesDeleteOK) Error

func (o *PcloudIkepoliciesDeleteOK) Error() string

type PcloudIkepoliciesDeleteParams

type PcloudIkepoliciesDeleteParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*IkePolicyID
	  ID of a IKE Policy

	*/
	IkePolicyID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIkepoliciesDeleteParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies delete operation typically these are written to a http.Request

func NewPcloudIkepoliciesDeleteParams

func NewPcloudIkepoliciesDeleteParams() *PcloudIkepoliciesDeleteParams

NewPcloudIkepoliciesDeleteParams creates a new PcloudIkepoliciesDeleteParams object with the default values initialized.

func NewPcloudIkepoliciesDeleteParamsWithContext

func NewPcloudIkepoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIkepoliciesDeleteParams

NewPcloudIkepoliciesDeleteParamsWithContext creates a new PcloudIkepoliciesDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIkepoliciesDeleteParamsWithHTTPClient

func NewPcloudIkepoliciesDeleteParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesDeleteParams

NewPcloudIkepoliciesDeleteParamsWithHTTPClient creates a new PcloudIkepoliciesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIkepoliciesDeleteParamsWithTimeout

func NewPcloudIkepoliciesDeleteParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesDeleteParams

NewPcloudIkepoliciesDeleteParamsWithTimeout creates a new PcloudIkepoliciesDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIkepoliciesDeleteParams) SetCloudInstanceID

func (o *PcloudIkepoliciesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) SetContext

func (o *PcloudIkepoliciesDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) SetHTTPClient

func (o *PcloudIkepoliciesDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) SetIkePolicyID

func (o *PcloudIkepoliciesDeleteParams) SetIkePolicyID(ikePolicyID string)

SetIkePolicyID adds the ikePolicyId to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) SetTimeout

func (o *PcloudIkepoliciesDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) WithCloudInstanceID

func (o *PcloudIkepoliciesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) WithContext

WithContext adds the context to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIkepoliciesDeleteUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIkepoliciesDeleteUnauthorized

func NewPcloudIkepoliciesDeleteUnauthorized() *PcloudIkepoliciesDeleteUnauthorized

NewPcloudIkepoliciesDeleteUnauthorized creates a PcloudIkepoliciesDeleteUnauthorized with default headers values

func (*PcloudIkepoliciesDeleteUnauthorized) Error

type PcloudIkepoliciesGetBadRequest

type PcloudIkepoliciesGetBadRequest struct {
	Payload *models.Error
}

PcloudIkepoliciesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudIkepoliciesGetBadRequest

func NewPcloudIkepoliciesGetBadRequest() *PcloudIkepoliciesGetBadRequest

NewPcloudIkepoliciesGetBadRequest creates a PcloudIkepoliciesGetBadRequest with default headers values

func (*PcloudIkepoliciesGetBadRequest) Error

type PcloudIkepoliciesGetForbidden

type PcloudIkepoliciesGetForbidden struct {
	Payload *models.Error
}

PcloudIkepoliciesGetForbidden handles this case with default header values.

Forbidden

func NewPcloudIkepoliciesGetForbidden

func NewPcloudIkepoliciesGetForbidden() *PcloudIkepoliciesGetForbidden

NewPcloudIkepoliciesGetForbidden creates a PcloudIkepoliciesGetForbidden with default headers values

func (*PcloudIkepoliciesGetForbidden) Error

type PcloudIkepoliciesGetInternalServerError

type PcloudIkepoliciesGetInternalServerError struct {
	Payload *models.Error
}

PcloudIkepoliciesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIkepoliciesGetInternalServerError

func NewPcloudIkepoliciesGetInternalServerError() *PcloudIkepoliciesGetInternalServerError

NewPcloudIkepoliciesGetInternalServerError creates a PcloudIkepoliciesGetInternalServerError with default headers values

func (*PcloudIkepoliciesGetInternalServerError) Error

type PcloudIkepoliciesGetOK

type PcloudIkepoliciesGetOK struct {
	Payload *models.IKEPolicy
}

PcloudIkepoliciesGetOK handles this case with default header values.

OK

func NewPcloudIkepoliciesGetOK

func NewPcloudIkepoliciesGetOK() *PcloudIkepoliciesGetOK

NewPcloudIkepoliciesGetOK creates a PcloudIkepoliciesGetOK with default headers values

func (*PcloudIkepoliciesGetOK) Error

func (o *PcloudIkepoliciesGetOK) Error() string

type PcloudIkepoliciesGetParams

type PcloudIkepoliciesGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*IkePolicyID
	  ID of a IKE Policy

	*/
	IkePolicyID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIkepoliciesGetParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies get operation typically these are written to a http.Request

func NewPcloudIkepoliciesGetParams

func NewPcloudIkepoliciesGetParams() *PcloudIkepoliciesGetParams

NewPcloudIkepoliciesGetParams creates a new PcloudIkepoliciesGetParams object with the default values initialized.

func NewPcloudIkepoliciesGetParamsWithContext

func NewPcloudIkepoliciesGetParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetParams

NewPcloudIkepoliciesGetParamsWithContext creates a new PcloudIkepoliciesGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIkepoliciesGetParamsWithHTTPClient

func NewPcloudIkepoliciesGetParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesGetParams

NewPcloudIkepoliciesGetParamsWithHTTPClient creates a new PcloudIkepoliciesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIkepoliciesGetParamsWithTimeout

func NewPcloudIkepoliciesGetParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesGetParams

NewPcloudIkepoliciesGetParamsWithTimeout creates a new PcloudIkepoliciesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIkepoliciesGetParams) SetCloudInstanceID

func (o *PcloudIkepoliciesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) SetContext

func (o *PcloudIkepoliciesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) SetHTTPClient

func (o *PcloudIkepoliciesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) SetIkePolicyID

func (o *PcloudIkepoliciesGetParams) SetIkePolicyID(ikePolicyID string)

SetIkePolicyID adds the ikePolicyId to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) SetTimeout

func (o *PcloudIkepoliciesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) WithCloudInstanceID

func (o *PcloudIkepoliciesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) WithContext

WithContext adds the context to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIkepoliciesGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIkepoliciesGetUnauthorized

func NewPcloudIkepoliciesGetUnauthorized() *PcloudIkepoliciesGetUnauthorized

NewPcloudIkepoliciesGetUnauthorized creates a PcloudIkepoliciesGetUnauthorized with default headers values

func (*PcloudIkepoliciesGetUnauthorized) Error

type PcloudIkepoliciesGetUnprocessableEntity

type PcloudIkepoliciesGetUnprocessableEntity struct {
	Payload *models.Error
}

PcloudIkepoliciesGetUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudIkepoliciesGetUnprocessableEntity

func NewPcloudIkepoliciesGetUnprocessableEntity() *PcloudIkepoliciesGetUnprocessableEntity

NewPcloudIkepoliciesGetUnprocessableEntity creates a PcloudIkepoliciesGetUnprocessableEntity with default headers values

func (*PcloudIkepoliciesGetUnprocessableEntity) Error

type PcloudIkepoliciesGetallBadRequest

type PcloudIkepoliciesGetallBadRequest struct {
	Payload *models.Error
}

PcloudIkepoliciesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudIkepoliciesGetallBadRequest

func NewPcloudIkepoliciesGetallBadRequest() *PcloudIkepoliciesGetallBadRequest

NewPcloudIkepoliciesGetallBadRequest creates a PcloudIkepoliciesGetallBadRequest with default headers values

func (*PcloudIkepoliciesGetallBadRequest) Error

type PcloudIkepoliciesGetallForbidden

type PcloudIkepoliciesGetallForbidden struct {
	Payload *models.Error
}

PcloudIkepoliciesGetallForbidden handles this case with default header values.

Forbidden

func NewPcloudIkepoliciesGetallForbidden

func NewPcloudIkepoliciesGetallForbidden() *PcloudIkepoliciesGetallForbidden

NewPcloudIkepoliciesGetallForbidden creates a PcloudIkepoliciesGetallForbidden with default headers values

func (*PcloudIkepoliciesGetallForbidden) Error

type PcloudIkepoliciesGetallInternalServerError

type PcloudIkepoliciesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudIkepoliciesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIkepoliciesGetallInternalServerError

func NewPcloudIkepoliciesGetallInternalServerError() *PcloudIkepoliciesGetallInternalServerError

NewPcloudIkepoliciesGetallInternalServerError creates a PcloudIkepoliciesGetallInternalServerError with default headers values

func (*PcloudIkepoliciesGetallInternalServerError) Error

type PcloudIkepoliciesGetallNotFound

type PcloudIkepoliciesGetallNotFound struct {
	Payload *models.Error
}

PcloudIkepoliciesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudIkepoliciesGetallNotFound

func NewPcloudIkepoliciesGetallNotFound() *PcloudIkepoliciesGetallNotFound

NewPcloudIkepoliciesGetallNotFound creates a PcloudIkepoliciesGetallNotFound with default headers values

func (*PcloudIkepoliciesGetallNotFound) Error

type PcloudIkepoliciesGetallOK

type PcloudIkepoliciesGetallOK struct {
	Payload *models.IKEPolicies
}

PcloudIkepoliciesGetallOK handles this case with default header values.

OK

func NewPcloudIkepoliciesGetallOK

func NewPcloudIkepoliciesGetallOK() *PcloudIkepoliciesGetallOK

NewPcloudIkepoliciesGetallOK creates a PcloudIkepoliciesGetallOK with default headers values

func (*PcloudIkepoliciesGetallOK) Error

func (o *PcloudIkepoliciesGetallOK) Error() string

type PcloudIkepoliciesGetallParams

type PcloudIkepoliciesGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIkepoliciesGetallParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies getall operation typically these are written to a http.Request

func NewPcloudIkepoliciesGetallParams

func NewPcloudIkepoliciesGetallParams() *PcloudIkepoliciesGetallParams

NewPcloudIkepoliciesGetallParams creates a new PcloudIkepoliciesGetallParams object with the default values initialized.

func NewPcloudIkepoliciesGetallParamsWithContext

func NewPcloudIkepoliciesGetallParamsWithContext(ctx context.Context) *PcloudIkepoliciesGetallParams

NewPcloudIkepoliciesGetallParamsWithContext creates a new PcloudIkepoliciesGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIkepoliciesGetallParamsWithHTTPClient

func NewPcloudIkepoliciesGetallParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesGetallParams

NewPcloudIkepoliciesGetallParamsWithHTTPClient creates a new PcloudIkepoliciesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIkepoliciesGetallParamsWithTimeout

func NewPcloudIkepoliciesGetallParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesGetallParams

NewPcloudIkepoliciesGetallParamsWithTimeout creates a new PcloudIkepoliciesGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIkepoliciesGetallParams) SetCloudInstanceID

func (o *PcloudIkepoliciesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) SetContext

func (o *PcloudIkepoliciesGetallParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) SetHTTPClient

func (o *PcloudIkepoliciesGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) SetTimeout

func (o *PcloudIkepoliciesGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) WithCloudInstanceID

func (o *PcloudIkepoliciesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIkepoliciesGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) WithContext

WithContext adds the context to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIkepoliciesGetallUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIkepoliciesGetallUnauthorized

func NewPcloudIkepoliciesGetallUnauthorized() *PcloudIkepoliciesGetallUnauthorized

NewPcloudIkepoliciesGetallUnauthorized creates a PcloudIkepoliciesGetallUnauthorized with default headers values

func (*PcloudIkepoliciesGetallUnauthorized) Error

type PcloudIkepoliciesPostBadRequest

type PcloudIkepoliciesPostBadRequest struct {
	Payload *models.Error
}

PcloudIkepoliciesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudIkepoliciesPostBadRequest

func NewPcloudIkepoliciesPostBadRequest() *PcloudIkepoliciesPostBadRequest

NewPcloudIkepoliciesPostBadRequest creates a PcloudIkepoliciesPostBadRequest with default headers values

func (*PcloudIkepoliciesPostBadRequest) Error

type PcloudIkepoliciesPostConflict

type PcloudIkepoliciesPostConflict struct {
	Payload *models.Error
}

PcloudIkepoliciesPostConflict handles this case with default header values.

Conflict

func NewPcloudIkepoliciesPostConflict

func NewPcloudIkepoliciesPostConflict() *PcloudIkepoliciesPostConflict

NewPcloudIkepoliciesPostConflict creates a PcloudIkepoliciesPostConflict with default headers values

func (*PcloudIkepoliciesPostConflict) Error

type PcloudIkepoliciesPostForbidden

type PcloudIkepoliciesPostForbidden struct {
	Payload *models.Error
}

PcloudIkepoliciesPostForbidden handles this case with default header values.

Forbidden

func NewPcloudIkepoliciesPostForbidden

func NewPcloudIkepoliciesPostForbidden() *PcloudIkepoliciesPostForbidden

NewPcloudIkepoliciesPostForbidden creates a PcloudIkepoliciesPostForbidden with default headers values

func (*PcloudIkepoliciesPostForbidden) Error

type PcloudIkepoliciesPostInternalServerError

type PcloudIkepoliciesPostInternalServerError struct {
	Payload *models.Error
}

PcloudIkepoliciesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIkepoliciesPostInternalServerError

func NewPcloudIkepoliciesPostInternalServerError() *PcloudIkepoliciesPostInternalServerError

NewPcloudIkepoliciesPostInternalServerError creates a PcloudIkepoliciesPostInternalServerError with default headers values

func (*PcloudIkepoliciesPostInternalServerError) Error

type PcloudIkepoliciesPostOK

type PcloudIkepoliciesPostOK struct {
	Payload *models.IKEPolicy
}

PcloudIkepoliciesPostOK handles this case with default header values.

OK

func NewPcloudIkepoliciesPostOK

func NewPcloudIkepoliciesPostOK() *PcloudIkepoliciesPostOK

NewPcloudIkepoliciesPostOK creates a PcloudIkepoliciesPostOK with default headers values

func (*PcloudIkepoliciesPostOK) Error

func (o *PcloudIkepoliciesPostOK) Error() string

type PcloudIkepoliciesPostParams

type PcloudIkepoliciesPostParams struct {

	/*Body
	  Parameters for the creation of a new IKE Policy

	*/
	Body *models.IKEPolicyCreate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIkepoliciesPostParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies post operation typically these are written to a http.Request

func NewPcloudIkepoliciesPostParams

func NewPcloudIkepoliciesPostParams() *PcloudIkepoliciesPostParams

NewPcloudIkepoliciesPostParams creates a new PcloudIkepoliciesPostParams object with the default values initialized.

func NewPcloudIkepoliciesPostParamsWithContext

func NewPcloudIkepoliciesPostParamsWithContext(ctx context.Context) *PcloudIkepoliciesPostParams

NewPcloudIkepoliciesPostParamsWithContext creates a new PcloudIkepoliciesPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIkepoliciesPostParamsWithHTTPClient

func NewPcloudIkepoliciesPostParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesPostParams

NewPcloudIkepoliciesPostParamsWithHTTPClient creates a new PcloudIkepoliciesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIkepoliciesPostParamsWithTimeout

func NewPcloudIkepoliciesPostParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesPostParams

NewPcloudIkepoliciesPostParamsWithTimeout creates a new PcloudIkepoliciesPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIkepoliciesPostParams) SetBody

SetBody adds the body to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) SetCloudInstanceID

func (o *PcloudIkepoliciesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) SetContext

func (o *PcloudIkepoliciesPostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) SetHTTPClient

func (o *PcloudIkepoliciesPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) SetTimeout

func (o *PcloudIkepoliciesPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) WithBody

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

WithContext adds the context to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud ikepolicies post params

func (*PcloudIkepoliciesPostParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIkepoliciesPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIkepoliciesPostUnauthorized

func NewPcloudIkepoliciesPostUnauthorized() *PcloudIkepoliciesPostUnauthorized

NewPcloudIkepoliciesPostUnauthorized creates a PcloudIkepoliciesPostUnauthorized with default headers values

func (*PcloudIkepoliciesPostUnauthorized) Error

type PcloudIkepoliciesPostUnprocessableEntity

type PcloudIkepoliciesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudIkepoliciesPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudIkepoliciesPostUnprocessableEntity

func NewPcloudIkepoliciesPostUnprocessableEntity() *PcloudIkepoliciesPostUnprocessableEntity

NewPcloudIkepoliciesPostUnprocessableEntity creates a PcloudIkepoliciesPostUnprocessableEntity with default headers values

func (*PcloudIkepoliciesPostUnprocessableEntity) Error

type PcloudIkepoliciesPutBadRequest

type PcloudIkepoliciesPutBadRequest struct {
	Payload *models.Error
}

PcloudIkepoliciesPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudIkepoliciesPutBadRequest

func NewPcloudIkepoliciesPutBadRequest() *PcloudIkepoliciesPutBadRequest

NewPcloudIkepoliciesPutBadRequest creates a PcloudIkepoliciesPutBadRequest with default headers values

func (*PcloudIkepoliciesPutBadRequest) Error

type PcloudIkepoliciesPutForbidden

type PcloudIkepoliciesPutForbidden struct {
	Payload *models.Error
}

PcloudIkepoliciesPutForbidden handles this case with default header values.

Forbidden

func NewPcloudIkepoliciesPutForbidden

func NewPcloudIkepoliciesPutForbidden() *PcloudIkepoliciesPutForbidden

NewPcloudIkepoliciesPutForbidden creates a PcloudIkepoliciesPutForbidden with default headers values

func (*PcloudIkepoliciesPutForbidden) Error

type PcloudIkepoliciesPutInternalServerError

type PcloudIkepoliciesPutInternalServerError struct {
	Payload *models.Error
}

PcloudIkepoliciesPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIkepoliciesPutInternalServerError

func NewPcloudIkepoliciesPutInternalServerError() *PcloudIkepoliciesPutInternalServerError

NewPcloudIkepoliciesPutInternalServerError creates a PcloudIkepoliciesPutInternalServerError with default headers values

func (*PcloudIkepoliciesPutInternalServerError) Error

type PcloudIkepoliciesPutOK

type PcloudIkepoliciesPutOK struct {
	Payload *models.IKEPolicy
}

PcloudIkepoliciesPutOK handles this case with default header values.

OK

func NewPcloudIkepoliciesPutOK

func NewPcloudIkepoliciesPutOK() *PcloudIkepoliciesPutOK

NewPcloudIkepoliciesPutOK creates a PcloudIkepoliciesPutOK with default headers values

func (*PcloudIkepoliciesPutOK) Error

func (o *PcloudIkepoliciesPutOK) Error() string

type PcloudIkepoliciesPutParams

type PcloudIkepoliciesPutParams struct {

	/*Body
	  Parameters for updating IKE Policy

	*/
	Body *models.IKEPolicyUpdate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*IkePolicyID
	  ID of a IKE Policy

	*/
	IkePolicyID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIkepoliciesPutParams contains all the parameters to send to the API endpoint for the pcloud ikepolicies put operation typically these are written to a http.Request

func NewPcloudIkepoliciesPutParams

func NewPcloudIkepoliciesPutParams() *PcloudIkepoliciesPutParams

NewPcloudIkepoliciesPutParams creates a new PcloudIkepoliciesPutParams object with the default values initialized.

func NewPcloudIkepoliciesPutParamsWithContext

func NewPcloudIkepoliciesPutParamsWithContext(ctx context.Context) *PcloudIkepoliciesPutParams

NewPcloudIkepoliciesPutParamsWithContext creates a new PcloudIkepoliciesPutParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIkepoliciesPutParamsWithHTTPClient

func NewPcloudIkepoliciesPutParamsWithHTTPClient(client *http.Client) *PcloudIkepoliciesPutParams

NewPcloudIkepoliciesPutParamsWithHTTPClient creates a new PcloudIkepoliciesPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIkepoliciesPutParamsWithTimeout

func NewPcloudIkepoliciesPutParamsWithTimeout(timeout time.Duration) *PcloudIkepoliciesPutParams

NewPcloudIkepoliciesPutParamsWithTimeout creates a new PcloudIkepoliciesPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIkepoliciesPutParams) SetBody

SetBody adds the body to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) SetCloudInstanceID

func (o *PcloudIkepoliciesPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) SetContext

func (o *PcloudIkepoliciesPutParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) SetHTTPClient

func (o *PcloudIkepoliciesPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) SetIkePolicyID

func (o *PcloudIkepoliciesPutParams) SetIkePolicyID(ikePolicyID string)

SetIkePolicyID adds the ikePolicyId to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) SetTimeout

func (o *PcloudIkepoliciesPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) WithBody

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

WithContext adds the context to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud ikepolicies put params

func (*PcloudIkepoliciesPutParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIkepoliciesPutUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIkepoliciesPutUnauthorized

func NewPcloudIkepoliciesPutUnauthorized() *PcloudIkepoliciesPutUnauthorized

NewPcloudIkepoliciesPutUnauthorized creates a PcloudIkepoliciesPutUnauthorized with default headers values

func (*PcloudIkepoliciesPutUnauthorized) Error

type PcloudIkepoliciesPutUnprocessableEntity

type PcloudIkepoliciesPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudIkepoliciesPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudIkepoliciesPutUnprocessableEntity

func NewPcloudIkepoliciesPutUnprocessableEntity() *PcloudIkepoliciesPutUnprocessableEntity

NewPcloudIkepoliciesPutUnprocessableEntity creates a PcloudIkepoliciesPutUnprocessableEntity with default headers values

func (*PcloudIkepoliciesPutUnprocessableEntity) Error

type PcloudIpsecpoliciesDeleteBadRequest

type PcloudIpsecpoliciesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudIpsecpoliciesDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudIpsecpoliciesDeleteBadRequest

func NewPcloudIpsecpoliciesDeleteBadRequest() *PcloudIpsecpoliciesDeleteBadRequest

NewPcloudIpsecpoliciesDeleteBadRequest creates a PcloudIpsecpoliciesDeleteBadRequest with default headers values

func (*PcloudIpsecpoliciesDeleteBadRequest) Error

type PcloudIpsecpoliciesDeleteForbidden

type PcloudIpsecpoliciesDeleteForbidden struct {
	Payload *models.Error
}

PcloudIpsecpoliciesDeleteForbidden handles this case with default header values.

Forbidden

func NewPcloudIpsecpoliciesDeleteForbidden

func NewPcloudIpsecpoliciesDeleteForbidden() *PcloudIpsecpoliciesDeleteForbidden

NewPcloudIpsecpoliciesDeleteForbidden creates a PcloudIpsecpoliciesDeleteForbidden with default headers values

func (*PcloudIpsecpoliciesDeleteForbidden) Error

type PcloudIpsecpoliciesDeleteInternalServerError

type PcloudIpsecpoliciesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudIpsecpoliciesDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIpsecpoliciesDeleteInternalServerError

func NewPcloudIpsecpoliciesDeleteInternalServerError() *PcloudIpsecpoliciesDeleteInternalServerError

NewPcloudIpsecpoliciesDeleteInternalServerError creates a PcloudIpsecpoliciesDeleteInternalServerError with default headers values

func (*PcloudIpsecpoliciesDeleteInternalServerError) Error

type PcloudIpsecpoliciesDeleteOK

type PcloudIpsecpoliciesDeleteOK struct {
	Payload models.Object
}

PcloudIpsecpoliciesDeleteOK handles this case with default header values.

OK

func NewPcloudIpsecpoliciesDeleteOK

func NewPcloudIpsecpoliciesDeleteOK() *PcloudIpsecpoliciesDeleteOK

NewPcloudIpsecpoliciesDeleteOK creates a PcloudIpsecpoliciesDeleteOK with default headers values

func (*PcloudIpsecpoliciesDeleteOK) Error

type PcloudIpsecpoliciesDeleteParams

type PcloudIpsecpoliciesDeleteParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*IpsecPolicyID
	  ID of a IPSec Policy

	*/
	IpsecPolicyID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIpsecpoliciesDeleteParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies delete operation typically these are written to a http.Request

func NewPcloudIpsecpoliciesDeleteParams

func NewPcloudIpsecpoliciesDeleteParams() *PcloudIpsecpoliciesDeleteParams

NewPcloudIpsecpoliciesDeleteParams creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized.

func NewPcloudIpsecpoliciesDeleteParamsWithContext

func NewPcloudIpsecpoliciesDeleteParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesDeleteParams

NewPcloudIpsecpoliciesDeleteParamsWithContext creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIpsecpoliciesDeleteParamsWithHTTPClient

func NewPcloudIpsecpoliciesDeleteParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesDeleteParams

NewPcloudIpsecpoliciesDeleteParamsWithHTTPClient creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIpsecpoliciesDeleteParamsWithTimeout

func NewPcloudIpsecpoliciesDeleteParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesDeleteParams

NewPcloudIpsecpoliciesDeleteParamsWithTimeout creates a new PcloudIpsecpoliciesDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIpsecpoliciesDeleteParams) SetCloudInstanceID

func (o *PcloudIpsecpoliciesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) SetContext

func (o *PcloudIpsecpoliciesDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) SetHTTPClient

func (o *PcloudIpsecpoliciesDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) SetIpsecPolicyID

func (o *PcloudIpsecpoliciesDeleteParams) SetIpsecPolicyID(ipsecPolicyID string)

SetIpsecPolicyID adds the ipsecPolicyId to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) SetTimeout

func (o *PcloudIpsecpoliciesDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) WithCloudInstanceID

func (o *PcloudIpsecpoliciesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) WithContext

WithContext adds the context to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIpsecpoliciesDeleteUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIpsecpoliciesDeleteUnauthorized

func NewPcloudIpsecpoliciesDeleteUnauthorized() *PcloudIpsecpoliciesDeleteUnauthorized

NewPcloudIpsecpoliciesDeleteUnauthorized creates a PcloudIpsecpoliciesDeleteUnauthorized with default headers values

func (*PcloudIpsecpoliciesDeleteUnauthorized) Error

type PcloudIpsecpoliciesGetBadRequest

type PcloudIpsecpoliciesGetBadRequest struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudIpsecpoliciesGetBadRequest

func NewPcloudIpsecpoliciesGetBadRequest() *PcloudIpsecpoliciesGetBadRequest

NewPcloudIpsecpoliciesGetBadRequest creates a PcloudIpsecpoliciesGetBadRequest with default headers values

func (*PcloudIpsecpoliciesGetBadRequest) Error

type PcloudIpsecpoliciesGetForbidden

type PcloudIpsecpoliciesGetForbidden struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetForbidden handles this case with default header values.

Forbidden

func NewPcloudIpsecpoliciesGetForbidden

func NewPcloudIpsecpoliciesGetForbidden() *PcloudIpsecpoliciesGetForbidden

NewPcloudIpsecpoliciesGetForbidden creates a PcloudIpsecpoliciesGetForbidden with default headers values

func (*PcloudIpsecpoliciesGetForbidden) Error

type PcloudIpsecpoliciesGetInternalServerError

type PcloudIpsecpoliciesGetInternalServerError struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIpsecpoliciesGetInternalServerError

func NewPcloudIpsecpoliciesGetInternalServerError() *PcloudIpsecpoliciesGetInternalServerError

NewPcloudIpsecpoliciesGetInternalServerError creates a PcloudIpsecpoliciesGetInternalServerError with default headers values

func (*PcloudIpsecpoliciesGetInternalServerError) Error

type PcloudIpsecpoliciesGetOK

type PcloudIpsecpoliciesGetOK struct {
	Payload *models.IPSecPolicy
}

PcloudIpsecpoliciesGetOK handles this case with default header values.

OK

func NewPcloudIpsecpoliciesGetOK

func NewPcloudIpsecpoliciesGetOK() *PcloudIpsecpoliciesGetOK

NewPcloudIpsecpoliciesGetOK creates a PcloudIpsecpoliciesGetOK with default headers values

func (*PcloudIpsecpoliciesGetOK) Error

func (o *PcloudIpsecpoliciesGetOK) Error() string

type PcloudIpsecpoliciesGetParams

type PcloudIpsecpoliciesGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*IpsecPolicyID
	  ID of a IPSec Policy

	*/
	IpsecPolicyID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIpsecpoliciesGetParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies get operation typically these are written to a http.Request

func NewPcloudIpsecpoliciesGetParams

func NewPcloudIpsecpoliciesGetParams() *PcloudIpsecpoliciesGetParams

NewPcloudIpsecpoliciesGetParams creates a new PcloudIpsecpoliciesGetParams object with the default values initialized.

func NewPcloudIpsecpoliciesGetParamsWithContext

func NewPcloudIpsecpoliciesGetParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetParams

NewPcloudIpsecpoliciesGetParamsWithContext creates a new PcloudIpsecpoliciesGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIpsecpoliciesGetParamsWithHTTPClient

func NewPcloudIpsecpoliciesGetParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetParams

NewPcloudIpsecpoliciesGetParamsWithHTTPClient creates a new PcloudIpsecpoliciesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIpsecpoliciesGetParamsWithTimeout

func NewPcloudIpsecpoliciesGetParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetParams

NewPcloudIpsecpoliciesGetParamsWithTimeout creates a new PcloudIpsecpoliciesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIpsecpoliciesGetParams) SetCloudInstanceID

func (o *PcloudIpsecpoliciesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) SetContext

func (o *PcloudIpsecpoliciesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) SetHTTPClient

func (o *PcloudIpsecpoliciesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) SetIpsecPolicyID

func (o *PcloudIpsecpoliciesGetParams) SetIpsecPolicyID(ipsecPolicyID string)

SetIpsecPolicyID adds the ipsecPolicyId to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) SetTimeout

func (o *PcloudIpsecpoliciesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) WithCloudInstanceID

func (o *PcloudIpsecpoliciesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) WithContext

WithContext adds the context to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIpsecpoliciesGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIpsecpoliciesGetUnauthorized

func NewPcloudIpsecpoliciesGetUnauthorized() *PcloudIpsecpoliciesGetUnauthorized

NewPcloudIpsecpoliciesGetUnauthorized creates a PcloudIpsecpoliciesGetUnauthorized with default headers values

func (*PcloudIpsecpoliciesGetUnauthorized) Error

type PcloudIpsecpoliciesGetUnprocessableEntity

type PcloudIpsecpoliciesGetUnprocessableEntity struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudIpsecpoliciesGetUnprocessableEntity

func NewPcloudIpsecpoliciesGetUnprocessableEntity() *PcloudIpsecpoliciesGetUnprocessableEntity

NewPcloudIpsecpoliciesGetUnprocessableEntity creates a PcloudIpsecpoliciesGetUnprocessableEntity with default headers values

func (*PcloudIpsecpoliciesGetUnprocessableEntity) Error

type PcloudIpsecpoliciesGetallBadRequest

type PcloudIpsecpoliciesGetallBadRequest struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudIpsecpoliciesGetallBadRequest

func NewPcloudIpsecpoliciesGetallBadRequest() *PcloudIpsecpoliciesGetallBadRequest

NewPcloudIpsecpoliciesGetallBadRequest creates a PcloudIpsecpoliciesGetallBadRequest with default headers values

func (*PcloudIpsecpoliciesGetallBadRequest) Error

type PcloudIpsecpoliciesGetallForbidden

type PcloudIpsecpoliciesGetallForbidden struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetallForbidden handles this case with default header values.

Forbidden

func NewPcloudIpsecpoliciesGetallForbidden

func NewPcloudIpsecpoliciesGetallForbidden() *PcloudIpsecpoliciesGetallForbidden

NewPcloudIpsecpoliciesGetallForbidden creates a PcloudIpsecpoliciesGetallForbidden with default headers values

func (*PcloudIpsecpoliciesGetallForbidden) Error

type PcloudIpsecpoliciesGetallInternalServerError

type PcloudIpsecpoliciesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIpsecpoliciesGetallInternalServerError

func NewPcloudIpsecpoliciesGetallInternalServerError() *PcloudIpsecpoliciesGetallInternalServerError

NewPcloudIpsecpoliciesGetallInternalServerError creates a PcloudIpsecpoliciesGetallInternalServerError with default headers values

func (*PcloudIpsecpoliciesGetallInternalServerError) Error

type PcloudIpsecpoliciesGetallNotFound

type PcloudIpsecpoliciesGetallNotFound struct {
	Payload *models.Error
}

PcloudIpsecpoliciesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudIpsecpoliciesGetallNotFound

func NewPcloudIpsecpoliciesGetallNotFound() *PcloudIpsecpoliciesGetallNotFound

NewPcloudIpsecpoliciesGetallNotFound creates a PcloudIpsecpoliciesGetallNotFound with default headers values

func (*PcloudIpsecpoliciesGetallNotFound) Error

type PcloudIpsecpoliciesGetallOK

type PcloudIpsecpoliciesGetallOK struct {
	Payload *models.IPSecPolicies
}

PcloudIpsecpoliciesGetallOK handles this case with default header values.

OK

func NewPcloudIpsecpoliciesGetallOK

func NewPcloudIpsecpoliciesGetallOK() *PcloudIpsecpoliciesGetallOK

NewPcloudIpsecpoliciesGetallOK creates a PcloudIpsecpoliciesGetallOK with default headers values

func (*PcloudIpsecpoliciesGetallOK) Error

type PcloudIpsecpoliciesGetallParams

type PcloudIpsecpoliciesGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIpsecpoliciesGetallParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies getall operation typically these are written to a http.Request

func NewPcloudIpsecpoliciesGetallParams

func NewPcloudIpsecpoliciesGetallParams() *PcloudIpsecpoliciesGetallParams

NewPcloudIpsecpoliciesGetallParams creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized.

func NewPcloudIpsecpoliciesGetallParamsWithContext

func NewPcloudIpsecpoliciesGetallParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesGetallParams

NewPcloudIpsecpoliciesGetallParamsWithContext creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIpsecpoliciesGetallParamsWithHTTPClient

func NewPcloudIpsecpoliciesGetallParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesGetallParams

NewPcloudIpsecpoliciesGetallParamsWithHTTPClient creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIpsecpoliciesGetallParamsWithTimeout

func NewPcloudIpsecpoliciesGetallParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesGetallParams

NewPcloudIpsecpoliciesGetallParamsWithTimeout creates a new PcloudIpsecpoliciesGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIpsecpoliciesGetallParams) SetCloudInstanceID

func (o *PcloudIpsecpoliciesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) SetContext

func (o *PcloudIpsecpoliciesGetallParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) SetHTTPClient

func (o *PcloudIpsecpoliciesGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) SetTimeout

func (o *PcloudIpsecpoliciesGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) WithCloudInstanceID

func (o *PcloudIpsecpoliciesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudIpsecpoliciesGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) WithContext

WithContext adds the context to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIpsecpoliciesGetallUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIpsecpoliciesGetallUnauthorized

func NewPcloudIpsecpoliciesGetallUnauthorized() *PcloudIpsecpoliciesGetallUnauthorized

NewPcloudIpsecpoliciesGetallUnauthorized creates a PcloudIpsecpoliciesGetallUnauthorized with default headers values

func (*PcloudIpsecpoliciesGetallUnauthorized) Error

type PcloudIpsecpoliciesPostBadRequest

type PcloudIpsecpoliciesPostBadRequest struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudIpsecpoliciesPostBadRequest

func NewPcloudIpsecpoliciesPostBadRequest() *PcloudIpsecpoliciesPostBadRequest

NewPcloudIpsecpoliciesPostBadRequest creates a PcloudIpsecpoliciesPostBadRequest with default headers values

func (*PcloudIpsecpoliciesPostBadRequest) Error

type PcloudIpsecpoliciesPostConflict

type PcloudIpsecpoliciesPostConflict struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPostConflict handles this case with default header values.

Conflict

func NewPcloudIpsecpoliciesPostConflict

func NewPcloudIpsecpoliciesPostConflict() *PcloudIpsecpoliciesPostConflict

NewPcloudIpsecpoliciesPostConflict creates a PcloudIpsecpoliciesPostConflict with default headers values

func (*PcloudIpsecpoliciesPostConflict) Error

type PcloudIpsecpoliciesPostForbidden

type PcloudIpsecpoliciesPostForbidden struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPostForbidden handles this case with default header values.

Forbidden

func NewPcloudIpsecpoliciesPostForbidden

func NewPcloudIpsecpoliciesPostForbidden() *PcloudIpsecpoliciesPostForbidden

NewPcloudIpsecpoliciesPostForbidden creates a PcloudIpsecpoliciesPostForbidden with default headers values

func (*PcloudIpsecpoliciesPostForbidden) Error

type PcloudIpsecpoliciesPostInternalServerError

type PcloudIpsecpoliciesPostInternalServerError struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIpsecpoliciesPostInternalServerError

func NewPcloudIpsecpoliciesPostInternalServerError() *PcloudIpsecpoliciesPostInternalServerError

NewPcloudIpsecpoliciesPostInternalServerError creates a PcloudIpsecpoliciesPostInternalServerError with default headers values

func (*PcloudIpsecpoliciesPostInternalServerError) Error

type PcloudIpsecpoliciesPostOK

type PcloudIpsecpoliciesPostOK struct {
	Payload *models.IPSecPolicy
}

PcloudIpsecpoliciesPostOK handles this case with default header values.

OK

func NewPcloudIpsecpoliciesPostOK

func NewPcloudIpsecpoliciesPostOK() *PcloudIpsecpoliciesPostOK

NewPcloudIpsecpoliciesPostOK creates a PcloudIpsecpoliciesPostOK with default headers values

func (*PcloudIpsecpoliciesPostOK) Error

func (o *PcloudIpsecpoliciesPostOK) Error() string

type PcloudIpsecpoliciesPostParams

type PcloudIpsecpoliciesPostParams struct {

	/*Body
	  Parameters for the creation of a new IPSec Policy

	*/
	Body *models.IPSecPolicyCreate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIpsecpoliciesPostParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies post operation typically these are written to a http.Request

func NewPcloudIpsecpoliciesPostParams

func NewPcloudIpsecpoliciesPostParams() *PcloudIpsecpoliciesPostParams

NewPcloudIpsecpoliciesPostParams creates a new PcloudIpsecpoliciesPostParams object with the default values initialized.

func NewPcloudIpsecpoliciesPostParamsWithContext

func NewPcloudIpsecpoliciesPostParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPostParams

NewPcloudIpsecpoliciesPostParamsWithContext creates a new PcloudIpsecpoliciesPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIpsecpoliciesPostParamsWithHTTPClient

func NewPcloudIpsecpoliciesPostParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPostParams

NewPcloudIpsecpoliciesPostParamsWithHTTPClient creates a new PcloudIpsecpoliciesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIpsecpoliciesPostParamsWithTimeout

func NewPcloudIpsecpoliciesPostParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPostParams

NewPcloudIpsecpoliciesPostParamsWithTimeout creates a new PcloudIpsecpoliciesPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIpsecpoliciesPostParams) SetBody

SetBody adds the body to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) SetCloudInstanceID

func (o *PcloudIpsecpoliciesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) SetContext

func (o *PcloudIpsecpoliciesPostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) SetHTTPClient

func (o *PcloudIpsecpoliciesPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) SetTimeout

func (o *PcloudIpsecpoliciesPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) WithBody

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

WithContext adds the context to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud ipsecpolicies post params

func (*PcloudIpsecpoliciesPostParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIpsecpoliciesPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIpsecpoliciesPostUnauthorized

func NewPcloudIpsecpoliciesPostUnauthorized() *PcloudIpsecpoliciesPostUnauthorized

NewPcloudIpsecpoliciesPostUnauthorized creates a PcloudIpsecpoliciesPostUnauthorized with default headers values

func (*PcloudIpsecpoliciesPostUnauthorized) Error

type PcloudIpsecpoliciesPostUnprocessableEntity

type PcloudIpsecpoliciesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudIpsecpoliciesPostUnprocessableEntity

func NewPcloudIpsecpoliciesPostUnprocessableEntity() *PcloudIpsecpoliciesPostUnprocessableEntity

NewPcloudIpsecpoliciesPostUnprocessableEntity creates a PcloudIpsecpoliciesPostUnprocessableEntity with default headers values

func (*PcloudIpsecpoliciesPostUnprocessableEntity) Error

type PcloudIpsecpoliciesPutBadRequest

type PcloudIpsecpoliciesPutBadRequest struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudIpsecpoliciesPutBadRequest

func NewPcloudIpsecpoliciesPutBadRequest() *PcloudIpsecpoliciesPutBadRequest

NewPcloudIpsecpoliciesPutBadRequest creates a PcloudIpsecpoliciesPutBadRequest with default headers values

func (*PcloudIpsecpoliciesPutBadRequest) Error

type PcloudIpsecpoliciesPutConflict

type PcloudIpsecpoliciesPutConflict struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPutConflict handles this case with default header values.

Conflict

func NewPcloudIpsecpoliciesPutConflict

func NewPcloudIpsecpoliciesPutConflict() *PcloudIpsecpoliciesPutConflict

NewPcloudIpsecpoliciesPutConflict creates a PcloudIpsecpoliciesPutConflict with default headers values

func (*PcloudIpsecpoliciesPutConflict) Error

type PcloudIpsecpoliciesPutForbidden

type PcloudIpsecpoliciesPutForbidden struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPutForbidden handles this case with default header values.

Forbidden

func NewPcloudIpsecpoliciesPutForbidden

func NewPcloudIpsecpoliciesPutForbidden() *PcloudIpsecpoliciesPutForbidden

NewPcloudIpsecpoliciesPutForbidden creates a PcloudIpsecpoliciesPutForbidden with default headers values

func (*PcloudIpsecpoliciesPutForbidden) Error

type PcloudIpsecpoliciesPutInternalServerError

type PcloudIpsecpoliciesPutInternalServerError struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudIpsecpoliciesPutInternalServerError

func NewPcloudIpsecpoliciesPutInternalServerError() *PcloudIpsecpoliciesPutInternalServerError

NewPcloudIpsecpoliciesPutInternalServerError creates a PcloudIpsecpoliciesPutInternalServerError with default headers values

func (*PcloudIpsecpoliciesPutInternalServerError) Error

type PcloudIpsecpoliciesPutOK

type PcloudIpsecpoliciesPutOK struct {
	Payload *models.IPSecPolicy
}

PcloudIpsecpoliciesPutOK handles this case with default header values.

OK

func NewPcloudIpsecpoliciesPutOK

func NewPcloudIpsecpoliciesPutOK() *PcloudIpsecpoliciesPutOK

NewPcloudIpsecpoliciesPutOK creates a PcloudIpsecpoliciesPutOK with default headers values

func (*PcloudIpsecpoliciesPutOK) Error

func (o *PcloudIpsecpoliciesPutOK) Error() string

type PcloudIpsecpoliciesPutParams

type PcloudIpsecpoliciesPutParams struct {

	/*Body
	  Parameters for the update of an IPSec Policy

	*/
	Body *models.IPSecPolicyUpdate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*IpsecPolicyID
	  ID of a IPSec Policy

	*/
	IpsecPolicyID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudIpsecpoliciesPutParams contains all the parameters to send to the API endpoint for the pcloud ipsecpolicies put operation typically these are written to a http.Request

func NewPcloudIpsecpoliciesPutParams

func NewPcloudIpsecpoliciesPutParams() *PcloudIpsecpoliciesPutParams

NewPcloudIpsecpoliciesPutParams creates a new PcloudIpsecpoliciesPutParams object with the default values initialized.

func NewPcloudIpsecpoliciesPutParamsWithContext

func NewPcloudIpsecpoliciesPutParamsWithContext(ctx context.Context) *PcloudIpsecpoliciesPutParams

NewPcloudIpsecpoliciesPutParamsWithContext creates a new PcloudIpsecpoliciesPutParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudIpsecpoliciesPutParamsWithHTTPClient

func NewPcloudIpsecpoliciesPutParamsWithHTTPClient(client *http.Client) *PcloudIpsecpoliciesPutParams

NewPcloudIpsecpoliciesPutParamsWithHTTPClient creates a new PcloudIpsecpoliciesPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudIpsecpoliciesPutParamsWithTimeout

func NewPcloudIpsecpoliciesPutParamsWithTimeout(timeout time.Duration) *PcloudIpsecpoliciesPutParams

NewPcloudIpsecpoliciesPutParamsWithTimeout creates a new PcloudIpsecpoliciesPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudIpsecpoliciesPutParams) SetBody

SetBody adds the body to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) SetCloudInstanceID

func (o *PcloudIpsecpoliciesPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) SetContext

func (o *PcloudIpsecpoliciesPutParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) SetHTTPClient

func (o *PcloudIpsecpoliciesPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) SetIpsecPolicyID

func (o *PcloudIpsecpoliciesPutParams) SetIpsecPolicyID(ipsecPolicyID string)

SetIpsecPolicyID adds the ipsecPolicyId to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) SetTimeout

func (o *PcloudIpsecpoliciesPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) WithBody

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

WithContext adds the context to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) WithHTTPClient

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

WithTimeout adds the timeout to the pcloud ipsecpolicies put params

func (*PcloudIpsecpoliciesPutParams) WriteToRequest

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 {
	Payload *models.Error
}

PcloudIpsecpoliciesPutUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudIpsecpoliciesPutUnauthorized

func NewPcloudIpsecpoliciesPutUnauthorized() *PcloudIpsecpoliciesPutUnauthorized

NewPcloudIpsecpoliciesPutUnauthorized creates a PcloudIpsecpoliciesPutUnauthorized with default headers values

func (*PcloudIpsecpoliciesPutUnauthorized) Error

type PcloudIpsecpoliciesPutUnprocessableEntity

type PcloudIpsecpoliciesPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudIpsecpoliciesPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudIpsecpoliciesPutUnprocessableEntity

func NewPcloudIpsecpoliciesPutUnprocessableEntity() *PcloudIpsecpoliciesPutUnprocessableEntity

NewPcloudIpsecpoliciesPutUnprocessableEntity creates a PcloudIpsecpoliciesPutUnprocessableEntity with default headers values

func (*PcloudIpsecpoliciesPutUnprocessableEntity) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL