io.hireproof.structure.Discriminator.scala Maven / Gradle / Ivy
The newest version!
package io.hireproof.structure
sealed abstract class Discriminator extends Product with Serializable
object Discriminator {
final case class Nested(identifier: String, value: String) extends Discriminator
object Nested {
val Default: Discriminator = Nested(identifier = "type", value = "value")
}
final case class Merged(identifier: String) extends Discriminator
object Merged {
val Default: Discriminator = Merged(identifier = "type")
}
val Default: Discriminator = Nested.Default
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy