SHARE
TWEET

Untitled

a guest May 21st, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. final case class EncodedCat(command: Command, token: BinaryData)
  2. final case class Cat(command: Command, token: Token)
  3.  
  4. final case class Token(issuedAt: Instant, permissions: List[Permission])
  5.  
  6. sealed trait Command
  7. final case class ImportNumData(question: String, value: Option[Value]) extends Command
  8.  
  9. sealed trait Value
  10. final case class NumValue(value: Double) extends Value
  11.  
  12. sealed trait Permission
  13. final case class AddFactsPermission(caseName: Identifier, questions: List[String]) extends Permission
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top