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

com.mparticle.sdk.model.eventprocessing.ImpressionEvent Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy