aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-03-23 11:47:53 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-03-23 11:47:53 +0100
commitac929460d07e0d0ef8c6b4ea569a2b2c6daa3b13 (patch)
tree60a61b83adfee2a887461a1004f66254c4499b3f /app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt
parenta056ae61750af9f4fa4e3538dfaebc73bd13a82f (diff)
Refactoring into MVC
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.kt22
1 files changed, 0 insertions, 22 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
deleted file mode 100644
index 263b93c..0000000
--- a/app/src/main/java/xyz/adjutor/aniki/manga/MangaResponse.kt
+++ /dev/null
@@ -1,22 +0,0 @@
-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
-
-}