IngestionEvent

data class IngestionEvent(val type: String, val metadata: IngestionMetadata, val payloads: List<IngestionPayload>, val version: Int = 1)

IngestionEvent defines the event format ingestion server will accept

Constructors

Link copied to clipboard
constructor(type: String, metadata: IngestionMetadata, payloads: List<IngestionPayload>, version: Int = 1)

Properties

Link copied to clipboard
Link copied to clipboard

: List - list of map that contains details of event

Link copied to clipboard

: EventClientType - type of Event.

Link copied to clipboard
@SerializedName(value = "v")
val version: Int = 1

: Int - version of this event. If the format changes, it will have different version.