com.pulumi.azurenative.documentdb.kotlin.enums.TriggerOperation.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.documentdb.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The operation the trigger is associated with
*/
public enum class TriggerOperation(
public val javaValue: com.pulumi.azurenative.documentdb.enums.TriggerOperation,
) : ConvertibleToJava {
All(com.pulumi.azurenative.documentdb.enums.TriggerOperation.All),
Create(com.pulumi.azurenative.documentdb.enums.TriggerOperation.Create),
Update(com.pulumi.azurenative.documentdb.enums.TriggerOperation.Update),
Delete(com.pulumi.azurenative.documentdb.enums.TriggerOperation.Delete),
Replace(com.pulumi.azurenative.documentdb.enums.TriggerOperation.Replace),
;
override fun toJava(): com.pulumi.azurenative.documentdb.enums.TriggerOperation = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.documentdb.enums.TriggerOperation): TriggerOperation = TriggerOperation.values().first { it.javaValue == javaType }
}
}