public class UserListIPBansEntry extends UserListEntryBan<java.lang.String>
banEndDate, bannedBy, banStartDate, DATE_FORMAT, reason
Constructor and Description |
---|
UserListIPBansEntry(com.google.gson.JsonObject json) |
UserListIPBansEntry(java.lang.String valueIn) |
UserListIPBansEntry(java.lang.String valueIn,
java.util.Date startDate,
java.lang.String banner,
java.util.Date endDate,
java.lang.String banReason) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
getIPFromJson(com.google.gson.JsonObject json) |
protected void |
onSerialization(com.google.gson.JsonObject data) |
getBanEndDate, getBanReason, hasBanExpired
getValue
public UserListIPBansEntry(java.lang.String valueIn)
public UserListIPBansEntry(java.lang.String valueIn, java.util.Date startDate, java.lang.String banner, java.util.Date endDate, java.lang.String banReason)
public UserListIPBansEntry(com.google.gson.JsonObject json)
private static java.lang.String getIPFromJson(com.google.gson.JsonObject json)
protected void onSerialization(com.google.gson.JsonObject data)
onSerialization
in class UserListEntryBan<java.lang.String>