com.pulumi.azurenative.eventgrid.kotlin.enums.DeliverySchema.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventgrid.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The event delivery schema for the event subscription.
*/
public enum class DeliverySchema(
public val javaValue: com.pulumi.azurenative.eventgrid.enums.DeliverySchema,
) : ConvertibleToJava {
CloudEventSchemaV1_0(com.pulumi.azurenative.eventgrid.enums.DeliverySchema.CloudEventSchemaV1_0),
;
override fun toJava(): com.pulumi.azurenative.eventgrid.enums.DeliverySchema = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.eventgrid.enums.DeliverySchema): DeliverySchema = DeliverySchema.values().first { it.javaValue == javaType }
}
}