-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed empty responses for HearThisAt
- Loading branch information
Showing
6 changed files
with
139 additions
and
107 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
32 changes: 18 additions & 14 deletions
32
src/main/java/com/mixsteroids/mixjar/models/SingleArtistResponse.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
package com.mixsteroids.mixjar.models | ||
|
||
data class SingleArtistResponse( | ||
val avatar_url: String, | ||
val background_url: String, | ||
val description: String, | ||
val followers_count: Int, | ||
val following: Boolean, | ||
val id: String, | ||
val likes_count: Int, | ||
val permalink: String, | ||
val permalink_url: String, | ||
val playlist_count: Int, | ||
val track_count: Int, | ||
val uri: String, | ||
val username: String | ||
) | ||
val avatar_url: String?, | ||
val background_url: String?, | ||
val description: String?, | ||
val followers_count: Int?, | ||
val following: Boolean?, | ||
val id: String?, | ||
val likes_count: Int?, | ||
val permalink: String?, | ||
val permalink_url: String?, | ||
val playlist_count: Int?, | ||
val track_count: Int?, | ||
val uri: String?, | ||
val username: String? | ||
) { | ||
constructor() : this( | ||
null, null, null, null, null, null, null, null, null, null, null, null, null | ||
) | ||
} |
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
Oops, something went wrong.