com.mparticle.sdk.model.eventprocessing.ImpressionEvent 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.eventprocessing;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
public final class ImpressionEvent extends Event {
@JsonProperty("attributes")
private Map attributes;
@JsonProperty("impressions")
private List impressions;
@JsonProperty("custom_flags")
private Map customFlags;
public ImpressionEvent() {
super(Type.IMPRESSION);
}
public List getImpressions() {
return impressions;
}
public void setImpressions(List impressions) {
this.impressions = impressions;
}
public Map getAttributes() {
return attributes;
}
public ImpressionEvent setAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
/**
*
* @return custom flags map
*/
public Map getCustomFlags() { return customFlags; }
/**
*
* @param customFlags custom flags map
*/
public void setCustomFlags(Map customFlags) { this.customFlags = customFlags; }
}