Class AudienceSubscriptionRequest

java.lang.Object
com.mparticle.sdk.model.Message
com.mparticle.sdk.model.audienceprocessing.AudienceSubscriptionRequest

public final class AudienceSubscriptionRequest extends Message
This message is sent when mParticle customers add, update, or remove audience subscription.
  • Constructor Details

    • AudienceSubscriptionRequest

      public AudienceSubscriptionRequest()
  • Method Details

    • getAccount

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

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

      public int getAudienceId()
      Returns:
      audience unique identifier
    • setAudienceId

      public void setAudienceId(int audienceId)
      Parameters:
      audienceId - audience unique identifier
    • getAudienceName

      public String getAudienceName()
      Returns:
      audience name
    • setAudienceName

      public void setAudienceName(String audienceName)
      Parameters:
      audienceName - audience name
    • getAudienceDescription

      public String getAudienceDescription()
      Returns:
      audience description
    • setAudienceDescription

      public void setAudienceDescription(String audienceDescription)
      Parameters:
      audienceDescription - audience description
    • getAudienceSubscriptionSettings

      public Map<String,String> getAudienceSubscriptionSettings()
      Returns:
      audience subscription settings
    • setAudienceSubscriptionSettings

      public void setAudienceSubscriptionSettings(Map<String,String> audienceSubscriptionSettings)
      Parameters:
      audienceSubscriptionSettings - audience subscription settings
    • getPreviousAudienceSubscriptionSettings

      public Map<String,String> getPreviousAudienceSubscriptionSettings()
      Returns:
      audience subscription settings
    • setPreviousAudienceSubscriptionSettings

      public void setPreviousAudienceSubscriptionSettings(Map<String,String> previousAudienceSubscriptionSettings)
      Parameters:
      previousAudienceSubscriptionSettings - audience subscription settings
    • getAction

      Returns:
      action
    • setAction

      public void setAction(AudienceSubscriptionRequest.SubscriptionAction action)
      Parameters:
      action - action