Class EventProcessingRequest

java.lang.Object
com.mparticle.sdk.model.Message
com.mparticle.sdk.model.eventprocessing.EventProcessingRequest

public final class EventProcessingRequest extends Message
This message contains application events logged by the mobile SDKs.
  • Constructor Details

    • EventProcessingRequest

      public EventProcessingRequest()
  • Method Details

    • getSourceId

      public String getSourceId()
      Returns:
      source id
    • setSourceId

      public void setSourceId(String sourceId)
      Parameters:
      sourceId - source id
    • getAccount

      public Account getAccount()
      Returns:
      module subscription account
    • setAccount

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

      public List<UserIdentity> getUserIdentities()
      Returns:
      user identities
    • setUserIdentities

      public void setUserIdentities(List<UserIdentity> userIdentities)
      Parameters:
      userIdentities - user identities
    • getUserAttributes

      public Map<String,String> getUserAttributes()
      Returns:
      user attributes
    • setUserAttributes

      public void setUserAttributes(Map<String,String> userAttributes)
      Parameters:
      userAttributes - user attributes
    • getRuntimeEnvironment

      public RuntimeEnvironment getRuntimeEnvironment()
      Returns:
      application execution environment
    • setRuntimeEnvironment

      public void setRuntimeEnvironment(RuntimeEnvironment runtimeEnvironment)
      Parameters:
      runtimeEnvironment - application execution environment
    • getEvents

      public List<Event> getEvents()
      Returns:
      list of events
    • setEvents

      public void setEvents(List<Event> events)
      Parameters:
      events - list of events
    • getUserAttributeLists

      public Map<String,List<String>> getUserAttributeLists()
      Returns:
      a map of user attribute lists
    • setUserAttributeLists

      public void setUserAttributeLists(Map<String,List<String>> userAttributeLists)
      Parameters:
      userAttributeLists -
    • getIntegrationAttributes

      public Map<String,String> getIntegrationAttributes()
      Integration attributes provide a way to set user/request-level attributes specific to an integration. For example, a Kit in the mobile SDK can set an ID for use by its respective server-side integration.
      Returns:
    • setIntegrationAttributes

      public void setIntegrationAttributes(Map<String,String> integrationAttributes)
      Integration attributes provide a way to set user/request-level attributes specific to an integration. For example, a Kit in the mobile SDK can set an ID for use by its respective server-side integration.
      Parameters:
      integrationAttributes -
    • getSourceChannel

      public String getSourceChannel()
      Gets the source channel of this request. This is the originating source of the data, such as one of mParticle's native SDKs, or server APIs.
      Returns:
      returns the string constant representing the source
      See Also:
    • setSourceChannel

      public void setSourceChannel(String sourceChannel)
      Parameters:
      sourceChannel - the originating source of the data, such as one of mParticle's native SDKs, or server APIs.
      See Also:
    • getDeviceApplicationStamp

      public String getDeviceApplicationStamp()
      Returns:
      Device Application Stamp
    • setDeviceApplicationStamp

      public void setDeviceApplicationStamp(String deviceApplicationStamp)
      Parameters:
      deviceApplicationStamp - Device Application Stamp
    • getConsentState

      public ConsentState getConsentState()
      Returns:
      the Consent State of the user profile to which this request applies.
    • setConsentState

      public void setConsentState(ConsentState consentState)
      Parameters:
      consentState - the Consent State of the user profile to which this request applies.
    • getSystemNotifications

      public List<SystemNotification> getSystemNotifications()
    • setSystemNotifications

      public void setSystemNotifications(List<SystemNotification> systemNotifications)
    • getMpId

      public String getMpId()
      Gets the MP ID for this user.
      Returns:
      mpid
    • setMpId

      public void setMpId(String mpid)
      Sets the MP ID for this user.
    • getPlatformFields

      public PlatformFields getPlatformFields()
      Gets the platform fields for this request.
      Returns:
      platform fields
    • setPlatformFields

      public void setPlatformFields(PlatformFields platformFields)
      Sets the platform fields for this request.
    • getPartnerIdentities

      public List<PartnerIdentity> getPartnerIdentities()
      Returns:
      partner identities
    • setPartnerIdentities

      public void setPartnerIdentities(List<PartnerIdentity> partnerIdentities)
      Parameters:
      partnerIdentities - partner identities