Class SimplifiedEpisode
- java.lang.Object
-
- de.sonallux.spotify.api.models.BaseObject
-
- de.sonallux.spotify.api.models.SimplifiedEpisode
-
public class SimplifiedEpisode extends BaseObject
-
-
Field Summary
Fields Modifier and Type Field Description StringaudioPreviewUrlA URL to a 30 second preview (MP3 format) of the episode.StringdescriptionA description of the episode.intdurationMsThe episode length in milliseconds.booleanexplicitWhether or not the episode has explicit content (true = yes it does; false = no it does not OR unknown).ExternalUrlexternalUrlsExternal URLs for this episode.StringhtmlDescriptionA description of the episode.List<Image>imagesThe cover art for the episode in various sizes, widest first.booleanisExternallyHostedTrue if the episode is hosted outside of Spotify's CDN.booleanisPlayableTrue if the episode is playable in the given market.StringlanguageThe language used in the episode, identified by a ISO 639 code.List<String>languagesA list of the languages used in the episode, identified by their ISO 639-1 code.StringnameThe name of the episode.StringreleaseDateThe date the episode was first released, for example"1981-12-15".StringreleaseDatePrecisionThe precision with whichrelease_datevalue is known.EpisodeRestrictionrestrictionsIncluded in the response when a content restriction is applied.ResumePointresumePointThe user's most recent position in the episode.-
Fields inherited from class de.sonallux.spotify.api.models.BaseObject
href, id, type, uri
-
-
Constructor Summary
Constructors Constructor Description SimplifiedEpisode()
-
-
-
Field Detail
-
audioPreviewUrl
public String audioPreviewUrl
A URL to a 30 second preview (MP3 format) of the episode.
nullif not available.
-
description
public String description
A description of the episode. HTML tags are stripped away from this field, use
html_descriptionfield in case HTML tags are needed.
-
durationMs
public int durationMs
The episode length in milliseconds.
-
explicit
public boolean explicit
Whether or not the episode has explicit content (true = yes it does; false = no it does not OR unknown).
-
externalUrls
public ExternalUrl externalUrls
External URLs for this episode.
-
htmlDescription
public String htmlDescription
A description of the episode. This field may contain HTML tags.
-
isExternallyHosted
public boolean isExternallyHosted
True if the episode is hosted outside of Spotify's CDN.
-
isPlayable
public boolean isPlayable
True if the episode is playable in the given market. Otherwise false.
-
language
public String language
The language used in the episode, identified by a ISO 639 code. This field is deprecated and might be removed in the future. Please use the
languagesfield instead.
-
languages
public List<String> languages
A list of the languages used in the episode, identified by their ISO 639-1 code.
-
name
public String name
The name of the episode.
-
releaseDate
public String releaseDate
The date the episode was first released, for example
"1981-12-15". Depending on the precision, it might be shown as"1981"or"1981-12".
-
releaseDatePrecision
public String releaseDatePrecision
The precision with which
release_datevalue is known.
-
restrictions
public EpisodeRestriction restrictions
Included in the response when a content restriction is applied. See Restriction Object for more details.
-
resumePoint
public ResumePoint resumePoint
The user's most recent position in the episode. Set if the supplied access token is a user token and has the scope 'user-read-playback-position'.
-
-