Last active
August 21, 2017 14:33
-
-
Save stefanmedack/b4f07a9b9955fb402fa7c7af5324f38e 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
data class Article( | |
val id: String, | |
val title: String, | |
@Json(name = "cell_image") val image: Image, | |
val author: User, | |
val video: Video? = null, | |
val subtitle: String = EMPTY_STRING, | |
val content: List<Content> = listOf(), | |
@Json(name = "like_count") val likeCount: Int = 0, | |
val comments: List<Comment> = listOf(), | |
@Json(name = "published_at") val publishedAt: Date = Date(0), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment