JsonIntTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonNumericTemplate$.JsonIntegralTemplate$.JsonIntTemplate$
See theJsonIntTemplate companion trait

Companion object to the JsonIntTemplate 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[Int], multipleOf: Option[Int], minimum: Option[Int], maximum: Option[Int], exclusiveMinimum: Option[Int], exclusiveMaximum: Option[Int]): JsonIntTemplate

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

Factory method for building a new instance of the JsonDoubleTemplate 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

multipleOf

the value for which the given JsonElement should be a multiple of

Attributes

Returns

a new instance of the JsonDoubleTemplate trait