|
@@ -1,10 +1,12 @@
|
|
|
package com.example.bomocloud.auth
|
|
|
|
|
|
+import com.google.gson.annotations.SerializedName
|
|
|
+
|
|
|
|
|
|
data class RefreshTokenData(
|
|
|
- val access_token: String,
|
|
|
- val token_type: String,
|
|
|
- val expires_in: Int,
|
|
|
- val refresh_token: String,
|
|
|
- val created_at: Int
|
|
|
+ @SerializedName("access_token") val accessToken: String,
|
|
|
+ @SerializedName("token_type") val tokenType: String,
|
|
|
+ @SerializedName("expires_in") val expiresIn: Int,
|
|
|
+ @SerializedName("refresh_token") val refreshToken: String,
|
|
|
+ @SerializedName("created_at") val createdAt: Int
|
|
|
)
|