aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/presentation/model/manga/MangaResponse.kt
blob: 06aeed09817f717d7cee8d1e585ce0a9fefc6d85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package xyz.adjutor.aniki.presentation.model.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

}