Class FavoriteTV.FavoriteTVBuilder<C extends FavoriteTV, B extends FavoriteTV.FavoriteTVBuilder<C,B>>

Enclosing class:
FavoriteTV

public abstract static class FavoriteTV.FavoriteTVBuilder<C extends FavoriteTV, B extends FavoriteTV.FavoriteTVBuilder<C,B>> extends NamedResource.NamedResourceBuilder<Integer, FavoriteTV, C, B>
  • Constructor Details

    • FavoriteTVBuilder

      public FavoriteTVBuilder()
  • Method Details

    • adult

      public B adult(Boolean adult)
      Flag indicator if this media resource is adult content.
      Returns:
      this.
    • backdropPath

      public B backdropPath(String backdropPath)
      Relative path to the backdrop image for this media.
      Returns:
      this.
    • genreIds

      public B genreIds(List<Integer> genreIds)
      List of applicable genre identifiers.
      Returns:
      this.
    • originCountry

      public B originCountry(List<String> originCountry)
      The countries of origin.
      Returns:
      this.
    • originalLanguage

      public B originalLanguage(String originalLanguage)
      The original language of the media resource.
      Returns:
      this.
    • originalName

      public B originalName(String originalName)
      The original name of the show.
      Returns:
      this.
    • overview

      public B overview(String overview)
      A summary description of the media resource.
      Returns:
      this.
    • popularity

      public B popularity(Double popularity)
      Popularity score of the media resource.
      Returns:
      this.
    • posterPath

      public B posterPath(String posterPath)
      Relative path to the media poster.
      Returns:
      this.
    • firstAirDate

      public B firstAirDate(LocalDate firstAirDate)
      The initial pilot air date.
      Returns:
      this.
    • voteAverage

      public B voteAverage(Double voteAverage)
      The average user vote score of the media resource.
      Returns:
      this.
    • voteCount

      public B voteCount(Integer voteCount)
      The total number of votes for the media resource.
      Returns:
      this.
    • build

      public abstract C build()
      Specified by:
      build in class NamedResource.NamedResourceBuilder<Integer, FavoriteTV, C extends FavoriteTV, B extends FavoriteTV.FavoriteTVBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class NamedResource.NamedResourceBuilder<Integer, FavoriteTV, C extends FavoriteTV, B extends FavoriteTV.FavoriteTVBuilder<C,B>>