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

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

import java.util.Map;

/**
 * Global server settings response of stored properties
 * 
 * @author Andrei_Ramanchuk
 *
 */
@JsonInclude(Include.NON_NULL)
public class ServerSettingsResource {

	private String profile;

	private boolean active;

	@JsonProperty(value = "serverEmailConfig")
	private ServerEmailResource serverEmailResource;

	private Map<String, OAuthDetailsResource> oauthConfigs;

	private Map<String, AnalyticsResource> analyticsResource;

	public void setProfile(String id) {
		this.profile = id;
	}

	public String getProfile() {
		return profile;
	}

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

	public boolean getActive() {
		return active;
	}

	public void setServerEmailResource(ServerEmailResource config) {
		this.serverEmailResource = config;
	}

	public ServerEmailResource getServerEmailResource() {
		return serverEmailResource;
	}

	public Map<String, OAuthDetailsResource> getOauthConfigs() {
		return oauthConfigs;
	}

	public void setOauthConfigs(Map<String, OAuthDetailsResource> oauthConfigs) {
		this.oauthConfigs = oauthConfigs;
	}

    public Map<String, AnalyticsResource> getAnalyticsResource() {
        return analyticsResource;
    }

    public void setAnalyticsResource(Map<String, AnalyticsResource> analyticsResource) {
        this.analyticsResource = analyticsResource;
    }
}

@@ -1346,24 +1346,26 @@
 lResource;%0A%0A
+//
 %09private Map
@@ -1888,24 +1888,26 @@
 source;%0A%09%7D%0A%0A
+//
 %09public Map%3C
@@ -1952,24 +1952,26 @@
 Configs() %7B%0A
+//
 %09%09return oau
@@ -1981,20 +1981,24 @@
 onfigs;%0A
+//
 %09%7D%0A%0A
+//
 %09public 
@@ -2064,24 +2064,26 @@
 hConfigs) %7B%0A
+//
 %09%09this.oauth
@@ -2106,16 +2106,18 @@
 onfigs;%0A
+//
 %09%7D%0A%0A    

comment deps of deleted class