com.pulumi.awsnative.iotsitewise.kotlin.outputs.GetGatewayResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotsitewise.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property gatewayCapabilitySummaries A list of gateway capability summaries that each contain a namespace and status.
* @property gatewayId The ID of the gateway device.
* @property gatewayName A unique, friendly name for the gateway.
* @property tags A list of key-value pairs that contain metadata for the gateway.
*/
public data class GetGatewayResult(
public val gatewayCapabilitySummaries: List? = null,
public val gatewayId: String? = null,
public val gatewayName: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.GetGatewayResult): GetGatewayResult = GetGatewayResult(
gatewayCapabilitySummaries = javaType.gatewayCapabilitySummaries().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.GatewayCapabilitySummary.Companion.toKotlin(args0)
})
}),
gatewayId = javaType.gatewayId().map({ args0 -> args0 }).orElse(null),
gatewayName = javaType.gatewayName().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}