Parameter

io.hireproof.structure.Parameter
See theParameter companion object
final case class Parameter[A](name: String, schema: Eval[Value[A]]) extends Structure[A]

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Structure[A]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

override type Self[a] = Parameter[a]

Value members

Concrete methods

def fromString(value: String): Validated[Errors, A]
def mapSchema[T](f: Value[A] => Value[T]): Parameter[T]
def toString(value: A): String

Inherited methods

final def const(value: => A): Self[Unit]

Attributes

Inherited from:
Structure
final def imap[T](f: A => T)(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def ivalidate[T](validation: Validation[A, T])(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def merge[T](implicit evidence: Aux[A, T]): Self[T]

Attributes

Inherited from:
Structure
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def validate(validation: Validation[A, A]): Self[A]

Attributes

Inherited from:
Structure