package de.danoeh.antennapod.gpoddernet.model; import org.apache.commons.lang3.Validate; import java.util.List; public class GpodnetSubscriptionChange { private List added; private List removed; private long timestamp; public GpodnetSubscriptionChange(List added, List removed, long timestamp) { Validate.notNull(added); Validate.notNull(removed); this.added = added; this.removed = removed; this.timestamp = timestamp; } @Override public String toString() { return "GpodnetSubscriptionChange [added=" + added.toString() + ", removed=" + removed.toString() + ", timestamp=" + timestamp + "]"; } public List getAdded() { return added; } public List getRemoved() { return removed; } public long getTimestamp() { return timestamp; } }