Question

uk.gov.hmrc.apiplatform.modules.submissions.domain.models.Question
See theQuestion companion trait
object Question

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Question.type

Members list

Type members

Classlikes

case class AcknowledgementOnly(id: Id, wording: Wording, statement: Option[Statement]) extends Question

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Question
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Question
class Object
trait Matchable
class Any
Show all
Known subtypes
case class ChooseOneOfQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = ..., label: Option[Label] = ..., hintText: Option[NonBulletStatementFragment] = ..., marking: ListMap[PossibleAnswer, Mark], absence: Option[(String, Mark)] = ..., errorInfo: Option[ErrorInfo] = ...) extends SingleChoiceQuestion

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Question
class Object
trait Matchable
class Any
Show all
final case class Id(value: String) extends AnyVal

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object Id

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Id.type
final case class Label(value: String) extends AnyVal

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object Label

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Label.type
case class MultiChoiceQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = ..., label: Option[Label] = ..., hintText: Option[NonBulletStatementFragment] = ..., marking: ListMap[PossibleAnswer, Mark], absence: Option[(String, Mark)] = ..., errorInfo: Option[ErrorInfo] = ...) extends ChoiceQuestion

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Question
class Object
trait Matchable
class Any
Show all
sealed trait SingleChoiceQuestion extends ChoiceQuestion

Attributes

Supertypes
trait Question
class Object
trait Matchable
class Any
Show all
Known subtypes
case class TextQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = ..., label: Option[Label] = ..., hintText: Option[NonBulletStatementFragment] = ..., validation: Option[TextValidation] = ..., absence: Option[(String, Mark)] = ..., errorInfo: Option[ErrorInfo] = ...) extends Question, LabelAndHints, ErrorMessaging

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Question
class Object
trait Matchable
class Any
Show all
case class YesNoQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = ..., label: Option[Label] = ..., hintText: Option[NonBulletStatementFragment] = ..., yesMarking: Mark, noMarking: Mark, absence: Option[(String, Mark)] = ..., errorInfo: Option[ErrorInfo] = ...) extends SingleChoiceQuestion

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Question
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror