AvailabilityParticipant

public final class AvailabilityParticipant

Class representation of participant details to check availability for.

Constructors

Link copied to clipboard
public AvailabilityParticipant AvailabilityParticipant(@Json(name = "email") String email, @Json(name = "calendar_ids") List<String> calendarIds, @Json(name = "open_hours") List<OpenHours> openHours)

Types

Link copied to clipboard
public final class Builder

A builder for creating an AvailabilityParticipant.

Properties

Link copied to clipboard
private final List<String> calendarIds

An optional list of the calendar IDs associated with each participant's email address. If not provided, Nylas uses the primary calendar ID.

Link copied to clipboard
private final String email

The email address of the participant.

Link copied to clipboard
private final List<OpenHours> openHours

Open hours for this participant. The endpoint searches for free time slots during these open hours.

Functions

Link copied to clipboard
public final List<String> getCalendarIds()

An optional list of the calendar IDs associated with each participant's email address. If not provided, Nylas uses the primary calendar ID.

Link copied to clipboard
public final String getEmail()

The email address of the participant.

Link copied to clipboard
public final List<OpenHours> getOpenHours()

Open hours for this participant. The endpoint searches for free time slots during these open hours.