// as of the 1.2.0 SDK, this was the only supported Event type
var notification = new Events.Notification(Time.now().add(new Time.Duration(30)), "Hello World", {}, {});
// schedule the event and get a reference to the event in the scheduler
var eventId = Events.scheduleEvent(notification);