public static class CapabilityDoorLock.SetUserType extends Command<CapabilityDoorLock.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>)
to set user type.Command.State| Modifier and Type | Field and Description |
|---|---|
long |
userId
The User ID for whom to set the type.
|
CapabilityDoorLock.UserType |
userType
CapabilityDoorLock.UserType to be set. |
| Constructor and Description |
|---|
SetUserType()
A no-arg constructor to create set user type command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="userId") public long userId
@SerializedName(value="userType") public CapabilityDoorLock.UserType userType
CapabilityDoorLock.UserType to be set.