CreateBookingRequest

public final class CreateBookingRequest

Class representation of a confirm booking request.

Constructors

Link copied to clipboard
public CreateBookingRequest CreateBookingRequest(@Json(name = "start_time") String startTime, @Json(name = "end_time") String endTime, @Json(name = "participants") List<BookingParticipant> participants, @Json(name = "guest") BookingGuest guest, @Json(name = "timezone") String timezone, @Json(name = "email_language") EmailLanguage emailLanguage, @Json(name = "additional_guests") List<BookingGuest> additionalGuests, @Json(name = "additional_fields") Map<String, String> additionalFields)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard

A dictionary of additional field keys mapped to the values populated by the guest in the booking form.

Link copied to clipboard

An array of objects that include a list of additional guest email addresses to include in the booking.

Link copied to clipboard

The language of the guest's email notifications.

Link copied to clipboard
private final String endTime

The event's end time, in Unix epoch format.

Link copied to clipboard
private final BookingGuest guest

Details about the guest that is creating the booking. The guest name and email are required.

Link copied to clipboard

An array of objects that include a list of participant email addresses from the Configuration object to include in the booking. If not provided, Nylas includes all participants from the Configuration object.

Link copied to clipboard
private final String startTime

The event's start time, in Unix epoch format.

Link copied to clipboard
private final String timezone

The guest's timezone that is used in email notifications.

Functions

Link copied to clipboard

A dictionary of additional field keys mapped to the values populated by the guest in the booking form.

Link copied to clipboard

An array of objects that include a list of additional guest email addresses to include in the booking.

Link copied to clipboard

The language of the guest's email notifications.

Link copied to clipboard
public final String getEndTime()

The event's end time, in Unix epoch format.

Link copied to clipboard
public final BookingGuest getGuest()

Details about the guest that is creating the booking. The guest name and email are required.

Link copied to clipboard

An array of objects that include a list of participant email addresses from the Configuration object to include in the booking. If not provided, Nylas includes all participants from the Configuration object.

Link copied to clipboard
public final String getStartTime()

The event's start time, in Unix epoch format.

Link copied to clipboard
public final String getTimezone()

The guest's timezone that is used in email notifications.