diff options
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models')
22 files changed, 844 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt new file mode 100644 index 0000000..0404967 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt @@ -0,0 +1,32 @@ +/** + * 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 id + * @param description + * @param attribute + * @param expression + * @param type String|Number|Boolean + */ +data class Attribute ( + + val id: kotlin.Int? = null, + val description: kotlin.String? = null, + val attribute: kotlin.String? = null, + val expression: kotlin.String? = null, + /* String|Number|Boolean */ + val type: kotlin.String? = null +) { +}
\ No newline at end of file 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 new file mode 100644 index 0000000..1718f0c --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Calendar.kt @@ -0,0 +1,30 @@ +/** + * 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 id + * @param name + * @param `data` base64 encoded in iCalendar format + * @param attributes + */ +data class Calendar ( + + val id: kotlin.Int? = null, + val name: kotlin.String? = null, + /* base64 encoded in iCalendar format */ + val `data`: kotlin.String? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Command.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Command.kt new file mode 100644 index 0000000..e7e2716 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Command.kt @@ -0,0 +1,31 @@ +/** + * 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 id + * @param deviceId + * @param description + * @param type + * @param attributes + */ +data class Command ( + + val id: kotlin.Int? = null, + val deviceId: kotlin.Int? = null, + val description: kotlin.String? = null, + val type: kotlin.String? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/CommandType.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/CommandType.kt new file mode 100644 index 0000000..7b1a742 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/CommandType.kt @@ -0,0 +1,23 @@ +/** + * 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 type + */ +data class CommandType ( + + val type: kotlin.String? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Device.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Device.kt new file mode 100644 index 0000000..3729345 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Device.kt @@ -0,0 +1,50 @@ +/** + * 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 id + * @param name + * @param uniqueId + * @param status + * @param disabled + * @param lastUpdate in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param positionId + * @param groupId + * @param phone + * @param model + * @param contact + * @param category + * @param geofenceIds + * @param attributes + */ +data class Device ( + + val id: kotlin.Int? = null, + val name: kotlin.String? = null, + val uniqueId: kotlin.String? = null, + val status: kotlin.String? = null, + val disabled: kotlin.Boolean? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val lastUpdate: java.time.LocalDateTime? = null, + val positionId: kotlin.Int? = null, + val groupId: kotlin.Int? = null, + val phone: kotlin.String? = null, + val model: kotlin.String? = null, + val contact: kotlin.String? = null, + val category: kotlin.String? = null, + val geofenceIds: kotlin.Array<kotlin.Int>? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/DeviceAccumulators.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/DeviceAccumulators.kt new file mode 100644 index 0000000..43c8fb9 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/DeviceAccumulators.kt @@ -0,0 +1,28 @@ +/** + * 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 totalDistance in meters + * @param hours + */ +data class DeviceAccumulators ( + + val deviceId: kotlin.Int? = null, + /* in meters */ + val totalDistance: java.math.BigDecimal? = null, + val hours: java.math.BigDecimal? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Driver.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Driver.kt new file mode 100644 index 0000000..09d369b --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Driver.kt @@ -0,0 +1,29 @@ +/** + * 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 id + * @param name + * @param uniqueId + * @param attributes + */ +data class Driver ( + + val id: kotlin.Int? = null, + val name: kotlin.String? = null, + val uniqueId: kotlin.String? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Event.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Event.kt new file mode 100644 index 0000000..701252f --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Event.kt @@ -0,0 +1,38 @@ +/** + * 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 id + * @param type + * @param eventTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param deviceId + * @param positionId + * @param geofenceId + * @param maintenanceId + * @param attributes + */ +data class Event ( + + val id: kotlin.Int? = null, + val type: kotlin.String? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val eventTime: java.time.LocalDateTime? = null, + val deviceId: kotlin.Int? = null, + val positionId: kotlin.Int? = null, + val geofenceId: kotlin.Int? = null, + val maintenanceId: kotlin.Int? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file 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 new file mode 100644 index 0000000..783786a --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Geofence.kt @@ -0,0 +1,33 @@ +/** + * 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 id + * @param name + * @param description + * @param area + * @param calendarId + * @param attributes + */ +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 +) { +}
\ No newline at end of file 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 new file mode 100644 index 0000000..6c9d3b8 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Group.kt @@ -0,0 +1,29 @@ +/** + * 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 id + * @param name + * @param groupId + * @param attributes + */ +data class Group ( + + val id: kotlin.Int? = null, + val name: kotlin.String? = null, + val groupId: kotlin.Int? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Maintenance.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Maintenance.kt new file mode 100644 index 0000000..670d1e2 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Maintenance.kt @@ -0,0 +1,33 @@ +/** + * 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 id + * @param name + * @param type + * @param start + * @param period + * @param attributes + */ +data class Maintenance ( + + val id: kotlin.Int? = null, + val name: kotlin.String? = null, + val type: kotlin.String? = null, + val start: java.math.BigDecimal? = null, + val period: java.math.BigDecimal? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Notification.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Notification.kt new file mode 100644 index 0000000..50be5dd --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Notification.kt @@ -0,0 +1,37 @@ +/** + * 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 id + * @param type + * @param always + * @param web + * @param mail + * @param sms + * @param calendarId + * @param attributes + */ +data class Notification ( + + val id: kotlin.Int? = null, + val type: kotlin.String? = null, + val always: kotlin.Boolean? = null, + val web: kotlin.Boolean? = null, + val mail: kotlin.Boolean? = null, + val sms: kotlin.Boolean? = null, + val calendarId: kotlin.Int? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/NotificationType.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/NotificationType.kt new file mode 100644 index 0000000..55763ca --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/NotificationType.kt @@ -0,0 +1,23 @@ +/** + * 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 type + */ +data class NotificationType ( + + val type: kotlin.String? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Permission.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Permission.kt new file mode 100644 index 0000000..c4c236b --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Permission.kt @@ -0,0 +1,45 @@ +/** + * 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 + + +/** + * This is a permission map that contain two object indexes. It is used to link/unlink objects. Order is important. Example: { deviceId:8, geofenceId: 16 } + * @param userId User Id, can be only first parameter + * @param deviceId Device Id, can be first parameter or second only in combination with userId + * @param groupId Group Id, can be first parameter or second only in combination with userId + * @param geofenceId Geofence Id, can be second parameter only + * @param calendarId Calendar Id, can be second parameter only and only in combination with userId + * @param attributeId Computed Attribute Id, can be second parameter only + * @param driverId Driver Id, can be second parameter only + * @param managedUserId User Id, can be second parameter only and only in combination with userId + */ +data class Permission ( + + /* User Id, can be only first parameter */ + val userId: kotlin.Int? = null, + /* Device Id, can be first parameter or second only in combination with userId */ + val deviceId: kotlin.Int? = null, + /* Group Id, can be first parameter or second only in combination with userId */ + val groupId: kotlin.Int? = null, + /* Geofence Id, can be second parameter only */ + val geofenceId: kotlin.Int? = null, + /* Calendar Id, can be second parameter only and only in combination with userId */ + val calendarId: kotlin.Int? = null, + /* Computed Attribute Id, can be second parameter only */ + val attributeId: kotlin.Int? = null, + /* Driver Id, can be second parameter only */ + val driverId: kotlin.Int? = null, + /* User Id, can be second parameter only and only in combination with userId */ + val managedUserId: kotlin.Int? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Position.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Position.kt new file mode 100644 index 0000000..0ce4ed2 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Position.kt @@ -0,0 +1,59 @@ +/** + * 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 id + * @param deviceId + * @param protocol + * @param deviceTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param fixTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param serverTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param outdated + * @param valid + * @param latitude + * @param longitude + * @param altitude + * @param speed in knots + * @param course + * @param address + * @param accuracy + * @param network + * @param attributes + */ +data class Position ( + + val id: kotlin.Int? = null, + val deviceId: kotlin.Int? = null, + val protocol: kotlin.String? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val deviceTime: java.time.LocalDateTime? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val fixTime: java.time.LocalDateTime? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val serverTime: java.time.LocalDateTime? = null, + val outdated: kotlin.Boolean? = null, + val valid: kotlin.Boolean? = null, + val latitude: java.math.BigDecimal? = null, + val longitude: java.math.BigDecimal? = null, + val altitude: java.math.BigDecimal? = null, + /* in knots */ + val speed: java.math.BigDecimal? = null, + val course: java.math.BigDecimal? = null, + val address: kotlin.String? = null, + val accuracy: java.math.BigDecimal? = null, + val network: kotlin.Any? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportStops.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportStops.kt new file mode 100644 index 0000000..bdd4cbe --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportStops.kt @@ -0,0 +1,44 @@ +/** + * 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 duration + * @param startTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param address + * @param lat + * @param lon + * @param endTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param spentFuel in liters + * @param engineHours + */ +data class ReportStops ( + + val deviceId: kotlin.Int? = null, + val deviceName: kotlin.String? = null, + val duration: kotlin.Int? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val startTime: java.time.LocalDateTime? = null, + val address: kotlin.String? = null, + val lat: java.math.BigDecimal? = null, + val lon: java.math.BigDecimal? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val endTime: java.time.LocalDateTime? = null, + /* in liters */ + val spentFuel: java.math.BigDecimal? = null, + val engineHours: kotlin.Int? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt new file mode 100644 index 0000000..c6f59a6 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt @@ -0,0 +1,39 @@ +/** + * 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 engineHours + */ +data class ReportSummary ( + + 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 engineHours: kotlin.Int? = null +) { +}
\ No newline at end of file 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 diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Server.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Server.kt new file mode 100644 index 0000000..24c7a20 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Server.kt @@ -0,0 +1,55 @@ +/** + * 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 id + * @param registration + * @param readonly + * @param deviceReadonly + * @param limitCommands + * @param map + * @param bingKey + * @param mapUrl + * @param poiLayer + * @param latitude + * @param longitude + * @param zoom + * @param twelveHourFormat + * @param version + * @param forceSettings + * @param coordinateFormat + * @param attributes + */ +data class Server ( + + val id: kotlin.Int? = null, + val registration: kotlin.Boolean? = null, + val readonly: kotlin.Boolean? = null, + val deviceReadonly: kotlin.Boolean? = null, + val limitCommands: kotlin.Boolean? = null, + val map: kotlin.String? = null, + val bingKey: kotlin.String? = null, + val mapUrl: kotlin.String? = null, + val poiLayer: kotlin.String? = null, + val latitude: java.math.BigDecimal? = null, + val longitude: java.math.BigDecimal? = null, + val zoom: kotlin.Int? = null, + val twelveHourFormat: kotlin.Boolean? = null, + val version: kotlin.String? = null, + val forceSettings: kotlin.Boolean? = null, + val coordinateFormat: kotlin.String? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Session_body.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Session_body.kt new file mode 100644 index 0000000..7958097 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Session_body.kt @@ -0,0 +1,25 @@ +/** + * 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 email + * @param password + */ +data class SessionBody ( + + val email: kotlin.String, + val password: kotlin.String +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Statistics.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Statistics.kt new file mode 100644 index 0000000..32027b9 --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Statistics.kt @@ -0,0 +1,34 @@ +/** + * 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 captureTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param activeUsers + * @param activeDevices + * @param requests + * @param messagesReceived + * @param messagesStored + */ +data class Statistics ( + + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val captureTime: java.time.LocalDateTime? = null, + val activeUsers: kotlin.Int? = null, + val activeDevices: kotlin.Int? = null, + val requests: kotlin.Int? = null, + val messagesReceived: kotlin.Int? = null, + val messagesStored: kotlin.Int? = null +) { +}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/User.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/User.kt new file mode 100644 index 0000000..926ec9d --- /dev/null +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/User.kt @@ -0,0 +1,66 @@ +/** + * 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 id + * @param name + * @param email + * @param phone + * @param readonly + * @param administrator + * @param map + * @param latitude + * @param longitude + * @param zoom + * @param password + * @param twelveHourFormat + * @param coordinateFormat + * @param disabled + * @param expirationTime in IS0 8601 format. eg. `1963-11-22T18:30:00Z` + * @param deviceLimit + * @param userLimit + * @param deviceReadonly + * @param limitCommands + * @param poiLayer + * @param token + * @param attributes + */ +data class User ( + + val id: kotlin.Int? = null, + val name: kotlin.String? = null, + val email: kotlin.String? = null, + val phone: kotlin.String? = null, + val readonly: kotlin.Boolean? = null, + val administrator: kotlin.Boolean? = null, + val map: kotlin.String? = null, + val latitude: java.math.BigDecimal? = null, + val longitude: java.math.BigDecimal? = null, + val zoom: kotlin.Int? = null, + val password: kotlin.String? = null, + val twelveHourFormat: kotlin.Boolean? = null, + val coordinateFormat: kotlin.String? = null, + val disabled: kotlin.Boolean? = null, + /* in IS0 8601 format. eg. `1963-11-22T18:30:00Z` */ + val expirationTime: java.time.LocalDateTime? = null, + val deviceLimit: kotlin.Int? = null, + val userLimit: kotlin.Int? = null, + val deviceReadonly: kotlin.Boolean? = null, + val limitCommands: kotlin.Boolean? = null, + val poiLayer: kotlin.String? = null, + val token: kotlin.String? = null, + val attributes: kotlin.Any? = null +) { +}
\ No newline at end of file |