From c2aa70cd449e2d63e1a6468059a4df67c5c2188a Mon Sep 17 00:00:00 2001 From: Nathaniel Brown Date: Fri, 1 Dec 2023 11:58:14 -0800 Subject: [PATCH] cleanup whitespace --- .../bridge/kmm/shared/models/Assessment.kt | 45 ++++++++----------- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/bridge-client/src/commonMain/kotlin/org/sagebionetworks/bridge/kmm/shared/models/Assessment.kt b/bridge-client/src/commonMain/kotlin/org/sagebionetworks/bridge/kmm/shared/models/Assessment.kt index d7933f0a0..d29309aad 100644 --- a/bridge-client/src/commonMain/kotlin/org/sagebionetworks/bridge/kmm/shared/models/Assessment.kt +++ b/bridge-client/src/commonMain/kotlin/org/sagebionetworks/bridge/kmm/shared/models/Assessment.kt @@ -11,18 +11,9 @@ */ package org.sagebionetworks.bridge.kmm.shared.models -import org.sagebionetworks.bridge.kmm.shared.models.ColorScheme -import org.sagebionetworks.bridge.kmm.shared.models.ImageResource -import org.sagebionetworks.bridge.kmm.shared.models.Label -import org.sagebionetworks.bridge.kmm.shared.models.PropertyInfo -import kotlinx.serialization.Serializable - - - - - import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable /** @@ -68,8 +59,8 @@ data class Assessment ( /* The ID of the organization that owns this assessment. Only members of that organization will be able to edit the assessment, either in an app context or in the shared assessment library. */ @SerialName("ownerId") val ownerId: kotlin.String, + /* A name for the assessment that is shown to study designers, but not to study participants if there are labels that can be shown instead. */ - @SerialName("title") val title: kotlin.String, @@ -80,12 +71,12 @@ data class Assessment ( /* One of an enumerated list of states an assessment can be in. */ @SerialName("phase") val phase: Assessment.Phase, + /* Each assessment revision is assigned a unique GUID which can be used to retrieve it through the API. Assessments will also have a unique combination of an identifier and a revision, and can be retrieved as a set of revisions under a given identifier. */ - @SerialName("guid") val guid: kotlin.String? = null, + /* A collection of labels for this assessment. Only one label can be included for each language, and if the user’s language cannot be selected, English will be selected as a default. If an English label does not exist, then the assessment title can be used instead. */ - @SerialName("labels") val labels: kotlin.collections.List