Skip to content

Instantly share code, notes, and snippets.

@DenisBronx
Created April 16, 2020 23:06
Show Gist options
  • Save DenisBronx/7aebfb976c45a52b0621f5af5e331c31 to your computer and use it in GitHub Desktop.
Save DenisBronx/7aebfb976c45a52b0621f5af5e331c31 to your computer and use it in GitHub Desktop.
data class NetworkAlbum(
@SerializedName("id")
val id: String?,
@SerializedName("title")
val title: String?,
@SerializedName("songs")
val songs: List<NetworkSong>?
)
data class NetworkSong(
@SerializedName("id")
val id: String?,
@SerializedName("name")
val name: String?,
@SerializedName("link")
val link: String?,
@SerializedName("duration")
val duration: Long?,
@SerializedName("creationDate")
val creationDate: String?,
@SerializedName("uploadDate")
val uploadDate: String?,
@SerializedName("authorFullName")
val authorFullName: String?
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment