CreateCalendarRequest

public final class CreateCalendarRequest

Class representation of a Nylas create calendar request

Constructors

Link copied to clipboard
public CreateCalendarRequest CreateCalendarRequest(@Json(name = "name") String name, @Json(name = "description") String description, @Json(name = "location") String location, @Json(name = "timezone") String timezone, @Json(name = "metadata") Map<String, String> metadata)

Types

Link copied to clipboard
public final class Builder

A builder for creating a CreateCalendarRequest.

Properties

Link copied to clipboard
private final String description

Description of the calendar.

Link copied to clipboard
private final String location

Geographic location of the calendar as free-form text.

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

A list of key-value pairs storing additional data.

Link copied to clipboard
private final String name

Name of the Calendar.

Link copied to clipboard
private final String timezone

IANA time zone database formatted string (e.g. America/New_York).

Functions

Link copied to clipboard
public final String getDescription()

Description of the calendar.

Link copied to clipboard
public final String getLocation()

Geographic location of the calendar as free-form text.

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

A list of key-value pairs storing additional data.

Link copied to clipboard
public final String getName()

Name of the Calendar.

Link copied to clipboard
public final String getTimezone()

IANA time zone database formatted string (e.g. America/New_York).