add MqttPolicy to Json introspect

pull/135/head
Michael Zanetti 2018-11-28 21:41:10 +01:00
parent e1affe17d0
commit 7b1c848c07
2 changed files with 8 additions and 0 deletions

View File

@ -490,6 +490,7 @@ QVariantMap JsonTypes::allTypes()
allTypes.insert("ServerConfiguration", serverConfigurationDescription());
allTypes.insert("WebServerConfiguration", serverConfigurationDescription());
allTypes.insert("Tag", tagDescription());
allTypes.insert("MqttPolicy", mqttPolicyDescription());
return allTypes;
}

View File

@ -1406,6 +1406,13 @@
"LoggingSourceStates",
"LoggingSourceRules"
],
"MqttPolicy": {
"allowedPublishTopicFilters": "StringList",
"allowedSubscribeTopicFilters": "StringList",
"clientId": "String",
"password": "String",
"username": "String"
},
"NetworkDeviceState": [
"NetworkDeviceStateUnknown",
"NetworkDeviceStateUnmanaged",