Class Show
java.lang.Object
com.amilesend.tvmaze.client.model.Resource<Show,ResourceLink>
com.amilesend.tvmaze.client.model.Show
Describes a television show.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Encapsulates the possible embedded resources for theShow
.static class
Describes the type of additional embedded information to include in theShow
.static final class
Describes the supported resource links for aShow
.static class
Show.ShowBuilder<C extends Show,
B extends Show.ShowBuilder<C, B>> -
Field Summary
Fields inherited from class com.amilesend.tvmaze.client.model.Resource
SELF_RESOURCE_LINK_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionstatic Show.ShowBuilder
<?, ?> builder()
int
The average runtime in minutes.getCast()
Gets the embedded lit of cast members.The associated country.Any embedded resources associated with the show.getEnded()
The date when the series was ended, if applicable.Gets the embedded episodes associated with the show.Gets the map of external show identifiers. he key is the external source id (e.g., tvrage, thetvdb, imdb, etc.), and the value is the identifier.The list of associated genres for the show.getImage()
The images associated with the show.The primary language of the show.getName()
The name of the show.The associated network that air/distributes the show.Gets the next airing episode.The URL for the show's official site.The date the series was initially aired.The previous aired episode.The show rating.int
The runtime in minutes.The airing schedule.The airing state.A brief show summary.getType()
The type of show.long
Indicates when this show was last updated.getUrl()
The URL for the show.The streaming channel that the show is aired on.int
The weight associated with the shows search relevance and/or popularity.toString()
-
Method Details
-
getEpisodes
Gets the embedded episodes associated with the show. Note: Can benull
.- Returns:
- the list of episodes
- See Also:
-
getCast
Gets the embedded lit of cast members. Note: Can benull
.- Returns:
- the list of cast members
- See Also:
-
getNextEpisode
Gets the next airing episode. Note: Can benull
.- Returns:
- the next episode
- See Also:
-
getPreviousEpisode
The previous aired episode. Note: Can benull
.- Returns:
- the previous episode
- See Also:
-
getExternals
Gets the map of external show identifiers. he key is the external source id (e.g., tvrage, thetvdb, imdb, etc.), and the value is the identifier.- Returns:
- the map of external identifiers
-
builder
-
getUrl
The URL for the show. -
getName
The name of the show. -
getType
The type of show. -
getLanguage
The primary language of the show. -
getGenres
The list of associated genres for the show. -
getStatus
The airing state. -
getRuntime
public int getRuntime()The runtime in minutes. -
getAverageRuntime
public int getAverageRuntime()The average runtime in minutes. -
getPremiered
The date the series was initially aired. -
getEnded
The date when the series was ended, if applicable. -
getOfficialSite
The URL for the show's official site. -
getSchedule
The airing schedule. -
getRating
The show rating. -
getWeight
public int getWeight()The weight associated with the shows search relevance and/or popularity. -
getNetwork
The associated network that air/distributes the show. -
getWebChannel
The streaming channel that the show is aired on. -
getDvdCountry
The associated country. -
getImage
The images associated with the show. -
getSummary
A brief show summary. -
getUpdated
public long getUpdated()Indicates when this show was last updated. -
getEmbeddedResource
Any embedded resources associated with the show. Note: can benull
. -
toString
- Overrides:
toString
in classResource<Show,
ResourceLink>
-