m_x_1_many_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 many n a t rules API

func (*Client) GetNetworkOneToManyNatRules

func (a *Client) GetNetworkOneToManyNatRules(params *GetNetworkOneToManyNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkOneToManyNatRulesOK, error)

GetNetworkOneToManyNatRules gets network one to many nat rules

Return the 1:Many 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) UpdateNetworkOneToManyNatRules

func (a *Client) UpdateNetworkOneToManyNatRules(params *UpdateNetworkOneToManyNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkOneToManyNatRulesOK, error)

UpdateNetworkOneToManyNatRules updates network one to many nat rules

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

type ClientService

type ClientService interface {
	GetNetworkOneToManyNatRules(params *GetNetworkOneToManyNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkOneToManyNatRulesOK, error)

	UpdateNetworkOneToManyNatRules(params *UpdateNetworkOneToManyNatRulesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkOneToManyNatRulesOK, 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 many n a t rules API client.

type GetNetworkOneToManyNatRulesOK

type GetNetworkOneToManyNatRulesOK struct {
	Payload interface{}
}

GetNetworkOneToManyNatRulesOK handles this case with default header values.

Successful operation

func NewGetNetworkOneToManyNatRulesOK

func NewGetNetworkOneToManyNatRulesOK() *GetNetworkOneToManyNatRulesOK

NewGetNetworkOneToManyNatRulesOK creates a GetNetworkOneToManyNatRulesOK with default headers values

func (*GetNetworkOneToManyNatRulesOK) Error

func (*GetNetworkOneToManyNatRulesOK) GetPayload

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

type GetNetworkOneToManyNatRulesParams

type GetNetworkOneToManyNatRulesParams struct {

	/*NetworkID*/
	NetworkID string

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

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

func NewGetNetworkOneToManyNatRulesParams

func NewGetNetworkOneToManyNatRulesParams() *GetNetworkOneToManyNatRulesParams

NewGetNetworkOneToManyNatRulesParams creates a new GetNetworkOneToManyNatRulesParams object with the default values initialized.

func NewGetNetworkOneToManyNatRulesParamsWithContext

func NewGetNetworkOneToManyNatRulesParamsWithContext(ctx context.Context) *GetNetworkOneToManyNatRulesParams

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

func NewGetNetworkOneToManyNatRulesParamsWithHTTPClient

func NewGetNetworkOneToManyNatRulesParamsWithHTTPClient(client *http.Client) *GetNetworkOneToManyNatRulesParams

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

func NewGetNetworkOneToManyNatRulesParamsWithTimeout

func NewGetNetworkOneToManyNatRulesParamsWithTimeout(timeout time.Duration) *GetNetworkOneToManyNatRulesParams

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

func (*GetNetworkOneToManyNatRulesParams) SetContext

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

func (*GetNetworkOneToManyNatRulesParams) SetHTTPClient

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

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

func (*GetNetworkOneToManyNatRulesParams) SetNetworkID

func (o *GetNetworkOneToManyNatRulesParams) SetNetworkID(networkID string)

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

func (*GetNetworkOneToManyNatRulesParams) SetTimeout

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

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

func (*GetNetworkOneToManyNatRulesParams) WithContext

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

func (*GetNetworkOneToManyNatRulesParams) WithHTTPClient

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

func (*GetNetworkOneToManyNatRulesParams) WithNetworkID

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

func (*GetNetworkOneToManyNatRulesParams) WithTimeout

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

func (*GetNetworkOneToManyNatRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkOneToManyNatRulesReader

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

GetNetworkOneToManyNatRulesReader is a Reader for the GetNetworkOneToManyNatRules structure.

func (*GetNetworkOneToManyNatRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkOneToManyNatRulesOK

type UpdateNetworkOneToManyNatRulesOK struct {
	Payload interface{}
}

UpdateNetworkOneToManyNatRulesOK handles this case with default header values.

Successful operation

func NewUpdateNetworkOneToManyNatRulesOK

func NewUpdateNetworkOneToManyNatRulesOK() *UpdateNetworkOneToManyNatRulesOK

NewUpdateNetworkOneToManyNatRulesOK creates a UpdateNetworkOneToManyNatRulesOK with default headers values

func (*UpdateNetworkOneToManyNatRulesOK) Error

func (*UpdateNetworkOneToManyNatRulesOK) GetPayload

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

type UpdateNetworkOneToManyNatRulesParams

type UpdateNetworkOneToManyNatRulesParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkOneToManyNatRules*/
	UpdateNetworkOneToManyNatRules *models.UpdateNetworkOneToManyNatRules

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

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

func NewUpdateNetworkOneToManyNatRulesParams

func NewUpdateNetworkOneToManyNatRulesParams() *UpdateNetworkOneToManyNatRulesParams

NewUpdateNetworkOneToManyNatRulesParams creates a new UpdateNetworkOneToManyNatRulesParams object with the default values initialized.

func NewUpdateNetworkOneToManyNatRulesParamsWithContext

func NewUpdateNetworkOneToManyNatRulesParamsWithContext(ctx context.Context) *UpdateNetworkOneToManyNatRulesParams

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

func NewUpdateNetworkOneToManyNatRulesParamsWithHTTPClient

func NewUpdateNetworkOneToManyNatRulesParamsWithHTTPClient(client *http.Client) *UpdateNetworkOneToManyNatRulesParams

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

func NewUpdateNetworkOneToManyNatRulesParamsWithTimeout

func NewUpdateNetworkOneToManyNatRulesParamsWithTimeout(timeout time.Duration) *UpdateNetworkOneToManyNatRulesParams

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

func (*UpdateNetworkOneToManyNatRulesParams) SetContext

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

func (*UpdateNetworkOneToManyNatRulesParams) SetHTTPClient

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

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

func (*UpdateNetworkOneToManyNatRulesParams) SetNetworkID

func (o *UpdateNetworkOneToManyNatRulesParams) SetNetworkID(networkID string)

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

func (*UpdateNetworkOneToManyNatRulesParams) SetTimeout

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

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

func (*UpdateNetworkOneToManyNatRulesParams) SetUpdateNetworkOneToManyNatRules

func (o *UpdateNetworkOneToManyNatRulesParams) SetUpdateNetworkOneToManyNatRules(updateNetworkOneToManyNatRules *models.UpdateNetworkOneToManyNatRules)

SetUpdateNetworkOneToManyNatRules adds the updateNetworkOneToManyNatRules to the update network one to many nat rules params

func (*UpdateNetworkOneToManyNatRulesParams) WithContext

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

func (*UpdateNetworkOneToManyNatRulesParams) WithHTTPClient

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

func (*UpdateNetworkOneToManyNatRulesParams) WithNetworkID

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

func (*UpdateNetworkOneToManyNatRulesParams) WithTimeout

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

func (*UpdateNetworkOneToManyNatRulesParams) WithUpdateNetworkOneToManyNatRules

func (o *UpdateNetworkOneToManyNatRulesParams) WithUpdateNetworkOneToManyNatRules(updateNetworkOneToManyNatRules *models.UpdateNetworkOneToManyNatRules) *UpdateNetworkOneToManyNatRulesParams

WithUpdateNetworkOneToManyNatRules adds the updateNetworkOneToManyNatRules to the update network one to many nat rules params

func (*UpdateNetworkOneToManyNatRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkOneToManyNatRulesReader

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

UpdateNetworkOneToManyNatRulesReader is a Reader for the UpdateNetworkOneToManyNatRules structure.

func (*UpdateNetworkOneToManyNatRulesReader) ReadResponse

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