-
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>targetConfigurationId
-
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 ConnectorConfigurationtoConnectorConfiguration()Returns the linked ConnectorConfiguration. final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final Stringcomponent4()final ConnectorTypecomponent5()final ConnectorTypecomponent6()final Stringcomponent7()final Stringcomponent8()final Map<String, String>component9()final Stringcomponent10()final Id<BotApplicationConfiguration>component11()final Id<BotApplicationConfiguration>component12()final BotApplicationConfigurationcopy(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)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). -
-
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
-
toConnectorConfiguration
final ConnectorConfiguration toConnectorConfiguration()
Returns the linked ConnectorConfiguration.
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final String component4()
-
component5
final ConnectorType component5()
-
component6
final ConnectorType component6()
-
component7
final String component7()
-
component8
final String component8()
-
component9
final Map<String, String> component9()
-
component10
final String component10()
-
component11
final Id<BotApplicationConfiguration> component11()
-
component12
final Id<BotApplicationConfiguration> component12()
-
copy
final BotApplicationConfiguration copy(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)
-
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).
-
-
-
-