aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-13 20:56:55 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-13 20:56:55 -0600
commit214b92bcf90437075ffb7d797a24efa4e336a4cb (patch)
treeb9e6e7647112090cbade4efc4099e8537bf2e27a /shared/src/commonMain
parentb6806204b11282cff093cfb978a22fefdbc4da74 (diff)
downloadetbsa-trackermap-mobile-214b92bcf90437075ffb7d797a24efa4e336a4cb.tar.gz
etbsa-trackermap-mobile-214b92bcf90437075ffb7d797a24efa4e336a4cb.tar.bz2
etbsa-trackermap-mobile-214b92bcf90437075ffb7d797a24efa4e336a4cb.zip
Fixed stops report
Diffstat (limited to 'shared/src/commonMain')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Stop.kt18
1 files changed, 9 insertions, 9 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Stop.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Stop.kt
index c06b864..7ec1066 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Stop.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Stop.kt
@@ -21,8 +21,8 @@ import kotlinx.serialization.Serializable
* @param duration
* @param startTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
* @param address
- * @param lat
- * @param lon
+ * @param latitude
+ * @param longitude
* @param endTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
* @param spentFuel in liters
* @param engineHours
@@ -30,18 +30,18 @@ import kotlinx.serialization.Serializable
@Serializable
data class Stop (
- val deviceId: kotlin.Int? = null,
- val deviceName: kotlin.String? = null,
- val duration: kotlin.Int? = null,
+ val deviceId: Int? = null,
+ val deviceName: String? = null,
+ val duration: Int? = null,
/* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */
val startTime: String? = null,
- val address: kotlin.String? = null,
- val lat: Double? = null,
- val lon: Double? = null,
+ val address: String? = null,
+ val latitude: Double? = null,
+ val longitude: Double? = null,
/* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */
val endTime: String? = null,
/* in liters */
val spentFuel: Double? = null,
- val engineHours: kotlin.Int? = null
+ val engineHours: Int? = null
) {
} \ No newline at end of file