![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.outputs.WorkflowHealthResponse.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.app.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Represents the workflow health.
* @property error Gets or sets the workflow error.
* @property state Gets or sets the workflow health state.
*/
public data class WorkflowHealthResponse(
public val error: ErrorEntityResponse? = null,
public val state: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.app.outputs.WorkflowHealthResponse): WorkflowHealthResponse = WorkflowHealthResponse(
error = javaType.error().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.app.kotlin.outputs.ErrorEntityResponse.Companion.toKotlin(args0)
})
}).orElse(null),
state = javaType.state(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy