summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 20:03:25 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-22 20:03:25 +0100
commit4012256bf91ccf02eb1871229f755beb26dad3de (patch)
treeae8521428bdde7750294d25c8e49a93df9e95f26 /app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt
parent893c9110c99cff286011e3d35acb39ba65a97476 (diff)
parent494455de615340599cf2cdba0f3f199a47bf5a66 (diff)
Merge branch 'feature/elements_detail' into developrelease/2.0
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.kt8
1 files changed, 2 insertions, 6 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
index a428841..1764878 100644
--- a/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/topanime/TopAnime.kt
@@ -2,7 +2,7 @@ package xyz.adjutor.aniki.topanime
import com.google.gson.annotations.SerializedName
-//Content of the top field from the api of top manga
+//Content of the top field from the api of top anime
class TopAnime{
@SerializedName("mal_id")
@@ -13,16 +13,12 @@ class TopAnime{
var title: String? = null
@SerializedName("url")
var url: String? = null
- @SerializedName("type")
- var type: String? = null
@SerializedName("episodes")
- var volumes: Int? = null
+ var episodes: 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")