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

com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetSceneResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iottwinmaker.kotlin.outputs

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

/**
 *
 * @property arn The ARN of the scene.
 * @property capabilities A list of capabilities that the scene uses to render.
 * @property contentLocation The relative path that specifies the location of the content definition file.
 * @property creationDateTime The date and time when the scene was created.
 * @property description The description of the scene.
 * @property generatedSceneMetadata A key-value pair of generated scene metadata for the scene.
 * @property sceneMetadata A key-value pair of scene metadata for the scene.
 * @property tags A key-value pair to associate with a resource.
 * @property updateDateTime The date and time of the current update.
 */
public data class GetSceneResult(
    public val arn: String? = null,
    public val capabilities: List? = null,
    public val contentLocation: String? = null,
    public val creationDateTime: String? = null,
    public val description: String? = null,
    public val generatedSceneMetadata: Map? = null,
    public val sceneMetadata: Map? = null,
    public val tags: Map? = null,
    public val updateDateTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iottwinmaker.outputs.GetSceneResult): GetSceneResult = GetSceneResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            capabilities = javaType.capabilities().map({ args0 -> args0 }),
            contentLocation = javaType.contentLocation().map({ args0 -> args0 }).orElse(null),
            creationDateTime = javaType.creationDateTime().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            generatedSceneMetadata = javaType.generatedSceneMetadata().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
            sceneMetadata = javaType.sceneMetadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            updateDateTime = javaType.updateDateTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy