stephb9959
2023-04-18 16:23:52 -07:00
parent 8abbc73546
commit e5665769ef
7 changed files with 42 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ namespace OpenWifi::GWObjects {
field_to_json(Obj, "restrictionDetails", restrictionDetails);
field_to_json(Obj, "pendingUUID", pendingUUID);
field_to_json(Obj, "simulated", simulated);
field_to_json(Obj, "lastRecordedContact", lastRecordedContact);
}
void Device::to_json_with_status(Poco::JSON::Object &Obj) const {
@@ -120,6 +121,7 @@ namespace OpenWifi::GWObjects {
field_from_json(Obj, "restrictionDetails", restrictionDetails);
field_from_json(Obj, "pendingUUID", pendingUUID);
field_from_json(Obj, "simulated", simulated);
field_from_json(Obj, "lastRecordedContact", lastRecordedContact);
return true;
} catch (const Poco::Exception &E) {
}