Class AudienceSubscriptionRequest
java.lang.Object
com.mparticle.sdk.model.Message
com.mparticle.sdk.model.audienceprocessing.AudienceSubscriptionRequest
This message is sent when mParticle customers add, update, or remove audience subscription.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Audience subscription actions.Nested classes/interfaces inherited from class com.mparticle.sdk.model.Message
Message.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
setAccount
(Account account) void
void
setAudienceDescription
(String audienceDescription) void
setAudienceId
(int audienceId) void
setAudienceName
(String audienceName) void
setAudienceSubscriptionSettings
(Map<String, String> audienceSubscriptionSettings) void
setPreviousAudienceSubscriptionSettings
(Map<String, String> previousAudienceSubscriptionSettings) Methods inherited from class com.mparticle.sdk.model.Message
getFirehoseVersion, getId, getTimestamp, getType, setFirehoseVersion, setTimestamp
-
Constructor Details
-
AudienceSubscriptionRequest
public AudienceSubscriptionRequest()
-
-
Method Details
-
getAccount
- Returns:
- module subscription account
-
setAccount
- 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
- Returns:
- audience name
-
setAudienceName
- Parameters:
audienceName
- audience name
-
getAudienceDescription
- Returns:
- audience description
-
setAudienceDescription
- Parameters:
audienceDescription
- audience description
-
getAudienceSubscriptionSettings
- Returns:
- audience subscription settings
-
setAudienceSubscriptionSettings
- Parameters:
audienceSubscriptionSettings
- audience subscription settings
-
getPreviousAudienceSubscriptionSettings
- Returns:
- audience subscription settings
-
setPreviousAudienceSubscriptionSettings
public void setPreviousAudienceSubscriptionSettings(Map<String, String> previousAudienceSubscriptionSettings) - Parameters:
previousAudienceSubscriptionSettings
- audience subscription settings
-
getAction
- Returns:
- action
-
setAction
- Parameters:
action
- action
-