Last active
December 7, 2018 12:12
-
-
Save jutikorn/63aa4065ad7497ccbdbb5de77e3eff71 to your computer and use it in GitHub Desktop.
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
import com.google.gson.annotations.SerializedName | |
// https://jsonplaceholder.typicode.com/todo/1 | |
class Todo( | |
@SerializedName("userId") val userId: Int, | |
@SerializedName("id") val id: Int, | |
@SerializedName("title") val title: String, | |
@SerializedName("completed") val completed: Boolean | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment