All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.edgeorder.kotlin.enums.OrderMode.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.edgeorder.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Defines the mode of the Order item.
 */
public enum class OrderMode(
    public val javaValue: com.pulumi.azurenative.edgeorder.enums.OrderMode,
) : ConvertibleToJava {
    /**
     * Default Order mode.
     */
    Default(com.pulumi.azurenative.edgeorder.enums.OrderMode.Default),

    /**
     * Mode in which the Order will not be fulfilled.
     */
    DoNotFulfill(com.pulumi.azurenative.edgeorder.enums.OrderMode.DoNotFulfill),
    ;

    override fun toJava(): com.pulumi.azurenative.edgeorder.enums.OrderMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.edgeorder.enums.OrderMode): OrderMode =
            OrderMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy