aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/manga
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/manga')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/manga/Manga.kt21
1 files changed, 2 insertions, 19 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/Manga.kt b/app/src/main/java/xyz/adjutor/aniki/manga/Manga.kt
index 43944c3..baba9f5 100644
--- a/app/src/main/java/xyz/adjutor/aniki/manga/Manga.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/manga/Manga.kt
@@ -2,30 +2,13 @@ package xyz.adjutor.aniki.manga
import com.google.gson.annotations.SerializedName
-//Content of the top field from the api of manga
-class Manga{
+class Manga{ //only kept the infos I didnt have and that were interresting to me.
- @SerializedName("url")
- var url: String? = null
- @SerializedName("title")
- var title: String? = null
- @SerializedName("rank")
- var rank: Int? = null
- @SerializedName("volumes")
- var volumes: Int? = null
@SerializedName("chapters")
var chapters: Int? = null
- @SerializedName("start_date")
- var start_date: String? = null
- @SerializedName("end_date")
- var end_date: String? = null
- @SerializedName("score")
- var score: Float? = null
- @SerializedName("image_url")
- var image_url: String? = null
@SerializedName("synopsis")
var synopsis: String? = null
@SerializedName("background")
- var background: String? = null
+ var background: String? = null //a bit of background story about the manga
}