Created
September 10, 2020 01:10
-
-
Save carolinemusyoka/136c8cebc9daec4c4ec771baf981bccc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import com.google.gson.annotations.SerializedName | |
data class Hero( | |
@SerializedName("id") | |
val id: Long, | |
@SerializedName("name") | |
val name: String, | |
@SerializedName("slug") | |
val slug: String, | |
@SerializedName("powerstats") | |
val powerStat: PowerStat, | |
@SerializedName("appearance") | |
val appearance: Appearance, | |
@SerializedName("biography") | |
val biography: Biography, | |
@SerializedName("work") | |
val work: Work, | |
@SerializedName("connections") | |
val connection: Connection, | |
@SerializedName("images") | |
val image: Image | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment