Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNetworkOneToManyNatRules(params *GetNetworkOneToManyNatRulesParams, ...) (*GetNetworkOneToManyNatRulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkOneToManyNatRules(params *UpdateNetworkOneToManyNatRulesParams, ...) (*UpdateNetworkOneToManyNatRulesOK, error)
- type ClientService
- type GetNetworkOneToManyNatRulesOK
- type GetNetworkOneToManyNatRulesParams
- func NewGetNetworkOneToManyNatRulesParams() *GetNetworkOneToManyNatRulesParams
- func NewGetNetworkOneToManyNatRulesParamsWithContext(ctx context.Context) *GetNetworkOneToManyNatRulesParams
- func NewGetNetworkOneToManyNatRulesParamsWithHTTPClient(client *http.Client) *GetNetworkOneToManyNatRulesParams
- func NewGetNetworkOneToManyNatRulesParamsWithTimeout(timeout time.Duration) *GetNetworkOneToManyNatRulesParams
- func (o *GetNetworkOneToManyNatRulesParams) SetContext(ctx context.Context)
- func (o *GetNetworkOneToManyNatRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkOneToManyNatRulesParams) SetNetworkID(networkID string)
- func (o *GetNetworkOneToManyNatRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkOneToManyNatRulesParams) WithContext(ctx context.Context) *GetNetworkOneToManyNatRulesParams
- func (o *GetNetworkOneToManyNatRulesParams) WithHTTPClient(client *http.Client) *GetNetworkOneToManyNatRulesParams
- func (o *GetNetworkOneToManyNatRulesParams) WithNetworkID(networkID string) *GetNetworkOneToManyNatRulesParams
- func (o *GetNetworkOneToManyNatRulesParams) WithTimeout(timeout time.Duration) *GetNetworkOneToManyNatRulesParams
- func (o *GetNetworkOneToManyNatRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkOneToManyNatRulesReader
- type UpdateNetworkOneToManyNatRulesOK
- type UpdateNetworkOneToManyNatRulesParams
- func NewUpdateNetworkOneToManyNatRulesParams() *UpdateNetworkOneToManyNatRulesParams
- func NewUpdateNetworkOneToManyNatRulesParamsWithContext(ctx context.Context) *UpdateNetworkOneToManyNatRulesParams
- func NewUpdateNetworkOneToManyNatRulesParamsWithHTTPClient(client *http.Client) *UpdateNetworkOneToManyNatRulesParams
- func NewUpdateNetworkOneToManyNatRulesParamsWithTimeout(timeout time.Duration) *UpdateNetworkOneToManyNatRulesParams
- func (o *UpdateNetworkOneToManyNatRulesParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkOneToManyNatRulesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkOneToManyNatRulesParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkOneToManyNatRulesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkOneToManyNatRulesParams) SetUpdateNetworkOneToManyNatRules(updateNetworkOneToManyNatRules *models.UpdateNetworkOneToManyNatRules)
- func (o *UpdateNetworkOneToManyNatRulesParams) WithContext(ctx context.Context) *UpdateNetworkOneToManyNatRulesParams
- func (o *UpdateNetworkOneToManyNatRulesParams) WithHTTPClient(client *http.Client) *UpdateNetworkOneToManyNatRulesParams
- func (o *UpdateNetworkOneToManyNatRulesParams) WithNetworkID(networkID string) *UpdateNetworkOneToManyNatRulesParams
- func (o *UpdateNetworkOneToManyNatRulesParams) WithTimeout(timeout time.Duration) *UpdateNetworkOneToManyNatRulesParams
- func (o *UpdateNetworkOneToManyNatRulesParams) WithUpdateNetworkOneToManyNatRules(updateNetworkOneToManyNatRules *models.UpdateNetworkOneToManyNatRules) *UpdateNetworkOneToManyNatRulesParams
- func (o *UpdateNetworkOneToManyNatRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkOneToManyNatRulesReader
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 (o *GetNetworkOneToManyNatRulesOK) Error() string
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 ¶
func (o *GetNetworkOneToManyNatRulesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkOneToManyNatRulesParams) WithContext(ctx context.Context) *GetNetworkOneToManyNatRulesParams
WithContext adds the context to the get network one to many nat rules params
func (*GetNetworkOneToManyNatRulesParams) WithHTTPClient ¶
func (o *GetNetworkOneToManyNatRulesParams) WithHTTPClient(client *http.Client) *GetNetworkOneToManyNatRulesParams
WithHTTPClient adds the HTTPClient to the get network one to many nat rules params
func (*GetNetworkOneToManyNatRulesParams) WithNetworkID ¶
func (o *GetNetworkOneToManyNatRulesParams) WithNetworkID(networkID string) *GetNetworkOneToManyNatRulesParams
WithNetworkID adds the networkID to the get network one to many nat rules params
func (*GetNetworkOneToManyNatRulesParams) WithTimeout ¶
func (o *GetNetworkOneToManyNatRulesParams) WithTimeout(timeout time.Duration) *GetNetworkOneToManyNatRulesParams
WithTimeout adds the timeout to the get network one to many nat rules params
func (*GetNetworkOneToManyNatRulesParams) WriteToRequest ¶
func (o *GetNetworkOneToManyNatRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateNetworkOneToManyNatRulesOK) Error() string
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 ¶
func (o *UpdateNetworkOneToManyNatRulesParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkOneToManyNatRulesParams) WithContext(ctx context.Context) *UpdateNetworkOneToManyNatRulesParams
WithContext adds the context to the update network one to many nat rules params
func (*UpdateNetworkOneToManyNatRulesParams) WithHTTPClient ¶
func (o *UpdateNetworkOneToManyNatRulesParams) WithHTTPClient(client *http.Client) *UpdateNetworkOneToManyNatRulesParams
WithHTTPClient adds the HTTPClient to the update network one to many nat rules params
func (*UpdateNetworkOneToManyNatRulesParams) WithNetworkID ¶
func (o *UpdateNetworkOneToManyNatRulesParams) WithNetworkID(networkID string) *UpdateNetworkOneToManyNatRulesParams
WithNetworkID adds the networkID to the update network one to many nat rules params
func (*UpdateNetworkOneToManyNatRulesParams) WithTimeout ¶
func (o *UpdateNetworkOneToManyNatRulesParams) WithTimeout(timeout time.Duration) *UpdateNetworkOneToManyNatRulesParams
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 ¶
func (o *UpdateNetworkOneToManyNatRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.