Class Season.SeasonBuilder<C extends Season,B extends Season.SeasonBuilder<C,B>>
java.lang.Object
com.amilesend.tvmaze.client.model.Resource.ResourceBuilder<Season,ResourceLink,C,B>
com.amilesend.tvmaze.client.model.Season.SeasonBuilder<C,B>
- Enclosing class:
Season
public abstract static class Season.SeasonBuilder<C extends Season,B extends Season.SeasonBuilder<C,B>>
extends Resource.ResourceBuilder<Season,ResourceLink,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
The date tha tthe season finished airing.episodeOrder
(int episodeOrder) The number of episodes ordered for the season.The associated image content.The season name.The associated distribution network.number
(int number) The season number.premiereDate
(LocalDate premiereDate) The date that the season initially aired.toString()
The associated TVMaze website URL.Methods inherited from class com.amilesend.tvmaze.client.model.Resource.ResourceBuilder
id, links
-
Constructor Details
-
SeasonBuilder
public SeasonBuilder()
-
-
Method Details
-
url
The associated TVMaze website URL.- Returns:
this
.
-
number
The season number.- Returns:
this
.
-
name
The season name.- Returns:
this
.
-
episodeOrder
The number of episodes ordered for the season.- Returns:
this
.
-
premiereDate
The date that the season initially aired.- Returns:
this
.
-
endDate
The date tha tthe season finished airing.- Returns:
this
.
-
network
The associated distribution network.- Returns:
this
.
-
image
The associated image content.- Returns:
this
.
-
build
- Specified by:
build
in classResource.ResourceBuilder<Season,
ResourceLink, C extends Season, B extends Season.SeasonBuilder<C, B>>
-
toString
- Overrides:
toString
in classResource.ResourceBuilder<Season,
ResourceLink, C extends Season, B extends Season.SeasonBuilder<C, B>>
-