GWIoTApi
Toggle table of contents
1.2.1
common
Platform filter
common
Switch theme
Search in API
GWIoTApi
GWIoTApi
/
com.gw.gwiotapi.entities
/
PushMsg
/
Data
Data
@
Serializable
data
class
Data
(
val
deviceId
:
String
,
longPushType
:
Long
,
val
pushTime
:
Long
,
val
pushContent
:
PushMsg.Data.Content
)
Members
Constructors
Data
Link copied to clipboard
constructor
(
deviceId
:
String
,
longPushType
:
Long
,
pushTime
:
Long
,
pushContent
:
PushMsg.Data.Content
)
Types
Content
Link copied to clipboard
@
Serializable
data
class
Content
(
typeStr
:
String
,
val
value
:
String
,
val
flag
:
Int
,
alarmTypeLong
:
Long
?
,
val
alarmId
:
String
?
)
Event
Type
Link copied to clipboard
enum
EventType
:
Enum
<
PushMsg.Data.EventType
>
Properties
device
Id
Link copied to clipboard
val
deviceId
:
String
设备ID
push
Content
Link copied to clipboard
val
pushContent
:
PushMsg.Data.Content
推送内容
push
Time
Link copied to clipboard
val
pushTime
:
Long
推送时间(ms)
push
Type
Link copied to clipboard
val
pushType
:
Set
<
PushMsg.Data.EventType
>
推送类型