Class Episode
java.lang.Object
com.amilesend.tvmaze.client.model.Resource<Episode, ResourceLink>
com.amilesend.tvmaze.client.model.EpisodeBase<Episode, ResourceLink>
com.amilesend.tvmaze.client.model.Episode
Describes a television show episode.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEncapsulates the possible embedded resources for theEpisode.static classDescribes the type of additional embedded information to include in theEpisode.static classEpisode.EpisodeBuilder<C extends Episode, B extends Episode.EpisodeBuilder<C,B>> static final classDescribes the supported resource links for anEpisode.Nested classes/interfaces inherited from class EpisodeBase
EpisodeBase.EpisodeBaseBuilder<T,L, C, B> Modifier and TypeClassDescriptionstatic classEpisodeBase.EpisodeBaseBuilder<T extends EpisodeBase, L, C extends EpisodeBase<T,L>, B extends EpisodeBase.EpisodeBaseBuilder<T, L, C, B>> -
Field Summary
Fields inherited from class Resource
SELF_RESOURCE_LINK_TYPEModifier and TypeFieldDescriptionstatic final StringThe resource link type that references this resource. -
Method Summary
Modifier and TypeMethodDescriptionstatic Episode.EpisodeBuilder<?, ?> builder()Any embedded resources associated with the episode.Gets the embedded list of cast members associated with the episode.getImage()The associated episode image URLs.The episode rating.getShow()Gets the embedded show associated with the episode.The episode summary.toString()Methods inherited from class EpisodeBase
getAirdate, getAirstamp, getAirtime, getName, getNumber, getRuntime, getSeason, getType, getUrlModifier and TypeMethodDescriptionThe date of the initial airing.The UTC date and time of the initial airing.The time of day of the initial airing.getName()The episode title.intThe associated episode numer within the season of the episode.intThe time in minutes of the episode.intThe associated season number of the episode.getType()The episode type.getUrl()The URL for the episode.
-
Method Details
-
getGuestCast
Gets the embedded list of cast members associated with the episode. Note: can benull.- Returns:
- the list of cast members
- See Also:
-
getShow
Gets the embedded show associated with the episode. Note: can benull.- Returns:
- the show
- See Also:
-
builder
-
getRating
The episode rating. -
getImage
The associated episode image URLs. -
getSummary
The episode summary. -
getEmbeddedResource
Any embedded resources associated with the episode. Note: can benull. -
toString
- Overrides:
toStringin classEpisodeBase<Episode, ResourceLink>
-