Package com.lariflix.jemm.dtos
Class JellyfinItems
java.lang.Object
com.lariflix.jemm.dtos.JellyfinItems
This class represents the items in Jellyfin.
- Since:
- 1.0
- Author:
- Cesar Bianchi
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()Returns the items in Jellyfin.intReturns the start index.intReturns the total record count.voidsetItems(ArrayList<JellyfinItem> items) Sets the items in Jellyfin.voidsetStartIndex(int startIndex) Sets the start index.voidsetTotalRecordCount(int totalRecordCount) Sets the total record count.
-
Field Details
-
items
-
totalRecordCount
public int totalRecordCount -
startIndex
public int startIndex
-
-
Constructor Details
-
JellyfinItems
public JellyfinItems()Default constructor for JellyfinItems.- Since:
- 1.0
-
-
Method Details
-
getItems
Returns the items in Jellyfin.- Returns:
- The items in Jellyfin.
- Since:
- 1.0
-
setItems
Sets the items in Jellyfin.- Parameters:
items- The new items in Jellyfin.- Since:
- 1.0
-
getTotalRecordCount
public int getTotalRecordCount()Returns the total record count.- Returns:
- The total record count.
- Since:
- 1.0
-
setTotalRecordCount
public void setTotalRecordCount(int totalRecordCount) Sets the total record count.- Parameters:
totalRecordCount- The new total record count.- Since:
- 1.0
-
getStartIndex
public int getStartIndex()Returns the start index.- Returns:
- The start index.
- Since:
- 1.0
-
setStartIndex
public void setStartIndex(int startIndex) Sets the start index.- Parameters:
startIndex- The new start index.- Since:
- 1.0
-