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/Calendar.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/Calendar.kt')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Calendar.kt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Calendar.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Calendar.kt index 1718f0c..c528673 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Calendar.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Calendar.kt @@ -11,6 +11,8 @@ */ package mx.trackermap.TrackerMap.client.models +import kotlinx.serialization.json.JsonPrimitive + /** * @@ -21,10 +23,10 @@ package mx.trackermap.TrackerMap.client.models */ data class Calendar ( - val id: kotlin.Int? = null, - val name: kotlin.String? = null, + val id: Int? = null, + val name: String? = null, /* base64 encoded in iCalendar format */ - val `data`: kotlin.String? = null, - val attributes: kotlin.Any? = null + val `data`: String? = null, + val attributes: Map<String, JsonPrimitive> = mapOf() ) { }
\ No newline at end of file |