forked from community/device-mgt-core
Add API to retrieve device filters See merge request entgra/carbon-device-mgt!5334.x.x
commit
dc05306aa9
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
||||
*
|
||||
* Entgra (Pvt) Ltd. licenses this file to you 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.wso2.carbon.device.mgt.common;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* This class carries information related to device filtering values which will be used in the UI to filter devices.
|
||||
*/
|
||||
public class DeviceFilters implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -5249449134602406387L;
|
||||
|
||||
private List<String> deviceTypes;
|
||||
private List<String> ownerships;
|
||||
private List<String> statuses;
|
||||
|
||||
public List<String> getDeviceTypes() {
|
||||
return deviceTypes;
|
||||
}
|
||||
|
||||
public void setDeviceTypes(List<String> deviceTypes) {
|
||||
this.deviceTypes = deviceTypes;
|
||||
}
|
||||
|
||||
public List<String> getOwnerships() {
|
||||
return ownerships;
|
||||
}
|
||||
|
||||
public void setOwnerships(List<String> ownerships) {
|
||||
this.ownerships = ownerships;
|
||||
}
|
||||
|
||||
public List<String> getStatuses() {
|
||||
return statuses;
|
||||
}
|
||||
|
||||
public void setStatuses(List<String> statuses) {
|
||||
this.statuses = statuses;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue