Class TvShow.TvShowBuilder<C extends TvShow,B extends TvShow.TvShowBuilder<C,B>>
java.lang.Object
com.amilesend.tmdb.client.model.Resource.ResourceBuilder<Integer,TvShow,C,B>
com.amilesend.tmdb.client.model.NamedResource.NamedResourceBuilder<Integer,TvShow,C,B>
com.amilesend.tmdb.client.model.discover.type.TvShow.TvShowBuilder<C,B>
- Enclosing class:
TvShow
public abstract static class TvShow.TvShowBuilder<C extends TvShow,B extends TvShow.TvShowBuilder<C,B>>
extends NamedResource.NamedResourceBuilder<Integer,TvShow,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackdropPath(String backdropPath) The relative path to the backdrop image.abstract Cbuild()firstAirDate(LocalDate firstAirDate) The first air date for the TV show.The list of genre identifiers.originalLanguage(String originalLanguage) The original airing language.originalName(String originalName) The original airing name.originCountry(List<String> originCountry) The list of countries.Overview describing the show.popularity(Double popularity) The popularity score.posterPath(String posterPath) The relative path to the poster image.toString()voteAverage(Double voteAverage) The average vote rating.The total number of votes.Methods inherited from class com.amilesend.tmdb.client.model.NamedResource.NamedResourceBuilder
nameMethods inherited from class com.amilesend.tmdb.client.model.Resource.ResourceBuilder
id
-
Constructor Details
-
TvShowBuilder
public TvShowBuilder()
-
-
Method Details
-
backdropPath
The relative path to the backdrop image.- Returns:
this.
-
firstAirDate
The first air date for the TV show.- Returns:
this.
-
genreIds
The list of genre identifiers.- Returns:
this.
-
originCountry
The list of countries.- Returns:
this.
-
originalLanguage
The original airing language.- Returns:
this.
-
originalName
The original airing name.- Returns:
this.
-
overview
Overview describing the show.- Returns:
this.
-
popularity
The popularity score.- Returns:
this.
-
posterPath
The relative path to the poster image.- Returns:
this.
-
voteAverage
The average vote rating.- Returns:
this.
-
voteCount
The total number of votes.- Returns:
this.
-
build
- Specified by:
buildin classNamedResource.NamedResourceBuilder<Integer,TvShow, C extends TvShow, B extends TvShow.TvShowBuilder<C, B>>
-
toString
- Overrides:
toStringin classNamedResource.NamedResourceBuilder<Integer,TvShow, C extends TvShow, B extends TvShow.TvShowBuilder<C, B>>
-