mirror of https://github.com/nymea/nymea.git
Cleanup Rule definition in introspection
As per feedback from client developmentpull/256/head
parent
6cdcd47f9b
commit
ba6219bfd6
|
|
@ -35,9 +35,9 @@ namespace nymeaserver {
|
|||
class Rule
|
||||
{
|
||||
Q_GADGET
|
||||
Q_PROPERTY(QUuid id READ id WRITE setId USER true)
|
||||
Q_PROPERTY(QUuid id READ id)
|
||||
Q_PROPERTY(QString name READ name WRITE setName)
|
||||
Q_PROPERTY(bool active READ active USER true)
|
||||
Q_PROPERTY(bool active READ active)
|
||||
Q_PROPERTY(bool enabled READ enabled WRITE setEnabled USER true)
|
||||
Q_PROPERTY(bool executable READ executable WRITE setExecutable USER true)
|
||||
Q_PROPERTY(EventDescriptors eventDescriptors READ eventDescriptors WRITE setEventDescriptors USER true)
|
||||
|
|
|
|||
|
|
@ -1890,10 +1890,10 @@
|
|||
"o:eventDescriptors": "$ref:EventDescriptors",
|
||||
"o:executable": "Bool",
|
||||
"o:exitActions": "$ref:RuleActions",
|
||||
"o:id": "Uuid",
|
||||
"o:stateEvaluator": "$ref:StateEvaluator",
|
||||
"o:timeDescriptor": "$ref:TimeDescriptor",
|
||||
"r:o:active": "Bool"
|
||||
"r:active": "Bool",
|
||||
"r:id": "Uuid"
|
||||
},
|
||||
"RuleAction": {
|
||||
"o:actionTypeId": "Uuid",
|
||||
|
|
|
|||
Loading…
Reference in New Issue