com.pulumi.cloudflare.kotlin.outputs.ListItem.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property comment An optional comment for the item.
* @property value
*/
public data class ListItem(
public val comment: String? = null,
public val `value`: ListItemValue,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ListItem): ListItem = ListItem(
comment = javaType.comment().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.ListItemValue.Companion.toKotlin(args0)
}),
)
}
}