package de.nccloud.registry.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] * The current state of a single service. */ enum class ServiceState( jsonProperty: String ) { @JsonProperty("unavailable") UNAVAILABLE("unavailable"), @JsonProperty("available") AVAILABLE("available"), @JsonProperty("error") ERROR("error"), @JsonEnumDefaultValue @JsonProperty("UNDEFINED") UNDEFINED("UNDEFINED"); private final val jsonProperty: String init { this.jsonProperty = jsonProperty } override fun toString(): String = jsonProperty }