/*
 * Copyright 2016 EPAM Systems
 * 
 * 
 * This file is part of EPAM Report Portal.
 * https://github.com/reportportal/commons-model
 * 
 * Report Portal is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Report Portal is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Report Portal.  If not, see <http://www.gnu.org/licenses/>.
 */ 
 
package com.epam.ta.reportportal.ws.model.preference;

import java.util.List;

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

/**
 * Domain object for updating user preference
 * 
 * @author Dzmitry_Kavalets
 */

@JsonInclude(Include.NON_NULL)
public class UpdatePreferenceRQ {

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

	@JsonProperty(value = "active")
	private String active;

	public List<String> getFilters() {
		return filters;
	}

	public void setFilters(List<String> filters) {
		this.filters = filters;
	}

	public String getActive() {
		return active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("UpdatePreferenceRQ{");
		sb.append("filters=").append(filters);
		sb.append(", active='").append(active).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
@@ -29,21 +29,19 @@
 stems%0A *
- 
 %0A *
- 
 %0A * This
@@ -128,17 +128,16 @@
 model%0A *
- 
 %0A * Repo
@@ -380,25 +380,24 @@
  version.%0A *
- 
 %0A * Report P
@@ -634,17 +634,16 @@
 ails.%0A *
- 
 %0A * You 
@@ -781,19 +781,17 @@
 s/%3E.%0A */
- %0A 
+%0A
 %0Apackage
@@ -842,32 +842,8 @@
 e;%0A%0A
-import java.util.List;%0A%0A
 impo
@@ -1007,16 +1007,40 @@
 perty;%0A%0A
+import java.util.List;%0A%0A
 /**%0A * D
@@ -1083,17 +1083,16 @@
 rence%0A *
- 
 %0A * @aut
@@ -1227,28 +1227,26 @@
 rivate List%3C
-Stri
+Lo
 ng%3E filters;
@@ -1251,66 +1251,8 @@
 s;%0A%0A
-%09@JsonProperty(value = %22active%22)%0A%09private String active;%0A%0A
 %09pub
@@ -1256,28 +1256,26 @@
 public List%3C
-Stri
+Lo
 ng%3E getFilte
@@ -1332,20 +1332,18 @@
 rs(List%3C
-Stri
+Lo
 ng%3E filt
@@ -1381,374 +1381,6 @@
 ;%0A%09%7D
-%0A%0A%09public String getActive() %7B%0A%09%09return active;%0A%09%7D%0A%0A%09public void setActive(String active) %7B%0A%09%09this.active = active;%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09final StringBuilder sb = new StringBuilder(%22UpdatePreferenceRQ%7B%22);%0A%09%09sb.append(%22filters=%22).append(filters);%0A%09%09sb.append(%22, active='%22).append(active).append('%5C'');%0A%09%09sb.append('%7D');%0A%09%09return sb.toString();%0A%09%7D
 %0A%7D

update preferences rq