/*
 * 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.activity;

import com.fasterxml.jackson.annotation.JsonProperty;

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

	@JsonProperty(value = "id", required = true)
	private Long id;

	@JsonProperty(value = "projectId", required = true)
	private Long projectId;

	@JsonProperty(value = "longName", required = true)
	private String longName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

	public String getLongName() {
		return longName;
	}

	public void setLongName(String longName) {
		this.longName = longName;
	}

	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("IssueTypeActivityResource{");
		sb.append("id=").append(id);
		sb.append(", projectId=").append(projectId);
		sb.append(", longName='").append(longName).append('\'');
		sb.append('}');
		return sb.toString();
	}
}

@@ -886,87 +886,8 @@
 d;%0A%0A
-%09@JsonProperty(value = %22projectId%22, required = true)%0A%09private Long projectId;%0A%0A
 %09@Js
@@ -926,32 +926,32 @@
 equired = true)%0A
+
 %09private String 
@@ -1055,140 +1055,8 @@
 %09%7D%0A%0A
-%09public Long getProjectId() %7B%0A%09%09return projectId;%0A%09%7D%0A%0A%09public void setProjectId(Long projectId) %7B%0A%09%09this.projectId = projectId;%0A%09%7D%0A%0A
 %09pub
@@ -1296,16 +1296,16 @@
 rce%7B%22);%0A
+
 %09%09sb.app
@@ -1331,55 +1331,8 @@
 d);%0A
-%09%09sb.append(%22, projectId=%22).append(projectId);%0A
 %09%09sb

Delete project id from issue type resource