com.pulumi.azurenative.storagesync.kotlin.enums.FeatureStatus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storagesync.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Offline data transfer
*/
public enum class FeatureStatus(
public val javaValue: com.pulumi.azurenative.storagesync.enums.FeatureStatus,
) : ConvertibleToJava {
On(com.pulumi.azurenative.storagesync.enums.FeatureStatus.On),
Off(com.pulumi.azurenative.storagesync.enums.FeatureStatus.Off),
;
override fun toJava(): com.pulumi.azurenative.storagesync.enums.FeatureStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storagesync.enums.FeatureStatus): FeatureStatus = FeatureStatus.values().first { it.javaValue == javaType }
}
}