Class TrackLink

    • Method Summary

      Modifier and Type Method Description
      TrackLink.Builder builder()
      Create a builder for building an instance of a model object.
      ExternalUrl getExternalUrls()
      Get the external URLs of the track.
      Example: Spotify-URL.
      java.lang.String getHref()
      Get the Spotify Web API endpoint URL of the track.
      java.lang.String getId()
      Get the Spotify ID of the track.
      ModelObjectType getType()
      Get the model object type, which should be a "track" in this case.
      java.lang.String getUri()
      Get the Spotify URI of the track.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getExternalUrls

        public ExternalUrl getExternalUrls()
        Get the external URLs of the track.
        Example: Spotify-URL.
        Returns:
        Known external URLs for this track.
      • getHref

        public java.lang.String getHref()
        Get the Spotify Web API endpoint URL of the track.
        Returns:
        A link to the Web API endpoint providing full details of the track.
      • getId

        public java.lang.String getId()
        Get the Spotify ID of the track.
        Returns:
        A Spotify track ID.
      • getType

        public ModelObjectType getType()
        Get the model object type, which should be a "track" in this case.
        Returns:
        The object type: "track".
      • getUri

        public java.lang.String getUri()
        Get the Spotify URI of the track.
        Returns:
        The Spotify URI for the track.
      • builder

        public TrackLink.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.