Record Class ModalDefinition

java.lang.Object
java.lang.Record
io.github.kaktushose.jdac.definitions.interactions.ModalDefinition
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 modal
title - the title of the modal
textInputs - the TextInputs of this modal
All Implemented Interfaces:
Definition, CustomIdJDAEntity<Modal>, Invokable, InteractionDefinition

public record ModalDefinition(ClassDescription classDescription, MethodDescription methodDescription, Collection<String> permissions, String title, SequencedCollection<ModalDefinition.TextInputDefinition> textInputs) extends Record implements InteractionDefinition, CustomIdJDAEntity<Modal>
Representation of a modal.