We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22922b7 commit 4b284b4Copy full SHA for 4b284b4
src/main/kotlin/com/coder/gateway/sdk/LoginRequest.kt
@@ -0,0 +1,8 @@
1
+package com.coder.gateway.sdk
2
+
3
+import com.google.gson.annotations.SerializedName
4
5
+data class LoginRequest(
6
+ @SerializedName("email") val email: String,
7
+ @SerializedName("password") val password: String
8
+)
src/main/kotlin/com/coder/gateway/sdk/LoginResponse.kt
@@ -0,0 +1,6 @@
+data class LoginResponse(@SerializedName("session_token") val sessionToken: String)
src/main/kotlin/com/coder/gateway/sdk/login.kt
0 commit comments