Package com.lariflix.jemm.dtos
Class JellyfinFolder
java.lang.Object
com.lariflix.jemm.dtos.JellyfinFolder
- Direct Known Subclasses:
JellyfinReportInventoryItem
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 Summary
FieldsModifier and TypeFieldDescriptionint
int
boolean
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the channel ID of the folder.Gets the collection type of the item.int
Gets the community rating of the folder.int
Gets the critic rating of the folder.Gets the content of the folder.int
Gets the folder level.getId()
Gets the ID of the folder.Gets the location type of the folder.Gets the metadata of the folder.getName()
Gets the name of the folder.Gets the official rating of the folder.Gets the premiere date of the folder.int
Gets the production year of the folder.Gets the server ID of the folder.getType()
Gets the type of the item.boolean
IsFolder()
Checks if the item is a folder.void
mySetCommunityRating
(String rating) Sets the community rating.void
mySetCriticRating
(String rating) Sets the critic rating.void
mySetPremiereDate
(String date) Sets the premiere date.void
mySetProductionYear
(String prdYear) Sets the production year.void
setChannelId
(Object channelId) Sets the channel ID of the folder.void
setCollectionType
(String collectionType) Sets the collection type of the item.void
setCommunityRating
(int communityRating) Sets the community rating of the folder.void
setCriticRating
(int criticRating) Sets the critic rating of the folder.void
setFolderContent
(JellyfinItems items) Sets the content of the folder.void
setFolderLevel
(int folderLevel) Sets the folder level.void
Sets the ID of the folder.void
setIsFolder
(boolean isFolder) Sets the folder status of the item.void
setLocationType
(String locationType) Sets the location type of the folder.void
setMetadata
(JellyfinFolderMetadata metadata) Sets the metadata of the folder.void
Sets the name of the folder.void
setOfficialRating
(String officialRating) Sets the official rating of the folder.void
setPremiereDate
(Date premiereDate) Sets the premiere date of the folder.void
setProductionYear
(int productionYear) Sets the production year of the folder.void
setServerId
(String serverId) Sets the server ID of the folder.void
Sets the type of the item.
-
Field Details
-
name
-
serverId
-
id
-
premiereDate
-
criticRating
public int criticRating -
officialRating
-
channelId
-
communityRating
public int communityRating -
productionYear
public int productionYear -
isFolder
public boolean isFolder -
type
-
collectionType
-
backdropImageTags
-
locationType
-
metadata
-
folderContent
-
-
Constructor Details
-
JellyfinFolder
public JellyfinFolder()Default constructor for the JellyfinFolder class.- Since:
- 1.0
-
-
Method Details
-
getName
Gets the name of the folder.- Returns:
- The name of the folder.
- Since:
- 1.0
-
setName
Sets the name of the folder.- Parameters:
name
- The name to be set.- Since:
- 1.0
-
getServerId
Gets the server ID of the folder.- Returns:
- The server ID of the folder.
- Since:
- 1.0
-
setServerId
Sets the server ID of the folder.- Parameters:
serverId
- The server ID to be set.- Since:
- 1.0
-
getId
Gets the ID of the folder.- Returns:
- The ID of the folder.
- Since:
- 1.0
-
setId
Sets the ID of the folder.- Parameters:
id
- The ID to be set.- Since:
- 1.0
-
getPremiereDate
Gets the premiere date of the folder.- Returns:
- The premiere date of the folder.
- Since:
- 1.0
-
setPremiereDate
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
Gets the official rating of the folder.- Returns:
- The official rating of the folder.
- Since:
- 1.0
-
setOfficialRating
Sets the official rating of the folder.- Parameters:
officialRating
- The official rating to be set.- Since:
- 1.0
-
getChannelId
Gets the channel ID of the folder.- Returns:
- The channel ID of the folder.
- Since:
- 1.0
-
setChannelId
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
Gets the type of the item.- Returns:
- The type of the item.
- Since:
- 1.0
-
setType
Sets the type of the item.- Parameters:
type
- The type to be set.- Since:
- 1.0
-
getCollectionType
Gets the collection type of the item.- Returns:
- The collection type of the item.
- Since:
- 1.0
-
setCollectionType
Sets the collection type of the item.- Parameters:
collectionType
- The collection type to be set.- Since:
- 1.0
-
getLocationType
Gets the location type of the folder.- Returns:
- The location type of the folder.
- Since:
- 1.0
-
setLocationType
Sets the location type of the folder.- Parameters:
locationType
- The location type to be set.- Since:
- 1.0
-
getMetadata
Gets the metadata of the folder.- Returns:
- The metadata of the folder.
- Since:
- 1.0
-
setMetadata
Sets the metadata of the folder.- Parameters:
metadata
- The metadata to be set.- Since:
- 1.0
-
getFolderContent
Gets the content of the folder.- Returns:
- The content of the folder.
- Since:
- 1.0
-
setFolderContent
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
Sets the production year.- Parameters:
prdYear
- The production year to set.- Since:
- 1.0
-
mySetCommunityRating
Sets the community rating.- Parameters:
rating
- The community rating to set.- Since:
- 1.0
-
mySetCriticRating
Sets the critic rating.- Parameters:
rating
- The critic rating to set.- Since:
- 1.0
-
mySetPremiereDate
Sets the premiere date.- Parameters:
date
- The premiere date to set.- Since:
- 1.0
-