Kit > healthstack.kit.task.onboarding.model > EligibilityIntroModel

EligibilityIntroModel

[androidJvm]
open class EligibilityIntroModel(val id: String, val title: String, val description: String, val drawableId: Int? = null, val conditions: List<EligibilityIntroModel.EligibilityCondition>, val viewType: EligibilityIntroModel.ViewType) : StepModel

Constructors

EligibilityIntroModel

[androidJvm]
fun EligibilityIntroModel(id: String, title: String, description: String, drawableId: Int? = null, conditions: List<EligibilityIntroModel.EligibilityCondition>, viewType: EligibilityIntroModel.ViewType)

Types

Name Summary
EligibilityCondition

[androidJvm]
data class EligibilityCondition(val title: String, val constraints: List<String>)

ViewType

[androidJvm]
enum ViewType : Enum<EligibilityIntroModel.ViewType>

Properties

Name Summary
conditions

[androidJvm]
val conditions: List<EligibilityIntroModel.EligibilityCondition>

description

[androidJvm]
val description: String

drawableId

[androidJvm]
val drawableId: Int?
a representative image for UI

id

[androidJvm]
val id: String
id

title

[androidJvm]
val title: String
a title of UI

viewType

[androidJvm]
val viewType: EligibilityIntroModel.ViewType