Documentation
¶
Index ¶
- type Client
- func (a *Client) GetDeviceCellularGatewaySettingsPortForwardingRules(params *GetDeviceCellularGatewaySettingsPortForwardingRulesParams, ...) (*GetDeviceCellularGatewaySettingsPortForwardingRulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeviceCellularGatewaySettingsPortForwardingRules(params *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams, ...) (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK, error)
- type ClientService
- type GetDeviceCellularGatewaySettingsPortForwardingRulesOK
- type GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParams() *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewGetDeviceCellularGatewaySettingsPortForwardingRulesParamsWithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetContext(ctx context.Context)
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial(serial string)
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial(serial string) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceCellularGatewaySettingsPortForwardingRulesReader
- type UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK
- type UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParams() *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func NewUpdateDeviceCellularGatewaySettingsPortForwardingRulesParamsWithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial(serial string)
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetUpdateDeviceCellularGatewaySettingsPortForwardingRules(...)
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial(serial string) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithUpdateDeviceCellularGatewaySettingsPortForwardingRules(...) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
- func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceCellularGatewaySettingsPortForwardingRulesReader
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 ¶
func (a *Client) GetDeviceCellularGatewaySettingsPortForwardingRules(params *GetDeviceCellularGatewaySettingsPortForwardingRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCellularGatewaySettingsPortForwardingRulesOK, error)
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 ¶
func (a *Client) UpdateDeviceCellularGatewaySettingsPortForwardingRules(params *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK, error)
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 (o *GetDeviceCellularGatewaySettingsPortForwardingRulesOK) Error() string
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 ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial(serial string)
SetSerial adds the serial to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithContext ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
WithContext adds the context to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
WithHTTPClient adds the HTTPClient to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial(serial string) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
WithSerial adds the serial to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsPortForwardingRulesParams
WithTimeout adds the timeout to the get device cellular gateway settings port forwarding rules params
func (*GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WriteToRequest ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceCellularGatewaySettingsPortForwardingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
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 (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK) Error() string
func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK) GetPayload ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesOK) GetPayload() interface{}
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 ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the update device cellular gateway settings port forwarding rules params
func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update device cellular gateway settings port forwarding rules params
func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetSerial(serial string)
SetSerial adds the serial to the update device cellular gateway settings port forwarding rules params
func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
WithContext adds the context to the update device cellular gateway settings port forwarding rules params
func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
WithHTTPClient adds the HTTPClient to the update device cellular gateway settings port forwarding rules params
func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithSerial(serial string) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
WithSerial adds the serial to the update device cellular gateway settings port forwarding rules params
func (*UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams
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 ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateDeviceCellularGatewaySettingsPortForwardingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- get_device_cellular_gateway_settings_port_forwarding_rules_parameters.go
- get_device_cellular_gateway_settings_port_forwarding_rules_responses.go
- mg_port_forwarding_rules_client.go
- update_device_cellular_gateway_settings_port_forwarding_rules_parameters.go
- update_device_cellular_gateway_settings_port_forwarding_rules_responses.go