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