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