Class Followers
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject
-
- com.wrapper.spotify.model_objects.specification.Followers
-
- All Implemented Interfaces:
IModelObject
public class Followers extends AbstractModelObject
Retrieve information about Follower objects by building instances from this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFollowers.BuilderBuilder class for buildingFollowersinstances.static classFollowers.JsonUtilJsonUtil class for buildingFollowersinstances.-
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 Followers.Builderbuilder()Create a builder for building an instance of a model object.StringgetHref()Get a link to the Web API endpoint providing full details of the followers object.IntegergetTotal()Get the total number of followers.
-
-
-
Method Detail
-
getHref
public String getHref()
Get a link to the Web API endpoint providing full details of the followers object.
Please note: This will always be set tonull, as the Web API does not support it at the moment.- Returns:
- A link to the Web API endpoint providing full details of the followers;
nullif not available.
-
getTotal
public Integer getTotal()
Get the total number of followers.- Returns:
- The total number of followers.
-
builder
public Followers.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.
-
-