Interface IArtist
- All Known Implementing Classes:
Artist, ArtistSimplified
public interface IArtist
Represents the common properties of Spotify Artist objects (full and simplified).
This interface provides a common base for Artist and
ArtistSimplified objects.
-
Method Summary
Modifier and TypeMethodDescriptionGet the external URLs of the artist.getHref()Get the full Spotify Web API endpoint URL of the artist.getId()Get the Spotify ID of the artist.getName()Get the name of the artist.getType()Get the model object type.getUri()Get the Spotify URI of the artist.
-
Method Details
-
getExternalUrls
ExternalUrl getExternalUrls()Get the external URLs of the artist.
Example: Spotify-URL- Returns:
- An
ExternalUrlobject.
-
getHref
String getHref()Get the full Spotify Web API endpoint URL of the artist.- Returns:
- A Spotify Web API endpoint URL.
-
getId
-
getName
-
getType
ModelObjectType getType()Get the model object type. In this case "artist".- Returns:
- A
ModelObjectType.
-
getUri
-