![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AssetModelHierarchy.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotsitewise.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Contains information about an asset model hierarchy.
* @property childAssetModelId The ID of the asset model. All assets in this hierarchy must be instances of the child AssetModelId asset model.
* @property externalId Customer provided external ID for hierarchy
* @property id Customer provided actual ID for hierarchy
* @property logicalId Customer provided logical ID for hierarchy.
* @property name The name of the asset model hierarchy.
*/
public data class AssetModelHierarchy(
public val childAssetModelId: String,
public val externalId: String? = null,
public val id: String? = null,
public val logicalId: String? = null,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.AssetModelHierarchy): AssetModelHierarchy = AssetModelHierarchy(
childAssetModelId = javaType.childAssetModelId(),
externalId = javaType.externalId().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
logicalId = javaType.logicalId().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy