Record Class TvEpisodeDetails
java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.tv.episode.model.TvEpisodeDetails
- Record Components:
airDate- episode air datecrew- episode crewepisodeNumber- episode numberguestStars- episode guest starsname- episode nameoverview- episode overviewid- TMDB episode idproductionCode- production coderuntime- runtime in minutesseasonNumber- season numberstillPath- still image pathvoteAverage- vote averagevoteCount- vote countchanges- appended changescredits- appended creditsexternalIds- appended external idsimages- appended imagestranslations- appended translationsvideos- appended videos
- All Implemented Interfaces:
TmdbModel,Serializable
public record TvEpisodeDetails(String airDate, List<CrewCredit> crew, int episodeNumber, List<GuestStarCredit> guestStars, String name, String overview, int id, String productionCode, Integer runtime, int seasonNumber, String stillPath, double voteAverage, int voteCount, TvEpisodeChanges changes, TvEpisodeCredits credits, ExternalIds externalIds, TvEpisodeImages images, TvEpisodeTranslations translations, TvEpisodeVideos videos)
extends Record
implements TmdbModel
Details for a TMDB TV episode.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTvEpisodeDetails(String airDate, List<CrewCredit> crew, int episodeNumber, List<GuestStarCredit> guestStars, String name, String overview, int id, String productionCode, Integer runtime, int seasonNumber, String stillPath, double voteAverage, int voteCount, TvEpisodeChanges changes, TvEpisodeCredits credits, ExternalIds externalIds, TvEpisodeImages images, TvEpisodeTranslations translations, TvEpisodeVideos videos) Creates an instance of aTvEpisodeDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionairDate()Returns the value of theairDaterecord component.changes()Returns the value of thechangesrecord component.credits()Returns the value of thecreditsrecord component.crew()Returns the value of thecrewrecord component.intReturns the value of theepisodeNumberrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalIdsrecord component.Returns the value of theguestStarsrecord component.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.images()Returns the value of theimagesrecord component.name()Returns the value of thenamerecord component.overview()Returns the value of theoverviewrecord component.Returns the value of theproductionCoderecord component.runtime()Returns the value of theruntimerecord component.intReturns the value of theseasonNumberrecord component.Returns the value of thestillPathrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetranslationsrecord component.videos()Returns the value of thevideosrecord component.doubleReturns the value of thevoteAveragerecord component.intReturns the value of thevoteCountrecord component.
-
Constructor Details
-
TvEpisodeDetails
public TvEpisodeDetails(String airDate, List<CrewCredit> crew, int episodeNumber, List<GuestStarCredit> guestStars, String name, String overview, int id, String productionCode, Integer runtime, int seasonNumber, String stillPath, double voteAverage, int voteCount, TvEpisodeChanges changes, TvEpisodeCredits credits, ExternalIds externalIds, TvEpisodeImages images, TvEpisodeTranslations translations, TvEpisodeVideos videos) Creates an instance of aTvEpisodeDetailsrecord class.- Parameters:
airDate- the value for theairDaterecord componentcrew- the value for thecrewrecord componentepisodeNumber- the value for theepisodeNumberrecord componentguestStars- the value for theguestStarsrecord componentname- the value for thenamerecord componentoverview- the value for theoverviewrecord componentid- the value for theidrecord componentproductionCode- the value for theproductionCoderecord componentruntime- the value for theruntimerecord componentseasonNumber- the value for theseasonNumberrecord componentstillPath- the value for thestillPathrecord componentvoteAverage- the value for thevoteAveragerecord componentvoteCount- the value for thevoteCountrecord componentchanges- the value for thechangesrecord componentcredits- the value for thecreditsrecord componentexternalIds- the value for theexternalIdsrecord componentimages- the value for theimagesrecord componenttranslations- the value for thetranslationsrecord componentvideos- the value for thevideosrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
airDate
Returns the value of theairDaterecord component.- Returns:
- the value of the
airDaterecord component
-
crew
Returns the value of thecrewrecord component.- Returns:
- the value of the
crewrecord component
-
episodeNumber
public int episodeNumber()Returns the value of theepisodeNumberrecord component.- Returns:
- the value of the
episodeNumberrecord component
-
guestStars
Returns the value of theguestStarsrecord component.- Returns:
- the value of the
guestStarsrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
overview
Returns the value of theoverviewrecord component.- Returns:
- the value of the
overviewrecord component
-
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
productionCode
Returns the value of theproductionCoderecord component.- Returns:
- the value of the
productionCoderecord component
-
runtime
Returns the value of theruntimerecord component.- Returns:
- the value of the
runtimerecord component
-
seasonNumber
public int seasonNumber()Returns the value of theseasonNumberrecord component.- Returns:
- the value of the
seasonNumberrecord component
-
stillPath
Returns the value of thestillPathrecord component.- Returns:
- the value of the
stillPathrecord component
-
voteAverage
public double voteAverage()Returns the value of thevoteAveragerecord component.- Returns:
- the value of the
voteAveragerecord component
-
voteCount
public int voteCount()Returns the value of thevoteCountrecord component.- Returns:
- the value of the
voteCountrecord component
-
changes
Returns the value of thechangesrecord component.- Returns:
- the value of the
changesrecord component
-
credits
Returns the value of thecreditsrecord component.- Returns:
- the value of the
creditsrecord component
-
externalIds
Returns the value of theexternalIdsrecord component.- Returns:
- the value of the
externalIdsrecord component
-
images
Returns the value of theimagesrecord component.- Returns:
- the value of the
imagesrecord component
-
translations
Returns the value of thetranslationsrecord component.- Returns:
- the value of the
translationsrecord component
-
videos
Returns the value of thevideosrecord component.- Returns:
- the value of the
videosrecord component
-