aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/topmanga/RestTopMangaResponse.kt
blob: 897e8a2a6f99158dcba9c0eee0234b6a9117e3ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package xyz.adjutor.aniki.topmanga

import com.google.gson.annotations.SerializedName

class RestTopMangaResponse {

    @SerializedName("request_hash")
    var request_hash: String? = null
    @SerializedName("request_cached")
    var request_cached: Boolean? = null
    @SerializedName("request_cached_expiry")
    var request_cached_expiry: Int? = null
    @SerializedName("top")
    var top: List<TopManga>? = null

    fun getResults(): List<TopManga> {
        return top!!
    }
}