Class Spotify.SpotifySongAttachment
- java.lang.Object
-
- com.rednit.tinder4j.api.entities.socials.Spotify.SpotifySongAttachment
-
- Direct Known Subclasses:
Spotify.SpotifyTrack
- Enclosing class:
- Spotify
public static class Spotify.SpotifySongAttachment extends Object
A Spotify song attached to a chat message.- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Kaktushose
- See Also:
SongAttachment
-
-
Constructor Summary
Constructors Constructor Description SpotifySongAttachment(DataObject attachment)
Constructs a new SpotifySongAttachment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Spotify.SpotifyAlbum
getAlbum()
Gets theSpotify.SpotifyAlbum
List<Spotify.SpotifyArtist>
getArtists()
Gets aList
of allSpotifyArtists
featured on this track.String
getUrl()
Gets the url to the song.
-
-
-
Constructor Detail
-
SpotifySongAttachment
public SpotifySongAttachment(DataObject attachment)
Constructs a new SpotifySongAttachment.- Parameters:
attachment
- theDataObject
to construct the SpotifySongAttachment from
-
-
Method Detail
-
getAlbum
public Spotify.SpotifyAlbum getAlbum()
Gets theSpotify.SpotifyAlbum
- Returns:
- the
Spotify.SpotifyAlbum
-
getArtists
public List<Spotify.SpotifyArtist> getArtists()
Gets aList
of allSpotifyArtists
featured on this track.- Returns:
- a
List
ofSpotifyArtists
-
getUrl
public String getUrl()
Gets the url to the song.- Returns:
- the url to the song
-
-