Interface PunishmentReason
public interface PunishmentReason
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull PunishmentReason.Builderbuilder()@Nullable LocalDateTime@Nullable Integer@NotNull LocalDateTimeint@Nullable Longintid()booleanstatic @NotNull PunishmentReasonof(int id, int typeId, @NotNull String reasonText, @Nullable Long durationSecs, boolean autoFlagIp, int createdBy, @NotNull LocalDateTime createdAt) @NotNull StringinttypeId()@NotNull PunishmentReasonwith(@NotNull Consumer<PunishmentReason.Builder> consumer)
-
Method Details
-
id
int id() -
typeId
int typeId() -
reasonText
-
durationSecs
-
autoFlagIp
boolean autoFlagIp() -
createdBy
int createdBy() -
createdAt
-
changedBy
-
changedAt
-
isPermanent
boolean isPermanent() -
builder
-
with
@NotNull @NotNull PunishmentReason with(@NotNull @NotNull Consumer<PunishmentReason.Builder> consumer) -
of
@NotNull static @NotNull PunishmentReason of(int id, int typeId, @NotNull @NotNull String reasonText, @Nullable @Nullable Long durationSecs, boolean autoFlagIp, int createdBy, @NotNull @NotNull LocalDateTime createdAt)
-