All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.outputs.ListItem.kt Maven / Gradle / Ivy

Go to download

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)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy