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

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Pavel Bortnik
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UnlinkExternalIssueRq {

	@NotNull
	@JsonProperty(value = "testItemIds")
	private List<Long> testItemIds;

	@NotNull
	@JsonProperty(value = "issueIds")
	private List<String> issueIds;

	public List<Long> getTestItemIds() {
		return testItemIds;
	}

	public void setTestItemIds(List<Long> testItemIds) {
		this.testItemIds = testItemIds;
	}

	public List<String> getIssueIds() {
		return issueIds;
	}

	public void setIssueIds(List<String> issueIds) {
		this.issueIds = issueIds;
	}
}

@@ -1,8 +1,609 @@
+/*%0A * Copyright 2018 EPAM Systems%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A *%0A */%0A%0A
 package 
@@ -1050,21 +1050,22 @@
 alue = %22
-issue
+ticket
 Ids%22)%0A%09p
@@ -1084,21 +1084,22 @@
 String%3E 
-issue
+ticket
 Ids;%0A%0A%09p
@@ -1276,21 +1276,22 @@
 ing%3E get
-Issue
+Ticket
 Ids() %7B%0A
@@ -1299,21 +1299,22 @@
 %09return 
-issue
+ticket
 Ids;%0A%09%7D%0A
@@ -1330,21 +1330,22 @@
 void set
-Issue
+Ticket
 Ids(List
@@ -1353,21 +1353,22 @@
 String%3E 
-issue
+ticket
 Ids) %7B%0A%09
@@ -1377,24 +1377,26 @@
 his.
-issueIds = issue
+ticketIds = ticket
 Ids;

update unlink ticket model naming