summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/jsonobjects
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/jsonobjects')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt
new file mode 100644
index 000000000..3cdcfa512
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/other/EliteBotJson.kt
@@ -0,0 +1,30 @@
+package at.hannibal2.skyhanni.data.jsonobjects.other
+
+import com.google.gson.annotations.Expose
+import com.google.gson.annotations.SerializedName
+
+data class EliteWeightJson(
+ @Expose val selectedProfileId: String,
+ @Expose val profiles: List<WeightProfile>
+)
+
+data class WeightProfile(
+ @Expose val profileId: String,
+ @Expose val profileName: String,
+ @Expose val totalWeight: Double
+)
+
+data class EliteLeaderboardJson(
+ @Expose val data: EliteLeaderboard
+)
+
+data class EliteLeaderboard(
+ @Expose val rank: Int,
+ @Expose val upcomingRank: Int,
+ @Expose val upcomingPlayers: List<UpcomingLeaderboardPlayer>
+)
+
+data class UpcomingLeaderboardPlayer(
+ @Expose @SerializedName("ign") val name: String,
+ @Expose @SerializedName("amount") val weight: Double
+)