Class JellyfinCadGenresItem

java.lang.Object
com.lariflix.jemm.dtos.JellyfinCadGenresItem
Direct Known Subclasses:
JellyfinReportGenresItem

public class JellyfinCadGenresItem extends Object
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 Details

    • name

      public String name
    • serverId

      public String serverId
    • id

      public String id
    • channelId

      public Object channelId
    • type

      public String type
    • locationType

      public String locationType
    • premiereDate

      public Date premiereDate
    • criticRating

      public int criticRating
    • officialRating

      public String officialRating
    • communityRating

      public int communityRating
  • Constructor Details

    • JellyfinCadGenresItem

      public JellyfinCadGenresItem()
      Constructs a new JellyfinCadGenresItem object.
      Since:
      1.0
  • Method Details

    • getName

      public String getName()
      Gets the name of the genre.
      Returns:
      The name of the genre.
      Since:
      1.0
    • setName

      public void setName(String name)
      Sets the name of the genre.
      Parameters:
      name - The name of the genre.
      Since:
      1.0
    • getServerId

      public String getServerId()
      Gets the server ID of the genre.
      Returns:
      The server ID of the genre.
      Since:
      1.0
    • setServerId

      public void setServerId(String serverId)
      Sets the server ID of the genre.
      Parameters:
      serverId - The server ID of the genre.
      Since:
      1.0
    • getId

      public String getId()
      Gets the ID of the genre.
      Returns:
      The ID of the genre.
      Since:
      1.0
    • setId

      public void setId(String id)
      Sets the ID of the genre.
      Parameters:
      id - The ID of the genre.
      Since:
      1.0
    • getChannelId

      public Object getChannelId()
      Gets the channel ID of the genre.
      Returns:
      The channel ID of the genre.
      Since:
      1.0
    • setChannelId

      public void setChannelId(Object channelId)
      Sets the channel ID of the genre.
      Parameters:
      channelId - The channel ID of the genre.
      Since:
      1.0
    • getType

      public String getType()
      Gets the type of the genre.
      Returns:
      The type of the genre.
      Since:
      1.0
    • setType

      public void setType(String type)
      Sets the type of the genre.
      Parameters:
      type - The type of the genre.
      Since:
      1.0
    • getLocationType

      public String getLocationType()
      Gets the location type of the genre.
      Returns:
      The location type of the genre.
      Since:
      1.0
    • setLocationType

      public void setLocationType(String locationType)
      Sets the location type of the genre.
      Parameters:
      locationType - The location type of the genre.
      Since:
      1.0
    • getPremiereDate

      public Date getPremiereDate()
      Gets the premiere date of the genre.
      Returns:
      The premiere date of the genre.
      Since:
      1.0
    • setPremiereDate

      public void setPremiereDate(Date premiereDate)
      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

      public String getOfficialRating()
      Gets the official rating of the genre.
      Returns:
      The official rating of the genre.
      Since:
      1.0
    • setOfficialRating

      public void setOfficialRating(String officialRating)
      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