public class ConsentWithdrawn extends AbstractSelfDescribing
| Modifier and Type | Field and Description |
|---|---|
boolean |
all
Whether to withdraw consent for all consent documents.
|
List<ConsentDocument> |
consentDocuments
Other attached documents.
|
String |
documentDescription
Description of the first document.
|
String |
documentId
Identifier of the first document.
|
String |
documentName
Name of the first document.
|
String |
documentVersion
Version of the first document.
|
customContexts, trueTimestamp| Constructor and Description |
|---|
ConsentWithdrawn(boolean all,
String documentId,
String documentVersion)
Creates a consent withdrawn event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginProcessing(com.snowplowanalytics.snowplow.internal.tracker.Tracker tracker)
Hook method called just before the event processing in order to execute special operations.
|
ConsentWithdrawn |
documentDescription(String documentDescription)
Description of the first document.
|
ConsentWithdrawn |
documentName(String documentName)
Name of the first document.
|
ConsentWithdrawn |
documents(List<ConsentDocument> documents)
Other attached documents.
|
Map<String,Object> |
getDataPayload() |
List<ConsentDocument> |
getDocuments() |
String |
getSchema() |
contexts, endProcessing, getContexts, getTrueTimestamp, trueTimestamppublic final boolean all
@NonNull public final String documentId
@NonNull public final String documentVersion
@Nullable public String documentName
@Nullable public String documentDescription
@NonNull public final List<ConsentDocument> consentDocuments
public ConsentWithdrawn(boolean all,
@NonNull
String documentId,
@NonNull
String documentVersion)
all - Whether to withdraw consent for all consent documents.documentId - Identifier of the first document.documentVersion - Version of the first document.@NonNull public ConsentWithdrawn documentName(@Nullable String documentName)
@NonNull public ConsentWithdrawn documentDescription(@Nullable String documentDescription)
@NonNull public ConsentWithdrawn documents(@NonNull List<ConsentDocument> documents)
@NonNull public List<ConsentDocument> getDocuments()
@NonNull public String getSchema()
getSchema in class AbstractSelfDescribingpublic void beginProcessing(@NonNull
com.snowplowanalytics.snowplow.internal.tracker.Tracker tracker)
EventbeginProcessing in interface EventbeginProcessing in class AbstractEvent