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, @Json(name = "specific_time_availability") List<SpecificTimeAvailability> specificTimeAvailability, @Json(name = "only_specific_time_availability") Boolean onlySpecificTimeAvailability)

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

When set to true, only the times specified in specificTimeAvailability are considered available, ignoring the openHours configuration.

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.

Link copied to clipboard

An array of date and time ranges when the participant is available. This can override the open_hours configurations for a specific date and time range.

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

When set to true, only the times specified in specificTimeAvailability are considered available, ignoring the openHours configuration.

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.

Link copied to clipboard

An array of date and time ranges when the participant is available. This can override the open_hours configurations for a specific date and time range.