| // Copyright 2016 The Vanadium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| package examples.baku.io.permissions.discovery; |
| |
| import java.util.HashMap; |
| import java.util.Map; |
| |
| /** |
| * Created by phamilton on 6/19/16. |
| */ |
| public class DeviceData { |
| |
| private String id; |
| private String name; |
| private Boolean active; |
| private Map<String, String> status = new HashMap<>(); |
| |
| public DeviceData(){} |
| |
| public DeviceData(String id, String name){ |
| this.id = id; |
| this.name = name; |
| } |
| |
| public String getId() { |
| return id; |
| } |
| |
| public void setId(String id) { |
| this.id = id; |
| } |
| |
| public String getName() { |
| return name; |
| } |
| |
| public void setName(String name) { |
| this.name = name; |
| } |
| |
| public boolean isActive() { |
| return active; |
| } |
| |
| public void setActive(boolean active) { |
| this.active = active; |
| } |
| |
| public Map<String, String> getStatus() { |
| return status; |
| } |
| |
| public void setStatus(Map<String, String> status) { |
| this.status = status; |
| } |
| } |