-
- All Implemented Interfaces:
-
ai.tock.bot.admin.message.MessageConfiguration
public final class ChoiceConfiguration implements MessageConfiguration
A user choice.
-
-
Field Summary
Fields Modifier and Type Field Description private final EventTypeeventTypeprivate final StringintentNameprivate final Map<String, String>parametersprivate final Longdelay
-
Method Summary
Modifier and Type Method Description ActiontoAction(PlayerId playerId, String applicationId, PlayerId recipientId, Locale locale, UserInterfaceType userInterfaceType)final Stringcomponent1()final Map<String, String>component2()final Longcomponent3()final ChoiceConfigurationcopy(String intentName, Map<String, String> parameters, Long delay)EventTypegetEventType()final StringgetIntentName()final Map<String, String>getParameters()LonggetDelay()-
Methods inherited from class ai.tock.bot.admin.message.ChoiceConfiguration
toAction -
Methods inherited from class ai.tock.bot.admin.message.MessageConfiguration
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
toAction
Action toAction(PlayerId playerId, String applicationId, PlayerId recipientId, Locale locale, UserInterfaceType userInterfaceType)
-
component1
final String component1()
-
component2
final Map<String, String> component2()
-
component3
final Long component3()
-
getEventType
EventType getEventType()
-
getIntentName
final String getIntentName()
-
getParameters
final Map<String, String> getParameters()
-
-
-
-