mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-02 11:37:49 +00:00
Opensync AP State Tables row parsing
This commit is contained in:
@@ -19,7 +19,7 @@ public class OpensyncWifiAssociatedClients extends BaseJsonModel {
|
||||
|
||||
public String keyId;
|
||||
public String mac;
|
||||
public Boolean state;
|
||||
public String state;
|
||||
public Set<String> capabilities;
|
||||
public int uapsd;
|
||||
public String kick;
|
||||
@@ -43,11 +43,11 @@ public class OpensyncWifiAssociatedClients extends BaseJsonModel {
|
||||
this.mac = mac;
|
||||
}
|
||||
|
||||
public Boolean getState() {
|
||||
public String getState() {
|
||||
return state;
|
||||
}
|
||||
|
||||
public void setState(Boolean state) {
|
||||
public void setState(String state) {
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
|
||||
@@ -1401,7 +1401,7 @@ public class OvsdbDao {
|
||||
tableState.setCapabilities(row.getSetColumn("capabilities"));
|
||||
if (map.get("state") != null && map.get("state").getClass()
|
||||
.equals(com.vmware.ovsdb.protocol.operation.notation.Atom.class)) {
|
||||
tableState.setState(row.getBooleanColumn("state"));
|
||||
tableState.setState(row.getStringColumn("state"));
|
||||
}
|
||||
if (map.get("_version") != null && map.get("_version").getClass()
|
||||
.equals(com.vmware.ovsdb.protocol.operation.notation.Atom.class)) {
|
||||
|
||||
Reference in New Issue
Block a user