diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 19:47:56 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 19:47:56 +0100 |
commit | 485d3ca989bd4cce1788eae17bcc7587d5ef2c90 (patch) | |
tree | 3f8c599746ce3863c4c341d00ef958bf1d42da2e /app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt | |
parent | c8a84acbec91678c14e23d8dfed20f26d9d0361e (diff) | |
parent | 00ac626b27076397b79bcd4bdd934ab861ff05a5 (diff) |
Merge branch 'top_anime_feature' into developrelease/1.1
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt | 19 |
1 files changed, 19 insertions, 0 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 new file mode 100644 index 0000000..c711631 --- /dev/null +++ b/app/src/main/java/xyz/adjutor/aniki/topanime/RestTopAnimeResponse.kt @@ -0,0 +1,19 @@ +package xyz.adjutor.aniki.topanime + +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 + + fun getResults(): List<TopAnime> { + return top!! + } +}
\ No newline at end of file |