Class EpisodeBase

java.lang.Object
de.sonallux.spotify.api.models.BaseObject
de.sonallux.spotify.api.models.EpisodeBase
Direct Known Subclasses:
Episode, SimplifiedEpisode

public class EpisodeBase extends BaseObject
EpisodeBase
  • Field Details

    • audioPreviewUrl

      public String audioPreviewUrl

      A URL to a 30 second preview (MP3 format) of the episode. null if not available.

    • description

      public String description

      A description of the episode. HTML tags are stripped away from this field, use html_description field 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.

    • images

      public List<Image> images

      The cover art for the episode in various sizes, widest first.

    • 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 languages field 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_date value is known.

    • restrictions

      public EpisodeRestriction restrictions

      Included in the response when a content restriction is applied.

    • 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'.

  • Constructor Details

    • EpisodeBase

      public EpisodeBase()