Class Show.ShowBuilder<C extends Show,B extends Show.ShowBuilder<C,B>>
java.lang.Object
com.amilesend.tvmaze.client.model.Resource.ResourceBuilder<Show,ResourceLink,C,B>
com.amilesend.tvmaze.client.model.Show.ShowBuilder<C,B>
- Enclosing class:
Show
public abstract static class Show.ShowBuilder<C extends Show,B extends Show.ShowBuilder<C,B>>
extends Resource.ResourceBuilder<Show,ResourceLink,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaverageRuntime
(int averageRuntime) The average runtime in minutes.abstract C
build()
dvdCountry
(Country dvdCountry) The associated country.embeddedResource
(Show.EmbeddedResource embeddedResource) Any embedded resources associated with the show.The date when the series was ended, if applicable.A map of source providers and associated identifiers.The list of associated genres for the show.The images associated with the show.The primary language of the show.The name of the show.The associated network that air/distributes the show.officialSite
(String officialSite) The URL for the show's official site.The date the series was initially aired.The show rating.runtime
(int runtime) The runtime in minutes.The airing schedule.The airing state.A brief show summary.toString()
The type of show.updated
(long updated) Indicates when this show was last updated.The URL for the show.webChannel
(WebChannel webChannel) The streaming channel that the show is aired on.weight
(int weight) The weight associated with the shows search relevance and/or popularity.Methods inherited from class com.amilesend.tvmaze.client.model.Resource.ResourceBuilder
id, links
-
Constructor Details
-
ShowBuilder
public ShowBuilder()
-
-
Method Details
-
url
The URL for the show.- Returns:
this
.
-
name
The name of the show.- Returns:
this
.
-
type
The type of show.- Returns:
this
.
-
language
The primary language of the show.- Returns:
this
.
-
genres
The list of associated genres for the show.- Returns:
this
.
-
status
The airing state.- Returns:
this
.
-
runtime
The runtime in minutes.- Returns:
this
.
-
averageRuntime
The average runtime in minutes.- Returns:
this
.
-
premiered
The date the series was initially aired.- Returns:
this
.
-
ended
The date when the series was ended, if applicable.- Returns:
this
.
-
officialSite
The URL for the show's official site.- Returns:
this
.
-
schedule
The airing schedule.- Returns:
this
.
-
rating
The show rating.- Returns:
this
.
-
weight
The weight associated with the shows search relevance and/or popularity.- Returns:
this
.
-
network
The associated network that air/distributes the show.- Returns:
this
.
-
webChannel
The streaming channel that the show is aired on.- Returns:
this
.
-
dvdCountry
The associated country.- Returns:
this
.
-
externals
A map of source providers and associated identifiers. The key is the external source id (e.g., tvrage, thetvdb, imdb, etc.), and the value is the identifier.- Returns:
this
.
-
image
The images associated with the show.- Returns:
this
.
-
summary
A brief show summary.- Returns:
this
.
-
updated
Indicates when this show was last updated.- Returns:
this
.
-
embeddedResource
Any embedded resources associated with the show. Note: can benull
.- Returns:
this
.
-
build
- Specified by:
build
in classResource.ResourceBuilder<Show,
ResourceLink, C extends Show, B extends Show.ShowBuilder<C, B>>
-
toString
- Overrides:
toString
in classResource.ResourceBuilder<Show,
ResourceLink, C extends Show, B extends Show.ShowBuilder<C, B>>
-