ConsentWithdrawn

class ConsentWithdrawn(all: Boolean, documentId: String, documentVersion: String) : AbstractSelfDescribing

A consent withdrawn event.

Parameters

all

Whether to withdraw consent for all consent documents.

documentId

Identifier of the first document.

documentVersion

Version of the first document.

Constructors

Link copied to clipboard
constructor(all: Boolean, documentId: String, documentVersion: String)

Functions

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard
fun documentDescription(documentDescription: String?): ConsentWithdrawn

Description of the first document.

Link copied to clipboard
fun documentName(documentName: String?): ConsentWithdrawn

Name of the first document.

Link copied to clipboard

Other attached documents.

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard
fun trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Properties

Link copied to clipboard

Whether to withdraw consent for all consent documents.

Link copied to clipboard

Other attached documents.

Link copied to clipboard
open override var contexts: List<SelfDescribingJson>
Link copied to clipboard
open override val dataPayload: Map<String, Any?>

The payload for the event.

Link copied to clipboard

Description of the first document.

Link copied to clipboard

Identifier of the first document.

Link copied to clipboard

Name of the first document.

Link copied to clipboard
Link copied to clipboard

Version of the first document.

Link copied to clipboard
Link copied to clipboard

Used for events whose properties are added as entities, e.g. Ecommerce events

Link copied to clipboard
open override val schema: String

The event schema

Link copied to clipboard
open override var trueTimestamp: Long?