Interface > healthstack.backend.integration.task > TaskResult

TaskResult

[androidJvm]
data class TaskResult(val userId: String, val taskId: String, val revisionId: Int, val startedAt: String, val submittedAt: String, val itemResults: List<ItemResult>)

Data Transfer Object for uploading the result of the task.

Constructors

TaskResult

[androidJvm]
fun TaskResult(userId: String, taskId: String, revisionId: Int, startedAt: String, submittedAt: String, itemResults: List<ItemResult>)

Properties

Name Summary
itemResults

[androidJvm]
val itemResults: List<ItemResult>
Results of items belonging to task.

revisionId

[androidJvm]
val revisionId: Int
If the task is modified, the modified ID for history management.

startedAt

[androidJvm]
val startedAt: String
Time when the user started the task.

submittedAt

[androidJvm]
val submittedAt: String
Time when the user submitted the task.

taskId

[androidJvm]
val taskId: String
ID of the completed task.

userId

[androidJvm]
val userId: String
ID of the user who upload the task result.