Created
September 17, 2017 12:36
-
-
Save brainail/f3ef879348183b3a447ac8be32917eda to your computer and use it in GitHub Desktop.
Kitsu Data to fetch it using Retrofit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class KitsuResponse( | |
val data: List<KitsuItem>) | |
data class KitsuItem( | |
val id: Int, | |
val type: String?, | |
val attributes: KitsuItemAttributes?) | |
data class KitsuItemAttributes( | |
val synopsis: String?, | |
val subtype: String?, | |
val titles: KitsuItemAttributesTitles?, | |
val posterImage: KitsuItemAttributesImage?) | |
data class KitsuItemAttributesTitles( | |
val en_jp: String?) | |
data class KitsuItemAttributesImage( | |
val small: String?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment