diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 19:47:56 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 19:47:56 +0100 |
commit | 485d3ca989bd4cce1788eae17bcc7587d5ef2c90 (patch) | |
tree | 3f8c599746ce3863c4c341d00ef958bf1d42da2e /app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt | |
parent | c8a84acbec91678c14e23d8dfed20f26d9d0361e (diff) | |
parent | 00ac626b27076397b79bcd4bdd934ab861ff05a5 (diff) |
Merge branch 'top_anime_feature' into developrelease/1.1
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt new file mode 100644 index 0000000..a428841 --- /dev/null +++ b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt @@ -0,0 +1,31 @@ +package xyz.adjutor.aniki.topanime + +import com.google.gson.annotations.SerializedName + +//Content of the top field from the api of top manga +class TopAnime{ + + @SerializedName("mal_id") + var mal_id: Int? = null + @SerializedName("rank") + var rank: Int? = null + @SerializedName("title") + var title: String? = null + @SerializedName("url") + var url: String? = null + @SerializedName("type") + var type: String? = null + @SerializedName("episodes") + var volumes: Int? = null + @SerializedName("start_date") + var start_date: String? = null + @SerializedName("end_date") + var end_date: String? = null + @SerializedName("members") + var members: Int? = null + @SerializedName("score") + var score: Float? = null + @SerializedName("image_url") + var image_url: String? = null + +} |