Class JellyfinFolder

java.lang.Object
com.lariflix.jemm.dtos.JellyfinFolder
Direct Known Subclasses:
JellyfinReportInventoryItem

public class JellyfinFolder extends Object
This class represents a folder in the Jellyfin server. It is used to store and manage information related to a specific folder in the Jellyfin server.
Since:
1.0
Author:
Cesar Bianchi
See Also:
  • Field Details

    • name

      public String name
    • serverId

      public String serverId
    • id

      public String id
    • premiereDate

      public Date premiereDate
    • criticRating

      public int criticRating
    • officialRating

      public String officialRating
    • channelId

      public Object channelId
    • communityRating

      public int communityRating
    • productionYear

      public int productionYear
    • isFolder

      public boolean isFolder
    • type

      public String type
    • collectionType

      public String collectionType
    • backdropImageTags

      public ArrayList<Object> backdropImageTags
    • locationType

      public String locationType
    • metadata

      public JellyfinFolderMetadata metadata
    • folderContent

      public JellyfinItems folderContent
  • Constructor Details

    • JellyfinFolder

      public JellyfinFolder()
      Default constructor for the JellyfinFolder class.
      Since:
      1.0
  • Method Details

    • getName

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

      public void setName(String name)
      Sets the name of the folder.
      Parameters:
      name - The name to be set.
      Since:
      1.0
    • getServerId

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

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

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

      public void setId(String id)
      Sets the ID of the folder.
      Parameters:
      id - The ID to be set.
      Since:
      1.0
    • getPremiereDate

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

      public void setPremiereDate(Date premiereDate)
      Sets the premiere date of the folder.
      Parameters:
      premiereDate - The premiere date to be set.
      Since:
      1.0
    • getCriticRating

      public int getCriticRating()
      Gets the critic rating of the folder.
      Returns:
      The critic rating of the folder.
      Since:
      1.0
    • setCriticRating

      public void setCriticRating(int criticRating)
      Sets the critic rating of the folder.
      Parameters:
      criticRating - The critic rating to be set.
      Since:
      1.0
    • getOfficialRating

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

      public void setOfficialRating(String officialRating)
      Sets the official rating of the folder.
      Parameters:
      officialRating - The official rating to be set.
      Since:
      1.0
    • getChannelId

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

      public void setChannelId(Object channelId)
      Sets the channel ID of the folder.
      Parameters:
      channelId - The channel ID to be set.
      Since:
      1.0
    • getCommunityRating

      public int getCommunityRating()
      Gets the community rating of the folder.
      Returns:
      The community rating of the folder.
      Since:
      1.0
    • setCommunityRating

      public void setCommunityRating(int communityRating)
      Sets the community rating of the folder.
      Parameters:
      communityRating - The community rating to be set.
      Since:
      1.0
    • getProductionYear

      public int getProductionYear()
      Gets the production year of the folder.
      Returns:
      The production year of the folder.
      Since:
      1.0
    • setProductionYear

      public void setProductionYear(int productionYear)
      Sets the production year of the folder.
      Parameters:
      productionYear - The production year to be set.
      Since:
      1.0
    • IsFolder

      public boolean IsFolder()
      Checks if the item is a folder.
      Returns:
      True if the item is a folder, false otherwise.
      Since:
      1.0
    • setIsFolder

      public void setIsFolder(boolean isFolder)
      Sets the folder status of the item.
      Parameters:
      isFolder - The folder status to be set.
      Since:
      1.0
    • getType

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

      public void setType(String type)
      Sets the type of the item.
      Parameters:
      type - The type to be set.
      Since:
      1.0
    • getCollectionType

      public String getCollectionType()
      Gets the collection type of the item.
      Returns:
      The collection type of the item.
      Since:
      1.0
    • setCollectionType

      public void setCollectionType(String collectionType)
      Sets the collection type of the item.
      Parameters:
      collectionType - The collection type to be set.
      Since:
      1.0
    • getLocationType

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

      public void setLocationType(String locationType)
      Sets the location type of the folder.
      Parameters:
      locationType - The location type to be set.
      Since:
      1.0
    • getMetadata

      public JellyfinFolderMetadata getMetadata()
      Gets the metadata of the folder.
      Returns:
      The metadata of the folder.
      Since:
      1.0
    • setMetadata

      public void setMetadata(JellyfinFolderMetadata metadata)
      Sets the metadata of the folder.
      Parameters:
      metadata - The metadata to be set.
      Since:
      1.0
    • getFolderContent

      public JellyfinItems getFolderContent()
      Gets the content of the folder.
      Returns:
      The content of the folder.
      Since:
      1.0
    • setFolderContent

      public void setFolderContent(JellyfinItems items)
      Sets the content of the folder.
      Parameters:
      items - The content to be set.
      Since:
      1.0
    • getFolderLevel

      public int getFolderLevel()
      Gets the folder level.
      Returns:
      The folder level.
      Since:
      1.0
    • setFolderLevel

      public void setFolderLevel(int folderLevel)
      Sets the folder level.
      Parameters:
      folderLevel - The folder level to set.
      Since:
      1.0
    • mySetProductionYear

      public void mySetProductionYear(String prdYear)
      Sets the production year.
      Parameters:
      prdYear - The production year to set.
      Since:
      1.0
    • mySetCommunityRating

      public void mySetCommunityRating(String rating)
      Sets the community rating.
      Parameters:
      rating - The community rating to set.
      Since:
      1.0
    • mySetCriticRating

      public void mySetCriticRating(String rating)
      Sets the critic rating.
      Parameters:
      rating - The critic rating to set.
      Since:
      1.0
    • mySetPremiereDate

      public void mySetPremiereDate(String date)
      Sets the premiere date.
      Parameters:
      date - The premiere date to set.
      Since:
      1.0