com.mparticle.sdk.model.audienceprocessing.AudienceMembershipChangeRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
mParticle Java SDK used to integrate with mParticle's Firehose API
package com.mparticle.sdk.model.audienceprocessing;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mparticle.sdk.model.Message;
import com.mparticle.sdk.model.registration.Account;
import java.util.List;
/**
* This message is sent every time users are added removed from audiences.
*/
public final class AudienceMembershipChangeRequest extends Message {
@JsonProperty(value="account", required=true)
private Account account;
@JsonProperty("user_profiles")
private List userProfiles;
/**
*
* @return module subscription account
*/
public Account getAccount() {
return account;
}
/**
*
* @param account module subscription account
*/
public void setAccount(Account account) {
this.account = account;
}
/**
*
* @return user profiles
*/
public List getUserProfiles() {
return userProfiles;
}
/**
*
* @param userProfiles user profiles
*/
public void setUserProfiles(List userProfiles) {
this.userProfiles = userProfiles;
}
public AudienceMembershipChangeRequest() {
super(Message.Type.AUDIENCE_MEMBERSHIP_CHANGE_REQUEST);
}
}