diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/tech/thatgravyboat/rewardclaim/types/StreakData.kt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/kotlin/tech/thatgravyboat/rewardclaim/types/StreakData.kt b/src/main/kotlin/tech/thatgravyboat/rewardclaim/types/StreakData.kt index ef7e6fc..7ecf908 100644 --- a/src/main/kotlin/tech/thatgravyboat/rewardclaim/types/StreakData.kt +++ b/src/main/kotlin/tech/thatgravyboat/rewardclaim/types/StreakData.kt @@ -1,3 +1,9 @@ package tech.thatgravyboat.rewardclaim.types -data class StreakData(val progress: Int, val current: Int, val highest: Int)
\ No newline at end of file +import com.google.gson.annotations.SerializedName + +data class StreakData( + @SerializedName("value") val progress: Int, + @SerializedName("score") val current: Int, + @SerializedName("highScore") val highest: Int +) |