![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lex.kotlin.outputs.BotImageResponseCard.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A message that defines a response card that the client application can show to the user.
* @property buttons A list of buttons that should be displayed on the response card.
* @property imageUrl The URL of an image to display on the response card.
* @property subtitle The subtitle to display on the response card.
* @property title The title to display on the response card.
*/
public data class BotImageResponseCard(
public val buttons: List? = null,
public val imageUrl: String? = null,
public val subtitle: String? = null,
public val title: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotImageResponseCard): BotImageResponseCard = BotImageResponseCard(
buttons = javaType.buttons().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.outputs.BotButton.Companion.toKotlin(args0)
})
}),
imageUrl = javaType.imageUrl().map({ args0 -> args0 }).orElse(null),
subtitle = javaType.subtitle().map({ args0 -> args0 }).orElse(null),
title = javaType.title(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy