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 | 04b33cf071672a955c3e3229f8d48de4c215dc18 (patch) | |
tree | 2c914f063023057ea944d56a65d49ca02f35cb99 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Geofence.kt | |
parent | ae8733682d89098348bd3d880f85028cb1bc2b6b (diff) | |
download | etbsa-trackermap-mobile-04b33cf071672a955c3e3229f8d48de4c215dc18.tar.gz etbsa-trackermap-mobile-04b33cf071672a955c3e3229f8d48de4c215dc18.tar.bz2 etbsa-trackermap-mobile-04b33cf071672a955c3e3229f8d48de4c215dc18.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/Geofence.kt')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Geofence.kt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Geofence.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Geofence.kt index 783786a..f82ca07 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Geofence.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Geofence.kt @@ -11,6 +11,8 @@ */ package mx.trackermap.TrackerMap.client.models +import kotlinx.serialization.json.JsonPrimitive + /** * @@ -23,11 +25,11 @@ package mx.trackermap.TrackerMap.client.models */ data class Geofence ( - val id: kotlin.Int? = null, - val name: kotlin.String? = null, - val description: kotlin.String? = null, - val area: kotlin.String? = null, - val calendarId: kotlin.Int? = null, - val attributes: kotlin.Any? = null + val id: Int? = null, + val name: String? = null, + val description: String? = null, + val area: String? = null, + val calendarId: Int? = null, + val attributes: Map<String, JsonPrimitive> = mapOf() ) { }
\ No newline at end of file |