Class ModalImpl
java.lang.Object
net.dv8tion.jda.internal.interactions.modal.ModalImpl
- All Implemented Interfaces:
Modal
,SerializableData
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.interactions.modals.Modal
Modal.Builder
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.interactions.modals.Modal
MAX_COMPONENTS, MAX_ID_LENGTH, MAX_TITLE_LENGTH
-
Constructor Summary
ConstructorsConstructorDescriptionModalImpl
(String id, String title, List<ModalTopLevelComponentUnion> components) ModalImpl
(DataObject object) -
Method Summary
Modifier and TypeMethodDescriptionA List ofcomponents
that this modal contains.getId()
The custom id of this modalgetTitle()
The title of this modaltoData()
SerializedDataObject
for this object.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.interactions.modals.Modal
createCopy, getComponentTree
-
Constructor Details
-
ModalImpl
-
ModalImpl
-
-
Method Details
-
getId
Description copied from interface:Modal
The custom id of this modal -
getTitle
Description copied from interface:Modal
The title of this modal -
getComponents
Description copied from interface:Modal
A List ofcomponents
that this modal contains.- Specified by:
getComponents
in interfaceModal
- Returns:
- List of ModalTopLevelComponentUnions
-
toData
Description copied from interface:SerializableData
SerializedDataObject
for this object.- Specified by:
toData
in interfaceSerializableData
- Returns:
DataObject
-
toString
-