code: public void accessRestriction_ip_POST(String ip, OvhIpRestrictionRuleEnum rule, Boolean warning) throws IOException {
  		String qPath = "/me/accessRestriction/ip";
  		StringBuilder sb = path(qPath);
  		HashMap<String, Object>o = new HashMap<String, Object>();
  		addBody(o, "ip", ip);
  		addBody(o, "rule", rule);
  		addBody(o, "warning", warning);
  		exec(qPath, "POST", sb.toString(), o);
  	}
docs: Add an IP access restriction
  
  REST: POST /me/accessRestriction/ip
  @param rule [required] Accept or deny IP access
  @param warning [required] Send an email if someone try to access with this IP address
  @param ip [required] An IP range where we will apply the rule