CreateNylasListRequest

public final class CreateNylasListRequest

Class representation of a Nylas create list request.

Constructors

Link copied to clipboard
public CreateNylasListRequest CreateNylasListRequest(@Json(name = "name") String name, @Json(name = "type") NylasListType type, @Json(name = "description") String description)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final String description

Optional description of the list.

Link copied to clipboard
private final String name

Name of the list (1–256 characters).

Link copied to clipboard
private final NylasListType type

The type of values this list will hold. Immutable after creation.

Functions

Link copied to clipboard
public final String getDescription()

Optional description of the list.

Link copied to clipboard
public final String getName()

Name of the list (1–256 characters).

Link copied to clipboard
public final NylasListType getType()

The type of values this list will hold. Immutable after creation.