Class ItunesPodcastEpisode

java.lang.Object
io.micronaut.rss.RssItem
io.micronaut.rss.itunespodcast.ItunesPodcastEpisode

public class ItunesPodcastEpisode extends RssItem
Extends the RSS item with iTunes podcast episode properties.
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • ItunesPodcastEpisode

      public ItunesPodcastEpisode()
  • Method Details

    • getImage

      @Nullable public @Nullable String getImage()
      Returns:
      Get Podcast episode image
    • setEpisodeType

      public void setEpisodeType(ItunesPodcastEpisodeType episodeType)
      Sets the episode type.
      Parameters:
      episodeType - Episode's type
    • getSubtitle

      public Optional<String> getSubtitle()
      Returns:
      Episode's subtitle.
    • getSummary

      public Optional<String> getSummary()
      Returns:
      Episode's summary.
    • setSubtitle

      public void setSubtitle(String subtitle)
      Sets episode subtitle.
      Parameters:
      subtitle - Episode's subtitle.
    • getEpisodeType

      public Optional<ItunesPodcastEpisodeType> getEpisodeType()
      Returns:
      Episode's type.
    • getContentEncoded

      public Optional<String> getContentEncoded()
      Returns:
      Episode's content encoded.
    • setSummary

      public void setSummary(@Nullable @Nullable String summary)
      Sets episode summary.
      Parameters:
      summary - Episode's summary.
    • setContentEncoded

      public void setContentEncoded(String contentEncoded)
      Sets episode contentEncoded.
      Parameters:
      contentEncoded - Episode's contentEncoded.
    • setDuration

      public void setDuration(String duration)
      Sets episode duration.
      Parameters:
      duration - Episode's duration.
    • getDuration

      public Optional<String> getDuration()
      Returns:
      Episode's duration.
    • isExplicit

      public boolean isExplicit()
      Returns:
      whether an episode is explicit.
    • setExplicit

      public void setExplicit(boolean explicit)
      Parameters:
      explicit - whether an episode is explicit.
    • setEpisode

      public void setEpisode(Integer episode)
      Sets episode episode number.
      Parameters:
      episode - Episode's episode number.
    • getEpisode

      @Nullable public @Nullable Optional<Integer> getEpisode()
      Returns:
      Episode's number.
    • setSeason

      public void setSeason(Integer season)
      Sets episode season number.
      Parameters:
      season - Episode's episode season number.
    • getSeason

      @Nullable public @Nullable Optional<Integer> getSeason()
      Returns:
      Episode's season number.
    • setImage

      public void setImage(String image)
      Sets episode's image.
      Parameters:
      image - episode's image
    • builder

      public static ItunesPodcastEpisode.Builder builder(String title)
      Parameters:
      title - Episode's title
      Returns:
      A Builder to build a ItunesPodcastEpisode.