InstanceData instance = getInstance(id);
for (Entry<String, JsonElement> entry : jsonRequest.entrySet()) {
String key = entry.getKey();
if (key.equals("addFloatingIp")) {
AddFloatingIpRequest request = gson.fromJson(entry.getValue(), AddFloatingIpRequest.class);
return addFloatingIp(instance, request);
} else if (key.equals("removeFloatingIp")) {
RemoveFloatingIpRequest request = gson.fromJson(entry.getValue(), RemoveFloatingIpRequest.class);