Class PermissionDetails.TemporaryUnlockPermissionDetails

  • Enclosing class:
    PermissionDetails

    public static class PermissionDetails.TemporaryUnlockPermissionDetails
    extends Object
    • Field Detail

      • defaultUnlockDurationSec

        public Integer defaultUnlockDurationSec
        The default unlock duration for temporary unlock operations in seconds. If not specified, the lock's built in default unlock duration shall be applied. Valid values are 1 through 3600 (incl). If not set, firmware default will be used.
      • allowTemporaryUnlockCustomDuration

        public Boolean allowTemporaryUnlockCustomDuration
        Specifies, whether TriggerLock commands may specify a custom unlock duration for TemporaryUnlock actions.
      • allowUnrestrictedTemporaryUnlockDuration

        public Boolean allowUnrestrictedTemporaryUnlockDuration
        If set to true, the maximum custom unlock duration is only limited by the lock FW. If set to false, the actual value must be specified in `maxCustomUnlockDurationSec`.
      • maxCustomUnlockDurationSec

        public Integer maxCustomUnlockDurationSec
        The maximum unlock duration for temporary unlock operations in seconds. Must be specified if `AllowUnrestrictedTemporaryUnlockDuration` is `false`. May not be specified if `AllowUnrestrictedTemporaryUnlockDuration` is `true`.
    • Constructor Detail

      • TemporaryUnlockPermissionDetails

        public TemporaryUnlockPermissionDetails()
    • Method Detail

      • getDefaultUnlockDurationSec

        public Integer getDefaultUnlockDurationSec()
      • setDefaultUnlockDurationSec

        public void setDefaultUnlockDurationSec​(Integer defaultUnlockDurationSec)
      • getAllowTemporaryUnlockCustomDuration

        public Boolean getAllowTemporaryUnlockCustomDuration()
      • setAllowTemporaryUnlockCustomDuration

        public void setAllowTemporaryUnlockCustomDuration​(Boolean allowTemporaryUnlockCustomDuration)
      • getAllowUnrestrictedTemporaryUnlockDuration

        public Boolean getAllowUnrestrictedTemporaryUnlockDuration()
      • setAllowUnrestrictedTemporaryUnlockDuration

        public void setAllowUnrestrictedTemporaryUnlockDuration​(Boolean allowUnrestrictedTemporaryUnlockDuration)
      • getMaxCustomUnlockDurationSec

        public Integer getMaxCustomUnlockDurationSec()
      • setMaxCustomUnlockDurationSec

        public void setMaxCustomUnlockDurationSec​(Integer maxCustomUnlockDurationSec)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object