import java.util.Set;
public class GroupInfo {
+
@JsonProperty
public final byte[] groupId;
@JsonProperty
public Set<String> members = new HashSet<>();
-
- private long avatarId;
-
- @JsonIgnore
- public long getAvatarId() {
- return avatarId;
- }
-
@JsonProperty
public boolean active;
-
@JsonProperty
public String color;
+ private long avatarId;
+
public GroupInfo(byte[] groupId) {
this.groupId = groupId;
}
this.avatarId = avatarId;
this.color = color;
}
+
+ @JsonIgnore
+ public long getAvatarId() {
+ return avatarId;
+ }
}