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

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!!
    }
}