com.mparticle.sdk.model.eventprocessing.notification.GDPRConsentStateNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
mParticle Java SDK used to integrate with mParticle's Firehose API
package com.mparticle.sdk.model.eventprocessing.notification;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mparticle.sdk.model.eventprocessing.consent.GDPRConsent;
public final class GDPRConsentStateNotification extends SystemNotification{
@JsonProperty(value="purpose", required=true)
private String purpose;
@JsonProperty("old_gdpr_consent_state")
private GDPRConsent oldConsentState;
@JsonProperty("new_gdpr_consent_state")
private GDPRConsent newConsentState;
public GDPRConsentStateNotification() {
super(SystemNotification.Type.GDPR_CONSENT_STATE);
}
public String getPurpose() {
return purpose;
}
public void setPurpose(String purpose) {
this.purpose = purpose;
}
public GDPRConsent getOldConsentState() {
return oldConsentState;
}
public void setOldConsentState(GDPRConsent oldConsentState) {
this.oldConsentState = oldConsentState;
}
public GDPRConsent getNewConsentState() {
return newConsentState;
}
public void setNewConsentState(GDPRConsent newConsentState) {
this.newConsentState = newConsentState;
}
}