EmailAddress

data class EmailAddress(val id: String, val owner: String, val owners: List<Owner>, val emailAddress: String, val size: Double, val numberOfEmailMessages: Int, val version: Int, val createdAt: Date, val updatedAt: Date, val lastReceivedAt: Date? = null, val alias: String? = null, val folders: List<EmailFolder>) : Parcelable

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

Constructors

Link copied to clipboard
constructor(id: String, owner: String, owners: List<Owner>, emailAddress: String, size: Double, numberOfEmailMessages: Int, version: Int, createdAt: Date, updatedAt: Date, lastReceivedAt: Date? = null, alias: String? = null, folders: List<EmailFolder>)

Properties

Link copied to clipboard
val alias: String? = null

String An optional user defined alias name for the the email address.

Link copied to clipboard

Date When the email address was created.

Link copied to clipboard

String Address in format 'local-part@domain' of the email.

Link copied to clipboard

List List of folders associated with this email address.

Link copied to clipboard
val id: String

String Unique identifier of the email address.

Link copied to clipboard
val lastReceivedAt: Date? = null

Date When the email address last received an email message.

Link copied to clipboard

Int The total number of email messages assigned to the email address.

Link copied to clipboard

String Identifier of the user that owns the email address.

Link copied to clipboard

List List of identifiers of the user/sudo associated with this email address.

Link copied to clipboard

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

Link copied to clipboard

Date When the email address was last updated.

Link copied to clipboard

Int Current version of the email address.

Functions

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