Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-7831
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Oct 3, 2023
1 parent bc8e7e8 commit 8388d12
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/RESTObjects/RESTAPI_ProvObjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1319,10 +1319,10 @@ namespace OpenWifi::ProvObjects {
}

void RADIUSEndPointRadsecType::to_json(Poco::JSON::Object &Obj) const {
field_to_json(Obj, "Authentication", Hostname);
field_to_json(Obj, "Accounting", IP);
field_to_json(Obj, "CoA", Port);
field_to_json(Obj, "AccountingInterval", Secret);
field_to_json(Obj, "Hostname", Hostname);
field_to_json(Obj, "IP", IP);
field_to_json(Obj, "Port", Port);
field_to_json(Obj, "Secret", Secret);
field_to_json(Obj, "OpenRoamingType", OpenRoamingType);
field_to_json(Obj, "UseOpenRoamingAccount", UseOpenRoamingAccount);
field_to_json(Obj, "Weight", Weight);
Expand All @@ -1334,10 +1334,10 @@ namespace OpenWifi::ProvObjects {

bool RADIUSEndPointRadsecType::from_json(const Poco::JSON::Object::Ptr &Obj) {
try {
field_from_json(Obj, "Authentication", Hostname);
field_from_json(Obj, "Accounting", IP);
field_from_json(Obj, "CoA", Port);
field_from_json(Obj, "AccountingInterval", Secret);
field_from_json(Obj, "Hostname", Hostname);
field_from_json(Obj, "IP", IP);
field_from_json(Obj, "Port", Port);
field_from_json(Obj, "Secret", Secret);
field_from_json(Obj, "OpenRoamingType", OpenRoamingType);
field_from_json(Obj, "UseOpenRoamingAccount", UseOpenRoamingAccount);
field_from_json(Obj, "Weight", Weight);
Expand Down

0 comments on commit 8388d12

Please sign in to comment.