mirror of https://github.com/nymea/nymea.git
Merge PR #437: Add thingClassId to thingDescriptors json
commit
ae92eb562b
|
|
@ -41,6 +41,7 @@ class LIBNYMEA_EXPORT ThingDescriptor
|
|||
{
|
||||
Q_GADGET
|
||||
Q_PROPERTY(QUuid id READ id)
|
||||
Q_PROPERTY(QUuid thingClassId READ thingClassId)
|
||||
Q_PROPERTY(QUuid thingId READ thingId USER true)
|
||||
Q_PROPERTY(QString title READ title)
|
||||
Q_PROPERTY(QString description READ description)
|
||||
|
|
|
|||
|
|
@ -2803,6 +2803,7 @@
|
|||
"r:o:deviceId": "Uuid",
|
||||
"r:o:thingId": "Uuid",
|
||||
"r:params": "$ref:ParamList",
|
||||
"r:thingClassId": "Uuid",
|
||||
"r:title": "String"
|
||||
},
|
||||
"DeviceDescriptors": [
|
||||
|
|
@ -3139,6 +3140,7 @@
|
|||
"r:id": "Uuid",
|
||||
"r:o:thingId": "Uuid",
|
||||
"r:params": "$ref:ParamList",
|
||||
"r:thingClassId": "Uuid",
|
||||
"r:title": "String"
|
||||
},
|
||||
"ThingDescriptors": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue