com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineErrorDetail.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hybrid.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property additionalInfos A `additional_info` block as defined above.
* @property code The error code.
* @property message The error message.
* @property target The error target.
*/
public data class GetComputeMachineErrorDetail(
public val additionalInfos: List,
public val code: String,
public val message: String,
public val target: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.hybrid.outputs.GetComputeMachineErrorDetail): GetComputeMachineErrorDetail = GetComputeMachineErrorDetail(
additionalInfos = javaType.additionalInfos().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineErrorDetailAdditionalInfo.Companion.toKotlin(args0)
})
}),
code = javaType.code(),
message = javaType.message(),
target = javaType.target(),
)
}
}