CreateFolderRequest

public final class CreateFolderRequest

Class representation of the Nylas folder creation request.

Constructors

Link copied to clipboard
public CreateFolderRequest CreateFolderRequest(@Json(name = "name") String name, @Json(name = "parent_id") String parentId, @Json(name = "background_color") String backgroundColor, @Json(name = "text_color") String textColor)

Types

Link copied to clipboard
public final class Builder

Builder for CreateFolderRequest.

Properties

Link copied to clipboard
private final String backgroundColor

The background color of the folder. (Google only)

Link copied to clipboard
private final String name

The name of the folder.

Link copied to clipboard
private final String parentId

The parent ID of the folder. (Microsoft only)

Link copied to clipboard
private final String textColor

The text color of the folder. (Google only)

Functions

Link copied to clipboard
public final String getBackgroundColor()

The background color of the folder. (Google only)

Link copied to clipboard
public final String getName()

The name of the folder.

Link copied to clipboard
public final String getParentId()

The parent ID of the folder. (Microsoft only)

Link copied to clipboard
public final String getTextColor()

The text color of the folder. (Google only)