NylasList

public final class NylasList

Class representation of a Nylas list object. Lists are typed collections of domains, TLDs, or addresses referenced by rule conditions.

Constructors

Link copied to clipboard
public NylasList NylasList(@Json(name = "id") String id, @Json(name = "name") String name, @Json(name = "description") String description, @Json(name = "type") NylasListType type, @Json(name = "items_count") Integer itemsCount, @Json(name = "application_id") String applicationId, @Json(name = "organization_id") String organizationId, @Json(name = "created_at") Long createdAt, @Json(name = "updated_at") Long updatedAt)

Properties

Link copied to clipboard
private final String applicationId

The ID of the Nylas application this list belongs to.

Link copied to clipboard
private final Long createdAt

Unix timestamp when the list was created.

Link copied to clipboard
private final String description

Optional description of the list.

Link copied to clipboard
private final String id

Globally unique object identifier.

Link copied to clipboard
private final Integer itemsCount

The number of items currently in the list.

Link copied to clipboard
private final String name

Name of the list.

Link copied to clipboard
private final String organizationId

The ID of the organization this list belongs to.

Link copied to clipboard
private final NylasListType type

The type of values stored in this list. Immutable after creation.

Link copied to clipboard
private final Long updatedAt

Unix timestamp when the list was last updated.

Functions

Link copied to clipboard
public final String getApplicationId()

The ID of the Nylas application this list belongs to.

Link copied to clipboard
public final Long getCreatedAt()

Unix timestamp when the list was created.

Link copied to clipboard
public final String getDescription()

Optional description of the list.

Link copied to clipboard
public final String getId()

Globally unique object identifier.

Link copied to clipboard
public final Integer getItemsCount()

The number of items currently in the list.

Link copied to clipboard
public final String getName()

Name of the list.

Link copied to clipboard
public final String getOrganizationId()

The ID of the organization this list belongs to.

Link copied to clipboard
public final NylasListType getType()

The type of values stored in this list. Immutable after creation.

Link copied to clipboard
public final Long getUpdatedAt()

Unix timestamp when the list was last updated.