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