diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/session/ClientConnectionData.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/session/ClientConnectionData.java index 1724f1bb..7bf0d265 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/session/ClientConnectionData.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/session/ClientConnectionData.java @@ -31,21 +31,22 @@ import ch.ethz.seb.sebserver.gbl.util.Utils; @JsonIgnoreProperties(ignoreUnknown = true) public class ClientConnectionData implements GrantEntity { - public static final String ATTR_CLIENT_CONNECTION = "cData"; - public static final String ATTR_INDICATOR_VALUE = "iValues"; - public static final String ATTR_MISSING_PING = "missing"; - public static final String ATTR_PENDING_NOTIFICATION = "notification"; + public static final String ATTR_CLIENT_CONNECTION = "cdat"; + public static final String ATTR_INDICATOR_VALUE = "iVal"; + public static final String ATTR_MISSING_PING = "miss"; + public static final String ATTR_PENDING_NOTIFICATION = "pnot"; + public static final String ATTR_CLIENT_GROUPS = "cg"; @JsonProperty(ATTR_CLIENT_CONNECTION) public final ClientConnection clientConnection; @JsonProperty(ATTR_INDICATOR_VALUE) public final List indicatorValues; + @JsonProperty(ATTR_CLIENT_GROUPS) + public Set groups = null; public final Boolean missingPing; public final Boolean pendingNotification; - private Set groups = null; - @JsonCreator public ClientConnectionData( @JsonProperty(ATTR_MISSING_PING) final Boolean missingPing,