aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/DriversApi.kt
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/DriversApi.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/DriversApi.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/DriversApi.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/DriversApi.kt
index 52ae586..2a8f92c 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/DriversApi.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/DriversApi.kt
@@ -28,7 +28,7 @@ class DriversApi(basePath: kotlin.String = "https://demo.traccar.org/api") : Api
* @return kotlin.Array<Driver>
*/
@Suppress("UNCHECKED_CAST")
- fun driversGet(all: kotlin.Boolean? = null, userId: kotlin.Int? = null, deviceId: kotlin.Int? = null, groupId: kotlin.Int? = null, refresh: kotlin.Boolean? = null): kotlin.Array<Driver> {
+ suspend fun driversGet(all: kotlin.Boolean? = null, userId: kotlin.Int? = null, deviceId: kotlin.Int? = null, groupId: kotlin.Int? = null, refresh: kotlin.Boolean? = null): kotlin.Array<Driver> {
val localVariableQuery: MultiValueMap = mapOf("all" to listOf("$all"), "userId" to listOf("$userId"), "deviceId" to listOf("$deviceId"), "groupId" to listOf("$groupId"), "refresh" to listOf("$refresh"))
val localVariableConfig = RequestConfig(
RequestMethod.GET,
@@ -52,7 +52,7 @@ class DriversApi(basePath: kotlin.String = "https://demo.traccar.org/api") : Api
* @param id
* @return void
*/
- fun driversIdDelete(id: kotlin.Int): Unit {
+ suspend fun driversIdDelete(id: kotlin.Int): Unit {
val localVariableConfig = RequestConfig(
RequestMethod.DELETE,
@@ -78,7 +78,7 @@ class DriversApi(basePath: kotlin.String = "https://demo.traccar.org/api") : Api
* @return Driver
*/
@Suppress("UNCHECKED_CAST")
- fun driversIdPut(body: Driver, id: kotlin.Int): Driver {
+ suspend fun driversIdPut(body: Driver, id: kotlin.Int): Driver {
val localVariableBody: kotlin.Any? = body
val localVariableConfig = RequestConfig(
@@ -104,7 +104,7 @@ class DriversApi(basePath: kotlin.String = "https://demo.traccar.org/api") : Api
* @return Driver
*/
@Suppress("UNCHECKED_CAST")
- fun driversPost(body: Driver): Driver {
+ suspend fun driversPost(body: Driver): Driver {
val localVariableBody: kotlin.Any? = body
val localVariableConfig = RequestConfig(