package com.blackducksoftware.integration.hub.dataservices.items;

import java.util.Date;

public class NotificationCountData {

	private final Date startDate;
	private final Date endDate;
	private final int total;
	private final int policyViolationCount;
	private final int policyOverrideCount;
	private final int vulnerabilityCount;
	private final int vulnAddedCount;
	private final int vulnUpdatedCount;
	private final int vulnDeletedCount;

	public NotificationCountData(final Date startDate, final Date endDate, final int total,
			final int policyViolationCount, final int policyOverrideCount, final int vulnerabilityCount,
			final int vulnAddedCount, final int vulnUpdatedCount, final int vulnDeletedCount) {
		this.startDate = startDate;
		this.endDate = endDate;
		this.total = total;
		this.policyViolationCount = policyViolationCount;
		this.policyOverrideCount = policyOverrideCount;
		this.vulnerabilityCount = vulnerabilityCount;
		this.vulnAddedCount = vulnAddedCount;
		this.vulnUpdatedCount = vulnUpdatedCount;
		this.vulnDeletedCount = vulnDeletedCount;
	}

	public Date getStartDate() {
		return startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public int getTotal() {
		return total;
	}

	public int getPolicyViolationCount() {
		return policyViolationCount;
	}

	public int getPolicyOverrideCount() {
		return policyOverrideCount;
	}

	public int getVulnerabilityCount() {
		return vulnerabilityCount;
	}

	public int getVulnAddedCount() {
		return vulnAddedCount;
	}

	public int getVulnUpdatedCount() {
		return vulnUpdatedCount;
	}

	public int getVulnDeletedCount() {
		return vulnDeletedCount;
	}
}

@@ -1633,11 +1633,448 @@
 ount;%0A%09%7D
+%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09return %22NotificationCountData %5BstartDate=%22 + startDate + %22, endDate=%22 + endDate + %22, total=%22 + total%0A%09%09%09%09+ %22, policyViolationCount=%22 + policyViolationCount + %22, policyOverrideCount=%22 + policyOverrideCount%0A%09%09%09%09+ %22, vulnerabilityCount=%22 + vulnerabilityCount + %22, vulnAddedCount=%22 + vulnAddedCount%0A%09%09%09%09+ %22, vulnUpdatedCount=%22 + vulnUpdatedCount + %22, vulnDeletedCount=%22 + vulnDeletedCount + %22%5D%22;%0A%09%7D
 %0A%7D%0A

Add a toString method to make the counts human readable