Class AbstractModelObject
java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject
- All Implemented Interfaces:
IModelObject
- Direct Known Subclasses:
Album,AlbumSimplified,AlbumSimplifiedSpecial,Artist,ArtistSimplified,AudioAnalysis,AudioAnalysisMeasure,AudioAnalysisMeta,AudioAnalysisSection,AudioAnalysisSegment,AudioAnalysisTrack,AudioFeatures,AuthenticationError,AuthorizationCodeCredentials,Category,ClientCredentials,Context,Copyright,CurrentlyPlaying,CurrentlyPlayingContext,Cursor,Device,Error,ExternalId,ExternalUrl,FeaturedPlaylists,Followers,Image,Paging,PagingCursorbased,PlayHistory,Playlist,PlaylistSimplified,PlaylistTrack,PlaylistTrackPosition,PlaylistTracksInformation,Recommendations,RecommendationsSeed,Restrictions,SavedAlbum,SavedTrack,SearchResult,SnapshotResult,Track,TrackLink,TrackSimplified,User
public abstract class AbstractModelObject extends Object implements IModelObject
This abstract class (and its wrapping classes) is used as a sort of template for other model object classes and
includes multiple generic methods.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractModelObject.BuilderEach model object needs to implement its own builder class.static classAbstractModelObject.JsonUtil<T>Each model object needs to implement its own JsonUtil class.Nested classes/interfaces inherited from interface com.wrapper.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T> -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractModelObject(AbstractModelObject.Builder builder)This constructor initializes the time zone. -
Method Summary
-
Constructor Details
-
AbstractModelObject
This constructor initializes the time zone.- Parameters:
builder- The builder object of the corresponding model object.
-