Interface PunishmentUser
public interface PunishmentUser
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull UUIDauditId()@NotNull PunishmentUser.Builderbuilder()@Nullable LocalDateTimebooleanboolean@NotNull UUIDmojangId()static @NotNull PunishmentUserof(@NotNull UUID mojangId, int typeId, @NotNull UUID auditId, @Nullable LocalDateTime expiresAt) inttypeId()@NotNull PunishmentUserwith(@NotNull Consumer<PunishmentUser.Builder> consumer)
-
Method Details
-
mojangId
-
typeId
int typeId() -
auditId
-
expiresAt
-
isExpired
boolean isExpired() -
isPermanent
boolean isPermanent() -
builder
-
with
-
of
@NotNull static @NotNull PunishmentUser of(@NotNull @NotNull UUID mojangId, int typeId, @NotNull @NotNull UUID auditId, @Nullable @Nullable LocalDateTime expiresAt)
-