![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.migrate.kotlin.outputs.CostComponentResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.migrate.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
* Class to represent the component of the cost.
* @property description The textual description of the component.
* @property name Gets the name of the component.
* @property value The value of the component.
*/
public data class CostComponentResponse(
public val description: String? = null,
public val name: String,
public val `value`: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.migrate.outputs.CostComponentResponse): CostComponentResponse = CostComponentResponse(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy