Class EpisodeBase.EpisodeBaseBuilder<T extends EpisodeBase,L,C extends EpisodeBase<T,L>,B extends EpisodeBase.EpisodeBaseBuilder<T,L,C,B>>
java.lang.Object
com.amilesend.tvmaze.client.model.Resource.ResourceBuilder<T,L,C,B>
com.amilesend.tvmaze.client.model.EpisodeBase.EpisodeBaseBuilder<T,L,C,B>
- Direct Known Subclasses:
AlternateEpisode.AlternateEpisodeBuilder
,Episode.EpisodeBuilder
- Enclosing class:
EpisodeBase<T extends EpisodeBase,
L>
public abstract static class EpisodeBase.EpisodeBaseBuilder<T extends EpisodeBase,L,C extends EpisodeBase<T,L>,B extends EpisodeBase.EpisodeBaseBuilder<T,L,C,B>>
extends Resource.ResourceBuilder<T,L,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe date of the initial airing.airstamp
(LocalDateTime airstamp) The UTC date and time of the initial airing.The time of day of the initial airing.abstract C
build()
The episode title.number
(int number) The associated episode numer within the season of the episode.runtime
(int runtime) The time in minutes of the episode.season
(int season) The associated season number of the episode.toString()
The episode type.The URL for the episode.Methods inherited from class com.amilesend.tvmaze.client.model.Resource.ResourceBuilder
id, links
-
Constructor Details
-
EpisodeBaseBuilder
public EpisodeBaseBuilder()
-
-
Method Details
-
url
The URL for the episode.- Returns:
this
.
-
name
The episode title.- Returns:
this
.
-
season
The associated season number of the episode.- Returns:
this
.
-
number
The associated episode numer within the season of the episode.- Returns:
this
.
-
type
The episode type.- Returns:
this
.
-
airdate
The date of the initial airing.- Returns:
this
.
-
airtime
The time of day of the initial airing.- Returns:
this
.
-
airstamp
The UTC date and time of the initial airing.- Returns:
this
.
-
runtime
The time in minutes of the episode.- Returns:
this
.
-
build
- Specified by:
build
in classResource.ResourceBuilder<T extends EpisodeBase,
L, C extends EpisodeBase<T, L>, B extends EpisodeBase.EpisodeBaseBuilder<T, L, C, B>>
-
toString
- Overrides:
toString
in classResource.ResourceBuilder<T extends EpisodeBase,
L, C extends EpisodeBase<T, L>, B extends EpisodeBase.EpisodeBaseBuilder<T, L, C, B>>
-