AvailabilityRules

public final class AvailabilityRules

Class representation of the availability rules for a Nylas calendar.

Constructors

Link copied to clipboard
public AvailabilityRules AvailabilityRules(@Json(name = "availability_method") AvailabilityMethod availabilityMethod, @Json(name = "meeting_buffer") MeetingBuffer buffer, @Json(name = "default_open_hours") List<OpenHours> defaultOpenHours, @Json(name = "round_robin_event_id") String roundRobinEventId)

Types

Link copied to clipboard
public final class Builder

A builder for creating a AvailabilityRules.

Properties

Link copied to clipboard

The method used to determine availability for a meeting.

Link copied to clipboard
private final MeetingBuffer buffer

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

Link copied to clipboard

A 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
private final String roundRobinEventId

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.

Functions

Link copied to clipboard

The method used to determine availability for a meeting.

Link copied to clipboard
public final MeetingBuffer getBuffer()

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

Link copied to clipboard

A 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

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.