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)
public final Response<Calendar> create(String identifier, CreateCalendarRequest requestBody, RequestOverrides overrides)

Create a Calendar

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

Delete a Calendar

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

Return a Calendar

Link copied to clipboard

Get Availability for a given account / accounts

Link copied to clipboard

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)
public final ListResponse<Calendar> list(String identifier, ListCalendersQueryParams queryParams, RequestOverrides overrides)

Return all Calendars

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

Update a Calendar