-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
273 additions
and
19 deletions.
There are no files selected for viewing
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
41 changes: 41 additions & 0 deletions
41
src/main/java/io/github/yvasyliev/deezer/objects/Chart.java
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package io.github.yvasyliev.deezer.objects; | ||
|
||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Data; | ||
|
||
/** | ||
* Charts of a specified genre | ||
*/ | ||
@Data | ||
public class Chart { | ||
/** | ||
* list of {@link Track}. | ||
*/ | ||
@JsonProperty("tracks") | ||
private Page<Track> tracks; | ||
|
||
/** | ||
* list of {@link Album}. | ||
*/ | ||
@JsonProperty("albums") | ||
private Page<Album> albums; | ||
|
||
/** | ||
* list of {@link Artist}. | ||
*/ | ||
@JsonProperty("artists") | ||
private Page<Artist> artists; | ||
|
||
/** | ||
* list of {@link Playlist}. | ||
*/ | ||
@JsonProperty("playlists") | ||
private Page<Playlist> playlists; | ||
|
||
/** | ||
* list of {@link Podcast}. | ||
*/ | ||
@JsonProperty("podcasts") | ||
private Page<Playlist> podcasts; | ||
} |
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
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
5 changes: 1 addition & 4 deletions
5
src/main/java/io/github/yvasyliev/deezer/objects/Playlist.java
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.