tock / ai.tock.bot.admin.bot / BotApplicationConfiguration

# BotApplicationConfiguration

`data class BotApplicationConfiguration` (source)

Configuration details for a bot and a connector.

### Constructors

#### <init> | Configuration details for a bot and a connector. `BotApplicationConfiguration(applicationId: String, botId: String, namespace: String, nlpModel: String, connectorType: ConnectorType, ownerConnectorType: ConnectorType? = null, name: String = applicationId, baseUrl: String? = defaultBaseUrl, parameters: Map<String, String> = emptyMap(), path: String? = null, _id: Id<BotApplicationConfiguration> = newId(), targetConfigurationId: Id<BotApplicationConfiguration>? = null)`

### Properties

#### _id | The configuration identifier. `val _id: Id<BotApplicationConfiguration>`
#### applicationId | The application identifier. `val applicationId: String`
#### baseUrl | The base url of the connector. `val baseUrl: String?`
#### botId | The bot identifier. `val botId: String`
#### connectorType | The type of connector for the configuration. `val connectorType: ConnectorType`
#### name | The name of the configuration. `val name: String`
#### namespace | The namespace of the model. `val namespace: String`
#### nlpModel | The name of the model. `val nlpModel: String`
#### ownerConnectorType | The underlying connector type. For example, you can have connectorType=rest and ownerConnectorType=messenger. `val ownerConnectorType: ConnectorType?`
#### parameters | Additional parameters for this connector. `val parameters: Map<String, String>`
#### path | The relative path of the connector. If null, the default path is used. `val path: String?`
#### targetConfigurationId | The target configuration identifier (test case). `val targetConfigurationId: Id<BotApplicationConfiguration>?`
#### targetConnectorType | The target connector type is the ownerConnectorType. If null connectorType is used. `val targetConnectorType: ConnectorType`

### Functions

#### toConnectorConfiguration | Returns the linked ConnectorConfiguration. `fun toConnectorConfiguration(): ConnectorConfiguration`

### Companion Object Properties

#### defaultBaseUrl | `val defaultBaseUrl: String`