SimpleCompanion

com.malliina.push.SimpleCompanion
abstract class SimpleCompanion[In, T] extends ValidatingCompanion[In, T]

Attributes

Graph
Supertypes
class ValidatingCompanion[In, T]
class Object
trait Matchable
class Any
Known subtypes
object ADMToken.type
object APNSToken.type
object GCMToken.type
object MPNSToken.type
object WNSToken.type
object APNSIdentifier.type
object APNSTopic.type

Members list

Concise view

Value members

Abstract methods

def apply(in: In): T

Concrete methods

def build(input: In): Either[ErrorMessage, T]
def isValid(in: In): Boolean

Inherited methods

def defaultError(in: In): ErrorMessage

Attributes

Inherited from:
ValidatingCompanion
def write(t: T): Raw

Attributes

Inherited from:
ValidatingCompanion

Implicits

Inherited implicits

implicit val json: Codec[T]

Attributes

Inherited from:
ValidatingCompanion
implicit val ordering: Ordering[T]

Attributes

Inherited from:
ValidatingCompanion