2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.sensorcommunity.internal.dto;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link SensorCommunity} class definition for Logging identification
20 * @author Bernd Weymann - Initial contribution
22 public class Location {
24 private String country;
25 private String altitude;
26 private String latitude;
27 private String longitude;
29 @SerializedName("exact_location")
30 private int exactLocation;
36 public void setId(int id) {
40 public String getCountry() {
44 public void setCountry(String country) {
45 this.country = country;
48 public String getAltitude() {
52 public void setAltitude(String altitude) {
53 this.altitude = altitude;
56 public String getLatitude() {
60 public void setLatitude(String latitude) {
61 this.latitude = latitude;
64 public String getLongitude() {
68 public void setLongitude(String longitude) {
69 this.longitude = longitude;
72 public Integer getIndoor() {
76 public void setIndoor(int indoor) {
80 public int getExactLocation() {
84 public void setExactLocation(int exactLocation) {
85 this.exactLocation = exactLocation;