Versions in this module Expand all Collapse all v1 v1.2.1 Apr 7, 2023 v1.2.0 Apr 7, 2023 v1.1.10 Mar 14, 2023 v1.1.9 Mar 14, 2023 v1.1.8 Mar 13, 2023 v1.1.7 Mar 13, 2023 v1.1.6 Mar 13, 2023 v1.1.5 Mar 13, 2023 v1.1.4 Mar 13, 2023 Changes in this version + func BindLocation(clt *core.Client, deviceIdentifier *DeviceIdentifier, poiId int64) (err error) + func BindPage(clt *core.Client, para *BindPageParameters) (err error) + func Update(clt *core.Client, deviceIdentifier *DeviceIdentifier, comment string) (err error) + type ApplyIdParameters struct + ApplyReason string + Comment string + PoiId *int64 + Quantity int + type ApplyIdResult struct + ApplyId int64 + AuditComment string + AuditStatus int + func ApplyId(clt *core.Client, para *ApplyIdParameters) (rslt *ApplyIdResult, err error) + type ApplyStatus struct + ApplyTime int64 + AuditComment string + AuditStatus int + AuditTime int64 + func GetApplyStatus(clt *core.Client, applyId int64) (status *ApplyStatus, err error) + type BindPageParameters struct + Append int + Bind int + DeviceIdentifier *DeviceIdentifier + PageIds []int64 + type Device struct + Comment string + PageIds string + PoiId int64 + Status int + type DeviceBase struct + DeviceId int64 + Major int + Minor int + UUID string + type DeviceIdentifier struct + DeviceId *int64 + Major *int + Minor *int + UUID string + func NewDeviceIdentifier1(deviceId int64) *DeviceIdentifier + func NewDeviceIdentifier2(uuid string, major, minor int) *DeviceIdentifier + func NewDeviceIdentifier3(deviceId int64, uuid string, major, minor int) *DeviceIdentifier + type DeviceIterator struct + func NewDeviceIterator(clt *core.Client, query *SearchQuery) (iter *DeviceIterator, err error) + func (iter *DeviceIterator) HasNext() bool + func (iter *DeviceIterator) NextPage() (devices []Device, err error) + func (iter *DeviceIterator) TotalCount() int + type SearchQuery struct + ApplyId *int64 + Begin *int + Count *int + DeviceIdentifiers []*DeviceIdentifier + Type int + func NewSearchQuery1(deviceIdentifiers []*DeviceIdentifier) *SearchQuery + func NewSearchQuery2(begin, count int) *SearchQuery + func NewSearchQuery3(applyId int64, begin, count int) *SearchQuery + type SearchResult struct + Devices []Device + ItemCount int + TotalCount int + func Search(clt *core.Client, query *SearchQuery) (rslt *SearchResult, err error)