Class JellyfinItemMetadata

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

public class JellyfinItemMetadata extends Object
This class represents the JellyfinItemMetadata.
Since:
1.0
Author:
Cesar Bianchi
See Also:
  • Field Details

    • name

      public String name
    • originalTitle

      public String originalTitle
    • 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
    • container

      public String container
    • sortName

      public String sortName
    • forcedSortName

      public String forcedSortName
    • premiereDate

      public Date premiereDate
    • criticRating

      public int criticRating
    • path

      public String path
    • enableMediaSourceDisplay

      public boolean enableMediaSourceDisplay
    • officialRating

      public String officialRating
    • customRating

      public String customRating
    • overview

      public String overview
    • genres

      public ArrayList<String> genres
    • communityRating

      public int communityRating
    • runTimeTicks

      public long runTimeTicks
    • playAccess

      public String playAccess
    • aspectRatio

      public String aspectRatio
    • productionYear

      public int productionYear
    • isHD

      public boolean isHD
    • 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
    • displayPreferencesId

      public String displayPreferencesId
    • tags

      public ArrayList<String> tags
    • primaryImageAspectRatio

      public double primaryImageAspectRatio
    • videoType

      public String videoType
    • locationType

      public String locationType
    • mediaType

      public String mediaType
    • lockData

      public boolean lockData
    • childcount

      public String childcount
    • productionlocations

      public ArrayList<String> productionlocations
  • Constructor Details

    • JellyfinItemMetadata

      public JellyfinItemMetadata()
      Default constructor.
      Since:
      1.0
  • Method Details

    • getName

      public String getName()
      Returns the name of the item.
      Returns:
      The name of the item.
      Since:
      1.0
    • setName

      public void setName(String name)
      Sets the name of the item.
      Parameters:
      name - The new name of the item.
      Since:
      1.0
    • getOriginalTitle

      public String getOriginalTitle()
      Returns the original title of the item.
      Returns:
      The original title of the item.
      Since:
      1.0
    • setOriginalTitle

      public void setOriginalTitle(String originalTitle)
      Sets the original title of the item.
      Parameters:
      originalTitle - The new original title of the item.
      Since:
      1.0
    • getServerId

      public String getServerId()
      Returns the server ID of the item.
      Returns:
      The server ID of the item.
      Since:
      1.0
    • setServerId

      public void setServerId(String serverId)
      Sets the server ID of the item.
      Parameters:
      serverId - The new server ID of the item.
      Since:
      1.0
    • getId

      public String getId()
      Returns the ID of the item.
      Returns:
      The ID of the item.
      Since:
      1.0
    • setId

      public void setId(String id)
      Sets the ID of the item.
      Parameters:
      id - The new ID of the item.
      Since:
      1.0
    • getEtag

      public String getEtag()
      Returns the Etag of the item.
      Returns:
      The Etag of the item.
      Since:
      1.0
    • setEtag

      public void setEtag(String etag)
      Sets the Etag of the item.
      Parameters:
      etag - The new Etag of the item.
      Since:
      1.0
    • getDateCreated

      public Date getDateCreated()
      Returns the date the item was created.
      Returns:
      The date the item was created.
      Since:
      1.0
    • setDateCreated

      public void setDateCreated(Date dateCreated)
      Sets the date the item was created.
      Parameters:
      dateCreated - The new creation date of the item.
      Since:
      1.0
    • mySetDateCreated

      public void mySetDateCreated(String cDate)
      Sets the date the item was created.
      Parameters:
      dateCreated - The new creation date of the item.
      Since:
      1.0
    • isCanDelete

      public boolean isCanDelete()
      Returns whether the item can be deleted.
      Returns:
      True if the item can be deleted, false otherwise.
      Since:
      1.0
    • setCanDelete

      public void setCanDelete(boolean canDelete)
      Sets whether the item can be deleted.
      Parameters:
      canDelete - The new delete status of the item.
      Since:
      1.0
    • isCanDownload

      public boolean isCanDownload()
      Returns whether the item can be downloaded.
      Returns:
      True if the item can be downloaded, false otherwise.
      Since:
      1.0
    • setCanDownload

      public void setCanDownload(boolean canDownload)
      Sets whether the item can be downloaded.
      Parameters:
      canDownload - The new download status of the item.
      Since:
      1.0
    • getPreferredMetadataLanguage

      public String getPreferredMetadataLanguage()
      Returns the preferred metadata language of the item.
      Returns:
      The preferred metadata language of the item.
      Since:
      1.0
    • setPreferredMetadataLanguage

      public void setPreferredMetadataLanguage(String preferredMetadataLanguage)
      Sets the preferred metadata language of the item.
      Parameters:
      preferredMetadataLanguage - The new preferred metadata language of the item.
      Since:
      1.0
    • getPreferredMetadataCountryCode

      public String getPreferredMetadataCountryCode()
      Returns the preferred metadata country code of the item.
      Returns:
      The preferred metadata country code of the item.
      Since:
      1.0
    • setPreferredMetadataCountryCode

      public void setPreferredMetadataCountryCode(String preferredMetadataCountryCode)
      Sets the preferred metadata country code of the item.
      Parameters:
      preferredMetadataCountryCode - The new preferred metadata country code of the item.
      Since:
      1.0
    • getContainer

      public String getContainer()
      Returns the container of the item.
      Returns:
      The container of the item.
      Since:
      1.0
    • setContainer

      public void setContainer(String container)
      Sets the container of the item.
      Parameters:
      container - The new container of the item.
      Since:
      1.0
    • getSortName

      public String getSortName()
      Returns the sort name of the item.
      Returns:
      The sort name of the item.
      Since:
      1.0
    • setSortName

      public void setSortName(String sortName)
      Sets the sort name of the item.
      Parameters:
      sortName - The new sort name of the item.
      Since:
      1.0
    • getForcedSortName

      public String getForcedSortName()
      Returns the forced sort name of the item.
      Returns:
      The forced sort name of the item.
      Since:
      1.0
    • setForcedSortName

      public void setForcedSortName(String forcedSortName)
      Sets the forced sort name of the item.
      Parameters:
      forcedSortName - The new forced sort name of the item.
      Since:
      1.0
    • getPremiereDate

      public Date getPremiereDate()
      Returns the premiere date of the item.
      Returns:
      The premiere date of the item.
      Since:
      1.0
    • setPremiereDate

      public void setPremiereDate(Date premiereDate)
      Sets the premiere date of the item.
      Parameters:
      premiereDate - The new premiere date of the item.
      Since:
      1.0
    • mySetPremiereDate

      public void mySetPremiereDate(String cDate)
      Sets the premiere date of the item.
      Parameters:
      premiereDate - The new premiere date of the item.
      Since:
      1.2.0
    • getCriticRating

      public int getCriticRating()
      Returns the critic rating of the item.
      Returns:
      The critic rating of the item.
      Since:
      1.0
    • setCriticRating

      public void setCriticRating(int criticRating)
      Sets the critic rating of the item.
      Parameters:
      criticRating - The new critic rating of the item.
      Since:
      1.0
    • mySetCriticRating

      public void mySetCriticRating(String rating)
      Sets the critic rating of the item.
      Parameters:
      criticRating - The new critic rating of the item.
      Since:
      1.0
    • getPath

      public String getPath()
      Returns the path of the item.
      Returns:
      The path of the item.
      Since:
      1.0
    • setPath

      public void setPath(String path)
      Sets the path of the item.
      Parameters:
      path - The new path of the item.
      Since:
      1.0
    • isEnableMediaSourceDisplay

      public boolean isEnableMediaSourceDisplay()
      Returns whether the media source display is enabled.
      Returns:
      True if the media source display is enabled, false otherwise.
      Since:
      1.0
    • setEnableMediaSourceDisplay

      public void setEnableMediaSourceDisplay(boolean enableMediaSourceDisplay)
      Sets whether the media source display is enabled.
      Parameters:
      enableMediaSourceDisplay - The new status of the media source display.
      Since:
      1.0
    • getOfficialRating

      public String getOfficialRating()
      Returns the official rating of the item.
      Returns:
      The official rating of the item.
      Since:
      1.0
    • setOfficialRating

      public void setOfficialRating(String officialRating)
      Sets the official rating of the item.
      Parameters:
      officialRating - The new official rating of the item.
      Since:
      1.0
    • getCustomRating

      public String getCustomRating()
      Returns the custom rating of the item.
      Returns:
      The custom rating of the item.
      Since:
      1.0
    • setCustomRating

      public void setCustomRating(String customRating)
      Sets the custom rating of the item.
      Parameters:
      customRating - The new custom rating of the item.
      Since:
      1.0
    • getOverview

      public String getOverview()
      Returns the overview of the item.
      Returns:
      The overview of the item.
      Since:
      1.0
    • setOverview

      public void setOverview(String overview)
      Sets the overview of the item.
      Parameters:
      overview - The new overview of the item.
      Since:
      1.0
    • getGenres

      public ArrayList<String> getGenres()
      Returns the genres of the item.
      Returns:
      The genres of the item.
      Since:
      1.0
    • setGenres

      public void setGenres(ArrayList<String> genres)
      Sets the genres of the item.
      Parameters:
      genres - The new genres of the item.
      Since:
      1.0
    • getCommunityRating

      public int getCommunityRating()
      Returns the community rating of the item.
      Returns:
      The community rating of the item.
      Since:
      1.0
    • setCommunityRating

      public void setCommunityRating(int communityRating)
      Sets the community rating of the item.
      Parameters:
      communityRating - The new community rating of the item.
      Since:
      1.0
    • mySetCommunityRating

      public void mySetCommunityRating(String rating)
      Sets the community rating of the item.
      Parameters:
      communityRating - The new community rating of the item.
      Since:
      1.2.0
    • getRunTimeTicks

      public long getRunTimeTicks()
      Returns the runtime ticks of the item.
      Returns:
      The runtime ticks of the item.
      Since:
      1.0
    • setRunTimeTicks

      public void setRunTimeTicks(long runTimeTicks)
      Sets the runtime ticks of the item.
      Parameters:
      runTimeTicks - The new runtime ticks of the item.
      Since:
      1.0
    • getPlayAccess

      public String getPlayAccess()
      Returns the play access of the item.
      Returns:
      The play access of the item.
      Since:
      1.0
    • setPlayAccess

      public void setPlayAccess(String playAccess)
      Sets the play access of the item.
      Parameters:
      playAccess - The new play access of the item.
      Since:
      1.0
    • getAspectRatio

      public String getAspectRatio()
      Returns the aspect ratio of the item.
      Returns:
      The aspect ratio of the item.
      Since:
      1.0
    • setAspectRatio

      public void setAspectRatio(String aspectRatio)
      Sets the aspect ratio of the item.
      Parameters:
      aspectRatio - The new aspect ratio of the item.
      Since:
      1.0
    • getProductionYear

      public int getProductionYear()
      Returns the production year of the item.
      Returns:
      The production year of the item.
      Since:
      1.0
    • setProductionYear

      public void setProductionYear(int productionYear)
      Sets the production year of the item.
      Parameters:
      productionYear - The new production year of the item.
      Since:
      1.0
    • mySetProductionYear

      public void mySetProductionYear(String prdYear)
      Sets the production year of the item.
      Parameters:
      productionYear - The new production year of the item.
      Since:
      1.2.0
    • isIsHD

      public boolean isIsHD()
      Returns whether the item is in HD.
      Returns:
      True if the item is in HD, false otherwise.
      Since:
      1.0
    • setIsHD

      public void setIsHD(boolean isHD)
      Sets whether the item is in HD.
      Parameters:
      isHD - The new HD status of the item.
      Since:
      1.0
    • isIsFolder

      public boolean isIsFolder()
      Returns whether 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 whether the item is a folder.
      Parameters:
      isFolder - The new folder status of the item.
      Since:
      1.0
    • getParentId

      public String getParentId()
      Returns the parent ID of the item.
      Returns:
      The parent ID of the item.
      Since:
      1.0
    • setParentId

      public void setParentId(String parentId)
      Sets the parent ID of the item.
      Parameters:
      parentId - The new parent ID of the item.
      Since:
      1.0
    • getType

      public String getType()
      Returns the type of the item.
      Returns:
      The type of the item.
      Since:
      1.0
    • setType

      public void setType(String type)
      Sets the type of the item.
      Parameters:
      type - The new type of the item.
      Since:
      1.0
    • getPeople

      public ArrayList<JellyfinPeopleItem> getPeople()
      Returns the people associated with the item.
      Returns:
      The people associated with the item.
      Since:
      1.0
    • setPeople

      public void setPeople(ArrayList<JellyfinPeopleItem> people)
      Sets the people associated with the item.
      Parameters:
      people - The new people associated with the item.
      Since:
      1.0
    • getStudios

      public ArrayList<JellyfinStudioItem> getStudios()
      Returns the studios associated with the item.
      Returns:
      The studios associated with the item.
      Since:
      1.0
    • setStudios

      public void setStudios(ArrayList<JellyfinStudioItem> studios)
      Sets the studios associated with the item.
      Parameters:
      studios - The new studios associated with the item.
      Since:
      1.0
    • getGenreItems

      public ArrayList<JellyfinGenreItem> getGenreItems()
      Returns the genre items of the item.
      Returns:
      The genre items of the item.
      Since:
      1.0
    • setGenreItems

      public void setGenreItems(ArrayList<JellyfinGenreItem> genreItems)
      Sets the genre items of the item.
      Parameters:
      genreItems - The new genre items of the item.
      Since:
      1.0
    • getDisplayPreferencesId

      public String getDisplayPreferencesId()
      Returns the display preferences ID of the item.
      Returns:
      The display preferences ID of the item.
      Since:
      1.0
    • setDisplayPreferencesId

      public void setDisplayPreferencesId(String displayPreferencesId)
      Sets the display preferences ID of the item.
      Parameters:
      displayPreferencesId - The new display preferences ID of the item.
      Since:
      1.0
    • getTags

      public ArrayList<String> getTags()
      Returns the tags of the item.
      Returns:
      The tags of the item.
      Since:
      1.0
    • setTags

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

      public double getPrimaryImageAspectRatio()
      Returns the primary image aspect ratio of the item.
      Returns:
      The primary image aspect ratio of the item.
      Since:
      1.0
    • setPrimaryImageAspectRatio

      public void setPrimaryImageAspectRatio(double primaryImageAspectRatio)
      Sets the primary image aspect ratio of the item.
      Parameters:
      primaryImageAspectRatio - The new primary image aspect ratio of the item.
      Since:
      1.0
    • getVideoType

      public String getVideoType()
      Returns the video type of the item.
      Returns:
      The video type of the item.
      Since:
      1.0
    • setVideoType

      public void setVideoType(String videoType)
      Sets the video type of the item.
      Parameters:
      videoType - The new video type of the item.
      Since:
      1.0
    • getLocationType

      public String getLocationType()
      Returns the location type of the item.
      Returns:
      The location type of the item.
      Since:
      1.0
    • setLocationType

      public void setLocationType(String locationType)
      Sets the location type of the item.
      Parameters:
      locationType - The new location type of the item.
      Since:
      1.0
    • getMediaType

      public String getMediaType()
      Returns the media type of the item.
      Returns:
      The media type of the item.
      Since:
      1.0
    • setMediaType

      public void setMediaType(String mediaType)
      Sets the media type of the item.
      Parameters:
      mediaType - The new media type of the item.
      Since:
      1.0
    • isLockData

      public boolean isLockData()
      Returns whether the data of the item is locked.
      Returns:
      True if the data of the item is locked, false otherwise.
      Since:
      1.0
    • setLockData

      public void setLockData(boolean lockData)
      Sets whether the data of the item is locked.
      Parameters:
      lockData - The new lock status of the item's data.
      Since:
      1.0
    • getChildcount

      public String getChildcount()
      Gets the child count.
      Returns:
      The child count.
      Since:
      1.0
    • setChildcount

      public void setChildcount(String childcount)
      Sets the child count.
      Parameters:
      childcount - The child count to set.
      Since:
      1.0
    • getProductionlocations

      public ArrayList<String> getProductionlocations()
      Gets the production locations.
      Returns:
      The production locations.
      Since:
      1.0
    • setProductionlocations

      public void setProductionlocations(ArrayList<String> productionlocations)
      Sets the production locations.
      Parameters:
      productionlocations - The production locations to set.
      Since:
      1.0