aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt
index 8a426a8..015b329 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt
@@ -24,7 +24,7 @@ class UsersApi(basePath: kotlin.String = "https://demo.traccar.org/api") : ApiCl
* @return kotlin.Array<User>
*/
@Suppress("UNCHECKED_CAST")
- fun usersGet(userId: kotlin.String? = null): kotlin.Array<User> {
+ suspend fun usersGet(userId: kotlin.String? = null): kotlin.Array<User> {
val localVariableQuery: MultiValueMap = mapOf("userId" to listOf("$userId"))
val localVariableConfig = RequestConfig(
RequestMethod.GET,
@@ -48,7 +48,7 @@ class UsersApi(basePath: kotlin.String = "https://demo.traccar.org/api") : ApiCl
* @param id
* @return void
*/
- fun usersIdDelete(id: kotlin.Int): Unit {
+ suspend fun usersIdDelete(id: kotlin.Int): Unit {
val localVariableConfig = RequestConfig(
RequestMethod.DELETE,
@@ -74,7 +74,7 @@ class UsersApi(basePath: kotlin.String = "https://demo.traccar.org/api") : ApiCl
* @return User
*/
@Suppress("UNCHECKED_CAST")
- fun usersIdPut(body: User, id: kotlin.Int): User {
+ suspend fun usersIdPut(body: User, id: kotlin.Int): User {
val localVariableBody: kotlin.Any? = body
val localVariableConfig = RequestConfig(
@@ -100,7 +100,7 @@ class UsersApi(basePath: kotlin.String = "https://demo.traccar.org/api") : ApiCl
* @return User
*/
@Suppress("UNCHECKED_CAST")
- fun usersPost(body: User): User {
+ suspend fun usersPost(body: User): User {
val localVariableBody: kotlin.Any? = body
val localVariableConfig = RequestConfig(