//kit/healthstack.kit.task.survey.question.model

Package healthstack.kit.task.survey.question.model

Types

Name Summary
ChoiceQuestionModel [androidJvm]
class ChoiceQuestionModel<R>(id: String, query: String, explanation: String? = null, drawableId: Int? = null, answer: R? = null, skipLogics: List<SkipLogic> = emptyList(), val candidates: List<R>, val viewType: ChoiceQuestionModel.ViewType = Radio) : QuestionModel<R>
DateTimeQuestionModel [androidJvm]
class DateTimeQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, skipLogics: List<SkipLogic> = emptyList(), answer: String? = null, isTime: Boolean, isDate: Boolean, isRange: Boolean) : QuestionModel<String>
ImageChoiceQuestionModel [androidJvm]
class ImageChoiceQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, answer: String? = null, skipLogics: List<SkipLogic> = emptyList(), val candidates: List<String>, val labels: List<String>? = null, tag: String) : QuestionModel<String>
MultiChoiceQuestionModel [androidJvm]
open class MultiChoiceQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, answer: String? = null, skipLogics: List<SkipLogic> = emptyList(), val candidates: List<String>, tag: String) : QuestionModel<String>
QuestionModel [androidJvm]
abstract class QuestionModel<R>(val id: String, val question: String, val explanation: String? = null, val drawableId: Int? = null, val type: QuestionModel.QuestionType, val skipLogics: List<SkipLogic>, answer: R? = null)
RankingQuestionModel [androidJvm]
class RankingQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, answer: String? = null, skipLogics: List<SkipLogic> = emptyList(), val candidates: List<String>) : QuestionModel<String>
SkipLogic [androidJvm]
class SkipLogic(val condition: String, val goToItemSequence: Int)
TextInputQuestionModel [androidJvm]
class TextInputQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, skipLogics: List<SkipLogic> = emptyList(), answer: String? = null, val maxCharacter: Int = 500) : QuestionModel<String>