public static class Network.SetZone extends Command<Network.CommandId>
Network.sendNetworkManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Network.CommandId>, buzz.getcoco.iot.Network.NetworkManagementStatusListener) for creating new zone/changing name of existing zone.Command.State| Modifier and Type | Field and Description |
|---|---|
int |
zoneId
Zone ID
NOTE: This should not be set manually.
|
java.lang.String |
zoneName
Name of the
Zone. |
| Constructor and Description |
|---|
SetZone(java.lang.String zoneName)
Constructs
Network.SetZone command. |
SetZone(Zone zone,
java.lang.String zoneName)
An overloaded constructor for this command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="zoneId") public int zoneId
@SerializedName(value="zoneName") public java.lang.String zoneName
Zone.public SetZone(java.lang.String zoneName)
Network.SetZone command.zoneName - string which needs to set as name of zone.public SetZone(Zone zone, java.lang.String zoneName)
zone - Zone in interest to be updated with new paramszoneName - Zone name to replace existing name