public static class Network.SetRule extends Command<Network.CommandId>
Network.sendNetworkManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Network.CommandId>, buzz.getcoco.iot.Network.NetworkManagementStatusListener) while creating/changing rule info is the command.Command.State| Constructor and Description |
|---|
SetRule(Rule rule,
java.lang.String ruleName)
A constructor for current command.
|
SetRule(java.lang.String ruleName) |
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="ruleId") public int ruleId
@SerializedName(value="ruleName") public java.lang.String ruleName
public SetRule(java.lang.String ruleName)
public SetRule(Rule rule, java.lang.String ruleName)
rule - The rule in interest whose name change is requestedruleName - rule name to replace the existing name