Documentation
¶
Index ¶
- type IotlinkClient
- func (c *IotlinkClient) CloseIotCard(request *iotlink.CloseIotCardRequest) (*iotlink.CloseIotCardResponse, error)
- func (c *IotlinkClient) CloseIotFlow(request *iotlink.CloseIotFlowRequest) (*iotlink.CloseIotFlowResponse, error)
- func (c *IotlinkClient) DisableLogger()
- func (c *IotlinkClient) GprsRealtimeInfo(request *iotlink.GprsRealtimeInfoRequest) (*iotlink.GprsRealtimeInfoResponse, error)
- func (c *IotlinkClient) GprsStatus(request *iotlink.GprsStatusRequest) (*iotlink.GprsStatusResponse, error)
- func (c *IotlinkClient) LifeStatus(request *iotlink.LifeStatusRequest) (*iotlink.LifeStatusResponse, error)
- func (c *IotlinkClient) OnOffStatus(request *iotlink.OnOffStatusRequest) (*iotlink.OnOffStatusResponse, error)
- func (c *IotlinkClient) OpenIotCard(request *iotlink.OpenIotCardRequest) (*iotlink.OpenIotCardResponse, error)
- func (c *IotlinkClient) OpenIotFlow(request *iotlink.OpenIotFlowRequest) (*iotlink.OpenIotFlowResponse, error)
- func (c *IotlinkClient) SetConfig(config *core.Config)
- func (c *IotlinkClient) SetLogger(logger core.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IotlinkClient ¶
type IotlinkClient struct {
core.JDCloudClient
}
func NewIotlinkClient ¶
func NewIotlinkClient(credential *core.Credential) *IotlinkClient
func (*IotlinkClient) CloseIotCard ¶
func (c *IotlinkClient) CloseIotCard(request *iotlink.CloseIotCardRequest) (*iotlink.CloseIotCardResponse, error)
物联网卡停机操作
func (*IotlinkClient) CloseIotFlow ¶
func (c *IotlinkClient) CloseIotFlow(request *iotlink.CloseIotFlowRequest) (*iotlink.CloseIotFlowResponse, error)
物联网卡停流量操作
func (*IotlinkClient) DisableLogger ¶
func (c *IotlinkClient) DisableLogger()
func (*IotlinkClient) GprsRealtimeInfo ¶
func (c *IotlinkClient) GprsRealtimeInfo(request *iotlink.GprsRealtimeInfoRequest) (*iotlink.GprsRealtimeInfoResponse, error)
根据物联网卡iccid查询该卡的当月套餐内的GPRS实时使用量
func (*IotlinkClient) GprsStatus ¶
func (c *IotlinkClient) GprsStatus(request *iotlink.GprsStatusRequest) (*iotlink.GprsStatusResponse, error)
根据物联网卡iccid查询该卡的gprs状态信息
func (*IotlinkClient) LifeStatus ¶
func (c *IotlinkClient) LifeStatus(request *iotlink.LifeStatusRequest) (*iotlink.LifeStatusResponse, error)
根据物联网卡iccid查询该卡的生命周期信息
func (*IotlinkClient) OnOffStatus ¶
func (c *IotlinkClient) OnOffStatus(request *iotlink.OnOffStatusRequest) (*iotlink.OnOffStatusResponse, error)
根据物联网卡iccid查询该卡的开关机状态信息
func (*IotlinkClient) OpenIotCard ¶
func (c *IotlinkClient) OpenIotCard(request *iotlink.OpenIotCardRequest) (*iotlink.OpenIotCardResponse, error)
物联网卡开机操作
func (*IotlinkClient) OpenIotFlow ¶
func (c *IotlinkClient) OpenIotFlow(request *iotlink.OpenIotFlowRequest) (*iotlink.OpenIotFlowResponse, error)
物联网卡开启流量操作
func (*IotlinkClient) SetConfig ¶
func (c *IotlinkClient) SetConfig(config *core.Config)
func (*IotlinkClient) SetLogger ¶
func (c *IotlinkClient) SetLogger(logger core.Logger)
Click to show internal directories.
Click to hide internal directories.