public static class Device.SetResourceName extends Command<Device.CommandId>
Device.sendDeviceManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Device.CommandId>, buzz.getcoco.iot.Device.DeviceManagementStatusListener) while sending set resource name commands.Command.State| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
resourceEui |
java.lang.String |
resourceName |
| Constructor and Description |
|---|
SetResourceName(Resource resource,
java.lang.String newName)
A constructor for this command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="resourceEui") public java.lang.String resourceEui
@SerializedName(value="resourceName") public java.lang.String resourceName
public SetResourceName(Resource resource, java.lang.String newName)
resource - resource which is to be namednewName - new name to replace existing one