All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mparticle.sdk.model.audienceprocessing.AudienceMembershipChangeRequest Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy