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

com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ThemeValues.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property key The name of the property.
 * @property value The value of the property.
 */
public data class ThemeValues(
    public val key: String? = null,
    public val `value`: ThemeValue? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.amplifyuibuilder.outputs.ThemeValues): ThemeValues = ThemeValues(
            key = javaType.key().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ThemeValue.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy