@Required(false) @Name("location") String location,
@Name("duration") Integer duration,
@Name("agents") List<String> agents) {
Activity activity = new Activity();
activity.setSummary(summary);
activity.withConstraints().withLocation().setSummary(location);
for (String agent : agents) {
Attendee attendee = new Attendee();
attendee.setAgent(agent);
activity.withConstraints().withAttendees().add(attendee);
}