UpdateEventRequest

public final class UpdateEventRequest

Class representation of a Nylas update event request

Constructors

Link copied to clipboard
public UpdateEventRequest UpdateEventRequest(@Json(name = "when") UpdateEventRequest.When whenObj, @Json(name = "title") String title, @Json(name = "description") String description, @Json(name = "location") String location, @Json(name = "participants") List<UpdateEventRequest.Participant> participants, @Json(name = "busy") Boolean busy, @Json(name = "conferencing") UpdateEventRequest.Conferencing conferencing, @Json(name = "reminder_minutes") String reminderMinutes, @Json(name = "reminder_method") ReminderMethod reminderMethod, @Json(name = "metadata") Map<String, String> metadata, @Json(name = "recurrence") List<String> recurrence, @Json(name = "calendar_id") String calendarId, @Json(name = "read_only") Boolean readOnly, @Json(name = "visibility") EvenVisibility visibility, @Json(name = "capacity") Integer capacity, @Json(name = "hide_participant") Boolean hideParticipant)

Types

Link copied to clipboard
public final class Builder

Builder for UpdateEventRequest.

Link copied to clipboard
public class Conferencing

This sealed class represents the different types of conferencing configurations.

Link copied to clipboard
public final class Participant

Class representation of an event participant.

Link copied to clipboard
public class When

This sealed class represents the different types of event time configurations.

Properties

Link copied to clipboard
private final Boolean busy

This value determines whether to show this event's time block as available on shared or public calendars.

Link copied to clipboard
private final String calendarId

Calendar ID of the event.

Link copied to clipboard
private final Integer capacity

Sets the maximum number of participants that may attend the event.

Link copied to clipboard

Representation of conferencing details for events. Conferencing object can be in one of two formats (sub-objects):

Link copied to clipboard
private final String description

Description of the event.

Link copied to clipboard
private final Boolean hideParticipant

Whether participants of the event should be hidden.

Link copied to clipboard
private final String location

Location of the event, such as a physical address or meeting room name.

Link copied to clipboard
private final Map<String, String> metadata

A list of key-value pairs storing additional data.

Link copied to clipboard

List of participants invited to the event. Participants may also be rooms or resources.

Link copied to clipboard
private final Boolean readOnly

If the event participants are able to edit the event.

Link copied to clipboard
private final List<String> recurrence

An array of RRULE and EXDATE strings. Please note that EXRULE, RDATE, and TZID are not supported.

Link copied to clipboard

Method to remind the user about the event. (Google only).

Link copied to clipboard
private final String reminderMinutes

The number of minutes before the event start time when a user wants a reminder for this event. Reminder minutes need to be entered in the following format: "20".

Link copied to clipboard
private final String title

The title of the event

Link copied to clipboard
private final EvenVisibility visibility

Sets the visibility for the event. The calendar default will be used if this field is omitted.

Link copied to clipboard

Representation of time and duration for events. When object can be in one of four formats (sub-objects):

Functions

Link copied to clipboard
public final Boolean getBusy()

This value determines whether to show this event's time block as available on shared or public calendars.

Link copied to clipboard
public final String getCalendarId()

Calendar ID of the event.

Link copied to clipboard
public final Integer getCapacity()

Sets the maximum number of participants that may attend the event.

Link copied to clipboard

Representation of conferencing details for events. Conferencing object can be in one of two formats (sub-objects):

Link copied to clipboard
public final String getDescription()

Description of the event.

Link copied to clipboard
public final Boolean getHideParticipant()

Whether participants of the event should be hidden.

Link copied to clipboard
public final String getLocation()

Location of the event, such as a physical address or meeting room name.

Link copied to clipboard
public final Map<String, String> getMetadata()

A list of key-value pairs storing additional data.

Link copied to clipboard

List of participants invited to the event. Participants may also be rooms or resources.

Link copied to clipboard
public final Boolean getReadOnly()

If the event participants are able to edit the event.

Link copied to clipboard
public final List<String> getRecurrence()

An array of RRULE and EXDATE strings. Please note that EXRULE, RDATE, and TZID are not supported.

Link copied to clipboard

Method to remind the user about the event. (Google only).

Link copied to clipboard
public final String getReminderMinutes()

The number of minutes before the event start time when a user wants a reminder for this event. Reminder minutes need to be entered in the following format: "20".

Link copied to clipboard
public final String getTitle()

The title of the event

Link copied to clipboard

Sets the visibility for the event. The calendar default will be used if this field is omitted.

Link copied to clipboard

Representation of time and duration for events. When object can be in one of four formats (sub-objects):