Class JellyfinFolderMetadata

java.lang.Object
com.lariflix.jemm.dtos.JellyfinFolderMetadata

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

    • name

      public String name
    • sortName

      public String sortName
    • forcedSortName

      public String forcedSortName
    • serverId

      public String serverId
    • id

      public String id
    • etag

      public String etag
    • dateCreated

      public Date dateCreated
    • canDelete

      public boolean canDelete
    • canDownload

      public boolean canDownload
    • preferredMetadataLanguage

      public String preferredMetadataLanguage
    • preferredMetadataCountryCode

      public String preferredMetadataCountryCode
    • premiereDate

      public Date premiereDate
    • externalUrls

      public ArrayList<Object> externalUrls
    • path

      public String path
    • enableMediaSourceDisplay

      public boolean enableMediaSourceDisplay
    • officialRating

      public String officialRating
    • customRating

      public String customRating
    • channelId

      public Object channelId
    • overview

      public String overview
    • taglines

      public ArrayList<Object> taglines
    • communityRating

      public int communityRating
    • playAccess

      public String playAccess
    • productionYear

      public int productionYear
    • remoteTrailers

      public ArrayList<Object> remoteTrailers
    • isFolder

      public boolean isFolder
    • parentId

      public String parentId
    • type

      public String type
    • people

      public ArrayList<JellyfinPeopleItem> people
    • studios

      public ArrayList<JellyfinStudioItem> studios
    • genreItems

      public ArrayList<JellyfinGenreItem> genreItems
    • localTrailerCount

      public int localTrailerCount
    • childCount

      public int childCount
    • specialFeatureCount

      public int specialFeatureCount
    • displayPreferencesId

      public String displayPreferencesId
    • tags

      public ArrayList<String> tags
    • primaryImageAspectRatio

      public double primaryImageAspectRatio
    • collectionType

      public String collectionType
    • backdropImageTags

      public ArrayList<Object> backdropImageTags
    • locationType

      public String locationType
    • lockedFields

      public ArrayList<Object> lockedFields
    • lockData

      public boolean lockData
  • Constructor Details

    • JellyfinFolderMetadata

      public JellyfinFolderMetadata()
      Default constructor for the JellyfinFolderMetadata class. Initializes a new instance of the class without setting any of the fields.
  • Method Details

    • getName

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

      public void setName(String name)
      Sets the name of the folder.
      Parameters:
      name - A string containing the new name of the folder.
      Since:
      1.0
    • getServerId

      public String getServerId()
      Gets the server ID.
      Returns:
      A string representing the server ID.
      Since:
      1.0
    • setServerId

      public void setServerId(String serverId)
      Sets the server ID.
      Parameters:
      serverId - A string containing the new server ID.
      Since:
      1.0
    • getId

      public String getId()
      Gets the ID.
      Returns:
      A string representing the ID.
      Since:
      1.0
    • setId

      public void setId(String id)
      Sets the ID.
      Parameters:
      id - A string containing the new ID.
      Since:
      1.0
    • getEtag

      public String getEtag()
      Gets the Etag.
      Returns:
      A string representing the Etag.
      Since:
      1.0
    • setEtag

      public void setEtag(String etag)
      Sets the Etag.
      Parameters:
      etag - A string containing the new Etag.
      Since:
      1.0
    • getDateCreated

      public Date getDateCreated()
      Gets the date created.
      Returns:
      A Date object representing the date created.
      Since:
      1.0
    • setDateCreated

      public void setDateCreated(Date dateCreated)
      Sets the date created.
      Parameters:
      dateCreated - A Date object containing the new date created.
      Since:
      1.0
    • isCanDelete

      public boolean isCanDelete()
      Checks if the item can be deleted.
      Returns:
      A boolean value indicating whether the item can be deleted.
      Since:
      1.0
    • setCanDelete

      public void setCanDelete(boolean canDelete)
      Sets the canDelete property.
      Parameters:
      canDelete - A boolean indicating whether the item can be deleted.
      Since:
      1.0
    • isCanDownload

      public boolean isCanDownload()
      Gets the canDownload property.
      Returns:
      A boolean indicating whether the item can be downloaded.
      Since:
      1.0
    • setCanDownload

      public void setCanDownload(boolean canDownload)
      Sets the canDownload property.
      Parameters:
      canDownload - A boolean indicating whether the item can be downloaded.
      Since:
      1.0
    • getPreferredMetadataLanguage

      public String getPreferredMetadataLanguage()
      Gets the preferred metadata language.
      Returns:
      A string representing the preferred metadata language.
      Since:
      1.0
    • setPreferredMetadataLanguage

      public void setPreferredMetadataLanguage(String preferredMetadataLanguage)
      Sets the preferred metadata language.
      Parameters:
      preferredMetadataLanguage - A string containing the new preferred metadata language.
      Since:
      1.0
    • getPreferredMetadataCountryCode

      public String getPreferredMetadataCountryCode()
      Gets the preferred metadata country code.
      Returns:
      A string representing the preferred metadata country code.
      Since:
      1.0
    • setPreferredMetadataCountryCode

      public void setPreferredMetadataCountryCode(String preferredMetadataCountryCode)
      Sets the preferred metadata country code.
      Parameters:
      preferredMetadataCountryCode - A string containing the new preferred metadata country code.
      Since:
      1.0
    • getSortName

      public String getSortName()
      Gets the sort name.
      Returns:
      A string representing the sort name.
    • setSortName

      public void setSortName(String sortName)
      Sets the sort name.
      Parameters:
      sortName - A string containing the new sort name.
    • getForcedSortName

      public String getForcedSortName()
      Gets the forced sort name.
      Returns:
      A string representing the forced sort name.
    • setForcedSortName

      public void setForcedSortName(String forcedSortName)
      Sets the forced sort name.
      Parameters:
      forcedSortName - A string containing the new forced sort name.
    • getPremiereDate

      public Date getPremiereDate()
      Gets the premiere date.
      Returns:
      A Date object representing the premiere date.
    • setPremiereDate

      public void setPremiereDate(Date premiereDate)
      Sets the premiere date.
      Parameters:
      premiereDate - A Date object containing the new premiere date.
    • getExternalUrls

      public ArrayList<Object> getExternalUrls()
      Gets the external URLs.
      Returns:
      An ArrayList of Objects representing the external URLs.
    • setExternalUrls

      public void setExternalUrls(ArrayList<Object> externalUrls)
      Sets the external URLs.
      Parameters:
      externalUrls - An ArrayList of Objects containing the new external URLs.
      Since:
      1.0
    • getPath

      public String getPath()
      Gets the path.
      Returns:
      A string representing the path.
      Since:
      1.0
    • setPath

      public void setPath(String path)
      Sets the path.
      Parameters:
      path - A string containing the new path.
      Since:
      1.0
    • isEnableMediaSourceDisplay

      public boolean isEnableMediaSourceDisplay()
      Checks if the media source display is enabled.
      Returns:
      A boolean value indicating whether the media source display is enabled.
      Since:
      1.0
    • setEnableMediaSourceDisplay

      public void setEnableMediaSourceDisplay(boolean enableMediaSourceDisplay)
      Sets the enableMediaSourceDisplay property.
      Parameters:
      enableMediaSourceDisplay - A boolean indicating whether the media source display should be enabled.
      Since:
      1.0
    • getOfficialRating

      public String getOfficialRating()
      Gets the official rating.
      Returns:
      A string representing the official rating.
      Since:
      1.0
    • setOfficialRating

      public void setOfficialRating(String officialRating)
      Sets the official rating.
      Parameters:
      officialRating - A string containing the new official rating.
      Since:
      1.0
    • getCustomRating

      public String getCustomRating()
      Gets the custom rating.
      Returns:
      A string representing the custom rating.
      Since:
      1.0
    • setCustomRating

      public void setCustomRating(String customRating)
      Sets the custom rating.
      Parameters:
      customRating - A string containing the new custom rating.
      Since:
      1.0
    • getChannelId

      public Object getChannelId()
      Gets the channel ID.
      Returns:
      An Object representing the channel ID.
      Since:
      1.0
    • setChannelId

      public void setChannelId(Object channelId)
      Sets the channel ID.
      Parameters:
      channelId - An Object containing the new channel ID.
      Since:
      1.0
    • getOverview

      public String getOverview()
      Gets the overview.
      Returns:
      A string representing the overview.
      Since:
      1.0
    • setOverview

      public void setOverview(String overview)
      Sets the overview.
      Parameters:
      overview - A string containing the new overview.
      Since:
      1.0
    • getTaglines

      public ArrayList<Object> getTaglines()
      Gets the taglines.
      Returns:
      An ArrayList of Objects representing the taglines.
      Since:
      1.0
    • setTaglines

      public void setTaglines(ArrayList<Object> taglines)
      Sets the taglines.
      Parameters:
      taglines - An ArrayList of Objects containing the new taglines.
      Since:
      1.0
    • getCommunityRating

      public int getCommunityRating()
      Gets the community rating.
      Returns:
      An integer representing the community rating.
      Since:
      1.0
    • setCommunityRating

      public void setCommunityRating(int communityRating)
      Sets the community rating.
      Parameters:
      communityRating - An integer containing the new community rating.
      Since:
      1.0
    • getPlayAccess

      public String getPlayAccess()
      Gets the play access.
      Returns:
      A string representing the play access.
      Since:
      1.0
    • setPlayAccess

      public void setPlayAccess(String playAccess)
      Sets the play access.
      Parameters:
      playAccess - A string containing the new play access.
      Since:
      1.0
    • getProductionYear

      public int getProductionYear()
      Gets the production year.
      Returns:
      An integer representing the production year.
      Since:
      1.0
    • setProductionYear

      public void setProductionYear(int productionYear)
      Sets the production year.
      Parameters:
      productionYear - An integer containing the new production year.
      Since:
      1.0
    • getRemoteTrailers

      public ArrayList<Object> getRemoteTrailers()
      Gets the remote trailers.
      Returns:
      An ArrayList of Objects representing the remote trailers.
      Since:
      1.0
    • setRemoteTrailers

      public void setRemoteTrailers(ArrayList<Object> remoteTrailers)
      Sets the remote trailers.
      Parameters:
      remoteTrailers - An ArrayList of Objects containing the new remote trailers.
      Since:
      1.0
    • isIsFolder

      public boolean isIsFolder()
      Checks if the item is a folder.
      Returns:
      A boolean value indicating whether the item is a folder.
      Since:
      1.0
    • setIsFolder

      public void setIsFolder(boolean isFolder)
      Sets the isFolder property.
      Parameters:
      isFolder - A boolean indicating whether the item is a folder.
      Since:
      1.0
    • getParentId

      public String getParentId()
      Gets the parent ID.
      Returns:
      A string representing the parent ID.
      Since:
      1.0
    • setParentId

      public void setParentId(String parentId)
      Sets the parent ID.
      Parameters:
      parentId - A string containing the new parent ID.
      Since:
      1.0
    • getType

      public String getType()
      Gets the type.
      Returns:
      A string representing the type.
      Since:
      1.0
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - A string containing the new type.
      Since:
      1.0
    • getPeople

      public ArrayList<JellyfinPeopleItem> getPeople()
      Gets the people.
      Returns:
      An ArrayList of JellyfinPeopleItem objects representing the people.
      Since:
      1.0
    • setPeople

      public void setPeople(ArrayList<JellyfinPeopleItem> people)
      Sets the people.
      Parameters:
      people - An ArrayList of JellyfinPeopleItem objects containing the new people.
      Since:
      1.0
    • getStudios

      public ArrayList<JellyfinStudioItem> getStudios()
      Gets the studios.
      Returns:
      An ArrayList of JellyfinStudioItem objects representing the studios.
      Since:
      1.0
    • setStudios

      public void setStudios(ArrayList<JellyfinStudioItem> studios)
      Sets the studios.
      Parameters:
      studios - An ArrayList of JellyfinStudioItem objects containing the new studios.
      Since:
      1.0
    • getGenreItems

      public ArrayList<JellyfinGenreItem> getGenreItems()
      Gets the genre items.
      Returns:
      An ArrayList of JellyfinGenreItem objects representing the genre items.
      Since:
      1.0
    • setGenreItems

      public void setGenreItems(ArrayList<JellyfinGenreItem> genreItems)
      Sets the genre items.
      Parameters:
      genreItems - An ArrayList of JellyfinGenreItem objects containing the new genre items.
      Since:
      1.0
    • getLocalTrailerCount

      public int getLocalTrailerCount()
      Gets the local trailer count.
      Returns:
      An integer representing the local trailer count.
      Since:
      1.0
    • setLocalTrailerCount

      public void setLocalTrailerCount(int localTrailerCount)
      Sets the local trailer count.
      Parameters:
      localTrailerCount - An integer containing the new local trailer count.
      Since:
      1.0
    • getChildCount

      public int getChildCount()
      Gets the child count.
      Returns:
      An integer representing the child count.
      Since:
      1.0
    • setChildCount

      public void setChildCount(int childCount)
      Sets the child count.
      Parameters:
      childCount - An integer containing the new child count.
      Since:
      1.0
    • getSpecialFeatureCount

      public int getSpecialFeatureCount()
      Gets the special feature count.
      Returns:
      An integer representing the special feature count.
      Since:
      1.0
    • setSpecialFeatureCount

      public void setSpecialFeatureCount(int specialFeatureCount)
      Sets the special feature count.
      Parameters:
      specialFeatureCount - An integer containing the new special feature count.
      Since:
      1.0
    • getDisplayPreferencesId

      public String getDisplayPreferencesId()
      Gets the display preferences ID.
      Returns:
      A string representing the display preferences ID.
      Since:
      1.0
    • setDisplayPreferencesId

      public void setDisplayPreferencesId(String displayPreferencesId)
      Sets the display preferences ID.
      Parameters:
      displayPreferencesId - A string containing the new display preferences ID.
      Since:
      1.0
    • getTags

      public ArrayList<String> getTags()
      Gets the tags.
      Returns:
      An ArrayList of Strings representing the tags.
      Since:
      1.0
    • setTags

      public void setTags(ArrayList<String> tags)
      Sets the tags.
      Parameters:
      tags - An ArrayList of Strings containing the new tags.
      Since:
      1.0
    • getPrimaryImageAspectRatio

      public double getPrimaryImageAspectRatio()
      Gets the primary image aspect ratio.
      Returns:
      A double representing the primary image aspect ratio.
      Since:
      1.0
    • setPrimaryImageAspectRatio

      public void setPrimaryImageAspectRatio(double primaryImageAspectRatio)
      Sets the primary image aspect ratio.
      Parameters:
      primaryImageAspectRatio - A double containing the new primary image aspect ratio.
      Since:
      1.0
    • getCollectionType

      public String getCollectionType()
      Gets the collection type.
      Returns:
      A string representing the collection type.
      Since:
      1.0
    • setCollectionType

      public void setCollectionType(String collectionType)
      Sets the collection type.
      Parameters:
      collectionType - A string containing the new collection type.
      Since:
      1.0
    • getBackdropImageTags

      public ArrayList<Object> getBackdropImageTags()
      Gets the backdrop image tags.
      Returns:
      An ArrayList of Objects representing the backdrop image tags.
      Since:
      1.0
    • setBackdropImageTags

      public void setBackdropImageTags(ArrayList<Object> backdropImageTags)
      Sets the backdrop image tags.
      Parameters:
      backdropImageTags - An ArrayList of Objects containing the new backdrop image tags.
      Since:
      1.0
    • getLocationType

      public String getLocationType()
      Gets the location type.
      Returns:
      A string representing the location type.
      Since:
      1.0
    • setLocationType

      public void setLocationType(String locationType)
      Sets the location type.
      Parameters:
      locationType - A string containing the new location type.
      Since:
      1.0
    • getLockedFields

      public ArrayList<Object> getLockedFields()
      Gets the locked fields.
      Returns:
      An ArrayList of Objects representing the locked fields.
      Since:
      1.0
    • setLockedFields

      public void setLockedFields(ArrayList<Object> lockedFields)
      Sets the locked fields.
      Parameters:
      lockedFields - An ArrayList of Objects containing the new locked fields.
      Since:
      1.0
    • isLockData

      public boolean isLockData()
      Checks if the data is locked.
      Returns:
      A boolean value indicating whether the data is locked.
      Since:
      1.0
    • setLockData

      public void setLockData(boolean lockData)
      Sets the lockData property.
      Parameters:
      lockData - A boolean indicating whether the data is locked.
      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
    • mySetPremiereDate

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

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