code: public OvhGameMitigationRule ip_game_ipOnGame_rule_POST(String ip, String ipOnGame, OvhRange<Long> ports, OvhGameMitigationRuleProtocolEnum protocol) throws IOException {
  		String qPath = "/ip/{ip}/game/{ipOnGame}/rule";
  		StringBuilder sb = path(qPath, ip, ipOnGame);
  		HashMap<String, Object>o = new HashMap<String, Object>();
  		addBody(o, "ports", ports);
  		addBody(o, "protocol", protocol);
  		String resp = exec(qPath, "POST", sb.toString(), o);
  		return convertTo(resp, OvhGameMitigationRule.class);
  	}
docs: Add new rule on your IP
  
  REST: POST /ip/{ip}/game/{ipOnGame}/rule
  @param protocol [required] The protocol running behind the given port
  @param ports [required] The UDP port range to apply the rule on
  @param ip [required]
  @param ipOnGame [required]