Skip to content

Commit

Permalink
Add artwork to album attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Sep 2, 2020
1 parent 4088267 commit 809fcac
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/main/kotlin/com/stevesoltys/applemusic/model/Artwork.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.stevesoltys.applemusic.model

/**
* @author Steve Soltys
*/
class Artwork {

var bgColor: String? = null

var height: Int? = null

var width: Int? = null

var textColor1: String? = null

var textColor2: String? = null

var textColor3: String? = null

var textColor4: String? = null

var url: String? = null
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.stevesoltys.applemusic.model.album

import com.fasterxml.jackson.annotation.JsonProperty
import com.stevesoltys.applemusic.model.Artwork

/**
* @author Steve Soltys
Expand All @@ -20,6 +21,8 @@ class AlbumAttributes {

var genreNames: Array<String>? = null

var artwork: Artwork? = null

@JsonProperty("isComplete")
var complete: Boolean? = null

Expand Down

0 comments on commit 809fcac

Please sign in to comment.