java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.specification.ArtistSimplified
All Implemented Interfaces:
Serializable, IModelObject

public class ArtistSimplified extends AbstractModelObject
Retrieve information about simplified Artist objects by building instances from this class.
See Also:
  • Method Details

    • getExternalUrls

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

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

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

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

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

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

      public String toString()
      Description copied from class: AbstractModelObject
      Returns a String representation of this model object in the style:

      ModelObject(attr1=value1, attr2=value2, ...)

      Specified by:
      toString in class AbstractModelObject
    • builder

      public ArtistSimplified.Builder builder()
      Description copied from interface: IModelObject
      Create a builder for building an instance of a model object.
      The type of the builder and its methods depend on its corresponding implementation.
      Returns:
      A builder object.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object