Package ai.tock.bot.api.model
Class RequestContext
-
- All Implemented Interfaces:
public final class RequestContext
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnamespaceprivate final Localelanguageprivate final ConnectorTypesourceConnectorTypeprivate final ConnectorTypetargetConnectorTypeprivate final UserInterfaceTypeuserInterfaceprivate final StringapplicationIdprivate final PlayerIduserIdprivate final PlayerIdbotIdprivate final UserDatauserprivate final Map<String, String>metadataprivate final List<ActionReport>actionsHistory
-
Constructor Summary
Constructors Constructor Description RequestContext(String namespace, Locale language, ConnectorType sourceConnectorType, ConnectorType targetConnectorType, UserInterfaceType userInterface, String applicationId, PlayerId userId, PlayerId botId, UserData user, Map<String, String> metadata, List<ActionReport> actionsHistory)
-
Method Summary
Modifier and Type Method Description final StringgetNamespace()final LocalegetLanguage()final ConnectorTypegetSourceConnectorType()final ConnectorTypegetTargetConnectorType()final UserInterfaceTypegetUserInterface()final StringgetApplicationId()final PlayerIdgetUserId()final PlayerIdgetBotId()final UserDatagetUser()final Map<String, String>getMetadata()final List<ActionReport>getActionsHistory()-
-
Constructor Detail
-
RequestContext
RequestContext(String namespace, Locale language, ConnectorType sourceConnectorType, ConnectorType targetConnectorType, UserInterfaceType userInterface, String applicationId, PlayerId userId, PlayerId botId, UserData user, Map<String, String> metadata, List<ActionReport> actionsHistory)
-
-
Method Detail
-
getNamespace
final String getNamespace()
-
getLanguage
final Locale getLanguage()
-
getSourceConnectorType
final ConnectorType getSourceConnectorType()
-
getTargetConnectorType
final ConnectorType getTargetConnectorType()
-
getUserInterface
final UserInterfaceType getUserInterface()
-
getApplicationId
final String getApplicationId()
-
getUserId
final PlayerId getUserId()
-
getBotId
final PlayerId getBotId()
-
getMetadata
final Map<String, String> getMetadata()
-
getActionsHistory
final List<ActionReport> getActionsHistory()
-
-
-
-