code: public ArrayList<String> ip_spam_GET(String ip, OvhSpamStateEnum state) throws IOException {
  		String qPath = "/ip/{ip}/spam";
  		StringBuilder sb = path(qPath, ip);
  		query(sb, "state", state);
  		String resp = exec(qPath, "GET", sb.toString(), null);
  		return convertTo(resp, t2);
  	}
docs: Ip spamming
  
  REST: GET /ip/{ip}/spam
  @param state [required] Filter the value of state property (=)
  @param ip [required]