Class ArtistSimplified
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject
-
- com.wrapper.spotify.model_objects.specification.ArtistSimplified
-
- All Implemented Interfaces:
IModelObject
public class ArtistSimplified extends AbstractModelObject
Retrieve information about simplified Artist objects by building instances from this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArtistSimplified.BuilderBuilder class for buildingArtistSimplifiedinstances.static classArtistSimplified.JsonUtilJsonUtil class for buildingArtistSimplifiedinstances.-
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 ArtistSimplified.Builderbuilder()Create a builder for building an instance of a model object.ExternalUrlgetExternalUrls()Get the external URLs of the artist.StringgetHref()Get the full Spotify Web API endpoint URL of the artist.StringgetId()Get the Spotify ID of the artist.StringgetName()Get the name of the artist.ModelObjectTypegetType()Get the model object type.StringgetUri()Get the Spotify URI of the artist.
-
-
-
Method Detail
-
getExternalUrls
public ExternalUrl getExternalUrls()
Get the external URLs of the artist.
Example: Spotify-URL- Returns:
- An
ExternalUrlobject.
-
getHref
public String getHref()
Get the full Spotify Web API endpoint URL of the artist.- Returns:
- A Spotify Web API endpoint URL.
-
getId
public String getId()
Get the Spotify ID of the artist.- Returns:
- A Spotify artist ID.
-
getName
public String getName()
Get the name of the artist.- Returns:
- Artist name.
-
getType
public ModelObjectType getType()
Get the model object type. In this case "artist".- Returns:
- A
ModelObjectType.
-
getUri
public String getUri()
Get the Spotify URI of the artist.- Returns:
- Spotify artist URI.
-
builder
public ArtistSimplified.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.
-
-