com.pulumi.azurenative.eventgrid.kotlin.enums.EventInputSchema.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventgrid.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* This determines the format that is expected for incoming events published to the topic.
*/
public enum class EventInputSchema(
public val javaValue: com.pulumi.azurenative.eventgrid.enums.EventInputSchema,
) : ConvertibleToJava {
CloudEventSchemaV1_0(com.pulumi.azurenative.eventgrid.enums.EventInputSchema.CloudEventSchemaV1_0),
;
override fun toJava(): com.pulumi.azurenative.eventgrid.enums.EventInputSchema = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.eventgrid.enums.EventInputSchema): EventInputSchema = EventInputSchema.values().first { it.javaValue == javaType }
}
}