uk.gov.hmrc.apiplatform.modules.submissions.domain.models.Question
See theQuestion companion trait
object Question
Attributes
Members list
Type members
Classlikes
case class AcknowledgementOnly(id: Id, wording: Wording, statement: Option[Statement]) extends Question
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Questionclass Objecttrait Matchableclass AnyShow all
sealed trait ChoiceQuestion extends Question, LabelAndHints, ErrorMessaging
Attributes
- Supertypes
-
trait ErrorMessagingtrait LabelAndHintstrait Questionclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait SingleChoiceQuestiontrait ChoiceQuestiontrait ErrorMessagingtrait LabelAndHintstrait Questionclass Objecttrait Matchableclass AnyShow all
final case class Id(value: String) extends AnyVal
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass AnyShow all
object Id
final case class Label(value: String) extends AnyVal
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass AnyShow all
object Label
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 Serializabletrait Producttrait Equalstrait ChoiceQuestiontrait ErrorMessagingtrait LabelAndHintstrait Questionclass Objecttrait Matchableclass AnyShow all
sealed trait SingleChoiceQuestion extends ChoiceQuestion
Attributes
- Supertypes
-
trait ChoiceQuestiontrait ErrorMessagingtrait LabelAndHintstrait Questionclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ChooseOneOfQuestionclass YesNoQuestion
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 Serializabletrait Producttrait Equalstrait ErrorMessagingtrait LabelAndHintstrait Questionclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait SingleChoiceQuestiontrait ChoiceQuestiontrait ErrorMessagingtrait LabelAndHintstrait Questionclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Givens
Givens
In this article