com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnUserInputInput.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.String
import kotlin.Suppress
/**
*
* @property dtmf The DTMF event to be handled.
* Structure is documented below.
* @property event The event to be triggered.
* Structure is documented below.
* @property languageCode The language of the input. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes.
* Note that queries in the same session do not necessarily need to specify the same language.
* @property text The natural language text to be processed.
* Structure is documented below.
*/
public data class CxTestCaseLastTestResultConversationTurnUserInputInput(
public val dtmf: CxTestCaseLastTestResultConversationTurnUserInputInputDtmf? = null,
public val event: CxTestCaseLastTestResultConversationTurnUserInputInputEvent? = null,
public val languageCode: String? = null,
public val text: CxTestCaseLastTestResultConversationTurnUserInputInputText? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxTestCaseLastTestResultConversationTurnUserInputInput): CxTestCaseLastTestResultConversationTurnUserInputInput =
CxTestCaseLastTestResultConversationTurnUserInputInput(
dtmf = javaType.dtmf().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnUserInputInputDtmf.Companion.toKotlin(args0)
})
}).orElse(null),
event = javaType.event().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnUserInputInputEvent.Companion.toKotlin(args0)
})
}).orElse(null),
languageCode = javaType.languageCode().map({ args0 -> args0 }).orElse(null),
text = javaType.text().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnUserInputInputText.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy