-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class AlexaInputMessage implements ConnectorMessageThe user message sent by Alexa.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAlexaInputMessage.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ConnectorTypeconnectorTypeprivate final StringintentRequest
-
Constructor Summary
Constructors Constructor Description AlexaInputMessage(IntentRequest intentRequest)AlexaInputMessage(String intentRequest)
-
Method Summary
Modifier and Type Method Description GenericMessagetoGenericMessage()final Stringcomponent1()final AlexaInputMessagecopy(String intentRequest)ConnectorTypegetConnectorType()final StringgetIntentRequest()The Alexa IntentRequest json serialized. -
Methods inherited from class ai.tock.bot.connector.ConnectorMessageProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.connector.alexa.AlexaInputMessage
obfuscate, toConnectorMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AlexaInputMessage
AlexaInputMessage(IntentRequest intentRequest)
-
AlexaInputMessage
AlexaInputMessage(String intentRequest)
-
-
Method Detail
-
toGenericMessage
GenericMessage toGenericMessage()
-
component1
final String component1()
-
copy
final AlexaInputMessage copy(String intentRequest)
-
getConnectorType
ConnectorType getConnectorType()
-
getIntentRequest
final String getIntentRequest()
The Alexa IntentRequest json serialized.
-
-
-
-