public static class Network.MoveResourcesBetweenZones extends Command<Network.CommandId>
Network.sendNetworkManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Network.CommandId>, buzz.getcoco.iot.Network.NetworkManagementStatusListener) while moving resources between zones is the command.Command.State| Modifier and Type | Field and Description |
|---|---|
int |
fromZoneId |
Resource[] |
resources |
int |
toZoneId |
| Constructor and Description |
|---|
MoveResourcesBetweenZones(Zone fromZone,
Zone toZone,
Resource[] resources)
A constructor for this command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="oldZoneId") public int fromZoneId
@SerializedName(value="newZoneId") public int toZoneId
@SerializedName(value="resourceArr") public Resource[] resources
public MoveResourcesBetweenZones(Zone fromZone, Zone toZone, Resource[] resources)
fromZone - Zone param from which resources are to be movedtoZone - Zone param to which resources are to be movedresources - array of resources which are to be moved