Class RatedTV.RatedTVBuilder<C extends RatedTV, B extends RatedTV.RatedTVBuilder<C,B>>

Enclosing class:
RatedTV

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

    • RatedTVBuilder

      public RatedTVBuilder()
  • 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.
    • rating

      public B rating(Integer rating)
      The user's rating associated with the TV show.
      Returns:
      this.
    • build

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

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