m_x_1_1_n_a_t_rules

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 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 m x 1 1 n a t rules API

func (*Client) GetNetworkOneToOneNatRules

func (a *Client) GetNetworkOneToOneNatRules(params *GetNetworkOneToOneNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkOneToOneNatRulesOK, error)

GetNetworkOneToOneNatRules gets network one to one nat rules

Return the 1:1 NAT mapping rules for an MX network

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetworkOneToOneNatRules

func (a *Client) UpdateNetworkOneToOneNatRules(params *UpdateNetworkOneToOneNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkOneToOneNatRulesOK, error)

UpdateNetworkOneToOneNatRules updates network one to one nat rules

Set the 1:1 NAT mapping rules for an MX network

type ClientService

type ClientService interface {
	GetNetworkOneToOneNatRules(params *GetNetworkOneToOneNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkOneToOneNatRulesOK, error)

	UpdateNetworkOneToOneNatRules(params *UpdateNetworkOneToOneNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkOneToOneNatRulesOK, 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 m x 1 1 n a t rules API client.

type GetNetworkOneToOneNatRulesOK

type GetNetworkOneToOneNatRulesOK struct {
	Payload interface{}
}

GetNetworkOneToOneNatRulesOK handles this case with default header values.

Successful operation

func NewGetNetworkOneToOneNatRulesOK

func NewGetNetworkOneToOneNatRulesOK() *GetNetworkOneToOneNatRulesOK

NewGetNetworkOneToOneNatRulesOK creates a GetNetworkOneToOneNatRulesOK with default headers values

func (*GetNetworkOneToOneNatRulesOK) Error

func (*GetNetworkOneToOneNatRulesOK) GetPayload

func (o *GetNetworkOneToOneNatRulesOK) GetPayload() interface{}

type GetNetworkOneToOneNatRulesParams

type GetNetworkOneToOneNatRulesParams struct {

	/*NetworkID*/
	NetworkID string

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

GetNetworkOneToOneNatRulesParams contains all the parameters to send to the API endpoint for the get network one to one nat rules operation typically these are written to a http.Request

func NewGetNetworkOneToOneNatRulesParams

func NewGetNetworkOneToOneNatRulesParams() *GetNetworkOneToOneNatRulesParams

NewGetNetworkOneToOneNatRulesParams creates a new GetNetworkOneToOneNatRulesParams object with the default values initialized.

func NewGetNetworkOneToOneNatRulesParamsWithContext

func NewGetNetworkOneToOneNatRulesParamsWithContext(ctx context.Context) *GetNetworkOneToOneNatRulesParams

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

func NewGetNetworkOneToOneNatRulesParamsWithHTTPClient

func NewGetNetworkOneToOneNatRulesParamsWithHTTPClient(client *http.Client) *GetNetworkOneToOneNatRulesParams

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

func NewGetNetworkOneToOneNatRulesParamsWithTimeout

func NewGetNetworkOneToOneNatRulesParamsWithTimeout(timeout time.Duration) *GetNetworkOneToOneNatRulesParams

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

func (*GetNetworkOneToOneNatRulesParams) SetContext

SetContext adds the context to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) SetNetworkID

func (o *GetNetworkOneToOneNatRulesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) WithContext

WithContext adds the context to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) WithNetworkID

WithNetworkID adds the networkID to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) WithTimeout

WithTimeout adds the timeout to the get network one to one nat rules params

func (*GetNetworkOneToOneNatRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkOneToOneNatRulesReader

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

GetNetworkOneToOneNatRulesReader is a Reader for the GetNetworkOneToOneNatRules structure.

func (*GetNetworkOneToOneNatRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkOneToOneNatRulesOK

type UpdateNetworkOneToOneNatRulesOK struct {
	Payload interface{}
}

UpdateNetworkOneToOneNatRulesOK handles this case with default header values.

Successful operation

func NewUpdateNetworkOneToOneNatRulesOK

func NewUpdateNetworkOneToOneNatRulesOK() *UpdateNetworkOneToOneNatRulesOK

NewUpdateNetworkOneToOneNatRulesOK creates a UpdateNetworkOneToOneNatRulesOK with default headers values

func (*UpdateNetworkOneToOneNatRulesOK) Error

func (*UpdateNetworkOneToOneNatRulesOK) GetPayload

func (o *UpdateNetworkOneToOneNatRulesOK) GetPayload() interface{}

type UpdateNetworkOneToOneNatRulesParams

type UpdateNetworkOneToOneNatRulesParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkOneToOneNatRules*/
	UpdateNetworkOneToOneNatRules *models.UpdateNetworkOneToOneNatRules

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

UpdateNetworkOneToOneNatRulesParams contains all the parameters to send to the API endpoint for the update network one to one nat rules operation typically these are written to a http.Request

func NewUpdateNetworkOneToOneNatRulesParams

func NewUpdateNetworkOneToOneNatRulesParams() *UpdateNetworkOneToOneNatRulesParams

NewUpdateNetworkOneToOneNatRulesParams creates a new UpdateNetworkOneToOneNatRulesParams object with the default values initialized.

func NewUpdateNetworkOneToOneNatRulesParamsWithContext

func NewUpdateNetworkOneToOneNatRulesParamsWithContext(ctx context.Context) *UpdateNetworkOneToOneNatRulesParams

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

func NewUpdateNetworkOneToOneNatRulesParamsWithHTTPClient

func NewUpdateNetworkOneToOneNatRulesParamsWithHTTPClient(client *http.Client) *UpdateNetworkOneToOneNatRulesParams

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

func NewUpdateNetworkOneToOneNatRulesParamsWithTimeout

func NewUpdateNetworkOneToOneNatRulesParamsWithTimeout(timeout time.Duration) *UpdateNetworkOneToOneNatRulesParams

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

func (*UpdateNetworkOneToOneNatRulesParams) SetContext

SetContext adds the context to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) SetNetworkID

func (o *UpdateNetworkOneToOneNatRulesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) SetTimeout

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

SetTimeout adds the timeout to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) SetUpdateNetworkOneToOneNatRules

func (o *UpdateNetworkOneToOneNatRulesParams) SetUpdateNetworkOneToOneNatRules(updateNetworkOneToOneNatRules *models.UpdateNetworkOneToOneNatRules)

SetUpdateNetworkOneToOneNatRules adds the updateNetworkOneToOneNatRules to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) WithContext

WithContext adds the context to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) WithNetworkID

WithNetworkID adds the networkID to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) WithTimeout

WithTimeout adds the timeout to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) WithUpdateNetworkOneToOneNatRules

func (o *UpdateNetworkOneToOneNatRulesParams) WithUpdateNetworkOneToOneNatRules(updateNetworkOneToOneNatRules *models.UpdateNetworkOneToOneNatRules) *UpdateNetworkOneToOneNatRulesParams

WithUpdateNetworkOneToOneNatRules adds the updateNetworkOneToOneNatRules to the update network one to one nat rules params

func (*UpdateNetworkOneToOneNatRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkOneToOneNatRulesReader

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

UpdateNetworkOneToOneNatRulesReader is a Reader for the UpdateNetworkOneToOneNatRules structure.

func (*UpdateNetworkOneToOneNatRulesReader) ReadResponse

func (o *UpdateNetworkOneToOneNatRulesReader) 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