SEBSERV-347 improved Json attribute names (shorten)
This commit is contained in:
parent
65b81af1eb
commit
4f2586e799
1 changed files with 7 additions and 6 deletions
|
@ -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<? extends IndicatorValue> indicatorValues;
|
||||
@JsonProperty(ATTR_CLIENT_GROUPS)
|
||||
public Set<Long> groups = null;
|
||||
|
||||
public final Boolean missingPing;
|
||||
public final Boolean pendingNotification;
|
||||
|
||||
private Set<Long> groups = null;
|
||||
|
||||
@JsonCreator
|
||||
public ClientConnectionData(
|
||||
@JsonProperty(ATTR_MISSING_PING) final Boolean missingPing,
|
||||
|
|
Loading…
Reference in a new issue