com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnUserInput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.diagflow.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enableSentimentAnalysis Whether sentiment analysis is enabled.
* @property injectedParameters Parameters that need to be injected into the conversation during intent detection.
* @property input User input. Supports text input, event input, dtmf input in the test case.
* Structure is documented below.
* @property isWebhookEnabled If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.
*/
public data class CxTestCaseLastTestResultConversationTurnUserInput(
public val enableSentimentAnalysis: Boolean? = null,
public val injectedParameters: String? = null,
public val input: CxTestCaseLastTestResultConversationTurnUserInputInput? = null,
public val isWebhookEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxTestCaseLastTestResultConversationTurnUserInput): CxTestCaseLastTestResultConversationTurnUserInput =
CxTestCaseLastTestResultConversationTurnUserInput(
enableSentimentAnalysis = javaType.enableSentimentAnalysis().map({ args0 -> args0 }).orElse(null),
injectedParameters = javaType.injectedParameters().map({ args0 -> args0 }).orElse(null),
input = javaType.input().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnUserInputInput.Companion.toKotlin(args0)
})
}).orElse(null),
isWebhookEnabled = javaType.isWebhookEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy