Class Recommendations
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject
-
- com.wrapper.spotify.model_objects.specification.Recommendations
-
- All Implemented Interfaces:
IModelObject
public class Recommendations extends AbstractModelObject
Retrieve information about Recommendation objects by building instances from this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecommendations.BuilderBuilder class for buildingRecommendationsinstances.static classRecommendations.JsonUtilJsonUtil class for buildingRecommendationsinstances.-
Nested classes/interfaces inherited from interface com.wrapper.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Recommendations.Builderbuilder()Create a builder for building an instance of a model object.RecommendationsSeed[]getSeeds()Get the recommendation seeds from the recommendations object.TrackSimplified[]getTracks()Get the (simplified) tracks from the recommendations object.
-
-
-
Method Detail
-
getSeeds
public RecommendationsSeed[] getSeeds()
Get the recommendation seeds from the recommendations object.- Returns:
- An array of recommendation seed objects.
-
getTracks
public TrackSimplified[] getTracks()
Get the (simplified) tracks from the recommendations object.- Returns:
- An array of track object (simplified) ordered according to the parameters supplied.
-
builder
public Recommendations.Builder 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.
-
-