Package com.lariflix.jemm.reports
Class JellyfinReportInventorySubItem
java.lang.Object
com.lariflix.jemm.dtos.JellyfinItem
com.lariflix.jemm.reports.JellyfinReportInventorySubItem
The JellyfinReportInventorySubItem class extends the JellyfinItem class and is used to represent a sub-item in an inventory item in a report.
This class contains the details of a sub-item, such as the name, the number of items in the category, and other relevant details.
It also contains a list of sub-items for the item, if any.
- Author:
- Cesar Bianchi
-
Field Summary
Fields inherited from class com.lariflix.jemm.dtos.JellyfinItem
aspectRatio, communityRating, container, criticRating, id, isFolder, itemMetadata, locationType, mediaType, name, officialRating, ParentId, premiereDate, productionYear, serverId, type, videoType
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the JellyfinReportInventorySubItem class. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the subItemMetadata property of this JellyfinReportInventorySubItem.void
setSubItem
(JellyfinItem subIt) Sets the properties of this JellyfinReportInventorySubItem based on the given JellyfinItem.void
setSubItemMetadata
(JellyfinItemMetadata subItemMetadata) Sets the subItemMetadata property of this JellyfinReportInventorySubItem.Methods inherited from class com.lariflix.jemm.dtos.JellyfinItem
getAspectRatio, getCommunityRating, getContainer, getCriticRating, getId, getItemMetadata, getLocationType, getMediaType, getName, getOfficialRating, getParentId, getPremiereDate, getProductionYear, getServerId, getType, getVideoType, IsFolder, mySetCommunityRating, mySetCriticRating, mySetPremiereDate, mySetProductionYear, setAspectRatio, setCommunityRating, setContainer, setCriticRating, setId, setIsFolder, setItemMetadata, setLocationType, setMediaType, setName, setOfficialRating, setParentId, setPremiereDate, setProductionYear, setServerId, setType, setVideoType
-
Constructor Details
-
JellyfinReportInventorySubItem
public JellyfinReportInventorySubItem()Constructor for the JellyfinReportInventorySubItem class. This is a no-argument constructor that initializes a new instance of the JellyfinReportInventorySubItem class. It doesn't perform any specific actions.- Since:
- 1.1
-
-
Method Details
-
setSubItem
Sets the properties of this JellyfinReportInventorySubItem based on the given JellyfinItem. This method sets the aspect ratio, community rating, container, critic rating, ID, whether it is a folder, item metadata, location type, media type, name, official rating, premiere date, production year, server ID, type, and video type of this JellyfinReportInventorySubItem to the corresponding properties of the given JellyfinItem.- Parameters:
subIt
- A JellyfinItem object that should be used to set the properties of this JellyfinReportInventorySubItem.- Since:
- 1.1
-
setSubItemMetadata
Sets the subItemMetadata property of this JellyfinReportInventorySubItem.- Parameters:
subItemMetadata
- A JellyfinItemMetadata object that should be used as the new metadata for this JellyfinReportInventorySubItem. This includes the name, server ID, ID, channel ID, type, location type, premiere date, critic rating, official rating, and community rating.- Since:
- 1.1
-
getSubItemMetadata
Retrieves the subItemMetadata property of this JellyfinReportInventorySubItem.- Returns:
- A JellyfinItemMetadata object representing the metadata of this JellyfinReportInventorySubItem. This includes the name, server ID, ID, channel ID, type, location type, premiere date, critic rating, official rating, and community rating.
- Since:
- 1.1
-