From 8201603b4f6a7216f466d4a839421415d3e0f6dc Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 21 Feb 2021 18:05:34 +0100 Subject: Only keeping useful infos from api responses --- .../main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt | 6 ------ app/src/main/java/xyz/adjutor/aniki/topmanga/TopManga.kt | 6 ------ 2 files changed, 12 deletions(-) (limited to 'app/src/main/java/xyz/adjutor/aniki/topmanga') diff --git a/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt index 897e8a2..dc7827a 100644 --- a/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt @@ -4,12 +4,6 @@ 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? = null diff --git a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopManga.kt b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopManga.kt index edf561d..0f73dd4 100644 --- a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopManga.kt +++ b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopManga.kt @@ -11,18 +11,12 @@ class TopManga{ var rank: Int? = null @SerializedName("title") var title: String? = null - @SerializedName("url") - var url: String? = null - @SerializedName("type") - var type: String? = null @SerializedName("volumes") var volumes: Int? = null @SerializedName("start_date") var start_date: String? = null @SerializedName("end_date") var end_date: String? = null - @SerializedName("members") - var members: Int? = null @SerializedName("score") var score: Float? = null @SerializedName("image_url") -- cgit v1.2.3