Class JellyfinItem

java.lang.Object
com.lariflix.jemm.dtos.JellyfinItem
Direct Known Subclasses:
JellyfinReportInventorySubItem

public class JellyfinItem extends Object
This class represents the JellyfinItem.
Since:
1.0
Author:
Cesar Bianchi
See Also:
  • Field Details

    • name

      public String name
    • serverId

      public String serverId
    • id

      public String id
    • container

      public String container
    • premiereDate

      public Date premiereDate
    • criticRating

      public int criticRating
    • officialRating

      public String officialRating
    • communityRating

      public int communityRating
    • aspectRatio

      public String aspectRatio
    • productionYear

      public int productionYear
    • isFolder

      public boolean isFolder
    • type

      public String type
    • videoType

      public String videoType
    • locationType

      public String locationType
    • mediaType

      public String mediaType
    • ParentId

      public String ParentId
    • itemMetadata

      public JellyfinItemMetadata itemMetadata
  • Constructor Details

    • JellyfinItem

      public JellyfinItem()
      Default constructor for JellyfinItem.
      Since:
      1.0
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      A string representing the name.
      Since:
      1.0
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - A string containing the new name.
      Since:
      1.0
    • getServerId

      public String getServerId()
      Gets the server id.
      Returns:
      A string representing the server id.
      Since:
      1.0
    • setServerId

      public void setServerId(String serverId)
      Sets the server id.
      Parameters:
      serverId - A string containing the new server id.
      Since:
      1.0
    • getId

      public String getId()
      Gets the id.
      Returns:
      A string representing the id.
      Since:
      1.0
    • setId

      public void setId(String id)
      Sets the id.
      Parameters:
      id - A string containing the new id.
      Since:
      1.0
    • getContainer

      public String getContainer()
      Gets the container.
      Returns:
      A string representing the container.
      Since:
      1.0
    • setContainer

      public void setContainer(String container)
      Sets the container.
      Parameters:
      container - A string containing the new container.
      Since:
      1.0
    • getPremiereDate

      public Date getPremiereDate()
      Gets the premiere date.
      Returns:
      A Date object representing the premiere date.
      Since:
      1.0
    • setPremiereDate

      public void setPremiereDate(Date premiereDate)
      Sets the premiere date.
      Parameters:
      premiereDate - A Date object containing the new premiere date.
      Since:
      1.0
    • mySetPremiereDate

      public void mySetPremiereDate(String cDate)
      Sets the premiere date.
      Parameters:
      premiereDate - A String containing the new premiere date.
      Since:
      1.0
    • getCriticRating

      public int getCriticRating()
      Gets the critic rating.
      Returns:
      An integer representing the critic rating.
      Since:
      1.0
    • setCriticRating

      public void setCriticRating(int criticRating)
      Sets the critic rating.
      Parameters:
      criticRating - An integer containing the new critic rating.
      Since:
      1.0
    • mySetCriticRating

      public void mySetCriticRating(String rating)
      Sets the critic rating.
      Parameters:
      criticRating - An String containing the new critic rating.
      Since:
      1.0
    • getOfficialRating

      public String getOfficialRating()
      Gets the official rating.
      Returns:
      A string representing the official rating.
      Since:
      1.0
    • setOfficialRating

      public void setOfficialRating(String officialRating)
      Sets the official rating.
      Parameters:
      officialRating - A string containing the new official rating.
      Since:
      1.0
    • getCommunityRating

      public int getCommunityRating()
      Gets the community rating.
      Returns:
      An integer representing the community rating.
      Since:
      1.0
    • setCommunityRating

      public void setCommunityRating(int communityRating)
      Sets the community rating.
      Parameters:
      communityRating - An integer containing the new community rating.
      Since:
      1.0
    • mySetCommunityRating

      public void mySetCommunityRating(String rating)
      Sets the community rating.
      Parameters:
      communityRating - An integer containing the new community rating.
      Since:
      1.2.0
    • getAspectRatio

      public String getAspectRatio()
      Gets the aspect ratio.
      Returns:
      A string representing the aspect ratio.
      Since:
      1.0
    • setAspectRatio

      public void setAspectRatio(String aspectRatio)
      Sets the aspect ratio.
      Parameters:
      aspectRatio - A string containing the new aspect ratio.
      Since:
      1.0
    • getProductionYear

      public int getProductionYear()
      Gets the production year.
      Returns:
      An integer representing the production year.
      Since:
      1.0
    • setProductionYear

      public void setProductionYear(int productionYear)
      Sets the production year.
      Parameters:
      productionYear - An integer containing the new production year.
      Since:
      1.0
    • mySetProductionYear

      public void mySetProductionYear(String prdYear)
      Sets the production year.
      Parameters:
      productionYear - An String containing the new production year.
      Since:
      1.2.0
    • IsFolder

      public boolean IsFolder()
      Checks if the item is a folder.
      Returns:
      A boolean indicating whether the item is a folder.
      Since:
      1.0
    • setIsFolder

      public void setIsFolder(boolean isFolder)
      Sets whether the item is a folder.
      Parameters:
      isFolder - A boolean indicating the new folder status.
      Since:
      1.0
    • getType

      public String getType()
      Gets the type.
      Returns:
      A string representing the type.
      Since:
      1.0
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - A string containing the new type.
      Since:
      1.0
    • getVideoType

      public String getVideoType()
      Gets the video type.
      Returns:
      A string representing the video type.
      Since:
      1.0
    • setVideoType

      public void setVideoType(String videoType)
      Sets the video type.
      Parameters:
      videoType - A string containing the new video type.
      Since:
      1.0
    • getLocationType

      public String getLocationType()
      Gets the location type.
      Returns:
      A string representing the location type.
      Since:
      1.0
    • setLocationType

      public void setLocationType(String locationType)
      Sets the location type.
      Parameters:
      locationType - A string containing the new location type.
      Since:
      1.0
    • getMediaType

      public String getMediaType()
      Gets the media type.
      Returns:
      A string representing the media type.
      Since:
      1.0
    • setMediaType

      public void setMediaType(String mediaType)
      Sets the media type.
      Parameters:
      mediaType - A string containing the new media type.
      Since:
      1.0
    • getItemMetadata

      public JellyfinItemMetadata getItemMetadata()
      Gets the item metadata.
      Returns:
      A JellyfinItemMetadata object representing the item metadata.
      Since:
      1.0
    • setItemMetadata

      public void setItemMetadata(JellyfinItemMetadata itemMetadata)
      Sets the item metadata.
      Parameters:
      itemMetadata - A JellyfinItemMetadata object containing the new item metadata.
      Since:
      1.0
    • getParentId

      public String getParentId()
      Gets the ParentID metadata.
      Returns:
      A JellyfinItemMetadata object representing the ParentID metadata.
      Since:
      1.2.0
    • setParentId

      public void setParentId(String PrtId)
      Sets the ParentID metadata.
      Parameters:
      ParentId - A JellyfinItemMetadata ParentId String .
      Since:
      1.2.0