Folders

public final class Folders extends Resource<Folder>

Constructors

Link copied to clipboard
public Folders Folders(NylasClient client)

Functions

Link copied to clipboard
public final Response<Folder> create(String identifier, CreateFolderRequest requestBody)

Create a Folder

Link copied to clipboard
public final DeleteResponse destroy(String identifier, String folderId)

Delete a Folder

Link copied to clipboard
public final Response<Folder> find(String identifier, String folderId)

Return a Folder

Link copied to clipboard
public final ListResponse<Folder> list(String identifier)

Return all Folders

Link copied to clipboard
public final Response<Folder> update(String identifier, String folderId, UpdateFolderRequest requestBody)

Update a Folder