summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-05-19 10:12:39 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-05-19 10:12:39 +0200
commitcccf03dbafbb5605f530e14912dfa15418d22db0 (patch)
tree366dcab01a2a6ab40fed72cc25cf1bb4368c9589 /app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt
parent67be76376ab6263ec1d97ea68d561bf90844df9d (diff)
parent8ede9457fd21ac5e272e73f5ece1d4bc9c23faab (diff)
Merge branch 'release/3.2'v3.2.0
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt
new file mode 100644
index 0000000..da88a79
--- /dev/null
+++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/response/MangaResponse.kt
@@ -0,0 +1,22 @@
+package xyz.adjutor.aniki.presentation.model.response
+
+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
+
+}