summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-19 14:04:59 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-19 14:04:59 +0100
commit2aaa50c8303018f89da461750d5577902bc87357 (patch)
tree1d4e58436f7d88c82b588c86fe99fce74ea09de3 /app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt
parentc519b3f99d5b03f8c52c8d881033c8d5ec6b8b6a (diff)
parentfa849021bf137fc4b245a8c0e7a2a8fc46d574df (diff)
Merge branch 'release/1.0'v1.0.0
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt
new file mode 100644
index 0000000..0a7ebc8
--- /dev/null
+++ b/app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt
@@ -0,0 +1,19 @@
+package xyz.adjutor.aniki
+
+import com.google.gson.annotations.SerializedName
+
+class RestTopMangaResponse {
+
+ @SerializedName("request_hash")
+ var request_hash: String? = null
+ @SerializedName("request_cached")
+ var request_cached: Boolean? = null
+ @SerializedName("request_cached_expiry")
+ var request_cached_expiry: Int? = null
+ @SerializedName("top")
+ var top: List<TopManga>? = null
+
+ fun getResults(): List<TopManga> {
+ return top!!
+ }
+} \ No newline at end of file