Package com.tapkey.mobile.model
Class PermissionDetails.TemporaryUnlockPermissionDetails
- java.lang.Object
-
- com.tapkey.mobile.model.PermissionDetails.TemporaryUnlockPermissionDetails
-
- Enclosing class:
- PermissionDetails
public static class PermissionDetails.TemporaryUnlockPermissionDetails extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
allowTemporaryUnlockCustomDuration
Specifies, whether TriggerLock commands may specify a custom unlock duration for TemporaryUnlock actions.Boolean
allowUnrestrictedTemporaryUnlockDuration
If set to true, the maximum custom unlock duration is only limited by the lock FW.Integer
defaultUnlockDurationSec
The default unlock duration for temporary unlock operations in seconds.Integer
maxCustomUnlockDurationSec
The maximum unlock duration for temporary unlock operations in seconds.
-
Constructor Summary
Constructors Constructor Description TemporaryUnlockPermissionDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Boolean
getAllowTemporaryUnlockCustomDuration()
Boolean
getAllowUnrestrictedTemporaryUnlockDuration()
Integer
getDefaultUnlockDurationSec()
Integer
getMaxCustomUnlockDurationSec()
int
hashCode()
void
setAllowTemporaryUnlockCustomDuration(Boolean allowTemporaryUnlockCustomDuration)
void
setAllowUnrestrictedTemporaryUnlockDuration(Boolean allowUnrestrictedTemporaryUnlockDuration)
void
setDefaultUnlockDurationSec(Integer defaultUnlockDurationSec)
void
setMaxCustomUnlockDurationSec(Integer maxCustomUnlockDurationSec)
-
-
-
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`.
-
-
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)
-
-