Class SearchResult

    • Method Detail

      • getAlbums

        public Paging<AlbumSimplified> getAlbums()
        Get the album objects contained in the search result object.
        Note: The search result only contains album objects when the album parameter has been specified in the request.
        Returns:
        Albums from the search result.
      • getArtists

        public Paging<Artist> getArtists()
        Get the artist objects contained in the search result object.
        Note: The search result only contains artist objects when the artist parameter has been specified in the request.
        Returns:
        Artists from the search result.
      • getEpisodes

        public Paging<EpisodeSimplified> getEpisodes()
        Get the episode objects contained in the search result object.
        Note: The search result only contains episode objects when the episode parameter has been specified in the request.
        Returns:
        Episodes from the search result.
      • getPlaylists

        public Paging<PlaylistSimplified> getPlaylists()
        Get the playlist objects contained in the search result object.
        Note: The search result only contains playlist objects when the playlist parameter has been specified in the request.
        Returns:
        Playlists from the search result.
      • getShows

        public Paging<ShowSimplified> getShows()
        Get the show objects contained in the search result object.
        Note: The search result only contains show objects when the show parameter has been specified in the request.
        Returns:
        Shows from the search result.
      • getTracks

        public Paging<Track> getTracks()
        Get the track objects contained in the search result object.
        Note: The search result only contains track objects when the track parameter has been specified in the request.
        Returns:
        Tracks from the search result.
      • builder

        public SearchResult.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.
        Specified by:
        builder in interface IModelObject
        Returns:
        A builder object.