DataHolderScanSummary

data class DataHolderScanSummary(val dataHolderId: String, val owner: String, val scannedAt: Date, val scanRangeFrom: Date, val scanRangeTo: Date, val emailCount: Int, val readCount: Int, val readRate: Double, val marketingEmailCount: Int, val marketingEmailOpened: Int, val marketingOpenRate: Double, val categoryBreakdown: Map<String, Int>, val uncategorizedCount: Int) : Parcelable

The Sudo Platform SDK representation of email interaction metrics captured during a single scan for a specific data holder.

Constructors

Link copied to clipboard
constructor(dataHolderId: String, owner: String, scannedAt: Date, scanRangeFrom: Date, scanRangeTo: Date, emailCount: Int, readCount: Int, readRate: Double, marketingEmailCount: Int, marketingEmailOpened: Int, marketingOpenRate: Double, categoryBreakdown: Map<String, Int>, uncategorizedCount: Int)

Properties

Link copied to clipboard

Map Count of emails per category.

Link copied to clipboard

String The data holder these metrics apply to.

Link copied to clipboard

Int Total number of emails observed in the scan range.

Link copied to clipboard

Int Number of marketing emails observed.

Link copied to clipboard

Int Number of marketing emails that were opened.

Link copied to clipboard

Double Ratio of opened marketing emails to marketing emails.

Link copied to clipboard

String Unique identifier of the user associated with the scan summary.

Link copied to clipboard

Int Number of emails that were read.

Link copied to clipboard

Double Ratio of read emails to total emails.

Link copied to clipboard

Date Date for when the scan was performed.

Link copied to clipboard

Date Start of the scanned time range.

Link copied to clipboard

Date End of the scanned time range.

Link copied to clipboard

Int Number of emails that could not be categorized.

Functions

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