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)
public final Response<Event> create(String identifier, CreateEventRequest requestBody, CreateEventQueryParams queryParams, RequestOverrides overrides)

Create an Event

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

Delete an Event

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

Return an Event

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

Return all Events

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

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)
public final Response<Event> update(String identifier, String eventId, UpdateEventRequest requestBody, UpdateEventQueryParams queryParams, RequestOverrides overrides)

Update an Event