Builder

public final class Builder

A builder for creating a GetAvailabilityRequest.

Parameters

startTime

Unix timestamp for the start time to check availability for.

endTime

Unix timestamp for the end time to check availability for.

participants

Participant details to check availability for.

durationMinutes

The total number of minutes the event should last.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard

Set the rules to apply when checking availability.

Link copied to clipboard
Link copied to clipboard

Set the Nylas checks from the nearest interval of the passed startTime. For example, to schedule 30-minute meetings (durationMinutes) with 15 minutes between them (intervalMinutes). If you have a meeting starting at 9:59, the API returns times starting at 10:00. 10:00-10:30, 10:15-10:45.

Link copied to clipboard

Set when set to true, the availability time slots will start at 30 minutes past or on the hour. For example, a free slot starting at 16:10 is considered available only from 16:30.