From f4d8a9c6fa8f805a9dedb626ef343aa37943c079 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Thu, 18 Feb 2021 19:42:15 +0100 Subject: Implementing API calls for the top mangas. Test and Debug with snackbar : ok Adding internet access. Removing useless News class. --- .../main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt (limited to 'app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt') 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..8cd5f2b --- /dev/null +++ b/app/src/main/java/xyz/adjutor/aniki/RestTopMangaResponse.kt @@ -0,0 +1,15 @@ +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 = ArrayList() +} \ No newline at end of file -- cgit v1.2.3