PolicyLimits

public final class PolicyLimits

Class representation of a Nylas policy limits object.

Constructors

Link copied to clipboard
public PolicyLimits PolicyLimits(@Json(name = "limit_attachment_size_limit") Long attachmentSizeLimit, @Json(name = "limit_attachment_count_limit") Integer attachmentCountLimit, @Json(name = "limit_attachment_allowed_types") List<String> attachmentAllowedTypes, @Json(name = "limit_size_total_mime") Long sizeTotalMime, @Json(name = "limit_storage_total") Long storageTotal, @Json(name = "limit_count_daily_message_per_grant") Integer countDailyMessagePerGrant, @Json(name = "limit_inbox_retention_period") Integer inboxRetentionPeriod, @Json(name = "limit_spam_retention_period") Integer spamRetentionPeriod)

Properties

Link copied to clipboard

Allowed MIME types for attachments.

Link copied to clipboard

Maximum number of attachments per message.

Link copied to clipboard
private final Long attachmentSizeLimit

Maximum size in bytes for a single attachment.

Link copied to clipboard

Maximum number of messages the agent account can send per day.

Link copied to clipboard

Number of days to retain messages in the inbox.

Link copied to clipboard
private final Long sizeTotalMime

Maximum total MIME size in bytes per message.

Link copied to clipboard

Number of days to retain messages in the spam folder.

Link copied to clipboard
private final Long storageTotal

Maximum total storage in bytes for the agent account.

Functions

Link copied to clipboard

Allowed MIME types for attachments.

Link copied to clipboard

Maximum number of attachments per message.

Link copied to clipboard

Maximum size in bytes for a single attachment.

Link copied to clipboard

Maximum number of messages the agent account can send per day.

Link copied to clipboard

Number of days to retain messages in the inbox.

Link copied to clipboard
public final Long getSizeTotalMime()

Maximum total MIME size in bytes per message.

Link copied to clipboard

Number of days to retain messages in the spam folder.

Link copied to clipboard
public final Long getStorageTotal()

Maximum total storage in bytes for the agent account.