Class CollectionPart.CollectionPartBuilder<C extends CollectionPart,B extends CollectionPart.CollectionPartBuilder<C,B>>

java.lang.Object
com.amilesend.tmdb.client.model.Resource.ResourceBuilder<Integer,CollectionPart,C,B>
com.amilesend.tmdb.client.model.collection.type.CollectionPart.CollectionPartBuilder<C,B>
Enclosing class:
CollectionPart

public abstract static class CollectionPart.CollectionPartBuilder<C extends CollectionPart,B extends CollectionPart.CollectionPartBuilder<C,B>> extends Resource.ResourceBuilder<Integer,CollectionPart,C,B>
  • Constructor Details

    • CollectionPartBuilder

      public CollectionPartBuilder()
  • Method Details

    • adult

      public B adult(Boolean adult)
      Adult flag indicator.
      Returns:
      this.
    • backdropPath

      public B backdropPath(String backdropPath)
      Path to backdrop image.
      Returns:
      this.
    • title

      public B title(String title)
      The title.
      Returns:
      this.
    • originalLanguage

      public B originalLanguage(String originalLanguage)
      The original content language.
      Returns:
      this.
    • originalTitle

      public B originalTitle(String originalTitle)
      The original content title.
      Returns:
      this.
    • overview

      public B overview(String overview)
      The content summary.
      Returns:
      this.
    • posterPath

      public B posterPath(String posterPath)
      Path to the poster image.
      Returns:
      this.
    • mediaType

      public B mediaType(String mediaType)
      The type of media.
      Returns:
      this.
    • genreIds

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

      public B popularity(Double popularity)
      Popularity rating.
      Returns:
      this.
    • releaseDate

      public B releaseDate(LocalDate releaseDate)
      The release date.
      Returns:
      this.
    • video

      public B video(Boolean video)
      Video flag indicator.
      Returns:
      this.
    • voteAverage

      public B voteAverage(Double voteAverage)
      The user vote rating.
      Returns:
      this.
    • voteCount

      public B voteCount(Integer voteCount)
      Total number of votes.
      Returns:
      this.
    • build

      public abstract C build()
      Specified by:
      build in class Resource.ResourceBuilder<Integer,CollectionPart,C extends CollectionPart,B extends CollectionPart.CollectionPartBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Resource.ResourceBuilder<Integer,CollectionPart,C extends CollectionPart,B extends CollectionPart.CollectionPartBuilder<C,B>>