Class JellyfinUser

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

public class JellyfinUser extends Object
This class represents a user in Jellyfin.
Since:
1.0
Author:
Cesar Bianchi
See Also:
  • Field Details

    • PrimaryImageTag

      public String PrimaryImageTag
    • name

      public String name
    • serverId

      public String serverId
    • id

      public String id
    • hasPassword

      public boolean hasPassword
    • hasConfiguredPassword

      public boolean hasConfiguredPassword
    • hasConfiguredEasyPassword

      public boolean hasConfiguredEasyPassword
    • enableAutoLogin

      public boolean enableAutoLogin
    • lastLoginDate

      public Date lastLoginDate
    • lastActivityDate

      public Date lastActivityDate
    • configuration

      public JellyfinUserConfiguration configuration
    • policy

      public JellyfinUserPolicy policy
  • Constructor Details

    • JellyfinUser

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

    • getName

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

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

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

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

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

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

      public boolean isHasPassword()
      Returns whether the user has a password.
      Returns:
      True if the user has a password, false otherwise.
      Since:
      1.0
    • setHasPassword

      public void setHasPassword(boolean hasPassword)
      Sets whether the user has a password.
      Parameters:
      hasPassword - True if the user has a password, false otherwise.
      Since:
      1.0
    • isHasConfiguredPassword

      public boolean isHasConfiguredPassword()
      Returns whether the user has a configured password.
      Returns:
      True if the user has a configured password, false otherwise.
      Since:
      1.0
    • setHasConfiguredPassword

      public void setHasConfiguredPassword(boolean hasConfiguredPassword)
      Sets whether the user has a configured password.
      Parameters:
      hasConfiguredPassword - True if the user has a configured password, false otherwise.
      Since:
      1.0
    • isHasConfiguredEasyPassword

      public boolean isHasConfiguredEasyPassword()
      Returns whether the user has a configured easy password.
      Returns:
      True if the user has a configured easy password, false otherwise.
      Since:
      1.0
    • setHasConfiguredEasyPassword

      public void setHasConfiguredEasyPassword(boolean hasConfiguredEasyPassword)
      Sets whether the user has a configured easy password.
      Parameters:
      hasConfiguredEasyPassword - True if the user has a configured easy password, false otherwise.
      Since:
      1.0
    • isEnableAutoLogin

      public boolean isEnableAutoLogin()
      Returns whether auto login is enabled for the user.
      Returns:
      True if auto login is enabled, false otherwise.
      Since:
      1.0
    • setEnableAutoLogin

      public void setEnableAutoLogin(boolean enableAutoLogin)
      Sets whether auto login is enabled for the user.
      Parameters:
      enableAutoLogin - True to enable auto login, false to disable it.
      Since:
      1.0
    • getLastLoginDate

      public Date getLastLoginDate()
      Returns the last login date of the user.
      Returns:
      The last login date of the user.
      Since:
      1.0
    • setLastLoginDate

      public void setLastLoginDate(Date lastLoginDate)
      Sets the last login date of the user.
      Parameters:
      lastLoginDate - The new last login date of the user.
      Since:
      1.0
    • getLastActivityDate

      public Date getLastActivityDate()
      Returns the last activity date of the user.
      Returns:
      The last activity date of the user.
      Since:
      1.0
    • setLastActivityDate

      public void setLastActivityDate(Date lastActivityDate)
      Sets the last activity date of the user.
      Parameters:
      lastActivityDate - The new last activity date of the user.
      Since:
      1.0
    • getConfiguration

      public JellyfinUserConfiguration getConfiguration()
      Returns the configuration of the user.
      Returns:
      The configuration of the user.
      Since:
      1.0
    • setConfiguration

      public void setConfiguration(JellyfinUserConfiguration configuration)
      Sets the configuration of the user.
      Parameters:
      configuration - The new configuration of the user.
      Since:
      1.0
    • getPolicy

      public JellyfinUserPolicy getPolicy()
      Returns the policy of the user.
      Returns:
      The policy of the user.
      Since:
      1.0
    • setPolicy

      public void setPolicy(JellyfinUserPolicy policy)
      Sets the policy of the user.
      Parameters:
      policy - The new policy of the user.
      Since:
      1.0
    • getPrimaryImageTag

      public String getPrimaryImageTag()
      Returns the primary image tag of the user.
      Returns:
      The primary image tag of the user.
      Since:
      1.0
    • setPrimaryImageTag

      public void setPrimaryImageTag(String PrimaryImageTag)
      Sets the primary image tag of the user.
      Parameters:
      PrimaryImageTag - The new primary image tag of the user.
      Since:
      1.0