Class RecommendationsSeed
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.specification.RecommendationsSeed
- All Implemented Interfaces:
Serializable
,IModelObject
Retrieve information about
Recommendation Seed objects by building instances from this class.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for buildingRecommendationsSeed
instances.static final class
JsonUtil class for buildingRecommendationsSeed
instances.Nested classes/interfaces inherited from interface se.michaelthelin.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder for building an instance of a model object.Get the number of tracks available aftermin_*
andmax_*
filters have been applied.Get 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.Get the number of recommended tracks available for this seed.getType()
Get the entity type of this seed.toString()
Returns a String representation of this model object in the style:
-
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_tracks
orseed_genres
request 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
,track
orgenre
.
-
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 classAbstractModelObject
-
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.
-