Class RecommendationsSeed

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

public class RecommendationsSeed extends AbstractModelObject
Retrieve information about Recommendation Seed objects by building instances from this class.
See Also:
  • Method Details

    • getAfterFilteringSize

      public Integer getAfterFilteringSize()
      Get the number of tracks available after min_* and max_* filters have been applied.
      Returns:
      The number of tracks available after min_* and max_* filters have been applied.
    • getAfterRelinkingSize

      public Integer getAfterRelinkingSize()
      Get the number of tracks available after relinking for regional availability.
      Returns:
      The number of tracks available after relinking for regional availability.
    • getHref

      public String getHref()
      Get the link to the full track or artist data for this seed.
      Returns:
      A link to the full track or artist data for this seed. For tracks this will be a link to a Track object. For artists a link to an Artist Object. For genre seeds, this value will be null.
    • getId

      public String getId()
      Get the ID used to select this seed.
      Returns:
      The ID used to select this seed. This will be the same as the string used in the seed_artists, seed_tracks or seed_genres request parameter.
    • getInitialPoolSize

      public Integer getInitialPoolSize()
      Get the number of recommended tracks available for this seed.
      Returns:
      The number of recommended tracks available for this seed.
    • getType

      public ModelObjectType getType()
      Get the entity type of this seed.
      Returns:
      The model object type of this seed. One of artist, track or genre.
    • 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 RecommendationsSeed.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.