Events

public final class Events extends Resource<Event>

Nylas Events API

The Nylas Events API allows you to create, update, and delete events on user calendars.

Parameters

client

The configured Nylas API client

Constructors

Link copied to clipboard
public Events Events(NylasClient client)

Functions

Link copied to clipboard
public final Response<Event> create(String identifier, CreateEventRequest requestBody, CreateEventQueryParams queryParams)

Create an Event

Link copied to clipboard
public final DeleteResponse destroy(String identifier, String eventId, DestroyEventQueryParams queryParams)

Delete an Event

Link copied to clipboard
public final Response<Event> find(String identifier, String eventId, FindEventQueryParams queryParams)

Return an Event

Link copied to clipboard
public final ListResponse<Event> list(String identifier, ListEventQueryParams queryParams)

Return all Events

Link copied to clipboard
public final DeleteResponse sendRsvp(String identifier, String eventId, SendRsvpRequest requestBody, SendRsvpQueryParams queryParams)

Send RSVP. Allows users to respond to events they have been added to as an attendee.

Link copied to clipboard
public final Response<Event> update(String identifier, String eventId, UpdateEventRequest requestBody, UpdateEventQueryParams queryParams)

Update an Event