return wrap(context, Event.class, result.getCollection());
}
@Override
public Iterable<Event> listEvents(final EventOptions options) {
EventsDto result = context.getApi().getEventApi().listEvents(options);
return wrap(context, Event.class, result.getCollection());
}