Class AbstractModelObject
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
- All Implemented Interfaces:
Serializable, IModelObject
- Direct Known Subclasses:
Actions, Album, AlbumSimplified, AlbumSimplifiedSpecial, Artist, ArtistSimplified, AudioAnalysis, AudioAnalysisMeasure, AudioAnalysisMeta, AudioAnalysisSection, AudioAnalysisSegment, AudioAnalysisTrack, Audiobook, AudiobookSimplified, AudioFeatures, AuthenticationError, Author, AuthorizationCodeCredentials, Category, Chapter, ChapterRestriction, ChapterSimplified, ClientCredentials, Context, Copyright, CurrentlyPlaying, CurrentlyPlayingContext, Cursor, Device, Disallows, Episode, EpisodeSimplified, Error, ExplicitContentSettings, ExternalId, ExternalUrl, FeaturedPlaylists, Followers, Image, Narrator, Paging, PagingCursorbased, PlaybackQueue, PlayHistory, Playlist, PlaylistSimplified, PlaylistTrack, PlaylistTracksInformation, Recommendations, RecommendationsSeed, Restrictions, ResumePoint, SavedAlbum, SavedEpisode, SavedShow, SavedTrack, SearchResult, Show, ShowSimplified, SnapshotResult, Track, TrackLink, TrackSimplified, User
This abstract class (and its wrapping classes) is used as a sort of template for other model object classes and
includes multiple generic methods.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEach model object needs to implement its own builder class.static classEach model object needs to implement its own JsonUtil class.Nested classes/interfaces inherited from interface IModelObject
IModelObject.IJsonUtil<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedThis constructor initializes the time zone. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IModelObject
builder
-
Constructor Details
-
AbstractModelObject
This constructor initializes the time zone.- Parameters:
builder- The builder object of the corresponding model object.
-
-
Method Details
-
toString
-