Threads

public final class Threads extends Resource<Thread>

Constructors

Link copied to clipboard
public Threads Threads(NylasClient client)

Functions

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

Delete a Thread

Link copied to clipboard
public final Response<Thread> find(String identifier, String threadId)

Return a Thread

Link copied to clipboard
public final ListResponse<Thread> list(String identifier)
public final ListResponse<Thread> list(String identifier, ListThreadsQueryParams queryParams)

Return all Threads

Link copied to clipboard
public final Response<Thread> update(String identifier, String threadId, UpdateThreadRequest requestBody)

Update a Thread