JsonFloatTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonNumericTemplate$.JsonFloatTemplate$
See theJsonFloatTemplate companion trait

Companion object to the JsonFloatTemplate trait, containing its implementation.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(const: Option[Float], minimum: Option[Float], maximum: Option[Float], exclusiveMinimum: Option[Float], exclusiveMaximum: Option[Float]): JsonFloatTemplate

Factory method for building a new instance of the JsonFloatTemplate trait.

Factory method for building a new instance of the JsonFloatTemplate trait.

Value parameters

const

the constant numeric value to be used for matching against the given JsonElement

exclusiveMaximum

the exclusive maximum to be used for matching against the given JsonElement

exclusiveMinimum

the exclusive minimum to be used for matching against the given JsonElement

maximum

the inclusive maximum to be used for matching against the given JsonElement

minimum

the inclusive minimum to be used for matching against the given JsonElement

Attributes

Returns

a new instance of the JsonFloatTemplate trait