]> git.basschouten.com Git - openhab-addons.git/blob
30c3a4e2641d2b2eb5ba66f782fd2d44f1a5287c
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.warmup.internal.model.query;
14
15 import java.util.List;
16
17 /**
18  * @author James Melville - Initial contribution
19  */
20 public class LocationDTO {
21
22     private int id;
23     private String name;
24     private List<RoomDTO> rooms;
25
26     public String getId() {
27         return String.valueOf(id);
28     }
29
30     public String getName() {
31         return name;
32     }
33
34     public List<RoomDTO> getRooms() {
35         return rooms;
36     }
37 }