public class BotConfiguration
Configuration details for a bot.
| Constructor and Description |
|---|
BotConfiguration(java.lang.String name,
java.lang.String botId,
java.lang.String namespace,
java.lang.String nlpModel,
java.lang.String apiKey,
java.lang.String webhookUrl)
Configuration details for a bot.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The bot configuration name.
|
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.
|
java.lang.String |
component5()
The api key.
|
java.lang.String |
component6()
Optional webhook url.
|
BotConfiguration |
copy(java.lang.String name,
java.lang.String botId,
java.lang.String namespace,
java.lang.String nlpModel,
java.lang.String apiKey,
java.lang.String webhookUrl)
Configuration details for a bot.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getApiKey()
The api key.
|
java.lang.String |
getBotId()
The bot identifier.
|
java.lang.String |
getName()
The bot configuration name.
|
java.lang.String |
getNamespace()
The namespace of the model.
|
java.lang.String |
getNlpModel()
The name of the model.
|
java.lang.String |
getWebhookUrl()
Optional webhook url.
|
int |
hashCode() |
java.lang.String |
toString() |
public BotConfiguration(@NotNull
java.lang.String name,
@NotNull
java.lang.String botId,
@NotNull
java.lang.String namespace,
@NotNull
java.lang.String nlpModel,
@NotNull
java.lang.String apiKey,
@Nullable
java.lang.String webhookUrl)
Configuration details for a bot.
name - The bot configuration name.botId - The bot identifier.namespace - The namespace of the model.nlpModel - The name of the model.apiKey - The api key.webhookUrl - Optional webhook url.@NotNull public java.lang.String getName()
The bot configuration name.
@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 java.lang.String getApiKey()
The api key.
@Nullable public java.lang.String getWebhookUrl()
Optional webhook url.
@NotNull public java.lang.String component1()
The bot configuration name.
@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 java.lang.String component5()
The api key.
@Nullable public java.lang.String component6()
Optional webhook url.
@NotNull public BotConfiguration copy(@NotNull java.lang.String name, @NotNull java.lang.String botId, @NotNull java.lang.String namespace, @NotNull java.lang.String nlpModel, @NotNull java.lang.String apiKey, @Nullable java.lang.String webhookUrl)
Configuration details for a bot.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)