diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 20:03:36 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 20:03:36 +0100 |
commit | 83aca7a0d44ede3960fc5752a205a55f63321832 (patch) | |
tree | 3f8c599746ce3863c4c341d00ef958bf1d42da2e /app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt | |
parent | 2aaa50c8303018f89da461750d5577902bc87357 (diff) | |
parent | 485d3ca989bd4cce1788eae17bcc7587d5ef2c90 (diff) |
Merge branch 'release/1.1'v1.1.0
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt new file mode 100644 index 0000000..897e8a2 --- /dev/null +++ b/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt @@ -0,0 +1,19 @@ +package xyz.adjutor.aniki.topmanga + +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 |