Package com.lariflix.jemm.dtos
Class JellyfinCadGenresItem
java.lang.Object
com.lariflix.jemm.dtos.JellyfinCadGenresItem
- Direct Known Subclasses:
JellyfinReportGenresItem
Represents a genre item in Jellyfin.
This class is used to map the JSON response from the Jellyfin API to a Java object.
- Since:
- 1.0
- Author:
- Cesar Bianchi
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the channel ID of the genre.int
Gets the community rating of the genre.int
Gets the critic rating of the genre.getId()
Gets the ID of the genre.Gets the location type of the genre.getName()
Gets the name of the genre.Gets the official rating of the genre.Gets the premiere date of the genre.Gets the server ID of the genre.getType()
Gets the type of the genre.void
setChannelId
(Object channelId) Sets the channel ID of the genre.void
setCommunityRating
(int communityRating) Sets the community rating of the genre.void
setCriticRating
(int criticRating) Sets the critic rating of the genre.void
Sets the ID of the genre.void
setLocationType
(String locationType) Sets the location type of the genre.void
Sets the name of the genre.void
setOfficialRating
(String officialRating) Sets the official rating of the genre.void
setPremiereDate
(Date premiereDate) Sets the premiere date of the genre.void
setServerId
(String serverId) Sets the server ID of the genre.void
Sets the type of the genre.
-
Field Details
-
name
-
serverId
-
id
-
channelId
-
type
-
locationType
-
premiereDate
-
criticRating
public int criticRating -
officialRating
-
communityRating
public int communityRating
-
-
Constructor Details
-
JellyfinCadGenresItem
public JellyfinCadGenresItem()Constructs a new JellyfinCadGenresItem object.- Since:
- 1.0
-
-
Method Details
-
getName
Gets the name of the genre.- Returns:
- The name of the genre.
- Since:
- 1.0
-
setName
Sets the name of the genre.- Parameters:
name
- The name of the genre.- Since:
- 1.0
-
getServerId
Gets the server ID of the genre.- Returns:
- The server ID of the genre.
- Since:
- 1.0
-
setServerId
Sets the server ID of the genre.- Parameters:
serverId
- The server ID of the genre.- Since:
- 1.0
-
getId
Gets the ID of the genre.- Returns:
- The ID of the genre.
- Since:
- 1.0
-
setId
Sets the ID of the genre.- Parameters:
id
- The ID of the genre.- Since:
- 1.0
-
getChannelId
Gets the channel ID of the genre.- Returns:
- The channel ID of the genre.
- Since:
- 1.0
-
setChannelId
Sets the channel ID of the genre.- Parameters:
channelId
- The channel ID of the genre.- Since:
- 1.0
-
getType
Gets the type of the genre.- Returns:
- The type of the genre.
- Since:
- 1.0
-
setType
Sets the type of the genre.- Parameters:
type
- The type of the genre.- Since:
- 1.0
-
getLocationType
Gets the location type of the genre.- Returns:
- The location type of the genre.
- Since:
- 1.0
-
setLocationType
Sets the location type of the genre.- Parameters:
locationType
- The location type of the genre.- Since:
- 1.0
-
getPremiereDate
Gets the premiere date of the genre.- Returns:
- The premiere date of the genre.
- Since:
- 1.0
-
setPremiereDate
Sets the premiere date of the genre.- Parameters:
premiereDate
- The premiere date of the genre.- Since:
- 1.0
-
getCriticRating
public int getCriticRating()Gets the critic rating of the genre.- Returns:
- The critic rating of the genre.
- Since:
- 1.0
-
setCriticRating
public void setCriticRating(int criticRating) Sets the critic rating of the genre.- Parameters:
criticRating
- The critic rating of the genre.- Since:
- 1.0
-
getOfficialRating
Gets the official rating of the genre.- Returns:
- The official rating of the genre.
- Since:
- 1.0
-
setOfficialRating
Sets the official rating of the genre.- Parameters:
officialRating
- The official rating of the genre.- Since:
- 1.0
-
getCommunityRating
public int getCommunityRating()Gets the community rating of the genre.- Returns:
- The community rating of the genre.
- Since:
- 1.0
-
setCommunityRating
public void setCommunityRating(int communityRating) Sets the community rating of the genre.- Parameters:
communityRating
- The community rating of the genre.- Since:
- 1.0
-