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 Details

    • getExternalUrls

      ExternalUrl getExternalUrls()
      Get the external URLs of the artist.
      Example: Spotify-URL
      Returns:
      An ExternalUrl object.
    • getHref

      String getHref()
      Get the full Spotify Web API endpoint URL of the artist.
      Returns:
      A Spotify Web API endpoint URL.
    • getId

      String getId()
      Get the Spotify ID of the artist.
      Returns:
      A Spotify artist ID.
    • getName

      String getName()
      Get the name of the artist.
      Returns:
      Artist name.
    • getType

      ModelObjectType getType()
      Get the model object type. In this case "artist".
      Returns:
      A ModelObjectType.
    • getUri

      String getUri()
      Get the Spotify URI of the artist.
      Returns:
      Spotify artist URI.