com.pulumi.azurenative.devtestlab.kotlin.enums.EnableStatus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devtestlab.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The status of the schedule (i.e. Enabled, Disabled)
*/
public enum class EnableStatus(
public val javaValue: com.pulumi.azurenative.devtestlab.enums.EnableStatus,
) : ConvertibleToJava {
Enabled(com.pulumi.azurenative.devtestlab.enums.EnableStatus.Enabled),
Disabled(com.pulumi.azurenative.devtestlab.enums.EnableStatus.Disabled),
;
override fun toJava(): com.pulumi.azurenative.devtestlab.enums.EnableStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.devtestlab.enums.EnableStatus): EnableStatus = EnableStatus.values().first { it.javaValue == javaType }
}
}