JmapEmail

data class JmapEmail(val id: String, val threadId: String, val mailboxIds: Map<String, Boolean>, val keywords: Map<String, Boolean>? = null, val size: Long, val receivedAt: String, val hasAttachment: Boolean? = null, val preview: String? = null, val subject: String? = null, val from: List<EmailAddress>? = null, val to: List<EmailAddress>? = null, val cc: List<EmailAddress>? = null, val bcc: List<EmailAddress>? = null, val bodyStructure: Any? = null, val bodyValues: Map<String, BodyValue>? = null, val textBody: List<BodyPart>? = null, val htmlBody: List<BodyPart>? = null)

Constructors

Link copied to clipboard
constructor(id: String, threadId: String, mailboxIds: Map<String, Boolean>, keywords: Map<String, Boolean>? = null, size: Long, receivedAt: String, hasAttachment: Boolean? = null, preview: String? = null, subject: String? = null, from: List<EmailAddress>? = null, to: List<EmailAddress>? = null, cc: List<EmailAddress>? = null, bcc: List<EmailAddress>? = null, bodyStructure: Any? = null, bodyValues: Map<String, BodyValue>? = null, textBody: List<BodyPart>? = null, htmlBody: List<BodyPart>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "bcc")
val bcc: List<EmailAddress>? = null
Link copied to clipboard
@SerializedName(value = "bodyStructure")
val bodyStructure: Any? = null
Link copied to clipboard
@SerializedName(value = "bodyValues")
val bodyValues: Map<String, BodyValue>? = null
Link copied to clipboard
@SerializedName(value = "cc")
val cc: List<EmailAddress>? = null
Link copied to clipboard
@SerializedName(value = "from")
val from: List<EmailAddress>? = null
Link copied to clipboard
@SerializedName(value = "hasAttachment")
val hasAttachment: Boolean? = null
Link copied to clipboard
@SerializedName(value = "htmlBody")
val htmlBody: List<BodyPart>? = null
Link copied to clipboard
@SerializedName(value = "id")
val id: String
Link copied to clipboard
@SerializedName(value = "keywords")
val keywords: Map<String, Boolean>? = null
Link copied to clipboard
@SerializedName(value = "mailboxIds")
val mailboxIds: Map<String, Boolean>
Link copied to clipboard
@SerializedName(value = "preview")
val preview: String? = null
Link copied to clipboard
@SerializedName(value = "receivedAt")
val receivedAt: String
Link copied to clipboard
@SerializedName(value = "size")
val size: Long
Link copied to clipboard
@SerializedName(value = "subject")
val subject: String? = null
Link copied to clipboard
@SerializedName(value = "textBody")
val textBody: List<BodyPart>? = null
Link copied to clipboard
@SerializedName(value = "threadId")
val threadId: String
Link copied to clipboard
@SerializedName(value = "to")
val to: List<EmailAddress>? = null