public class SearchResult extends AbstractModelObject implements IArtistTrackModelObject, ISearchModelObject
type parameter in the SearchItemRequest
the searched-for items wrapped in a Paging object.| Modifier and Type | Class and Description |
|---|---|
static class |
SearchResult.Builder
Builder class for building
SearchResult instances. |
static class |
SearchResult.JsonUtil
JsonUtil class for building
SearchResult instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method and Description |
|---|---|
SearchResult.Builder |
builder()
Create a builder for building an instance of a model object.
|
Paging<AlbumSimplified> |
getAlbums()
Get the album objects contained in the search result object.
|
Paging<Artist> |
getArtists()
Get the artist objects contained in the search result object.
|
Paging<PlaylistSimplified> |
getPlaylists()
Get the playlist objects contained in the search result object.
|
Paging<Track> |
getTracks()
Get the track objects contained in the search result object.
|
public Paging<AlbumSimplified> getAlbums()
album parameter has been specified
in the request.public Paging<Artist> getArtists()
artist parameter has been specified
in the request.public Paging<PlaylistSimplified> getPlaylists()
playlist parameter has been specified
in the request.public Paging<Track> getTracks()
track parameter has been specified
in the request.public SearchResult.Builder builder()
IModelObjectbuilder in interface IModelObjectCopyright © 2020. All rights reserved.