public class BotApplicationConfiguration
Configuration details for a bot and a connector.
public static ai.tock.bot.admin.bot.BotApplicationConfiguration.Companion Companion
public BotApplicationConfiguration(@NotNull
java.lang.String applicationId,
@NotNull
java.lang.String botId,
@NotNull
java.lang.String namespace,
@NotNull
java.lang.String nlpModel,
@NotNull
ConnectorType connectorType,
@Nullable
ConnectorType ownerConnectorType,
@NotNull
java.lang.String name,
@Nullable
java.lang.String baseUrl,
@NotNull
java.util.Map<java.lang.String,java.lang.String> parameters,
@Nullable
java.lang.String path,
@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> _id,
@Nullable
org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> targetConfigurationId)
Configuration details for a bot and a connector.
applicationId - The application identifier.botId - The bot identifier.namespace - The namespace of the model.nlpModel - The name of the model.connectorType - The type of connector for the configuration.ownerConnectorType - The underlying connector type. For example, you can have connectorType=rest and ownerConnectorType=messenger.name - The name of the configuration.baseUrl - The base url of the connector.parameters - Additional parameters for this connector.path - The relative path of the connector. If null, the default path is used._id - The configuration identifier.targetConfigurationId - The target configuration identifier (test case).@NotNull public ConnectorType getTargetConnectorType()
The target connector type is the ownerConnectorType. If null connectorType is used.
@NotNull public ConnectorConfiguration toConnectorConfiguration()
Returns the linked class ConnectorConfiguration.
class ConnectorConfiguration@NotNull public java.lang.String getApplicationId()
The application identifier.
@NotNull public java.lang.String getBotId()
The bot identifier.
@NotNull public java.lang.String getNamespace()
The namespace of the model.
@NotNull public java.lang.String getNlpModel()
The name of the model.
@NotNull public ConnectorType getConnectorType()
The type of connector for the configuration.
@Nullable public ConnectorType getOwnerConnectorType()
The underlying connector type.
For example, you can have connectorType=rest and ownerConnectorType=messenger.
@NotNull public java.lang.String getName()
The name of the configuration.
@Nullable public java.lang.String getBaseUrl()
The base url of the connector.
@NotNull public java.util.Map<java.lang.String,java.lang.String> getParameters()
Additional parameters for this connector.
@Nullable public java.lang.String getPath()
The relative path of the connector.
If null, the default path is used.
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> get_id()
The configuration identifier.
@Nullable public org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> getTargetConfigurationId()
The target configuration identifier
(test case).
@NotNull public java.lang.String component1()
The application identifier.
@NotNull public java.lang.String component2()
The bot identifier.
@NotNull public java.lang.String component3()
The namespace of the model.
@NotNull public java.lang.String component4()
The name of the model.
@NotNull public ConnectorType component5()
The type of connector for the configuration.
@Nullable public ConnectorType component6()
The underlying connector type.
For example, you can have connectorType=rest and ownerConnectorType=messenger.
@NotNull public java.lang.String component7()
The name of the configuration.
@Nullable public java.lang.String component8()
The base url of the connector.
@NotNull public java.util.Map<java.lang.String,java.lang.String> component9()
Additional parameters for this connector.
@Nullable public java.lang.String component10()
The relative path of the connector.
If null, the default path is used.
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> component11()
The configuration identifier.
@Nullable public org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> component12()
The target configuration identifier
(test case).
@NotNull public BotApplicationConfiguration copy(@NotNull java.lang.String applicationId, @NotNull java.lang.String botId, @NotNull java.lang.String namespace, @NotNull java.lang.String nlpModel, @NotNull ConnectorType connectorType, @Nullable ConnectorType ownerConnectorType, @NotNull java.lang.String name, @Nullable java.lang.String baseUrl, @NotNull java.util.Map<java.lang.String,java.lang.String> parameters, @Nullable java.lang.String path, @NotNull org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> _id, @Nullable org.litote.kmongo.Id<ai.tock.bot.admin.bot.BotApplicationConfiguration> targetConfigurationId)
Configuration details for a bot and a connector.
@NotNull public java.lang.String toString()
Configuration details for a bot and a connector.
public int hashCode()
Configuration details for a bot and a connector.
public boolean equals(@Nullable
java.lang.Object p)
Configuration details for a bot and a connector.