diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-16 02:51:12 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-16 02:51:12 -0600 |
commit | 066298eda3c5ebe40b74ae67894417d72ff428a9 (patch) | |
tree | 371fa98e475593bc9edd310caa92b7b3a1fff5d2 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt | |
parent | 64edb0466aae0f920b6a9d6c01c142e1207ae5b1 (diff) | |
download | etbsa-trackermap-mobile-066298eda3c5ebe40b74ae67894417d72ff428a9.tar.gz etbsa-trackermap-mobile-066298eda3c5ebe40b74ae67894417d72ff428a9.tar.bz2 etbsa-trackermap-mobile-066298eda3c5ebe40b74ae67894417d72ff428a9.zip |
- Basically fully implemented device item with all details and icons.
- Attributes for all models are deserialized as Map<String, JsonPrimitive>.
- Removed redundant qualifier names
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt index 6c9d3b8..b90e591 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt @@ -11,6 +11,8 @@ */ package mx.trackermap.TrackerMap.client.models +import kotlinx.serialization.json.JsonPrimitive + /** * @@ -21,9 +23,9 @@ package mx.trackermap.TrackerMap.client.models */ data class Group ( - val id: kotlin.Int? = null, - val name: kotlin.String? = null, - val groupId: kotlin.Int? = null, - val attributes: kotlin.Any? = null + val id: Int? = null, + val name: String? = null, + val groupId: Int? = null, + val attributes: Map<String, JsonPrimitive> = mapOf() ) { }
\ No newline at end of file |