Class JellyfinReportInventorySubItem

java.lang.Object
com.lariflix.jemm.dtos.JellyfinItem
com.lariflix.jemm.reports.JellyfinReportInventorySubItem

public class JellyfinReportInventorySubItem extends JellyfinItem
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
  • 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

      public void setSubItem(JellyfinItem subIt)
      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

      public void setSubItemMetadata(JellyfinItemMetadata subItemMetadata)
      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

      public JellyfinItemMetadata 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