Builder

public final class Builder

Builder for ListThreadsQueryParams.

Functions

Link copied to clipboard

Set the list of email addresses to match.

Link copied to clipboard

Set the list of email addresses to match in the bcc field.

Link copied to clipboard

Builds the ListThreadsQueryParams object.

Link copied to clipboard

Set the list of email addresses to match in the cc field.

Link copied to clipboard

Set to true to return emails that contain attachments.

Link copied to clipboard

Set the list of email addresses to match in the from field.

Link copied to clipboard

Set to true to return emails that contain attachments.

Link copied to clipboard

Set the list of folder IDs to match.

Link copied to clipboard
public final ListThreadsQueryParams.Builder latestMessageAfter(Long latestMessageAfter)

Set the timestamp to match for emails received after.

Link copied to clipboard
public final ListThreadsQueryParams.Builder latestMessageBefore(Long latestMessageBefore)

Set the timestamp to match for emails received before.

Link copied to clipboard

Sets the maximum number of objects to return. This field defaults to 10. The maximum allowed value is 200.

Link copied to clipboard

Sets the identifier that specifies which page of data to return. This value should be taken from the next_cursor response field.

Link copied to clipboard
public final ListThreadsQueryParams.Builder searchQueryNative(String searchQueryNative)

Set the provider-specific query string used to search messages. Available for Google and Microsoft Graph only.

Link copied to clipboard

Set to true to return emails that are starred.

Link copied to clipboard

Sets the subject to match.

Link copied to clipboard

Set the thread ID to match.

Link copied to clipboard

Set the list of email addresses to match in the to field.

Link copied to clipboard

Set to true to return emails that are unread.