public static class CapabilityDoorLock.SetPin extends Command<CapabilityDoorLock.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>) while
setting pin code for a user.Command.State| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
pin
The PIN/RFID code to be set for the user.
|
long |
userId
The User ID for whom the PIN is to be set.
|
CapabilityDoorLock.UserStatus |
userStatus
To set the permits of resource locking/unlocking functionality for this user.
|
CapabilityDoorLock.UserType |
userType
Sets the type of the user as Master, Unrestricted, Non-access etc.
|
| Constructor and Description |
|---|
SetPin()
A no args constructor to create set pin command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="userId") public long userId
@SerializedName(value="userStatus") public CapabilityDoorLock.UserStatus userStatus
@SerializedName(value="userType") public CapabilityDoorLock.UserType userType
@SerializedName(value="pinRfidCode") public java.lang.String pin