Class RecommendationsSeed
java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject
com.wrapper.spotify.model_objects.specification.RecommendationsSeed
- All Implemented Interfaces:
IModelObject
public class RecommendationsSeed extends AbstractModelObject
Retrieve information about
Recommendation Seed objects by building instances from this class.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecommendationsSeed.BuilderBuilder class for buildingRecommendationsSeedinstances.static classRecommendationsSeed.JsonUtilJsonUtil class for buildingRecommendationsSeedinstances.Nested classes/interfaces inherited from interface com.wrapper.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T> -
Method Summary
Modifier and Type Method Description RecommendationsSeed.Builderbuilder()Create a builder for building an instance of a model object.IntegergetAfterFilteringSize()Get the number of tracks available aftermin_*andmax_*filters have been applied.IntegergetAfterRelinkingSize()Get the number of tracks available after relinking for regional availability.StringgetHref()Get the link to the full track or artist data for this seed.StringgetId()Get the ID used to select this seed.IntegergetInitialPoolSize()Get the number of recommended tracks available for this seed.ModelObjectTypegetType()Get the entity type of this seed.
-
Method Details
-
getAfterFilteringSize
Get the number of tracks available aftermin_*andmax_*filters have been applied.- Returns:
- The number of tracks available after
min_*andmax_*filters have been applied.
-
getAfterRelinkingSize
Get the number of tracks available after relinking for regional availability.- Returns:
- The number of tracks available after relinking for regional availability.
-
getHref
Get the link to the full track or artist data for this seed. -
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_tracksorseed_genresrequest parameter.
-
getInitialPoolSize
Get the number of recommended tracks available for this seed.- Returns:
- The number of recommended tracks available for this seed.
-
getType
Get the entity type of this seed.- Returns:
- The model object type of this seed. One of
artist,trackorgenre.
-
builder
Description copied from interface:IModelObjectCreate 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.
-