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) for creating/changing existing rule info.Command.State| Constructor and Description |
|---|
SetRule(Rule rule,
java.lang.String ruleName)
A constructor for current command.
|
SetRule(java.lang.String ruleName)
Constructs
Network.SetRule given rule name. |
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)
Network.SetRule given rule name.ruleName - Name of the rule.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