Record Class EntitySelectMenuDefinition

java.lang.Object
java.lang.Record
io.github.kaktushose.jdac.definitions.interactions.component.menu.EntitySelectMenuDefinition
Record Components:
classDescription - 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
selectTargets - the EntitySelectMenu.SelectTargets of this menu
defaultValues - the EntitySelectMenu.DefaultValues of this menu
channelTypes - the ChannelTypes that should be supported by this menu.
placeholder - the placeholder text of this menu
minValue - the minimum amount of choices
maxValue - the maximum amount of choices
uniqueId - the uniqueId of this menu
All Implemented Interfaces:
Definition, CustomIdJDAEntity<EntitySelectMenu>, Invokable, JDAEntity<EntitySelectMenu>, ComponentDefinition<EntitySelectMenu>, SelectMenuDefinition<EntitySelectMenu>, InteractionDefinition

public record EntitySelectMenuDefinition(ClassDescription classDescription, MethodDescription methodDescription, Collection<String> permissions, Set<EntitySelectMenu.SelectTarget> selectTargets, Set<EntitySelectMenu.DefaultValue> defaultValues, Set<ChannelType> channelTypes, String placeholder, int minValue, int maxValue, @Nullable Integer uniqueId) extends Record implements SelectMenuDefinition<EntitySelectMenu>
Representation of an entity select menu.