-
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>component1()final List<Choice>component2()final Map<String, String>component3()final List<Location>component4()final Map<String, String>component5()final GenericElementcopy(List<Attachment> attachments, List<Choice> choices, Map<String, String> texts, List<Location> locations, Map<String, String> metadata)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
-
component1
final List<Attachment> component1()
-
component2
final List<Choice> component2()
-
component3
final Map<String, String> component3()
-
component4
final List<Location> component4()
-
component5
final Map<String, String> component5()
-
copy
final GenericElement copy(List<Attachment> attachments, List<Choice> choices, Map<String, String> texts, List<Location> locations, Map<String, String> metadata)
-
getAttachments
final List<Attachment> getAttachments()
-
getChoices
final List<Choice> getChoices()
-
getLocations
final List<Location> getLocations()
-
getMetadata
final Map<String, String> getMetadata()
-
-
-
-