Documentation
¶
Index ¶
- type Client
- func (a *Client) GetDeviceCellularGatewaySettings(params *GetDeviceCellularGatewaySettingsParams, ...) (*GetDeviceCellularGatewaySettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeviceCellularGatewaySettings(params *UpdateDeviceCellularGatewaySettingsParams, ...) (*UpdateDeviceCellularGatewaySettingsOK, error)
- type ClientService
- type GetDeviceCellularGatewaySettingsOK
- type GetDeviceCellularGatewaySettingsParams
- func NewGetDeviceCellularGatewaySettingsParams() *GetDeviceCellularGatewaySettingsParams
- func NewGetDeviceCellularGatewaySettingsParamsWithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsParams
- func NewGetDeviceCellularGatewaySettingsParamsWithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsParams
- func NewGetDeviceCellularGatewaySettingsParamsWithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsParams
- func (o *GetDeviceCellularGatewaySettingsParams) SetContext(ctx context.Context)
- func (o *GetDeviceCellularGatewaySettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceCellularGatewaySettingsParams) SetSerial(serial string)
- func (o *GetDeviceCellularGatewaySettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceCellularGatewaySettingsParams) WithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsParams
- func (o *GetDeviceCellularGatewaySettingsParams) WithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsParams
- func (o *GetDeviceCellularGatewaySettingsParams) WithSerial(serial string) *GetDeviceCellularGatewaySettingsParams
- func (o *GetDeviceCellularGatewaySettingsParams) WithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsParams
- func (o *GetDeviceCellularGatewaySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceCellularGatewaySettingsReader
- type UpdateDeviceCellularGatewaySettingsOK
- type UpdateDeviceCellularGatewaySettingsParams
- func NewUpdateDeviceCellularGatewaySettingsParams() *UpdateDeviceCellularGatewaySettingsParams
- func NewUpdateDeviceCellularGatewaySettingsParamsWithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsParams
- func NewUpdateDeviceCellularGatewaySettingsParamsWithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsParams
- func NewUpdateDeviceCellularGatewaySettingsParamsWithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsParams
- func (o *UpdateDeviceCellularGatewaySettingsParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceCellularGatewaySettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceCellularGatewaySettingsParams) SetSerial(serial string)
- func (o *UpdateDeviceCellularGatewaySettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceCellularGatewaySettingsParams) SetUpdateDeviceCellularGatewaySettings(...)
- func (o *UpdateDeviceCellularGatewaySettingsParams) WithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsParams
- func (o *UpdateDeviceCellularGatewaySettingsParams) WithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsParams
- func (o *UpdateDeviceCellularGatewaySettingsParams) WithSerial(serial string) *UpdateDeviceCellularGatewaySettingsParams
- func (o *UpdateDeviceCellularGatewaySettingsParams) WithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsParams
- func (o *UpdateDeviceCellularGatewaySettingsParams) WithUpdateDeviceCellularGatewaySettings(...) *UpdateDeviceCellularGatewaySettingsParams
- func (o *UpdateDeviceCellularGatewaySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceCellularGatewaySettingsReader
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 l a n settings API
func (*Client) GetDeviceCellularGatewaySettings ¶
func (a *Client) GetDeviceCellularGatewaySettings(params *GetDeviceCellularGatewaySettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCellularGatewaySettingsOK, error)
GetDeviceCellularGatewaySettings gets device cellular gateway settings
Show the LAN Settings of a MG
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDeviceCellularGatewaySettings ¶
func (a *Client) UpdateDeviceCellularGatewaySettings(params *UpdateDeviceCellularGatewaySettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceCellularGatewaySettingsOK, error)
UpdateDeviceCellularGatewaySettings updates device cellular gateway settings
Update the LAN Settings for a single MG.
type ClientService ¶
type ClientService interface { GetDeviceCellularGatewaySettings(params *GetDeviceCellularGatewaySettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCellularGatewaySettingsOK, error) UpdateDeviceCellularGatewaySettings(params *UpdateDeviceCellularGatewaySettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceCellularGatewaySettingsOK, 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 l a n settings API client.
type GetDeviceCellularGatewaySettingsOK ¶
type GetDeviceCellularGatewaySettingsOK struct {
Payload interface{}
}
GetDeviceCellularGatewaySettingsOK handles this case with default header values.
Successful operation
func NewGetDeviceCellularGatewaySettingsOK ¶
func NewGetDeviceCellularGatewaySettingsOK() *GetDeviceCellularGatewaySettingsOK
NewGetDeviceCellularGatewaySettingsOK creates a GetDeviceCellularGatewaySettingsOK with default headers values
func (*GetDeviceCellularGatewaySettingsOK) Error ¶
func (o *GetDeviceCellularGatewaySettingsOK) Error() string
func (*GetDeviceCellularGatewaySettingsOK) GetPayload ¶
func (o *GetDeviceCellularGatewaySettingsOK) GetPayload() interface{}
type GetDeviceCellularGatewaySettingsParams ¶
type GetDeviceCellularGatewaySettingsParams struct { /*Serial*/ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceCellularGatewaySettingsParams contains all the parameters to send to the API endpoint for the get device cellular gateway settings operation typically these are written to a http.Request
func NewGetDeviceCellularGatewaySettingsParams ¶
func NewGetDeviceCellularGatewaySettingsParams() *GetDeviceCellularGatewaySettingsParams
NewGetDeviceCellularGatewaySettingsParams creates a new GetDeviceCellularGatewaySettingsParams object with the default values initialized.
func NewGetDeviceCellularGatewaySettingsParamsWithContext ¶
func NewGetDeviceCellularGatewaySettingsParamsWithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsParams
NewGetDeviceCellularGatewaySettingsParamsWithContext creates a new GetDeviceCellularGatewaySettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeviceCellularGatewaySettingsParamsWithHTTPClient ¶
func NewGetDeviceCellularGatewaySettingsParamsWithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsParams
NewGetDeviceCellularGatewaySettingsParamsWithHTTPClient creates a new GetDeviceCellularGatewaySettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeviceCellularGatewaySettingsParamsWithTimeout ¶
func NewGetDeviceCellularGatewaySettingsParamsWithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsParams
NewGetDeviceCellularGatewaySettingsParamsWithTimeout creates a new GetDeviceCellularGatewaySettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeviceCellularGatewaySettingsParams) SetContext ¶
func (o *GetDeviceCellularGatewaySettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) SetHTTPClient ¶
func (o *GetDeviceCellularGatewaySettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) SetSerial ¶
func (o *GetDeviceCellularGatewaySettingsParams) SetSerial(serial string)
SetSerial adds the serial to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) SetTimeout ¶
func (o *GetDeviceCellularGatewaySettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) WithContext ¶
func (o *GetDeviceCellularGatewaySettingsParams) WithContext(ctx context.Context) *GetDeviceCellularGatewaySettingsParams
WithContext adds the context to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) WithHTTPClient ¶
func (o *GetDeviceCellularGatewaySettingsParams) WithHTTPClient(client *http.Client) *GetDeviceCellularGatewaySettingsParams
WithHTTPClient adds the HTTPClient to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) WithSerial ¶
func (o *GetDeviceCellularGatewaySettingsParams) WithSerial(serial string) *GetDeviceCellularGatewaySettingsParams
WithSerial adds the serial to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) WithTimeout ¶
func (o *GetDeviceCellularGatewaySettingsParams) WithTimeout(timeout time.Duration) *GetDeviceCellularGatewaySettingsParams
WithTimeout adds the timeout to the get device cellular gateway settings params
func (*GetDeviceCellularGatewaySettingsParams) WriteToRequest ¶
func (o *GetDeviceCellularGatewaySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceCellularGatewaySettingsReader ¶
type GetDeviceCellularGatewaySettingsReader struct {
// contains filtered or unexported fields
}
GetDeviceCellularGatewaySettingsReader is a Reader for the GetDeviceCellularGatewaySettings structure.
func (*GetDeviceCellularGatewaySettingsReader) ReadResponse ¶
func (o *GetDeviceCellularGatewaySettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeviceCellularGatewaySettingsOK ¶
type UpdateDeviceCellularGatewaySettingsOK struct {
Payload interface{}
}
UpdateDeviceCellularGatewaySettingsOK handles this case with default header values.
Successful operation
func NewUpdateDeviceCellularGatewaySettingsOK ¶
func NewUpdateDeviceCellularGatewaySettingsOK() *UpdateDeviceCellularGatewaySettingsOK
NewUpdateDeviceCellularGatewaySettingsOK creates a UpdateDeviceCellularGatewaySettingsOK with default headers values
func (*UpdateDeviceCellularGatewaySettingsOK) Error ¶
func (o *UpdateDeviceCellularGatewaySettingsOK) Error() string
func (*UpdateDeviceCellularGatewaySettingsOK) GetPayload ¶
func (o *UpdateDeviceCellularGatewaySettingsOK) GetPayload() interface{}
type UpdateDeviceCellularGatewaySettingsParams ¶
type UpdateDeviceCellularGatewaySettingsParams struct { /*Serial*/ Serial string /*UpdateDeviceCellularGatewaySettings*/ UpdateDeviceCellularGatewaySettings *models.UpdateDeviceCellularGatewaySettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceCellularGatewaySettingsParams contains all the parameters to send to the API endpoint for the update device cellular gateway settings operation typically these are written to a http.Request
func NewUpdateDeviceCellularGatewaySettingsParams ¶
func NewUpdateDeviceCellularGatewaySettingsParams() *UpdateDeviceCellularGatewaySettingsParams
NewUpdateDeviceCellularGatewaySettingsParams creates a new UpdateDeviceCellularGatewaySettingsParams object with the default values initialized.
func NewUpdateDeviceCellularGatewaySettingsParamsWithContext ¶
func NewUpdateDeviceCellularGatewaySettingsParamsWithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsParams
NewUpdateDeviceCellularGatewaySettingsParamsWithContext creates a new UpdateDeviceCellularGatewaySettingsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateDeviceCellularGatewaySettingsParamsWithHTTPClient ¶
func NewUpdateDeviceCellularGatewaySettingsParamsWithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsParams
NewUpdateDeviceCellularGatewaySettingsParamsWithHTTPClient creates a new UpdateDeviceCellularGatewaySettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateDeviceCellularGatewaySettingsParamsWithTimeout ¶
func NewUpdateDeviceCellularGatewaySettingsParamsWithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsParams
NewUpdateDeviceCellularGatewaySettingsParamsWithTimeout creates a new UpdateDeviceCellularGatewaySettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateDeviceCellularGatewaySettingsParams) SetContext ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) SetHTTPClient ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) SetSerial ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) SetSerial(serial string)
SetSerial adds the serial to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) SetTimeout ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) SetUpdateDeviceCellularGatewaySettings ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) SetUpdateDeviceCellularGatewaySettings(updateDeviceCellularGatewaySettings *models.UpdateDeviceCellularGatewaySettings)
SetUpdateDeviceCellularGatewaySettings adds the updateDeviceCellularGatewaySettings to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) WithContext ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) WithContext(ctx context.Context) *UpdateDeviceCellularGatewaySettingsParams
WithContext adds the context to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) WithHTTPClient ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) WithHTTPClient(client *http.Client) *UpdateDeviceCellularGatewaySettingsParams
WithHTTPClient adds the HTTPClient to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) WithSerial ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) WithSerial(serial string) *UpdateDeviceCellularGatewaySettingsParams
WithSerial adds the serial to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) WithTimeout ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) WithTimeout(timeout time.Duration) *UpdateDeviceCellularGatewaySettingsParams
WithTimeout adds the timeout to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) WithUpdateDeviceCellularGatewaySettings ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) WithUpdateDeviceCellularGatewaySettings(updateDeviceCellularGatewaySettings *models.UpdateDeviceCellularGatewaySettings) *UpdateDeviceCellularGatewaySettingsParams
WithUpdateDeviceCellularGatewaySettings adds the updateDeviceCellularGatewaySettings to the update device cellular gateway settings params
func (*UpdateDeviceCellularGatewaySettingsParams) WriteToRequest ¶
func (o *UpdateDeviceCellularGatewaySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeviceCellularGatewaySettingsReader ¶
type UpdateDeviceCellularGatewaySettingsReader struct {
// contains filtered or unexported fields
}
UpdateDeviceCellularGatewaySettingsReader is a Reader for the UpdateDeviceCellularGatewaySettings structure.
func (*UpdateDeviceCellularGatewaySettingsReader) ReadResponse ¶
func (o *UpdateDeviceCellularGatewaySettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.