Builder
A builder for creating a GetAvailabilityRequest.
Parameters
Unix timestamp for the start time to check availability for.
Unix timestamp for the end time to check availability for.
Participant details to check availability for.
The total number of minutes the event should last.
Constructors
Functions
Set the rules to apply when checking availability.
Build the GetAvailabilityRequest.
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.
Set the number of minutes to round the time slots to. This allows for rounding to any multiple of 5 minutes, up to a maximum of 60 minutes. The default value is set to 15 minutes. When this variable is assigned a value, it overrides the behavior of the roundTo30Minutes flag, if it was set.
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.