diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-21 18:05:34 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-21 18:05:34 +0100 |
commit | 8201603b4f6a7216f466d4a839421415d3e0f6dc (patch) | |
tree | a718fb3a5d4393fe3a81c64e452dd4414b96b454 /app/src/main/java/xyz/adjutor/aniki/topanime | |
parent | 7c8476a2128f6c4494eaa2d0a363d8cbe3261ba6 (diff) |
Only keeping useful infos from api responses
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/topanime')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt | 6 | ||||
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt b/app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt index c711631..0bd1354 100644 --- a/app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt +++ b/app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt @@ -4,12 +4,6 @@ import com.google.gson.annotations.SerializedName class RestTopAnimeResponse { - @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<TopAnime>? = null diff --git a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt index 3576e7b..e063ad1 100644 --- a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt +++ b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt @@ -11,18 +11,12 @@ class TopAnime{ var rank: Int? = null @SerializedName("title") var title: String? = null - @SerializedName("url") - var url: String? = null - @SerializedName("type") - var type: String? = null @SerializedName("episodes") 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") |