Class DsrProcessingRequest

java.lang.Object
com.mparticle.sdk.model.Message
com.mparticle.sdk.model.dsrprocessing.DsrProcessingRequest

public final class DsrProcessingRequest extends Message
This message contains the information to fulfill a Data Subject Request.
  • Constructor Details

    • DsrProcessingRequest

      public DsrProcessingRequest()
  • Method Details

    • getAccount

      public Account getAccount()
      Returns:
      module account
    • setAccount

      public void setAccount(Account account)
      Parameters:
      account - module account
    • getSubjectRequestId

      public String getSubjectRequestId()
      Returns:
      the identifier for the request created by mParticle, this corresponds to a GUID internally
    • setSubjectRequestId

      public void setSubjectRequestId(String subjectRequestId)
      Parameters:
      subjectRequestId - the string to set as the indentifier
    • getSubjectRequestType

      public DsrProcessingRequest.Type getSubjectRequestType()
      Returns:
      the type of request, currently only ERASURE is available
    • setSubjectRequestType

      public void setSubjectRequestType(DsrProcessingRequest.Type subjectRequestType)
      Parameters:
      subjectRequestType - the type of this request, currently only ERASURE is valid
    • getRegulation

      public RegulationType getRegulation()
      Returns:
      the data regulation of this request, it can be CCPA, GDPR or UNKNOWN
    • setRegulation

      public void setRegulation(RegulationType regulation)
      Parameters:
      regulation - the data regulation of this request, it can be CCPA, GDPR or UNKNOWN
    • getOpenDsrApiVersion

      public String getOpenDsrApiVersion()
      Returns:
      the version of OpenDSR which this request is subject to
      See Also:
    • setOpenDsrApiVersion

      public void setOpenDsrApiVersion(String openDsrApiVersion)
      Parameters:
      openDsrApiVersion - the version of OpenDSR which this request is subject to
      See Also:
    • getSubmittedTime

      public Instant getSubmittedTime()
      Returns:
      the timestamp when a user created the request in milliseconds since epoch, this can be done by using the mParticle API or the mParticle UI
    • setSubmittedTime

      public void setSubmittedTime(Instant submittedTime)
      Parameters:
      submittedTime - the timestamp when a user created the request in milliseconds since epoch
    • getIdentities

      public Map<OpenDsrIdentity.Type,OpenDsrIdentity> getIdentities()
      Returns:
      the list of identities to process, they can be partner, user or device identities
    • setIdentities

      public void setIdentities(Map<OpenDsrIdentity.Type,OpenDsrIdentity> identities)
      Parameters:
      identities - the list of identities to process, they can be partner, user or device identities