n_a_t_rules

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for n a t rules API

func (*Client) NatRuleCreateUsingPUT

NatRuleCreateUsingPUT creates

Create NAT rule

func (*Client) NatRuleDeleteUsingDELETE

func (a *Client) NatRuleDeleteUsingDELETE(params *NatRuleDeleteUsingDELETEParams, opts ...ClientOption) (*NatRuleDeleteUsingDELETEOK, error)

NatRuleDeleteUsingDELETE deletes

Delete NAT rule

func (*Client) NatRuleGetUsingGET

func (a *Client) NatRuleGetUsingGET(params *NatRuleGetUsingGETParams, opts ...ClientOption) (*NatRuleGetUsingGETOK, error)

NatRuleGetUsingGET gets

Get NAT rule

func (*Client) NatRuleListUsingGET

func (a *Client) NatRuleListUsingGET(params *NatRuleListUsingGETParams, opts ...ClientOption) (*NatRuleListUsingGETOK, error)

NatRuleListUsingGET lists

List NAT rules

func (*Client) NatRuleUpdateUsingPUT

func (a *Client) NatRuleUpdateUsingPUT(params *NatRuleUpdateUsingPUTParams, opts ...ClientOption) (*NatRuleUpdateUsingPUTOK, error)

NatRuleUpdateUsingPUT updates

Update NAT rule

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	NatRuleCreateUsingPUT(params *NatRuleCreateUsingPUTParams, opts ...ClientOption) (*NatRuleCreateUsingPUTOK, *NatRuleCreateUsingPUTCreated, error)

	NatRuleDeleteUsingDELETE(params *NatRuleDeleteUsingDELETEParams, opts ...ClientOption) (*NatRuleDeleteUsingDELETEOK, error)

	NatRuleGetUsingGET(params *NatRuleGetUsingGETParams, opts ...ClientOption) (*NatRuleGetUsingGETOK, error)

	NatRuleListUsingGET(params *NatRuleListUsingGETParams, opts ...ClientOption) (*NatRuleListUsingGETOK, error)

	NatRuleUpdateUsingPUT(params *NatRuleUpdateUsingPUTParams, opts ...ClientOption) (*NatRuleUpdateUsingPUTOK, 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 n a t rules API client.

type NatRuleCreateUsingPUTBadRequest

type NatRuleCreateUsingPUTBadRequest struct {
	Payload *models.ProxyResponseMessage
}
NatRuleCreateUsingPUTBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewNatRuleCreateUsingPUTBadRequest

func NewNatRuleCreateUsingPUTBadRequest() *NatRuleCreateUsingPUTBadRequest

NewNatRuleCreateUsingPUTBadRequest creates a NatRuleCreateUsingPUTBadRequest with default headers values

func (*NatRuleCreateUsingPUTBadRequest) Error

func (*NatRuleCreateUsingPUTBadRequest) GetPayload

type NatRuleCreateUsingPUTCreated

type NatRuleCreateUsingPUTCreated struct {
	Payload *models.CreateNATRuleResponse
}
NatRuleCreateUsingPUTCreated describes a response with status code 201, with default header values.

Entity has been created

func NewNatRuleCreateUsingPUTCreated

func NewNatRuleCreateUsingPUTCreated() *NatRuleCreateUsingPUTCreated

NewNatRuleCreateUsingPUTCreated creates a NatRuleCreateUsingPUTCreated with default headers values

func (*NatRuleCreateUsingPUTCreated) Error

func (*NatRuleCreateUsingPUTCreated) GetPayload

type NatRuleCreateUsingPUTOK

type NatRuleCreateUsingPUTOK struct {
	Payload *models.CreateNATRuleResponse
}
NatRuleCreateUsingPUTOK describes a response with status code 200, with default header values.

OK

func NewNatRuleCreateUsingPUTOK

func NewNatRuleCreateUsingPUTOK() *NatRuleCreateUsingPUTOK

NewNatRuleCreateUsingPUTOK creates a NatRuleCreateUsingPUTOK with default headers values

func (*NatRuleCreateUsingPUTOK) Error

func (o *NatRuleCreateUsingPUTOK) Error() string

func (*NatRuleCreateUsingPUTOK) GetPayload

type NatRuleCreateUsingPUTParams

type NatRuleCreateUsingPUTParams struct {

	/* NatRuleInstance.

	   natRuleInstance
	*/
	NatRuleInstance *models.NATRuleInstance

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

NatRuleCreateUsingPUTParams contains all the parameters to send to the API endpoint

for the nat rule create using p u t operation.

Typically these are written to a http.Request.

func NewNatRuleCreateUsingPUTParams

func NewNatRuleCreateUsingPUTParams() *NatRuleCreateUsingPUTParams

NewNatRuleCreateUsingPUTParams creates a new NatRuleCreateUsingPUTParams 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 NewNatRuleCreateUsingPUTParamsWithContext

func NewNatRuleCreateUsingPUTParamsWithContext(ctx context.Context) *NatRuleCreateUsingPUTParams

NewNatRuleCreateUsingPUTParamsWithContext creates a new NatRuleCreateUsingPUTParams object with the ability to set a context for a request.

func NewNatRuleCreateUsingPUTParamsWithHTTPClient

func NewNatRuleCreateUsingPUTParamsWithHTTPClient(client *http.Client) *NatRuleCreateUsingPUTParams

NewNatRuleCreateUsingPUTParamsWithHTTPClient creates a new NatRuleCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewNatRuleCreateUsingPUTParamsWithTimeout

func NewNatRuleCreateUsingPUTParamsWithTimeout(timeout time.Duration) *NatRuleCreateUsingPUTParams

NewNatRuleCreateUsingPUTParamsWithTimeout creates a new NatRuleCreateUsingPUTParams object with the ability to set a timeout on a request.

func (*NatRuleCreateUsingPUTParams) SetContext

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

SetContext adds the context to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) SetDefaults added in v1.2.4

func (o *NatRuleCreateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the nat rule create using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleCreateUsingPUTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) SetNatRuleInstance

func (o *NatRuleCreateUsingPUTParams) SetNatRuleInstance(natRuleInstance *models.NATRuleInstance)

SetNatRuleInstance adds the natRuleInstance to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) SetTimeout

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

SetTimeout adds the timeout to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) WithContext

WithContext adds the context to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the nat rule create using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleCreateUsingPUTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) WithNatRuleInstance

func (o *NatRuleCreateUsingPUTParams) WithNatRuleInstance(natRuleInstance *models.NATRuleInstance) *NatRuleCreateUsingPUTParams

WithNatRuleInstance adds the natRuleInstance to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the nat rule create using p u t params

func (*NatRuleCreateUsingPUTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NatRuleCreateUsingPUTReader

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

NatRuleCreateUsingPUTReader is a Reader for the NatRuleCreateUsingPUT structure.

func (*NatRuleCreateUsingPUTReader) ReadResponse

func (o *NatRuleCreateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NatRuleDeleteUsingDELETEBadRequest

type NatRuleDeleteUsingDELETEBadRequest struct {
	Payload *models.ProxyResponseMessage
}
NatRuleDeleteUsingDELETEBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewNatRuleDeleteUsingDELETEBadRequest

func NewNatRuleDeleteUsingDELETEBadRequest() *NatRuleDeleteUsingDELETEBadRequest

NewNatRuleDeleteUsingDELETEBadRequest creates a NatRuleDeleteUsingDELETEBadRequest with default headers values

func (*NatRuleDeleteUsingDELETEBadRequest) Error

func (*NatRuleDeleteUsingDELETEBadRequest) GetPayload

type NatRuleDeleteUsingDELETEOK

type NatRuleDeleteUsingDELETEOK struct {
	Payload *models.DeleteNATRuleResponse
}
NatRuleDeleteUsingDELETEOK describes a response with status code 200, with default header values.

Entity has been deleted

func NewNatRuleDeleteUsingDELETEOK

func NewNatRuleDeleteUsingDELETEOK() *NatRuleDeleteUsingDELETEOK

NewNatRuleDeleteUsingDELETEOK creates a NatRuleDeleteUsingDELETEOK with default headers values

func (*NatRuleDeleteUsingDELETEOK) Error

func (*NatRuleDeleteUsingDELETEOK) GetPayload

type NatRuleDeleteUsingDELETEParams

type NatRuleDeleteUsingDELETEParams struct {

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

NatRuleDeleteUsingDELETEParams contains all the parameters to send to the API endpoint

for the nat rule delete using d e l e t e operation.

Typically these are written to a http.Request.

func NewNatRuleDeleteUsingDELETEParams

func NewNatRuleDeleteUsingDELETEParams() *NatRuleDeleteUsingDELETEParams

NewNatRuleDeleteUsingDELETEParams creates a new NatRuleDeleteUsingDELETEParams 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 NewNatRuleDeleteUsingDELETEParamsWithContext

func NewNatRuleDeleteUsingDELETEParamsWithContext(ctx context.Context) *NatRuleDeleteUsingDELETEParams

NewNatRuleDeleteUsingDELETEParamsWithContext creates a new NatRuleDeleteUsingDELETEParams object with the ability to set a context for a request.

func NewNatRuleDeleteUsingDELETEParamsWithHTTPClient

func NewNatRuleDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *NatRuleDeleteUsingDELETEParams

NewNatRuleDeleteUsingDELETEParamsWithHTTPClient creates a new NatRuleDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewNatRuleDeleteUsingDELETEParamsWithTimeout

func NewNatRuleDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *NatRuleDeleteUsingDELETEParams

NewNatRuleDeleteUsingDELETEParamsWithTimeout creates a new NatRuleDeleteUsingDELETEParams object with the ability to set a timeout on a request.

func (*NatRuleDeleteUsingDELETEParams) SetContext

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

SetContext adds the context to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) SetDefaults added in v1.2.4

func (o *NatRuleDeleteUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the nat rule delete using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleDeleteUsingDELETEParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) SetRuleID

func (o *NatRuleDeleteUsingDELETEParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) SetTimeout

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

SetTimeout adds the timeout to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) WithContext

WithContext adds the context to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the nat rule delete using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleDeleteUsingDELETEParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) WithRuleID

WithRuleID adds the ruleID to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the nat rule delete using d e l e t e params

func (*NatRuleDeleteUsingDELETEParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NatRuleDeleteUsingDELETEReader

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

NatRuleDeleteUsingDELETEReader is a Reader for the NatRuleDeleteUsingDELETE structure.

func (*NatRuleDeleteUsingDELETEReader) ReadResponse

func (o *NatRuleDeleteUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NatRuleGetUsingGETBadRequest

type NatRuleGetUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
NatRuleGetUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewNatRuleGetUsingGETBadRequest

func NewNatRuleGetUsingGETBadRequest() *NatRuleGetUsingGETBadRequest

NewNatRuleGetUsingGETBadRequest creates a NatRuleGetUsingGETBadRequest with default headers values

func (*NatRuleGetUsingGETBadRequest) Error

func (*NatRuleGetUsingGETBadRequest) GetPayload

type NatRuleGetUsingGETNotFound

type NatRuleGetUsingGETNotFound struct {
}
NatRuleGetUsingGETNotFound describes a response with status code 404, with default header values.

Entity not found.

func NewNatRuleGetUsingGETNotFound

func NewNatRuleGetUsingGETNotFound() *NatRuleGetUsingGETNotFound

NewNatRuleGetUsingGETNotFound creates a NatRuleGetUsingGETNotFound with default headers values

func (*NatRuleGetUsingGETNotFound) Error

type NatRuleGetUsingGETOK

type NatRuleGetUsingGETOK struct {
	Payload *models.NATRuleGetResponse
}
NatRuleGetUsingGETOK describes a response with status code 200, with default header values.

OK

func NewNatRuleGetUsingGETOK

func NewNatRuleGetUsingGETOK() *NatRuleGetUsingGETOK

NewNatRuleGetUsingGETOK creates a NatRuleGetUsingGETOK with default headers values

func (*NatRuleGetUsingGETOK) Error

func (o *NatRuleGetUsingGETOK) Error() string

func (*NatRuleGetUsingGETOK) GetPayload

type NatRuleGetUsingGETParams

type NatRuleGetUsingGETParams struct {

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

NatRuleGetUsingGETParams contains all the parameters to send to the API endpoint

for the nat rule get using g e t operation.

Typically these are written to a http.Request.

func NewNatRuleGetUsingGETParams

func NewNatRuleGetUsingGETParams() *NatRuleGetUsingGETParams

NewNatRuleGetUsingGETParams creates a new NatRuleGetUsingGETParams 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 NewNatRuleGetUsingGETParamsWithContext

func NewNatRuleGetUsingGETParamsWithContext(ctx context.Context) *NatRuleGetUsingGETParams

NewNatRuleGetUsingGETParamsWithContext creates a new NatRuleGetUsingGETParams object with the ability to set a context for a request.

func NewNatRuleGetUsingGETParamsWithHTTPClient

func NewNatRuleGetUsingGETParamsWithHTTPClient(client *http.Client) *NatRuleGetUsingGETParams

NewNatRuleGetUsingGETParamsWithHTTPClient creates a new NatRuleGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewNatRuleGetUsingGETParamsWithTimeout

func NewNatRuleGetUsingGETParamsWithTimeout(timeout time.Duration) *NatRuleGetUsingGETParams

NewNatRuleGetUsingGETParamsWithTimeout creates a new NatRuleGetUsingGETParams object with the ability to set a timeout on a request.

func (*NatRuleGetUsingGETParams) SetContext

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

SetContext adds the context to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) SetDefaults added in v1.2.4

func (o *NatRuleGetUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the nat rule get using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleGetUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) SetRuleID

func (o *NatRuleGetUsingGETParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) WithContext

WithContext adds the context to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the nat rule get using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleGetUsingGETParams) WithHTTPClient

func (o *NatRuleGetUsingGETParams) WithHTTPClient(client *http.Client) *NatRuleGetUsingGETParams

WithHTTPClient adds the HTTPClient to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) WithRuleID

WithRuleID adds the ruleID to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the nat rule get using g e t params

func (*NatRuleGetUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NatRuleGetUsingGETReader

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

NatRuleGetUsingGETReader is a Reader for the NatRuleGetUsingGET structure.

func (*NatRuleGetUsingGETReader) ReadResponse

func (o *NatRuleGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NatRuleListUsingGETBadRequest

type NatRuleListUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
NatRuleListUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewNatRuleListUsingGETBadRequest

func NewNatRuleListUsingGETBadRequest() *NatRuleListUsingGETBadRequest

NewNatRuleListUsingGETBadRequest creates a NatRuleListUsingGETBadRequest with default headers values

func (*NatRuleListUsingGETBadRequest) Error

func (*NatRuleListUsingGETBadRequest) GetPayload

type NatRuleListUsingGETOK

type NatRuleListUsingGETOK struct {
	Payload *models.NATRuleListResponse
}
NatRuleListUsingGETOK describes a response with status code 200, with default header values.

OK

func NewNatRuleListUsingGETOK

func NewNatRuleListUsingGETOK() *NatRuleListUsingGETOK

NewNatRuleListUsingGETOK creates a NatRuleListUsingGETOK with default headers values

func (*NatRuleListUsingGETOK) Error

func (o *NatRuleListUsingGETOK) Error() string

func (*NatRuleListUsingGETOK) GetPayload

type NatRuleListUsingGETParams

type NatRuleListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

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

NatRuleListUsingGETParams contains all the parameters to send to the API endpoint

for the nat rule list using g e t operation.

Typically these are written to a http.Request.

func NewNatRuleListUsingGETParams

func NewNatRuleListUsingGETParams() *NatRuleListUsingGETParams

NewNatRuleListUsingGETParams creates a new NatRuleListUsingGETParams 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 NewNatRuleListUsingGETParamsWithContext

func NewNatRuleListUsingGETParamsWithContext(ctx context.Context) *NatRuleListUsingGETParams

NewNatRuleListUsingGETParamsWithContext creates a new NatRuleListUsingGETParams object with the ability to set a context for a request.

func NewNatRuleListUsingGETParamsWithHTTPClient

func NewNatRuleListUsingGETParamsWithHTTPClient(client *http.Client) *NatRuleListUsingGETParams

NewNatRuleListUsingGETParamsWithHTTPClient creates a new NatRuleListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewNatRuleListUsingGETParamsWithTimeout

func NewNatRuleListUsingGETParamsWithTimeout(timeout time.Duration) *NatRuleListUsingGETParams

NewNatRuleListUsingGETParamsWithTimeout creates a new NatRuleListUsingGETParams object with the ability to set a timeout on a request.

func (*NatRuleListUsingGETParams) SetContext

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

SetContext adds the context to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) SetDefaults added in v1.2.4

func (o *NatRuleListUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the nat rule list using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleListUsingGETParams) SetDisplayName

func (o *NatRuleListUsingGETParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) WithContext

WithContext adds the context to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the nat rule list using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleListUsingGETParams) WithDisplayName

func (o *NatRuleListUsingGETParams) WithDisplayName(displayName *string) *NatRuleListUsingGETParams

WithDisplayName adds the displayName to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) WithHTTPClient

func (o *NatRuleListUsingGETParams) WithHTTPClient(client *http.Client) *NatRuleListUsingGETParams

WithHTTPClient adds the HTTPClient to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the nat rule list using g e t params

func (*NatRuleListUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NatRuleListUsingGETReader

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

NatRuleListUsingGETReader is a Reader for the NatRuleListUsingGET structure.

func (*NatRuleListUsingGETReader) ReadResponse

func (o *NatRuleListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NatRuleUpdateUsingPUTBadRequest

type NatRuleUpdateUsingPUTBadRequest struct {
	Payload *models.ProxyResponseMessage
}
NatRuleUpdateUsingPUTBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewNatRuleUpdateUsingPUTBadRequest

func NewNatRuleUpdateUsingPUTBadRequest() *NatRuleUpdateUsingPUTBadRequest

NewNatRuleUpdateUsingPUTBadRequest creates a NatRuleUpdateUsingPUTBadRequest with default headers values

func (*NatRuleUpdateUsingPUTBadRequest) Error

func (*NatRuleUpdateUsingPUTBadRequest) GetPayload

type NatRuleUpdateUsingPUTOK

type NatRuleUpdateUsingPUTOK struct {
	Payload *models.UpdateNATRuleResponse
}
NatRuleUpdateUsingPUTOK describes a response with status code 200, with default header values.

Entity has been updated

func NewNatRuleUpdateUsingPUTOK

func NewNatRuleUpdateUsingPUTOK() *NatRuleUpdateUsingPUTOK

NewNatRuleUpdateUsingPUTOK creates a NatRuleUpdateUsingPUTOK with default headers values

func (*NatRuleUpdateUsingPUTOK) Error

func (o *NatRuleUpdateUsingPUTOK) Error() string

func (*NatRuleUpdateUsingPUTOK) GetPayload

type NatRuleUpdateUsingPUTParams

type NatRuleUpdateUsingPUTParams struct {

	/* NatRuleInstance.

	   natRuleInstance
	*/
	NatRuleInstance *models.NATRuleInstance

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

NatRuleUpdateUsingPUTParams contains all the parameters to send to the API endpoint

for the nat rule update using p u t operation.

Typically these are written to a http.Request.

func NewNatRuleUpdateUsingPUTParams

func NewNatRuleUpdateUsingPUTParams() *NatRuleUpdateUsingPUTParams

NewNatRuleUpdateUsingPUTParams creates a new NatRuleUpdateUsingPUTParams 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 NewNatRuleUpdateUsingPUTParamsWithContext

func NewNatRuleUpdateUsingPUTParamsWithContext(ctx context.Context) *NatRuleUpdateUsingPUTParams

NewNatRuleUpdateUsingPUTParamsWithContext creates a new NatRuleUpdateUsingPUTParams object with the ability to set a context for a request.

func NewNatRuleUpdateUsingPUTParamsWithHTTPClient

func NewNatRuleUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *NatRuleUpdateUsingPUTParams

NewNatRuleUpdateUsingPUTParamsWithHTTPClient creates a new NatRuleUpdateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewNatRuleUpdateUsingPUTParamsWithTimeout

func NewNatRuleUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *NatRuleUpdateUsingPUTParams

NewNatRuleUpdateUsingPUTParamsWithTimeout creates a new NatRuleUpdateUsingPUTParams object with the ability to set a timeout on a request.

func (*NatRuleUpdateUsingPUTParams) SetContext

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

SetContext adds the context to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) SetDefaults added in v1.2.4

func (o *NatRuleUpdateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the nat rule update using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleUpdateUsingPUTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) SetNatRuleInstance

func (o *NatRuleUpdateUsingPUTParams) SetNatRuleInstance(natRuleInstance *models.NATRuleInstance)

SetNatRuleInstance adds the natRuleInstance to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) SetRuleID

func (o *NatRuleUpdateUsingPUTParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) SetTimeout

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

SetTimeout adds the timeout to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) WithContext

WithContext adds the context to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the nat rule update using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*NatRuleUpdateUsingPUTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) WithNatRuleInstance

func (o *NatRuleUpdateUsingPUTParams) WithNatRuleInstance(natRuleInstance *models.NATRuleInstance) *NatRuleUpdateUsingPUTParams

WithNatRuleInstance adds the natRuleInstance to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) WithRuleID

WithRuleID adds the ruleID to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the nat rule update using p u t params

func (*NatRuleUpdateUsingPUTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NatRuleUpdateUsingPUTReader

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

NatRuleUpdateUsingPUTReader is a Reader for the NatRuleUpdateUsingPUT structure.

func (*NatRuleUpdateUsingPUTReader) ReadResponse

func (o *NatRuleUpdateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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