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);
return removeFloatingIp(instance, request);
} else if (key.equals("addSecurityGroup")) {
AddSecurityGroupRequest request = gson.fromJson(entry.getValue(), AddSecurityGroupRequest.class);