package nm.joglog.api.v0.enums import com.fasterxml.jackson.annotation.JsonEnumDefaultValue import com.fasterxml.jackson.annotation.JsonProperty import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * Integer for ID or string for any other */ enum class StringOrInteger( jsonProperty: String ) { @JsonProperty("string") STRING("string"), @JsonProperty("integer") INTEGER("integer"), @JsonEnumDefaultValue @JsonProperty("UNDEFINED") UNDEFINED("UNDEFINED"); private final val jsonProperty: String init { this.jsonProperty = jsonProperty } override fun toString(): String = jsonProperty }