]> git.basschouten.com Git - openhab-addons.git/blob
7b24edb566514c071479e2a81860cd1f7ad3c092
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.sensorcommunity.internal.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link SensorCommunity} class definition for Logging identification
19  *
20  * @author Bernd Weymann - Initial contribution
21  */
22 public class Location {
23     private int id;
24     private String country;
25     private String altitude;
26     private String latitude;
27     private String longitude;
28     private int indoor;
29     @SerializedName("exact_location")
30     private int exactLocation;
31
32     public int getId() {
33         return id;
34     }
35
36     public void setId(int id) {
37         this.id = id;
38     }
39
40     public String getCountry() {
41         return country;
42     }
43
44     public void setCountry(String country) {
45         this.country = country;
46     }
47
48     public String getAltitude() {
49         return altitude;
50     }
51
52     public void setAltitude(String altitude) {
53         this.altitude = altitude;
54     }
55
56     public String getLatitude() {
57         return latitude;
58     }
59
60     public void setLatitude(String latitude) {
61         this.latitude = latitude;
62     }
63
64     public String getLongitude() {
65         return longitude;
66     }
67
68     public void setLongitude(String longitude) {
69         this.longitude = longitude;
70     }
71
72     public Integer getIndoor() {
73         return indoor;
74     }
75
76     public void setIndoor(int indoor) {
77         this.indoor = indoor;
78     }
79
80     public int getExactLocation() {
81         return exactLocation;
82     }
83
84     public void setExactLocation(int exactLocation) {
85         this.exactLocation = exactLocation;
86     }
87 }