PartialEmailMessage

data class PartialEmailMessage(val id: String, val clientRefId: String? = null, val owner: String, val owners: List<Owner>, val emailAddressId: String, val folderId: String, val previousFolderId: String? = null, val seen: Boolean = false, val direction: Direction, val state: State, val version: Int, val sortDate: Date, val createdAt: Date, val updatedAt: Date, val size: Double, val encryptionStatus: EncryptionStatus) : Parcelable

Representation of an email message without its unsealed attributes used in the Sudo Platform Email SDK.

Constructors

Link copied to clipboard
constructor(id: String, clientRefId: String? = null, owner: String, owners: List<Owner>, emailAddressId: String, folderId: String, previousFolderId: String? = null, seen: Boolean = false, direction: Direction, state: State, version: Int, sortDate: Date, createdAt: Date, updatedAt: Date, size: Double, encryptionStatus: EncryptionStatus)

Types

Link copied to clipboard
data class EmailAddress(val emailAddress: String, val displayName: String? = null) : Parcelable

A representation of an email address as used in a PartialEmailMessage.

Functions

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

Properties

Link copied to clipboard
val clientRefId: String? = null

String Unique client reference identifier.

Link copied to clipboard

Date When the email message was created.

Link copied to clipboard

Direction Direction of the email message.

Link copied to clipboard

String Identifier of the email address that is associated with the email message - which address sent/received this message.

Link copied to clipboard
Link copied to clipboard

String Unique identifier of the email folder which the message is assigned to.

Link copied to clipboard
val id: String

String Unique identifier of the email message.

Link copied to clipboard

String Identifier of the user that owns the email message.

Link copied to clipboard

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

Link copied to clipboard

String Unique identifier of the previous email folder which the message was assigned to, if any.

Link copied to clipboard
val seen: Boolean = false

Boolean True if the user has previously seen the email message.

Link copied to clipboard

Double The size of the encrypted RFC822 data stored in the backend in bytes. This value is used to calculate the total storage used by an email address or user and is used to enforce email storage related entitlements.

Link copied to clipboard

Date When the email message was processed by the service.

Link copied to clipboard

State Current state of the email message.

Link copied to clipboard

Date When the email message was last updated.

Link copied to clipboard

Int Current version of the email message.