EngineResponse

data class EngineResponse(val audiences: List<String>? = null, val badges: List<String>? = null, val flags: Map<String, Boolean>? = null, val dates: Map<String, Long>? = null, val metrics: Map<String, Double>? = null, val properties: Map<String, String>? = null)

Represents the response structure from the MomentsApi engine.

Field names match the MomentsApi documentation:

  • flags: Boolean attributes

  • metrics: Number attributes

  • properties: String attributes

Constructors

Link copied to clipboard
constructor(audiences: List<String>? = null, badges: List<String>? = null, flags: Map<String, Boolean>? = null, dates: Map<String, Long>? = null, metrics: Map<String, Double>? = null, properties: Map<String, String>? = null)

Properties

Link copied to clipboard
val audiences: List<String>? = null
Link copied to clipboard
val badges: List<String>? = null
Link copied to clipboard
val dates: Map<String, Long>? = null
Link copied to clipboard
val flags: Map<String, Boolean>? = null
Link copied to clipboard
val metrics: Map<String, Double>? = null
Link copied to clipboard
val properties: Map<String, String>? = null