![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.recoveryservices.kotlin.outputs.ErrorDetailResponse.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.recoveryservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Error Detail class which encapsulates Code, Message and Recommendations.
* @property code Error code.
* @property message Error Message related to the Code.
* @property recommendations List of recommendation strings.
*/
public data class ErrorDetailResponse(
public val code: String,
public val message: String,
public val recommendations: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.recoveryservices.outputs.ErrorDetailResponse): ErrorDetailResponse = ErrorDetailResponse(
code = javaType.code(),
message = javaType.message(),
recommendations = javaType.recommendations().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy