toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'abortStatement': pulumi.Input.mapInputValue<BotAbortStatement, Map<String, dynamic>>(abortStatement, (value) => value.toMap()),
'childDirected': childDirected,
'clarificationPrompt': ?pulumi.Input.mapOptionalInputValue<BotClarificationPrompt, Map<String, dynamic>>(clarificationPrompt, (value) => value.toMap()),
'createVersion': ?createVersion,
'description': ?description,
'detectSentiment': ?detectSentiment,
'enableModelImprovements': ?enableModelImprovements,
'idleSessionTtlInSeconds': ?idleSessionTtlInSeconds,
'intents': pulumi.Input.mapInputValue<List<BotIntent>, List<Map<String, dynamic>>>(intents, (value) => pulumi.Input.encodeList<BotIntent, Map<String, dynamic>>(value, (value) => value.toMap())),
'locale': ?locale,
'name': ?name,
'nluIntentConfidenceThreshold': ?nluIntentConfidenceThreshold,
'processBehavior': ?processBehavior,
'region': ?region,
'voiceId': ?voiceId,
};
}