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

import com.google.gson.annotations.SerializedName

class RestTopAnimeResponse {

    @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<TopAnime>? = null

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