Record Class StringSelectMenuDefinition

java.lang.Object
java.lang.Record
com.github.kaktushose.jda.commands.definitions.interactions.component.menu.StringSelectMenuDefinition
Record Components:
clazzDescription - the ClassDescription of the declaring class of the methodDescription()
methodDescription - the MethodDescription of the method this definition is bound to
permissions - a Collection of permissions for this menu
selectOptions - the SelectOptions of this menu
placeholder - the placeholder text of this menu
minValue - the minimum amount of choices
maxValue - the maximum amount of choices
All Implemented Interfaces:
Definition, CustomIdJDAEntity<StringSelectMenu>, com.github.kaktushose.jda.commands.definitions.features.internal.Invokable, JDAEntity<StringSelectMenu>, ComponentDefinition<StringSelectMenu>, SelectMenuDefinition<StringSelectMenu>, InteractionDefinition

public record StringSelectMenuDefinition(@NotNull ClassDescription clazzDescription, @NotNull MethodDescription methodDescription, @NotNull Collection<String> permissions, @NotNull Set<StringSelectMenuDefinition.SelectOptionDefinition> selectOptions, @NotNull String placeholder, int minValue, int maxValue) extends Record implements SelectMenuDefinition<StringSelectMenu>
Representation of a string select menu.