pl.touk.nussknacker.engine.api.component.ComponentGroupName.scala Maven / Gradle / Ivy
package pl.touk.nussknacker.engine.api.component
import io.circe.generic.extras.semiauto.{deriveUnwrappedDecoder, deriveUnwrappedEncoder}
import io.circe.{Decoder, Encoder}
final case class ComponentGroupName(value: String) {
def toLowerCase: String = value.toLowerCase
override def toString: String = value
}
object ComponentGroupName {
implicit val encoder: Encoder[ComponentGroupName] = deriveUnwrappedEncoder
implicit val decoder: Decoder[ComponentGroupName] = deriveUnwrappedDecoder
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy