com.podio.task.TasksByDue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
The official Java wrapper for the Podio API
package com.podio.task;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.codehaus.jackson.annotate.JsonAnySetter;
public class TasksByDue {
private Map> map = new HashMap>();
@Override
public String toString() {
return "TasksByDue [map=" + map + "]";
}
public List getByDueStatus(TaskDueStatus status) {
return map.get(status);
}
@JsonAnySetter
public void setByDueStatus(String status, List tasks) {
map.put(TaskDueStatus.getByName(status), tasks);
}
}