p_cloud_v_p_n_policies

package
v1.8.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 11 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 (*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

type PcloudIkepoliciesDeleteBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies delete bad request response

func (*PcloudIkepoliciesDeleteBadRequest) Error

func (*PcloudIkepoliciesDeleteBadRequest) GetPayload added in v1.1.0

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

type PcloudIkepoliciesDeleteForbidden

type PcloudIkepoliciesDeleteForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies delete forbidden response

func (*PcloudIkepoliciesDeleteForbidden) Error

func (*PcloudIkepoliciesDeleteForbidden) GetPayload added in v1.1.0

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

type PcloudIkepoliciesDeleteInternalServerError

type PcloudIkepoliciesDeleteInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies delete internal server error response

func (*PcloudIkepoliciesDeleteInternalServerError) Error

func (*PcloudIkepoliciesDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudIkepoliciesDeleteInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIkepoliciesDeleteNotFound added in v1.1.1

type PcloudIkepoliciesDeleteNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies delete not found response

func (*PcloudIkepoliciesDeleteNotFound) Error added in v1.1.1

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

type PcloudIkepoliciesDeleteOK

type PcloudIkepoliciesDeleteOK struct {
	Payload models.Object
}

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

WithContext adds the context to the pcloud ikepolicies delete params

func (*PcloudIkepoliciesDeleteParams) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ikepolicies delete unauthorized response

func (*PcloudIkepoliciesDeleteUnauthorized) Error

func (*PcloudIkepoliciesDeleteUnauthorized) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ikepolicies delete unauthorized response has a 2xx status code

func (*PcloudIkepoliciesDeleteUnauthorized) String added in v1.2.2

type PcloudIkepoliciesGetBadRequest

type PcloudIkepoliciesGetBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies get bad request response

func (*PcloudIkepoliciesGetBadRequest) Error

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

type PcloudIkepoliciesGetForbidden

type PcloudIkepoliciesGetForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies get forbidden response

func (*PcloudIkepoliciesGetForbidden) Error

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

type PcloudIkepoliciesGetInternalServerError

type PcloudIkepoliciesGetInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies get internal server error response

func (*PcloudIkepoliciesGetInternalServerError) Error

func (*PcloudIkepoliciesGetInternalServerError) GetPayload added in v1.1.0

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

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

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

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

type PcloudIkepoliciesGetNotFound added in v1.1.1

type PcloudIkepoliciesGetNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies get not found response

func (*PcloudIkepoliciesGetNotFound) Error added in v1.1.1

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

type PcloudIkepoliciesGetOK

type PcloudIkepoliciesGetOK struct {
	Payload *models.IKEPolicy
}

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

WithContext adds the context to the pcloud ikepolicies get params

func (*PcloudIkepoliciesGetParams) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ikepolicies get unauthorized response

func (*PcloudIkepoliciesGetUnauthorized) Error

func (*PcloudIkepoliciesGetUnauthorized) GetPayload added in v1.1.0

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

type PcloudIkepoliciesGetUnprocessableEntity

type PcloudIkepoliciesGetUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies get unprocessable entity response

func (*PcloudIkepoliciesGetUnprocessableEntity) Error

func (*PcloudIkepoliciesGetUnprocessableEntity) GetPayload added in v1.1.0

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

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

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

IsSuccess returns true when this pcloud ikepolicies get unprocessable entity response has a 2xx status code

func (*PcloudIkepoliciesGetUnprocessableEntity) String added in v1.2.2

type PcloudIkepoliciesGetallBadRequest

type PcloudIkepoliciesGetallBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies getall bad request response

func (*PcloudIkepoliciesGetallBadRequest) Error

func (*PcloudIkepoliciesGetallBadRequest) GetPayload added in v1.1.0

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

type PcloudIkepoliciesGetallForbidden

type PcloudIkepoliciesGetallForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies getall forbidden response

func (*PcloudIkepoliciesGetallForbidden) Error

func (*PcloudIkepoliciesGetallForbidden) GetPayload added in v1.1.0

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

type PcloudIkepoliciesGetallInternalServerError

type PcloudIkepoliciesGetallInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies getall internal server error response

func (*PcloudIkepoliciesGetallInternalServerError) Error

func (*PcloudIkepoliciesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudIkepoliciesGetallInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIkepoliciesGetallNotFound

type PcloudIkepoliciesGetallNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies getall not found response

func (*PcloudIkepoliciesGetallNotFound) Error

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

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

WithContext adds the context to the pcloud ikepolicies getall params

func (*PcloudIkepoliciesGetallParams) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ikepolicies getall unauthorized response

func (*PcloudIkepoliciesGetallUnauthorized) Error

func (*PcloudIkepoliciesGetallUnauthorized) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ikepolicies getall unauthorized response has a 2xx status code

func (*PcloudIkepoliciesGetallUnauthorized) String added in v1.2.2

type PcloudIkepoliciesPostBadRequest

type PcloudIkepoliciesPostBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies post bad request response

func (*PcloudIkepoliciesPostBadRequest) Error

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

type PcloudIkepoliciesPostConflict

type PcloudIkepoliciesPostConflict struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies post conflict response

func (*PcloudIkepoliciesPostConflict) Error

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

type PcloudIkepoliciesPostForbidden

type PcloudIkepoliciesPostForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies post forbidden response

func (*PcloudIkepoliciesPostForbidden) Error

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

type PcloudIkepoliciesPostInternalServerError

type PcloudIkepoliciesPostInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies post internal server error response

func (*PcloudIkepoliciesPostInternalServerError) Error

func (*PcloudIkepoliciesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudIkepoliciesPostInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIkepoliciesPostOK

type PcloudIkepoliciesPostOK struct {
	Payload *models.IKEPolicy
}

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

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

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) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ikepolicies post unauthorized response

func (*PcloudIkepoliciesPostUnauthorized) Error

func (*PcloudIkepoliciesPostUnauthorized) GetPayload added in v1.1.0

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

type PcloudIkepoliciesPostUnprocessableEntity

type PcloudIkepoliciesPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies post unprocessable entity response

func (*PcloudIkepoliciesPostUnprocessableEntity) Error

func (*PcloudIkepoliciesPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudIkepoliciesPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud ikepolicies post unprocessable entity response has a 4xx status code

func (*PcloudIkepoliciesPostUnprocessableEntity) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud ikepolicies post unprocessable entity response has a 3xx status code

func (*PcloudIkepoliciesPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud ikepolicies post unprocessable entity response has a 5xx status code

func (*PcloudIkepoliciesPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud ikepolicies post unprocessable entity response has a 2xx status code

func (*PcloudIkepoliciesPostUnprocessableEntity) String added in v1.2.2

type PcloudIkepoliciesPutBadRequest

type PcloudIkepoliciesPutBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies put bad request response

func (*PcloudIkepoliciesPutBadRequest) Error

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

type PcloudIkepoliciesPutForbidden

type PcloudIkepoliciesPutForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies put forbidden response

func (*PcloudIkepoliciesPutForbidden) Error

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

type PcloudIkepoliciesPutInternalServerError

type PcloudIkepoliciesPutInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies put internal server error response

func (*PcloudIkepoliciesPutInternalServerError) Error

func (*PcloudIkepoliciesPutInternalServerError) GetPayload added in v1.1.0

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

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

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

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

type PcloudIkepoliciesPutNotFound added in v1.4.2

type PcloudIkepoliciesPutNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies put not found response

func (*PcloudIkepoliciesPutNotFound) Error added in v1.4.2

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

type PcloudIkepoliciesPutOK

type PcloudIkepoliciesPutOK struct {
	Payload *models.IKEPolicy
}

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

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

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) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ikepolicies put unauthorized response

func (*PcloudIkepoliciesPutUnauthorized) Error

func (*PcloudIkepoliciesPutUnauthorized) GetPayload added in v1.1.0

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

type PcloudIkepoliciesPutUnprocessableEntity

type PcloudIkepoliciesPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ikepolicies put unprocessable entity response

func (*PcloudIkepoliciesPutUnprocessableEntity) Error

func (*PcloudIkepoliciesPutUnprocessableEntity) GetPayload added in v1.1.0

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

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

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

IsSuccess returns true when this pcloud ikepolicies put unprocessable entity response has a 2xx status code

func (*PcloudIkepoliciesPutUnprocessableEntity) String added in v1.2.2

type PcloudIpsecpoliciesDeleteBadRequest

type PcloudIpsecpoliciesDeleteBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies delete bad request response

func (*PcloudIpsecpoliciesDeleteBadRequest) Error

func (*PcloudIpsecpoliciesDeleteBadRequest) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ipsecpolicies delete bad request response has a 2xx status code

func (*PcloudIpsecpoliciesDeleteBadRequest) String added in v1.2.2

type PcloudIpsecpoliciesDeleteForbidden

type PcloudIpsecpoliciesDeleteForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies delete forbidden response

func (*PcloudIpsecpoliciesDeleteForbidden) Error

func (*PcloudIpsecpoliciesDeleteForbidden) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ipsecpolicies delete forbidden response has a 2xx status code

func (*PcloudIpsecpoliciesDeleteForbidden) String added in v1.2.2

type PcloudIpsecpoliciesDeleteInternalServerError

type PcloudIpsecpoliciesDeleteInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies delete internal server error response

func (*PcloudIpsecpoliciesDeleteInternalServerError) Error

func (*PcloudIpsecpoliciesDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesDeleteInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIpsecpoliciesDeleteNotFound added in v1.1.1

type PcloudIpsecpoliciesDeleteNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies delete not found response

func (*PcloudIpsecpoliciesDeleteNotFound) Error added in v1.1.1

func (*PcloudIpsecpoliciesDeleteNotFound) GetPayload added in v1.1.1

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

type PcloudIpsecpoliciesDeleteOK

type PcloudIpsecpoliciesDeleteOK struct {
	Payload models.Object
}

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 (*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

WithContext adds the context to the pcloud ipsecpolicies delete params

func (*PcloudIpsecpoliciesDeleteParams) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ipsecpolicies delete unauthorized response

func (*PcloudIpsecpoliciesDeleteUnauthorized) Error

func (*PcloudIpsecpoliciesDeleteUnauthorized) GetPayload added in v1.1.0

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

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

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

IsSuccess returns true when this pcloud ipsecpolicies delete unauthorized response has a 2xx status code

func (*PcloudIpsecpoliciesDeleteUnauthorized) String added in v1.2.2

type PcloudIpsecpoliciesGetBadRequest

type PcloudIpsecpoliciesGetBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies get bad request response

func (*PcloudIpsecpoliciesGetBadRequest) Error

func (*PcloudIpsecpoliciesGetBadRequest) GetPayload added in v1.1.0

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

type PcloudIpsecpoliciesGetForbidden

type PcloudIpsecpoliciesGetForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies get forbidden response

func (*PcloudIpsecpoliciesGetForbidden) Error

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

type PcloudIpsecpoliciesGetInternalServerError

type PcloudIpsecpoliciesGetInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies get internal server error response

func (*PcloudIpsecpoliciesGetInternalServerError) Error

func (*PcloudIpsecpoliciesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesGetInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIpsecpoliciesGetNotFound added in v1.1.1

type PcloudIpsecpoliciesGetNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies get not found response

func (*PcloudIpsecpoliciesGetNotFound) Error added in v1.1.1

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

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

WithContext adds the context to the pcloud ipsecpolicies get params

func (*PcloudIpsecpoliciesGetParams) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ipsecpolicies get unauthorized response

func (*PcloudIpsecpoliciesGetUnauthorized) Error

func (*PcloudIpsecpoliciesGetUnauthorized) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ipsecpolicies get unauthorized response has a 2xx status code

func (*PcloudIpsecpoliciesGetUnauthorized) String added in v1.2.2

type PcloudIpsecpoliciesGetUnprocessableEntity

type PcloudIpsecpoliciesGetUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies get unprocessable entity response

func (*PcloudIpsecpoliciesGetUnprocessableEntity) Error

func (*PcloudIpsecpoliciesGetUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud ipsecpolicies get unprocessable entity response has a 4xx status code

func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud ipsecpolicies get unprocessable entity response has a 3xx status code

func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud ipsecpolicies get unprocessable entity response has a 5xx status code

func (*PcloudIpsecpoliciesGetUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud ipsecpolicies get unprocessable entity response has a 2xx status code

func (*PcloudIpsecpoliciesGetUnprocessableEntity) String added in v1.2.2

type PcloudIpsecpoliciesGetallBadRequest

type PcloudIpsecpoliciesGetallBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies getall bad request response

func (*PcloudIpsecpoliciesGetallBadRequest) Error

func (*PcloudIpsecpoliciesGetallBadRequest) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ipsecpolicies getall bad request response has a 2xx status code

func (*PcloudIpsecpoliciesGetallBadRequest) String added in v1.2.2

type PcloudIpsecpoliciesGetallForbidden

type PcloudIpsecpoliciesGetallForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies getall forbidden response

func (*PcloudIpsecpoliciesGetallForbidden) Error

func (*PcloudIpsecpoliciesGetallForbidden) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ipsecpolicies getall forbidden response has a 2xx status code

func (*PcloudIpsecpoliciesGetallForbidden) String added in v1.2.2

type PcloudIpsecpoliciesGetallInternalServerError

type PcloudIpsecpoliciesGetallInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies getall internal server error response

func (*PcloudIpsecpoliciesGetallInternalServerError) Error

func (*PcloudIpsecpoliciesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesGetallInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIpsecpoliciesGetallNotFound

type PcloudIpsecpoliciesGetallNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies getall not found response

func (*PcloudIpsecpoliciesGetallNotFound) Error

func (*PcloudIpsecpoliciesGetallNotFound) GetPayload added in v1.1.0

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

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 (*PcloudIpsecpoliciesGetallOK) GetPayload added in v1.1.0

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

WithContext adds the context to the pcloud ipsecpolicies getall params

func (*PcloudIpsecpoliciesGetallParams) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ipsecpolicies getall unauthorized response

func (*PcloudIpsecpoliciesGetallUnauthorized) Error

func (*PcloudIpsecpoliciesGetallUnauthorized) GetPayload added in v1.1.0

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

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

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

IsSuccess returns true when this pcloud ipsecpolicies getall unauthorized response has a 2xx status code

func (*PcloudIpsecpoliciesGetallUnauthorized) String added in v1.2.2

type PcloudIpsecpoliciesPostBadRequest

type PcloudIpsecpoliciesPostBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies post bad request response

func (*PcloudIpsecpoliciesPostBadRequest) Error

func (*PcloudIpsecpoliciesPostBadRequest) GetPayload added in v1.1.0

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

type PcloudIpsecpoliciesPostConflict

type PcloudIpsecpoliciesPostConflict struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies post conflict response

func (*PcloudIpsecpoliciesPostConflict) Error

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

type PcloudIpsecpoliciesPostForbidden

type PcloudIpsecpoliciesPostForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies post forbidden response

func (*PcloudIpsecpoliciesPostForbidden) Error

func (*PcloudIpsecpoliciesPostForbidden) GetPayload added in v1.1.0

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

type PcloudIpsecpoliciesPostInternalServerError

type PcloudIpsecpoliciesPostInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies post internal server error response

func (*PcloudIpsecpoliciesPostInternalServerError) Error

func (*PcloudIpsecpoliciesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesPostInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIpsecpoliciesPostNotFound added in v1.4.2

type PcloudIpsecpoliciesPostNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies post not found response

func (*PcloudIpsecpoliciesPostNotFound) Error added in v1.4.2

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

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

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

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) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ipsecpolicies post unauthorized response

func (*PcloudIpsecpoliciesPostUnauthorized) Error

func (*PcloudIpsecpoliciesPostUnauthorized) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ipsecpolicies post unauthorized response has a 2xx status code

func (*PcloudIpsecpoliciesPostUnauthorized) String added in v1.2.2

type PcloudIpsecpoliciesPostUnprocessableEntity

type PcloudIpsecpoliciesPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies post unprocessable entity response

func (*PcloudIpsecpoliciesPostUnprocessableEntity) Error

func (*PcloudIpsecpoliciesPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud ipsecpolicies post unprocessable entity response has a 4xx status code

func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud ipsecpolicies post unprocessable entity response has a 3xx status code

func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud ipsecpolicies post unprocessable entity response has a 5xx status code

func (*PcloudIpsecpoliciesPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud ipsecpolicies post unprocessable entity response has a 2xx status code

func (*PcloudIpsecpoliciesPostUnprocessableEntity) String added in v1.2.2

type PcloudIpsecpoliciesPutBadRequest

type PcloudIpsecpoliciesPutBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies put bad request response

func (*PcloudIpsecpoliciesPutBadRequest) Error

func (*PcloudIpsecpoliciesPutBadRequest) GetPayload added in v1.1.0

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

type PcloudIpsecpoliciesPutConflict

type PcloudIpsecpoliciesPutConflict struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies put conflict response

func (*PcloudIpsecpoliciesPutConflict) Error

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

type PcloudIpsecpoliciesPutForbidden

type PcloudIpsecpoliciesPutForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies put forbidden response

func (*PcloudIpsecpoliciesPutForbidden) Error

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

type PcloudIpsecpoliciesPutInternalServerError

type PcloudIpsecpoliciesPutInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies put internal server error response

func (*PcloudIpsecpoliciesPutInternalServerError) Error

func (*PcloudIpsecpoliciesPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesPutInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudIpsecpoliciesPutNotFound added in v1.4.2

type PcloudIpsecpoliciesPutNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies put not found response

func (*PcloudIpsecpoliciesPutNotFound) Error added in v1.4.2

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

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

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

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) WithDefaults added in v1.1.0

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

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 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

Code gets the status code for the pcloud ipsecpolicies put unauthorized response

func (*PcloudIpsecpoliciesPutUnauthorized) Error

func (*PcloudIpsecpoliciesPutUnauthorized) GetPayload added in v1.1.0

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

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

IsSuccess returns true when this pcloud ipsecpolicies put unauthorized response has a 2xx status code

func (*PcloudIpsecpoliciesPutUnauthorized) String added in v1.2.2

type PcloudIpsecpoliciesPutUnprocessableEntity

type PcloudIpsecpoliciesPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud ipsecpolicies put unprocessable entity response

func (*PcloudIpsecpoliciesPutUnprocessableEntity) Error

func (*PcloudIpsecpoliciesPutUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud ipsecpolicies put unprocessable entity response has a 4xx status code

func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud ipsecpolicies put unprocessable entity response has a 3xx status code

func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud ipsecpolicies put unprocessable entity response has a 5xx status code

func (*PcloudIpsecpoliciesPutUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud ipsecpolicies put unprocessable entity response has a 2xx status code

func (*PcloudIpsecpoliciesPutUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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