return redirect;
}
protected ServerGroup getServerGroupFromJSON(JSONObject jsonServerGroup) {
ServerGroup group = new ServerGroup();
try {
if (jsonServerGroup == null) {
return null;
}
if (!jsonServerGroup.isNull("id"))
group.setId(jsonServerGroup.getInt("id"));
if (!jsonServerGroup.isNull("name"))
group.setName(jsonServerGroup.getString("name"));
if (!jsonServerGroup.isNull("profileId"))
group.setProfileId(jsonServerGroup.getInt("profileId"));
} catch (JSONException e) {
e.printStackTrace();
return null;
}