package com.epam.ta.reportportal.ws.model;

import java.util.Map;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonProperty;

public class BulkRQ<T> {

	@Valid
	@NotNull
	@JsonProperty(value = "entities", required = true)
	private Map<String, T> entities;

	public Map<String, T> getEntities() {
		return entities;
	}

	public void setEntities(Map<String, T> entities) {
		this.entities = entities;
	}

	@Override
	public String toString() {
		return "BulkRQ{" + "entities=" + entities + '}';
	}
}

@@ -1,8 +1,789 @@
+/*%0A * Copyright 2016 EPAM Systems%0A *%0A *%0A * This file is part of EPAM Report Portal.%0A * https://github.com/epam/ReportPortal%0A *%0A * Report Portal is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU General Public License as published by%0A * the Free Software Foundation, either version 3 of the License, or%0A * (at your option) any later version.%0A *%0A * Report Portal is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU General Public License for more details.%0A *%0A * You should have received a copy of the GNU General Public License%0A * along with Report Portal.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0A
 package 
@@ -973,16 +973,66 @@
 perty;%0A%0A
+/**%0A * @author Dzmitry_Kavalets%0A * @param %3CT%3E%0A */%0A
 public c

Add license header