/*
 * Copyright 2018 EPAM Systems
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

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

import com.epam.ta.reportportal.ws.model.ErrorRS;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author <a href="mailto:ihar_kahadouski@epam.com">Ihar Kahadouski</a>
 */
public class DeleteLaunchesRS {

	@JsonProperty("successfullyDeleted")
	private List<Long> deleted;

	@JsonProperty("notFound")
	private List<Long> notFound;

	@JsonProperty("noPermissions")
	private List<Long> noPermissions;

	@JsonProperty("errors")
	private List<ErrorRS> errors;

	public DeleteLaunchesRS() {
	}

	public DeleteLaunchesRS(List<Long> deleted, List<Long> notFound, List<Long> noPermissions, List<ErrorRS> errors) {
		this.deleted = deleted;
		this.notFound = notFound;
		this.noPermissions = noPermissions;
		this.errors = errors;
	}

	public List<Long> getDeleted() {
		return deleted;
	}

	public void setDeleted(List<Long> deleted) {
		this.deleted = deleted;
	}

	public List<Long> getNotFound() {
		return notFound;
	}

	public void setNotFound(List<Long> notFound) {
		this.notFound = notFound;
	}

	public List<Long> getNoPermissions() {
		return noPermissions;
	}

	public void setNoPermissions(List<Long> noPermissions) {
		this.noPermissions = noPermissions;
	}

	public List<ErrorRS> getErrors() {
		return errors;
	}

	public void setErrors(List<ErrorRS> errors) {
		this.errors = errors;
	}

	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("DeleteLaunchesRS{");
		sb.append("deleted=").append(deleted);
		sb.append(", notFound=").append(notFound);
		sb.append(", noPermissions=").append(noPermissions);
		sb.append(", errors=").append(errors);
		sb.append('}');
		return sb.toString();
	}
}

@@ -1010,76 +1010,8 @@
 d;%0A%0A
-%09@JsonProperty(%22noPermissions%22)%0A%09private List%3CLong%3E noPermissions;%0A%0A
 %09@Js
@@ -1165,34 +1165,8 @@
 und,
- List%3CLong%3E noPermissions,
  Lis
@@ -1244,46 +1244,8 @@
 nd;%0A
-%09%09this.noPermissions = noPermissions;%0A
 %09%09th
@@ -1542,176 +1542,8 @@
 %09%7D%0A%0A
-%09public List%3CLong%3E getNoPermissions() %7B%0A%09%09return noPermissions;%0A%09%7D%0A%0A%09public void setNoPermissions(List%3CLong%3E noPermissions) %7B%0A%09%09this.noPermissions = noPermissions;%0A%09%7D%0A%0A
 %09pub
@@ -1866,63 +1866,8 @@
 d);%0A
-%09%09sb.append(%22, noPermissions=%22).append(noPermissions);%0A
 %09%09sb

Remove noPermissions property