{
SummaryAvailable = new HashMap<String, Integer>();
SummaryUsed = new HashMap<String, Integer>();
OSDMap summary = (OSDMap)map.get("summary");
OSDArray available = (OSDArray)summary.get("available");
OSDArray used = (OSDArray)summary.get("used");
for (int i = 0; i < available.count(); i++)
{
OSDMap limit = (OSDMap)available.get(i);
SummaryAvailable.put(limit.get("type").asString(), limit.get("amount").asInteger());
}
for (int i = 0; i < used.count(); i++)
{
OSDMap limit = (OSDMap)used.get(i);
SummaryUsed.put(limit.get("type").asString(), limit.get("amount").asInteger());
}
}