Interface PunishmentAudit


public interface PunishmentAudit
  • Method Details

    • id

      @NotNull @NotNull UUID id()
    • action

      @NotNull @NotNull PunishmentAudit.Action action()
    • mojangId

      @Nullable @Nullable UUID mojangId()
    • inetAddress

      @Nullable @Nullable InetAddress inetAddress()
    • reasonId

      @Nullable @Nullable Integer reasonId()
    • reasonTypeId

      @Nullable @Nullable Integer reasonTypeId()
    • reasonText

      @NotNull @NotNull String reasonText()
    • reasonDuration

      @Nullable @Nullable Long reasonDuration()
    • reasonAutoFlagIp

      boolean reasonAutoFlagIp()
    • createdBy

      @Nullable @Nullable Integer createdBy()
    • createdAt

      @NotNull @NotNull LocalDateTime createdAt()
    • expiresAt

      @Nullable @Nullable LocalDateTime 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)