Documentation ¶
Index ¶
- type Manager
- func (m *Manager) BatchGetDeviceState(opts *options.BatchDeviceStateOptions) (*[]iot.DeviceStatus, error)
- func (m *Manager) BatchUpdateDeviceNickname(opts *options.BatchUpdateDeviceNicknameOptions) error
- func (m *Manager) DeleteDevice(opts *options.QueryDeviceOptions) error
- func (m *Manager) DeviceList(opts *options.DeviceListOptions) (*response.DeviceList, error)
- func (m *Manager) DisableThing(opts *options.QueryDeviceOptions) error
- func (m *Manager) EnableThing(opts *options.QueryDeviceOptions) error
- func (m *Manager) ProductList(opts *options.ProductListOptions) (*iot.DataInQueryProductList, error)
- func (m *Manager) QueryDeviceDetail(opts *options.QueryDeviceOptions) (*iot.DataInQueryDeviceDetail, error)
- func (m *Manager) QueryDeviceInfo(opts *options.QueryDeviceOptions) (*response.DeviceInfo, error)
- func (m *Manager) QueryProduct(productKey string) (*iot.DataInQueryProduct, error)
- func (m *Manager) RegisterDevice(opts *options.RegisterDeviceOptions) (*response.DeviceInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager 阿里云 IoT 平台管理器
func NewManager ¶
NewManager 创建阿里云 IoT 平台管理器实例
func (*Manager) BatchGetDeviceState ¶
func (m *Manager) BatchGetDeviceState(opts *options.BatchDeviceStateOptions) (*[]iot.DeviceStatus, error)
BatchGetDeviceState 批量获取设备状态
func (*Manager) BatchUpdateDeviceNickname ¶ added in v1.1.0
func (m *Manager) BatchUpdateDeviceNickname(opts *options.BatchUpdateDeviceNicknameOptions) error
BatchUpdateDeviceNickname 批量修改设备备注名称
func (*Manager) DeleteDevice ¶
func (m *Manager) DeleteDevice(opts *options.QueryDeviceOptions) error
DeleteDevice 删除设备
func (*Manager) DeviceList ¶
func (m *Manager) DeviceList(opts *options.DeviceListOptions) (*response.DeviceList, error)
DeviceList 查询设备列表
func (*Manager) DisableThing ¶
func (m *Manager) DisableThing(opts *options.QueryDeviceOptions) error
DisableThing 禁用设备
func (*Manager) EnableThing ¶
func (m *Manager) EnableThing(opts *options.QueryDeviceOptions) error
EnableThing 解除设备禁用状态
func (*Manager) ProductList ¶
func (m *Manager) ProductList(opts *options.ProductListOptions) (*iot.DataInQueryProductList, error)
ProductList 查询产品列表
func (*Manager) QueryDeviceDetail ¶
func (m *Manager) QueryDeviceDetail(opts *options.QueryDeviceOptions) (*iot.DataInQueryDeviceDetail, error)
QueryDeviceDetail 查询设备详细信息
func (*Manager) QueryDeviceInfo ¶
func (m *Manager) QueryDeviceInfo(opts *options.QueryDeviceOptions) (*response.DeviceInfo, error)
QueryDeviceInfo 查询设备基本信息
func (*Manager) QueryProduct ¶
func (m *Manager) QueryProduct(productKey string) (*iot.DataInQueryProduct, error)
QueryProduct 查询产品详情
func (*Manager) RegisterDevice ¶
func (m *Manager) RegisterDevice(opts *options.RegisterDeviceOptions) (*response.DeviceInfo, error)
RegisterDevice 注册设备
Click to show internal directories.
Click to hide internal directories.