diff options
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt new file mode 100644 index 0000000..263b93c --- /dev/null +++ b/app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt @@ -0,0 +1,22 @@ +package xyz.adjutor.aniki.manga + +import com.google.gson.annotations.SerializedName + +class MangaResponse { //only kept the infos I didn't have and that were interesting to me. + + @SerializedName("mal_id") + var mal_id: Int? = null + + @SerializedName("chapters") + var chapters: Int? = null + + @SerializedName("synopsis") + var synopsis: String? = null + + @SerializedName("rank") + var rank: Int? = null //added for the search feature (detail) + + @SerializedName("background") + var background: String? = null //a bit of background story about the manga + +} |