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

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

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

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property createdAt The time that the theme was created.
 * @property id The ID for the theme.
 * @property modifiedAt The time that the theme was modified.
 * @property name The name of the theme.
 * @property overrides Describes the properties that can be overriden to customize a theme.
 * @property tags One or more key-value pairs to use when tagging the theme.
 * @property values A list of key-value pairs that defines the properties of the theme.
 */
public data class GetThemeResult(
    public val createdAt: String? = null,
    public val id: String? = null,
    public val modifiedAt: String? = null,
    public val name: String? = null,
    public val overrides: List? = null,
    public val tags: Map? = null,
    public val values: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.amplifyuibuilder.outputs.GetThemeResult): GetThemeResult = GetThemeResult(
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            modifiedAt = javaType.modifiedAt().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            overrides = javaType.overrides().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ThemeValues.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            values = javaType.values().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ThemeValues.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy