com.pulumi.aws.lex.kotlin.outputs.IntentConclusionStatement.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.lex.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property messages
* @property responseCard
*/
public data class IntentConclusionStatement(
public val messages: List,
public val responseCard: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.IntentConclusionStatement): IntentConclusionStatement = IntentConclusionStatement(
messages = javaType.messages().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.IntentConclusionStatementMessage.Companion.toKotlin(args0)
})
}),
responseCard = javaType.responseCard().map({ args0 -> args0 }).orElse(null),
)
}
}