diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-03 21:49:03 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-03 21:49:03 -0600 |
commit | 33bab0553bceaa174b11b3fb7a9ba9d4de63526a (patch) | |
tree | c308bb5b7ccb310cd57de815c93a7c200537d759 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportTrips.kt | |
parent | c7039b6b0f6ab0f99fefecac07196ada6da2221a (diff) | |
download | etbsa-trackermap-mobile-33bab0553bceaa174b11b3fb7a9ba9d4de63526a.tar.gz etbsa-trackermap-mobile-33bab0553bceaa174b11b3fb7a9ba9d4de63526a.tar.bz2 etbsa-trackermap-mobile-33bab0553bceaa174b11b3fb7a9ba9d4de63526a.zip |
Added Swagger auto-generated API client (no Ktor yet)
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportTrips.kt')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportTrips.kt | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportTrips.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportTrips.kt new file mode 100644 index 0000000..d7e9598 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportTrips.kt @@ -0,0 +1,61 @@ +/** + * Traccar + * Traccar GPS tracking server API documentation. To use the API you need to have a server instance. For testing purposes you can use one of free [demo servers](https://www.traccar.org/demo-server/). For production use you can install your own server or get a [subscription service](https://www.traccar.org/product/tracking-server/). + * + * OpenAPI spec version: 4.14 + * Contact: support@traccar.org + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +package mx.trackermap.TrackerMap.client.models + + +/** + * + * @param deviceId + * @param deviceName + * @param maxSpeed in knots + * @param averageSpeed in knots + * @param distance in meters + * @param spentFuel in liters + * @param duration + * @param startTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param startAddress + * @param startLat + * @param startLon + * @param endTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param endAddress + * @param endLat + * @param endLon + * @param driverUniqueId + * @param driverName + */ +data class ReportTrips ( + + val deviceId: kotlin.Int? = null, + val deviceName: kotlin.String? = null, + /* in knots */ + val maxSpeed: java.math.BigDecimal? = null, + /* in knots */ + val averageSpeed: java.math.BigDecimal? = null, + /* in meters */ + val distance: java.math.BigDecimal? = null, + /* in liters */ + val spentFuel: java.math.BigDecimal? = null, + val duration: kotlin.Int? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val startTime: java.time.LocalDateTime? = null, + val startAddress: kotlin.String? = null, + val startLat: java.math.BigDecimal? = null, + val startLon: java.math.BigDecimal? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val endTime: java.time.LocalDateTime? = null, + val endAddress: kotlin.String? = null, + val endLat: java.math.BigDecimal? = null, + val endLon: java.math.BigDecimal? = null, + val driverUniqueId: kotlin.Int? = null, + val driverName: kotlin.String? = null +) { +}
\ No newline at end of file |