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

io.cequence.openaiscala.domain.EnumValue.scala Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package io.cequence.openaiscala.domain

trait EnumValue {

  def value: String = ""

  override def toString: String =
    if (value.nonEmpty) value else getClass.getSimpleName.stripSuffix("$")
}

abstract class NamedEnumValue(override val value: String = "") extends EnumValue




© 2015 - 2025 Weber Informatics LLC | Privacy Policy