Quiz

case class Quiz(quizId: UUID, question: String, answerList: List[Answer], maxScore: Int, imagePath: Option[String])

A quiz has an identifier, a question, some answers, a max score and optionally an image

Value parameters:
answerList

a list of answers

imagePath

an image path (optional)

maxScore

a max score

question

the question of the quiz

quizId

a random UUID for the quiz

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product