io.cequence.openaiscala.domain.EnumValue.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openai-scala-core_3 Show documentation
Show all versions of openai-scala-core_3 Show documentation
Core module of OpenAI Scala client
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