Builder

public final class Builder

A builder for creating a AvailabilityRules.

Constructors

Functions

Link copied to clipboard

Set the method used to determine availability for a meeting.

Link copied to clipboard

Set the buffer to add to the start and end of a meeting.

Link copied to clipboard
public final AvailabilityRules build()

Build the AvailabilityRules object.

Link copied to clipboard
public final AvailabilityRules.Builder defaultOpenHours(List<OpenHours> defaultOpenHours)

Set the default set of open hours to apply to all participants. You can overwrite these open hours for individual participants by specifying AvailabilityParticipant.openHours on the participant object.

Link copied to clipboard
public final AvailabilityRules.Builder roundRobinEventId(String roundRobinEventId)

Set the ID on events that Nylas considers when calculating the order of round-robin participants. This is used for both max-fairness and max-availability methods.