package com.mparticle.sdk.model.eventprocessing;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
import java.util.Map;

public final class AttributionEvent extends Event {

    public AttributionEvent() {
        super(Type.ATTRIBUTION);
    }

    @JsonProperty("partner_name")
    private String partner;

    @JsonProperty("publisher_name")
    private String publisher;

    @JsonProperty("campaign_name")
    private String campaign;

    @JsonProperty("platform")
    private String platform;

    @JsonProperty("ad_network")
    private String adNetwork;

    @JsonProperty("click_time")
    private String clickTime;

    @JsonProperty("identities")
    private List<DeviceIdentity> deviceIdentities;

    @JsonProperty("limit_ad_tracking")
    private boolean isLimitAdTrackingEnabled;

    @JsonProperty("attributes")
    private Map<String, String> attributes;

    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getCampaign() {
        return campaign;
    }

    public void setCampaign(String campaign) {
        this.campaign = campaign;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getAdNetwork() {
        return adNetwork;
    }

    public void setAdNetwork(String adNetwork) {
        this.adNetwork = adNetwork;
    }

    public String getClickTime() {
        return clickTime;
    }

    public void setClickTime(String clickTime) {
        this.clickTime = clickTime;
    }

    public List<DeviceIdentity> getDeviceIdentities() {
        return deviceIdentities;
    }

    public void setDeviceIdentities(List<DeviceIdentity> deviceIdentities) {
        this.deviceIdentities = deviceIdentities;
    }

    public boolean isLimitAdTrackingEnabled() {
        return isLimitAdTrackingEnabled;
    }

    public void setLimitAdTrackingEnabled(boolean limitAdTrackingEnabled) {
        isLimitAdTrackingEnabled = limitAdTrackingEnabled;
    }

    public Map<String, String> getAttributes() {
        return attributes;
    }

    public void setAttributes(Map<String, String> attributes) {
        this.attributes = attributes;
    }
}
@@ -468,364 +468,8 @@
 n;%0A%0A
-    @JsonProperty(%22platform%22)%0A    private String platform;%0A%0A    @JsonProperty(%22ad_network%22)%0A    private String adNetwork;%0A%0A    @JsonProperty(%22click_time%22)%0A    private String clickTime;%0A%0A    @JsonProperty(%22identities%22)%0A    private List%3CDeviceIdentity%3E deviceIdentities;%0A%0A    @JsonProperty(%22limit_ad_tracking%22)%0A    private boolean isLimitAdTrackingEnabled;%0A%0A
     
@@ -496,16 +496,16 @@
 butes%22)%0A
+
     priv
@@ -1006,950 +1006,12 @@
   %7D%0A
-%0A
     
-public String getPlatform() %7B%0A        return platform;%0A    %7D%0A%0A    public void setPlatform(String platform) %7B%0A        this.platform = platform;%0A    %7D%0A%0A    public String getAdNetwork() %7B%0A        return adNetwork;%0A    %7D%0A%0A    public void setAdNetwork(String adNetwork) %7B%0A        this.adNetwork = adNetwork;%0A    %7D%0A%0A    public String getClickTime() %7B%0A        return clickTime;%0A    %7D%0A%0A    public void setClickTime(String clickTime) %7B%0A        this.clickTime = clickTime;%0A    %7D%0A%0A    public List%3CDeviceIdentity%3E getDeviceIdentities() %7B%0A        return deviceIdentities;%0A    %7D%0A%0A    public void setDeviceIdentities(List%3CDeviceIdentity%3E deviceIdentities) %7B%0A        this.deviceIdentities = deviceIdentities;%0A    %7D%0A%0A    public boolean isLimitAdTrackingEnabled() %7B%0A        return isLimitAdTrackingEnabled;%0A    %7D%0A%0A    public void setLimitAdTrackingEnabled(boolean limitAdTrackingEnabled) %7B%0A        isLimitAdTrackingEnabled = limitAdTrackingEnabled;%0A    %7D%0A
 %0A   

Remove unused fields from AttributionEvent