com.pulumi.azurenative.insights.kotlin.enums.Operator.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.insights.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* the criteria operator.
*/
public enum class Operator(
public val javaValue: com.pulumi.azurenative.insights.enums.Operator,
) : ConvertibleToJava {
Equals(com.pulumi.azurenative.insights.enums.Operator.Equals),
GreaterThan(com.pulumi.azurenative.insights.enums.Operator.GreaterThan),
GreaterThanOrEqual(com.pulumi.azurenative.insights.enums.Operator.GreaterThanOrEqual),
LessThan(com.pulumi.azurenative.insights.enums.Operator.LessThan),
LessThanOrEqual(com.pulumi.azurenative.insights.enums.Operator.LessThanOrEqual),
;
override fun toJava(): com.pulumi.azurenative.insights.enums.Operator = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.insights.enums.Operator): Operator =
Operator.values().first { it.javaValue == javaType }
}
}