m_g_port_forwarding_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 g port forwarding rules API

func (*Client) GetDeviceCellularGatewaySettingsPortForwardingRules

GetDeviceCellularGatewaySettingsPortForwardingRules gets device cellular gateway settings port forwarding rules

Returns the port forwarding rules for a single MG.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDeviceCellularGatewaySettingsPortForwardingRules

UpdateDeviceCellularGatewaySettingsPortForwardingRules updates device cellular gateway settings port forwarding rules

Updates the port forwarding rules for a single MG.

type ClientService

type ClientService interface {
	GetDeviceCellularGatewaySettingsPortForwardingRules(params *GetDeviceCellularGatewaySettingsPortForwardingRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCellularGatewaySettingsPortForwardingRulesOK, error)

	UpdateDeviceCellularGatewaySettingsPortForwardingRules(params *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK, 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 g port forwarding rules API client.

type GetDeviceCellularGatewaySettingsPortForwardingRulesOK

type GetDeviceCellularGatewaySettingsPortForwardingRulesOK struct {
	Payload interface{}
}

GetDeviceCellularGatewaySettingsPortForwardingRulesOK handles this case with default header values.

Successful operation

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesOK

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesOK() *GetDeviceCellularGatewaySettingsPortForwardingRulesOK

NewGetDeviceCellularGatewaySettingsPortForwardingRulesOK creates a GetDeviceCellularGatewaySettingsPortForwardingRulesOK with default headers values

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesOK) Error

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesOK) GetPayload

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

type GetDeviceCellularGatewaySettingsPortForwardingRulesParams

type GetDeviceCellularGatewaySettingsPortForwardingRulesParams struct {

	/*Serial*/
	Serial string

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

GetDeviceCellularGatewaySettingsPortForwardingRulesParams contains all the parameters to send to the API endpoint for the get device cellular gateway settings port forwarding rules operation typically these are written to a http.Request

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParams

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParams() *GetDeviceCellularGatewaySettingsPortForwardingRulesParams

NewGetDeviceCellularGatewaySettingsPortForwardingRulesParams creates a new GetDeviceCellularGatewaySettingsPortForwardingRulesParams object with the default values initialized.

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithContext

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams

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

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithHTTPClient

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams

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

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithTimeout

func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams

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

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetContext

SetContext adds the context to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial

SetSerial adds the serial to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout

SetTimeout adds the timeout to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithContext

WithContext adds the context to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial

WithSerial adds the serial to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout

WithTimeout adds the timeout to the get device cellular gateway settings port forwarding rules params

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceCellularGatewaySettingsPortForwardingRulesReader

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

GetDeviceCellularGatewaySettingsPortForwardingRulesReader is a Reader for the GetDeviceCellularGatewaySettingsPortForwardingRules structure.

func (*GetDeviceCellularGatewaySettingsPortForwardingRulesReader) ReadResponse

ReadResponse reads a server response into the received o.

type UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK

type UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK struct {
	Payload interface{}
}

UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK handles this case with default header values.

Successful operation

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesOK

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesOK() *UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK

NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesOK creates a UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK with default headers values

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK) Error

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK) GetPayload

type UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams

type UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams struct {

	/*Serial*/
	Serial string
	/*UpdateDeviceCellularGatewaySettingsPortForwardingRules*/
	UpdateDeviceCellularGatewaySettingsPortForwardingRules *models.UpdateDeviceCellularGatewaySettingsPortForwardingRules

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

UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams contains all the parameters to send to the API endpoint for the update device cellular gateway settings port forwarding rules operation typically these are written to a http.Request

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParams

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParams() *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams

NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParams creates a new UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams object with the default values initialized.

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithContext

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams

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

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithHTTPClient

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams

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

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithTimeout

func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams

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

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetContext

SetContext adds the context to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial

SetSerial adds the serial to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout

SetTimeout adds the timeout to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetUpdateDeviceCellularGatewaySettingsPortForwardingRules

func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetUpdateDeviceCellularGatewaySettingsPortForwardingRules(updateDeviceCellularGatewaySettingsPortForwardingRules *models.UpdateDeviceCellularGatewaySettingsPortForwardingRules)

SetUpdateDeviceCellularGatewaySettingsPortForwardingRules adds the updateDeviceCellularGatewaySettingsPortForwardingRules to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithContext

WithContext adds the context to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial

WithSerial adds the serial to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout

WithTimeout adds the timeout to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithUpdateDeviceCellularGatewaySettingsPortForwardingRules

func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithUpdateDeviceCellularGatewaySettingsPortForwardingRules(updateDeviceCellularGatewaySettingsPortForwardingRules *models.UpdateDeviceCellularGatewaySettingsPortForwardingRules) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams

WithUpdateDeviceCellularGatewaySettingsPortForwardingRules adds the updateDeviceCellularGatewaySettingsPortForwardingRules to the update device cellular gateway settings port forwarding rules params

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceCellularGatewaySettingsPortForwardingRulesReader

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

UpdateDeviceCellularGatewaySettingsPortForwardingRulesReader is a Reader for the UpdateDeviceCellularGatewaySettingsPortForwardingRules structure.

func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesReader) ReadResponse

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