Package ai.tock.bot.admin.bot
Class BotApplicationConfiguration
-
- All Implemented Interfaces:
public final class BotApplicationConfigurationConfiguration details for a bot and a connector.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBotApplicationConfiguration.Companion
-
Field Summary
Fields Modifier and Type Field Description private final transient ConnectorTypetargetConnectorTypeprivate final StringapplicationIdprivate final StringbotIdprivate final Stringnamespaceprivate final StringnlpModelprivate final ConnectorTypeconnectorTypeprivate final ConnectorTypeownerConnectorTypeprivate final Stringnameprivate final StringbaseUrlprivate final Map<String, String>parametersprivate final Stringpathprivate final Id<BotApplicationConfiguration>_idprivate final Id<BotApplicationConfiguration>targetConfigurationIdpublic final static BotApplicationConfiguration.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description BotApplicationConfiguration(String applicationId, String botId, String namespace, String nlpModel, ConnectorType connectorType, ConnectorType ownerConnectorType, String name, String baseUrl, Map<String, String> parameters, String path, Id<BotApplicationConfiguration> _id, Id<BotApplicationConfiguration> targetConfigurationId)
-
Method Summary
Modifier and Type Method Description final ConnectorTypegetTargetConnectorType()The target connector type is the ownerConnectorType. final StringgetApplicationId()The application identifier. final StringgetBotId()The bot identifier. final StringgetNamespace()The namespace of the model. final StringgetNlpModel()The name of the model. final ConnectorTypegetConnectorType()The type of connector for the configuration. final ConnectorTypegetOwnerConnectorType()The underlying connector type. final StringgetName()The name of the configuration. final StringgetBaseUrl()The base url of the connector. final Map<String, String>getParameters()Additional parameters for this connector. final StringgetPath()The relative path of the connector. final Id<BotApplicationConfiguration>get_id()The configuration identifier. final Id<BotApplicationConfiguration>getTargetConfigurationId()The target configuration identifier (test case). final ConnectorConfigurationtoConnectorConfiguration()Returns the linked ConnectorConfiguration. -
-
Constructor Detail
-
BotApplicationConfiguration
BotApplicationConfiguration(String applicationId, String botId, String namespace, String nlpModel, ConnectorType connectorType, ConnectorType ownerConnectorType, String name, String baseUrl, Map<String, String> parameters, String path, Id<BotApplicationConfiguration> _id, Id<BotApplicationConfiguration> targetConfigurationId)
-
-
Method Detail
-
getTargetConnectorType
final ConnectorType getTargetConnectorType()
The target connector type is the ownerConnectorType. If null connectorType is used.
-
getApplicationId
final String getApplicationId()
The application identifier.
-
getNamespace
final String getNamespace()
The namespace of the model.
-
getNlpModel
final String getNlpModel()
The name of the model.
-
getConnectorType
final ConnectorType getConnectorType()
The type of connector for the configuration.
-
getOwnerConnectorType
final ConnectorType getOwnerConnectorType()
The underlying connector type. For example, you can have connectorType=rest and ownerConnectorType=messenger.
-
getBaseUrl
final String getBaseUrl()
The base url of the connector.
-
getParameters
final Map<String, String> getParameters()
Additional parameters for this connector.
-
getPath
final String getPath()
The relative path of the connector. If null, the default path is used.
-
get_id
final Id<BotApplicationConfiguration> get_id()
The configuration identifier.
-
getTargetConfigurationId
final Id<BotApplicationConfiguration> getTargetConfigurationId()
The target configuration identifier (test case).
-
toConnectorConfiguration
final ConnectorConfiguration toConnectorConfiguration()
Returns the linked ConnectorConfiguration.
-
-
-
-