ExportRequest

data class ExportRequest(val sessionId: String, val events: List<StoredEvent>, val destination: File, val maxBytes: Long = DEFAULT_EXPORT_LIMIT_BYTES)

Constructors

Link copied to clipboard
constructor(sessionId: String, events: List<StoredEvent>, destination: File, maxBytes: Long = DEFAULT_EXPORT_LIMIT_BYTES)

Properties

Link copied to clipboard
var annotations: Map<String, TimelineAnnotation>
Link copied to clipboard

Optional attachment bytes. Callers must supply bytes that are already safe/redacted; unknown attachment IDs and attachments outside the selected event scope are never included.

Link copied to clipboard
Link copied to clipboard
val events: List<StoredEvent>
Link copied to clipboard

Only consulted when scope is ExportScope.Evidence; every other scope ignores this.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun withAnnotations(annotations: Map<String, TimelineAnnotation>): ExportRequest
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard