Package ai.tock.bot.engine.message
Class GenericElement
-
- All Implemented Interfaces:
public final class GenericElementA sub element of GenericMessage.
-
-
Constructor Summary
Constructors Constructor Description GenericElement(GenericMessage message)Transforms a GenericMessage into a GenericElement. GenericElement(List<Attachment> attachments, List<Choice> choices, Map<String, String> texts, List<Location> locations, Map<String, String> metadata)
-
Method Summary
Modifier and Type Method Description final List<Attachment>getAttachments()final List<Choice>getChoices()final Map<String, String>getTexts()final List<Location>getLocations()final Map<String, String>getMetadata()-
-
Constructor Detail
-
GenericElement
GenericElement(GenericMessage message)
Transforms a GenericMessage into a GenericElement.
-
-
Method Detail
-
getAttachments
final List<Attachment> getAttachments()
-
getChoices
final List<Choice> getChoices()
-
getLocations
final List<Location> getLocations()
-
getMetadata
final Map<String, String> getMetadata()
-
-
-
-