public final class DsrProcessingRequest extends Message
Modifier and Type | Class and Description |
---|---|
static class |
DsrProcessingRequest.Type |
Constructor and Description |
---|
DsrProcessingRequest() |
Modifier and Type | Method and Description |
---|---|
Account |
getAccount() |
java.util.Map<OpenDsrIdentity.Type,OpenDsrIdentity> |
getIdentities() |
java.lang.String |
getOpenDsrApiVersion() |
RegulationType |
getRegulation() |
java.lang.String |
getSubjectRequestId() |
DsrProcessingRequest.Type |
getSubjectRequestType() |
java.time.Instant |
getSubmittedTime() |
void |
setAccount(Account account) |
void |
setIdentities(java.util.Map<OpenDsrIdentity.Type,OpenDsrIdentity> identities) |
void |
setOpenDsrApiVersion(java.lang.String openDsrApiVersion) |
void |
setRegulation(RegulationType regulation) |
void |
setSubjectRequestId(java.lang.String subjectRequestId) |
void |
setSubjectRequestType(DsrProcessingRequest.Type subjectRequestType) |
void |
setSubmittedTime(java.time.Instant submittedTime) |
getFirehoseVersion, getId, getTimestamp, getType, setFirehoseVersion, setTimestamp
public Account getAccount()
public void setAccount(Account account)
account
- module accountpublic java.lang.String getSubjectRequestId()
public void setSubjectRequestId(java.lang.String subjectRequestId)
subjectRequestId
- the string to set as the indentifierpublic DsrProcessingRequest.Type getSubjectRequestType()
public void setSubjectRequestType(DsrProcessingRequest.Type subjectRequestType)
subjectRequestType
- the type of this request, currently only ERASURE is validpublic RegulationType getRegulation()
public void setRegulation(RegulationType regulation)
regulation
- the data regulation of this request, it can be CCPA, GDPR or UNKNOWNpublic java.lang.String getOpenDsrApiVersion()
public void setOpenDsrApiVersion(java.lang.String openDsrApiVersion)
openDsrApiVersion
- the version of OpenDSR which this request is subject topublic java.time.Instant getSubmittedTime()
public void setSubmittedTime(java.time.Instant submittedTime)
submittedTime
- the timestamp when a user created the request in milliseconds since epochpublic java.util.Map<OpenDsrIdentity.Type,OpenDsrIdentity> getIdentities()
public void setIdentities(java.util.Map<OpenDsrIdentity.Type,OpenDsrIdentity> identities)
identities
- the list of identities to process, they can be partner, user or device identities