Entity

data class Entity(val entityName: String, val id: String? = null, val metadata: Map<String, String> = emptyMap())

Represents the entity that the Protocol is communicating with. An Entity is characterized by a entityName and an optional id. The id is used to distinguish between multiple entities with the same entityName. The metadata is used to store additional information about the entity.

Constructors

Link copied to clipboard
constructor(entityName: String, id: String? = null, metadata: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
val id: String? = null
Link copied to clipboard