Calendars

public final class Calendars extends Resource<Calendar>

Nylas Calendar API

The Nylas calendar API allows you to create new calendars or manage existing ones. A calendar can be accessed by one, or several people, and can contain events.

Parameters

client

The configured Nylas API client

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public final Response<Calendar> create(String identifier, CreateCalendarRequest requestBody)

Create a Calendar

Link copied to clipboard
public final DeleteResponse destroy(String identifier, String calendarId)

Delete a Calendar

Link copied to clipboard
public final Response<Calendar> find(String identifier, String calendarId)

Return a Calendar

Link copied to clipboard

Get Availability for a given account / accounts

Link copied to clipboard
public final Response<List<GetFreeBusyResponse>> getFreeBusy(String identifier, GetFreeBusyRequest request)

Get the free/busy schedule for a list of email addresses

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

Return all Calendars

Link copied to clipboard
public final Response<Calendar> update(String identifier, String calendarId, UpdateCalendarRequest requestBody)

Update a Calendar