Interface PunishmentAudit
public interface PunishmentAudit
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull PunishmentAudit.Actionaction()@NotNull LocalDateTime@Nullable Integer@Nullable LocalDateTime@NotNull UUIDid()@Nullable InetAddressbooleanboolean@Nullable UUIDmojangId()static @NotNull PunishmentAuditof(@NotNull UUID id, @NotNull PunishmentAudit.Action action, @Nullable UUID mojangId, @Nullable InetAddress inetAddress, @Nullable Integer reasonId, @Nullable Integer reasonTypeId, @NotNull String reasonText, @Nullable Long reasonDuration, boolean reasonAutoFlagIp, @Nullable Integer createdBy, @NotNull LocalDateTime createdAt) boolean@Nullable Long@Nullable IntegerreasonId()@NotNull String@Nullable Integer
-
Method Details
-
id
-
action
-
mojangId
-
inetAddress
-
reasonId
-
reasonTypeId
-
reasonText
-
reasonDuration
-
reasonAutoFlagIp
boolean reasonAutoFlagIp() -
createdBy
-
createdAt
-
expiresAt
-
isExpired
boolean isExpired() -
isPermanent
boolean isPermanent() -
of
@NotNull static @NotNull PunishmentAudit of(@NotNull @NotNull UUID id, @NotNull @NotNull PunishmentAudit.Action action, @Nullable @Nullable UUID mojangId, @Nullable @Nullable InetAddress inetAddress, @Nullable @Nullable Integer reasonId, @Nullable @Nullable Integer reasonTypeId, @NotNull @NotNull String reasonText, @Nullable @Nullable Long reasonDuration, boolean reasonAutoFlagIp, @Nullable @Nullable Integer createdBy, @NotNull @NotNull LocalDateTime createdAt)
-