|
@@ -36,29 +36,29 @@ import lombok.Data;
|
|
@JsonObject
|
|
@JsonObject
|
|
public class Room {
|
|
public class Room {
|
|
@JsonField(name = "id")
|
|
@JsonField(name = "id")
|
|
- String roomId;
|
|
|
|
|
|
+ public String roomId;
|
|
@JsonField(name = "token")
|
|
@JsonField(name = "token")
|
|
- String token;
|
|
|
|
|
|
+ public String token;
|
|
@JsonField(name = "name")
|
|
@JsonField(name = "name")
|
|
- String name;
|
|
|
|
|
|
+ public String name;
|
|
@JsonField(name = "displayName")
|
|
@JsonField(name = "displayName")
|
|
- String displayName;
|
|
|
|
|
|
+ public String displayName;
|
|
@JsonField(name = "type", typeConverter = EnumRoomTypeConverter.class)
|
|
@JsonField(name = "type", typeConverter = EnumRoomTypeConverter.class)
|
|
- RoomType type;
|
|
|
|
|
|
+ public RoomType type;
|
|
@JsonField(name = "count")
|
|
@JsonField(name = "count")
|
|
- long count;
|
|
|
|
|
|
+ public long count;
|
|
@JsonField(name = "lastPing")
|
|
@JsonField(name = "lastPing")
|
|
- long lastPing;
|
|
|
|
|
|
+ public long lastPing;
|
|
@JsonField(name = "numGuests")
|
|
@JsonField(name = "numGuests")
|
|
- long numberOfGuests;
|
|
|
|
|
|
+ public long numberOfGuests;
|
|
@JsonField(name = "guestList")
|
|
@JsonField(name = "guestList")
|
|
- List<User> guestList;
|
|
|
|
|
|
+ public List<User> guestList;
|
|
@JsonField(name = "participants")
|
|
@JsonField(name = "participants")
|
|
- List<User> participants;
|
|
|
|
|
|
+ public List<User> participants;
|
|
@JsonField(name = "hasPassword")
|
|
@JsonField(name = "hasPassword")
|
|
- boolean hasPassword;
|
|
|
|
|
|
+ public boolean hasPassword;
|
|
@JsonField(name = "sessionId")
|
|
@JsonField(name = "sessionId")
|
|
- String sessionId;
|
|
|
|
|
|
+ public String sessionId;
|
|
|
|
|
|
public enum RoomType {
|
|
public enum RoomType {
|
|
DUMMY,
|
|
DUMMY,
|