EmailFolder

data class EmailFolder(val id: String, val owner: String, val owners: List<Owner>, val emailAddressId: String, val folderName: String, val size: Double, val unseenCount: Int, val version: Int, val createdAt: Date, val updatedAt: Date, val customFolderName: String? = null) : Parcelable

Representation of an email folder used in the Sudo Platform Email SDK.

Constructors

Link copied to clipboard
constructor(id: String, owner: String, owners: List<Owner>, emailAddressId: String, folderName: String, size: Double, unseenCount: Int, version: Int, createdAt: Date, updatedAt: Date, customFolderName: String? = null)

Properties

Link copied to clipboard

Date When the email folder was created.

Link copied to clipboard

String Custom name assigned to the email folder.

Link copied to clipboard

String Identifier of the email address associated with the email folder.

Link copied to clipboard

String Name assigned to the email folder (i.e. INBOX, SENT, TRASH, OUTBOX).

Link copied to clipboard
val id: String

String Unique identifier of the email folder.

Link copied to clipboard

String Identifier of the user that owns the email folder.

Link copied to clipboard

List List of identifiers of the user/accounts associated with this email folder.

Link copied to clipboard

Double The total size of all email messages assigned to the email folder in bytes.

Link copied to clipboard

Int The total count of unseen email messages assigned to the email folder.

Link copied to clipboard

Date When the email folder was last updated.

Link copied to clipboard

Int Current version of the email folder.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)