/** * JBoss, Home of Professional Open Source * Copyright Red Hat, Inc., and individual contributors. * * 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 org.jboss.aerogear.unifiedpush; import java.util.List; /** * Configuration used by Unified push server. */ public class PushConfig { private String deviceToken; private String alias; private List<String> categories; private String operatingSystem; private String osVersion; private String deviceType; public String getDeviceToken() { return deviceToken; } /** * Device token is the channelId in case of simple push * @param deviceToken the channelId in case of simple push */ public void setDeviceToken(String deviceToken) { this.deviceToken = deviceToken; } public String getAlias() { return alias; } public void setAlias(String alias) { this.alias = alias; } public List<String> getCategories() { return categories; } public void setCategories(List<String> categories) { this.categories = categories; } public String getOperatingSystem() { return operatingSystem; } public void setOperatingSystem(String operatingSystem) { this.operatingSystem = operatingSystem; } public String getOsVersion() { return osVersion; } public void setOsVersion(String osVersion) { this.osVersion = osVersion; } public String getDeviceType() { return deviceType; } public void setDeviceType(String deviceType) { this.deviceType = deviceType; } }