Last active
June 15, 2020 14:23
-
-
Save Alqueraf/32fd53ee90681497b264824acb23eb36 to your computer and use it in GitHub Desktop.
Model example
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
@Serializable | |
data class Item( | |
val id: Int, | |
@SerialName(value = "title") val title: String? = null, | |
val description: String? = null, | |
@SerialName(value = "image_url") val imageUrl: String? = null, | |
@SerialName(value = "is_featured") val isFeatured: Boolean? = null, | |
@SerialName(value = "publication_date") val publicationDateString: String? = null, | |
@SerialName(value = "share_link") val shareUrl: String? = null | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment