UpdateCalendarRequest

public final class UpdateCalendarRequest

Class representation of a Nylas update calendar request

Constructors

Link copied to clipboard
public UpdateCalendarRequest UpdateCalendarRequest(@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, @Json(name = "hex_color") String hexColor, @Json(name = "hex_foreground_color") String hexForegroundColor)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final String description

Description of the calendar.

Link copied to clipboard
private final String hexColor

The background color of the calendar in the hexadecimal format (e.g. #0099EE). Empty indicates default color.

Link copied to clipboard
private final String hexForegroundColor

The background color of the calendar in the hexadecimal format (e.g. #0099EE). Empty indicates default color. (Google only)

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 getHexColor()

The background color of the calendar in the hexadecimal format (e.g. #0099EE). Empty indicates default color.

Link copied to clipboard

The background color of the calendar in the hexadecimal format (e.g. #0099EE). Empty indicates default color. (Google only)

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).