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 Resource.ResourceBuilder
id, links
-
Constructor Details
-
ShowBuilder
public ShowBuilder()
-
-
Method Details
-
url
-
name
-
type
-
language
-
genres
-
status
-
runtime
-
averageRuntime
-
premiered
-
ended
-
officialSite
-
schedule
-
rating
-
weight
The weight associated with the shows search relevance and/or popularity.- Returns:
this
.
-
network
-
webChannel
The streaming channel that the show is aired on.- Returns:
this
.
-
dvdCountry
-
externals
-
image
-
summary
-
updated
-
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>>
-