com.pulumi.azurenative.web.kotlin.outputs.NameValuePairResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Name value pair.
* @property name Pair name.
* @property value Pair value.
*/
public data class NameValuePairResponse(
public val name: String? = null,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.NameValuePairResponse): NameValuePairResponse = NameValuePairResponse(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}