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) for moving resources between two zones.Command.State| Modifier and Type | Field and Description |
|---|---|
int |
fromZoneId
Zone.zoneId of Zone which currently contains resources. |
Resource[] |
resources
Array of
Resource which needs to be moved. |
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
Zone.zoneId of Zone which currently contains resources.@SerializedName(value="newZoneId") public int toZoneId
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