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.jablotron.internal.model.ja100f;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
17 import com.google.gson.annotations.SerializedName;
20 * The {@link JablotronState} class defines the state object for the
21 * getSections response
23 * @author Ondrej Pecta - Initial contribution
26 public class JablotronState {
28 @SerializedName(value = "cloud-component-id", alternate = "component-id")
29 String cloudComponentId = "";
31 @SerializedName(value = "object-device-id")
32 String objectDeviceId = "";
35 float temperature = 0;
37 public String getCloudComponentId() {
38 return cloudComponentId;
41 public String getState() {
45 public float getTemperature() {
49 public String getObjectDeviceId() {
50 return objectDeviceId;