Class ExternalUrl
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject
-
- com.wrapper.spotify.model_objects.specification.ExternalUrl
-
- All Implemented Interfaces:
IModelObject
public class ExternalUrl extends AbstractModelObject
Retrieve information about External URL objects by building instances from this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalUrl.BuilderBuilder class for buildingExternalUrlinstances.static classExternalUrl.JsonUtilJsonUtil class for buildingExternalUrlinstances.-
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 ExternalUrl.Builderbuilder()Create a builder for building an instance of a model object.Stringget(String key)Get an specific external URL from this external URLs object with the key string given below.Map<String,String>getExternalUrls()Get the external URLs from this External URL object.
-
-
-
Method Detail
-
get
public String get(String key)
Get an specific external URL from this external URLs object with the key string given below.- Parameters:
key- The type of the URL.- Returns:
- An external, public URL to the object.
-
getExternalUrls
public Map<String,String> getExternalUrls()
Get the external URLs from this External URL object.
External URL example:
"spotify" - The Spotify URL for the object.- Returns:
- A
Mapof external public URLs to its objects.
-
builder
public ExternalUrl.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.
-
-