Record Class TvSeriesEpisodeGroup
java.lang.Object
java.lang.Record
dev.reuss.tmdb.domain.tv.series.model.TvSeriesEpisodeGroup
- Record Components:
description- group descriptionepisodeCount- episode countgroupCount- group countid- TMDB episode group idname- group namenetwork- related networktype- group type
- All Implemented Interfaces:
TmdbModel,Serializable
public record TvSeriesEpisodeGroup(String description, int episodeCount, int groupCount, String id, String name, TvSeriesNetwork network, int type)
extends Record
implements TmdbModel
Episode group for a TMDB TV series.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTvSeriesEpisodeGroup(String description, int episodeCount, int groupCount, String id, String name, TvSeriesNetwork network, int type) Creates an instance of aTvSeriesEpisodeGrouprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.intReturns the value of theepisodeCountrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thegroupCountrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.network()Returns the value of thenetworkrecord component.final StringtoString()Returns a string representation of this record class.inttype()Returns the value of thetyperecord component.
-
Constructor Details
-
TvSeriesEpisodeGroup
public TvSeriesEpisodeGroup(String description, int episodeCount, int groupCount, String id, String name, TvSeriesNetwork network, int type) Creates an instance of aTvSeriesEpisodeGrouprecord class.- Parameters:
description- the value for thedescriptionrecord componentepisodeCount- the value for theepisodeCountrecord componentgroupCount- the value for thegroupCountrecord componentid- the value for theidrecord componentname- the value for thenamerecord componentnetwork- the value for thenetworkrecord componenttype- the value for thetyperecord 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 '=='. -
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
episodeCount
public int episodeCount()Returns the value of theepisodeCountrecord component.- Returns:
- the value of the
episodeCountrecord component
-
groupCount
public int groupCount()Returns the value of thegroupCountrecord component.- Returns:
- the value of the
groupCountrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
network
Returns the value of thenetworkrecord component.- Returns:
- the value of the
networkrecord component
-
type
public int type()Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-