package org.bml.bml.gen.test.application.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] * Test Enumeration provides a useful test for enumeration based code generation. */ enum class TestEnumeration( jsonProperty: String ) { @JsonProperty("foo") FOO("foo"), @JsonProperty("bar") BAR("bar"), @JsonEnumDefaultValue @JsonProperty("UNDEFINED") UNDEFINED("UNDEFINED"); private final val jsonProperty: String init { this.jsonProperty = jsonProperty } override fun toString(): String = jsonProperty }